# Contributing

Meteostat is an open initiative that relies on volunteers who are willing to improve and extend our interfaces and services. New contributions to the library are highly appreciated. Before opening a PR for major additions or changes, please discuss the expected implementation by creating an issue (opens new window).

# Installation

After cloning the dev branch you can install the local version of the package using the following command:

sudo -H python3 -m pip install . -U

# Testing

When making changes to existing classes and methods, please check first if any tests are failing. Also, when adding new methods, please add unit tests for your additions.

# Running Tests

From the /tests directory, run the following command:


# Linting

Meteostat uses Pylint (opens new window) for linting. You can lint a file using a simple command:

pylint meteostat/stations.py

If you want to format an existing file correctly, you can use autopep8 (opens new window) first:

python3 -m autopep8 --in-place --aggressive meteostat/interface/stations.py
Last Updated: 2/18/2022, 12:29:58 PM