Package under development!
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.)
💻 Installation
-
Install pyTESEO library:
Pip package manager is needed to install the library and it is recommended to be installed from [IHCantabria/pyteseo](https://github.com/IHCantabria/ pyteseo) repository:
pip install git+https://github.com/IHCantabria/pyteseo
Alternatively, you can install it from pypi but you will need also install some direct dependencies that are not publish in pipy repositories:
pip install pyteseo # direct dependencies: pip install "datahub @ https://github.com/IHCantabria/datahub.client/archive/refs/tags/v0.9.4.zip"
-
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
-
-
Online data providers require to stablish opendap connections, and in some cases aditional configurations:
-
CMEMS products requires authentication. You should set up the environment variables
CMEMS_usernameandCMEMS_password.dotenv set CMEMS_username your_username_at_CMEMS
dotenv set CMEMS_password your_password_at_CMEMS
-
IHCantabria products requires connection to IHCantabria datahub API. You should set up the environment variable
DATAHUB_API_URL.DATAHUB_API_URL = "https://datahub.ihcantabria.com"
-
✔️ 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
♻️ Continuous integration (CI)
- Build and deploy documentation on Github Pages in .github/workflows/docs.yml
- Install and test package in diferent environments in .github/workflows/tests.yml
- Precommit hooks for formats and linting in .pre-commit-config.yaml
For Linux, Windows, MacOS and compatible python versions defined in installation section
📚 Documentation
Documentation is available at https://ihcantabria.github.io/pyteseo
©️ Credits
Developed and maintained by 👨💻 German Aragon @ 🏢 IHCantabria.
Metadata
Release files for pyteseo 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyteseo-0.0.7.tar.gz | 7.2 MB | Without provenance | Details for pyteseo-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyteseo-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for pyteseo-0.0.7-py3-none-any.whl |
Total release size: 12.8 MB
Release files / pyteseo-0.0.7.tar.gz
| Download URL | pyteseo-0.0.7.tar.gz |
|---|---|
| Size | 7.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27178bac4b75b32c471d9da79bcd8a21803a7f9962046714460bed5f8c767025
|
|
BLAKE2b-256 checksum How to use checksums |
cb5e4540bcc3add39abceb87cc25f5b36492b57f074ee4ac18aa5f352438bc8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Release files / pyteseo-0.0.7-py3-none-any.whl
| Download URL | pyteseo-0.0.7-py3-none-any.whl |
|---|---|
| Size | 5.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc2af8cc47eecaf2a213cabb3979d4e76d6937e7878d478e9136feb06c445e5c
|
|
BLAKE2b-256 checksum How to use checksums |
92c845a3f2961d7b077589de22c683e1b6df485ae1d7cb103ef9556c45149057
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Security for pyteseo 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.