Skip to main content

The GEOTOP and REGIS data downloaded from the DINOloket OPeNDAP server.

Project description

BROmodels

The GEOTOP and REGIS data is downloaded from the DINOloket OPeNDAP server.

More information about the GEOTOP or REGIS:

Please note that an active internet connections is mandatory!

Installation

To install this package run:

pip install bromodels

Contribution

Environment

We recommend developing in Python3.9 with a clean virtual environment (using virtualenv or conda), installing the requirements from the requirements.txt file:

Example using virtualenv and pip to install the dependencies in a new environment .env on Linux:

python -m venv .env
source activate .env/bin/activate
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
pip install -e .

Documentation

Build the docs:

python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
pip install .
sphinx-build -b html docs public

Format

We format our code with black and isort.

black --config "pyproject.toml" src tests examples docs
isort --settings-path "pyproject.toml" src tests examples docs

Lint

To maintain code quality we use the GitHub super-linter.

To run the linters locally, run the run_super_linters.sh bash script from the root directory.

UnitTest

Test the software with the use of coverage:

python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
pip install .
coverage run -m pytest

Requirements

Requirements are autogenerated by pip-compile with python 3.9

pip-compile --extra=test --extra=docs --extra=lint --extra=3d --output-file=requirements.txt pyproject.toml

To update the requirements within the defined ranges, run:

pip-compile --upgrade --extra=test --extra=docs --extra=lint --extra=3d --output-file=requirements.txt pyproject.toml

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bromodels-0.0.1.tar.gz (26.3 kB view details)

Uploaded Source

Built Distribution

bromodels-0.0.1-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file bromodels-0.0.1.tar.gz.

File metadata

  • Download URL: bromodels-0.0.1.tar.gz
  • Upload date:
  • Size: 26.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for bromodels-0.0.1.tar.gz
Algorithm Hash digest
SHA256 10f4f56e6053401a45ea284198c57405757f148ab40874b332dd932626644ff0
MD5 7a61c2e6a7d0e46f17bfabf6a0246a0b
BLAKE2b-256 c62a0629759aac9a968c28bb6e30c6cbcdabccadd2bb4076ce601d1de41adb92

See more details on using hashes here.

File details

Details for the file bromodels-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: bromodels-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for bromodels-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2744030f0d28b903e0ae04d20d5b4f75761d743c4cf8677829ae3b65ba595fc4
MD5 cdac5f97aa69c714fbdfa794217dfb81
BLAKE2b-256 8a8621187a869828de964d3ca59a0885f5d5c58b9db789684990c99b93e0452b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page