Skip to main content

Python package developed to simplify and facilitate the setup and processing of TESEO simulations (https://ihcantabria.com/en/specialized-software/teseo/)

Project description

Package under development!


pypi Github release (latest by date) GitHub tag (latest by date) GitHub last commit docs tests GitHub repo size GitHub license Python versions Code style: black

pyTESEO is a python package developed by IHCantabria to simplify and facilitate the setup and processing of TESEO simulations (TESEO is a lagrangian numerical model also developed by IHCantabria.)


:computer: Installation

1 - Install the python library using pip:

# From pypi repository
pip install pyteseo

# Or directly from github repository
pip install git+https://github.com/IHCantabria/pyteseo

2 - Install TESEO model binary (Not available yet!):

  • Get access to the binary: https://github.com/IHCantabria/TESEO/blob/main/bin

  • Set up environment variable "TESEO_PATH" with the path to the model executable. You can use the command following CLI command after activate the python environement (python-dotenv library)

        dotenv set TESEO_PATH /path/to/teseo_executable
    

3 - Opendap connection to some CMEMS products is available at the library pyteseo/connections/cmems.py but needs authetication through the following environement variables:

dotenv set CMEMS_username your_username_at_CMEMS
dotenv set CMEMS_password your_password_at_CMEMS

:heavy_check_mark: Tests

Tests are located in pyteseo/tests/ and data required for tests are located in pyteseo/tests/data/. Tests have been developed using pytest.

Run tests to verify your package installation:

pyteseo-test        # Run tests and prompt pytest-report

If you have cloned the repository, you also can run coverage.py functionalities based on current pytproyect.toml configuration from your terminal command line interface:

# Commands should be executed from the root directory of the repo

coverage run        # For run tests and generate ".coverage" file
coverage report     # For prompt results from ".coverage" file
coverage html       # For generate html report on "htmlcov" folder

:recycle: Continuous integration (CI)

For Linux, Windows, MacOS and compatible python versions defined in installation section


:books: Documentation

Documentation is available at https://ihcantabria.github.io/pyteseo


:copyright: Credits

Developed and maintained by :man_technologist: German Aragon @ :office: IHCantabria.


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

pyteseo-0.0.6.tar.gz (6.0 MB view details)

Uploaded Source

Built Distribution

pyteseo-0.0.6-py3-none-any.whl (5.0 MB view details)

Uploaded Python 3

File details

Details for the file pyteseo-0.0.6.tar.gz.

File metadata

  • Download URL: pyteseo-0.0.6.tar.gz
  • Upload date:
  • Size: 6.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.2

File hashes

Hashes for pyteseo-0.0.6.tar.gz
Algorithm Hash digest
SHA256 bf3381550223dea7710aadb046cff731093a6547637914d51e69bbbbaad59b96
MD5 827ef0d5b24b4b06aa045a8f7f1670d2
BLAKE2b-256 d711249c902c70a70ee2341b112ab1a27a21f91be38cdeb4c77333ae397bc73a

See more details on using hashes here.

File details

Details for the file pyteseo-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: pyteseo-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.2

File hashes

Hashes for pyteseo-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 eb4678f8e21caa9eb4775238d75203fc2d5eb39256748011bb80e82f4db86024
MD5 7514618d1d6a1354cb717f6bef49eb4f
BLAKE2b-256 9c817eb8e23859f8385138b538cb702d6e1d7a915f520e70fee7dcbbf6211576

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