🧙🔧 Utils that can be reused and shared across and beyond the ESO Nowcast project
Project description
Nowcast Library
🧙♂️🔧 Utils that can be reused and shared across and beyond the Nowcast project
Installation
Simply run
pip install nowcastlib
Development Setup
This repository relies on Poetry for tracking dependencies, building and publishing. It is therefore recommended that developers install poetry and make use of it throughout their development of the project.
Dependencies
Make sure you are in the right Python environment and run
poetry install
This reads pyproject.toml, resolves the dependencies, and installs them.
Deployment
The repository is published to PyPi, so to make it
accessible via a pip install
command as mentioned earlier.
To publish changes follow these steps:
-
Changes should be merged into the master branch. Ideally this process is automated via a CI tool.
-
Optionally run
poetry version
with the appropriate argument based on semver guidelines. -
Prepare the package by running
poetry build
-
Ensure you have TestPyPi and PyPi configured as your poetry repositories:
> poetry config repositories.testpypi https://test.pypi.org/legacy/ > poetry config repositories.pypi https://pypi.org/ > poetry config --list repositories.pypi.url = "https://pypi.org/" repositories.testpypi.url = "https://test.pypi.org/legacy/"
-
Publish the repository to TestPyPi, to see that everything works as expected:
poetry publish -r testpypi
-
Publish the repository to PyPi:
poetry publish -r pypi
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nowcastlib-1.1.1.tar.gz
.
File metadata
- Download URL: nowcastlib-1.1.1.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.5 Darwin/19.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c678ce3c41218d2aa54dd19cf31d14ee54bca82138e375c81cd93620cc057e8 |
|
MD5 | c4fe14e78bb3da484aaaddffd9e8abc6 |
|
BLAKE2b-256 | 4520d3b0b9c25ed40c5e8862b0e29902fbf2f660b0a09bd70ae9be479820351a |
Provenance
File details
Details for the file nowcastlib-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: nowcastlib-1.1.1-py3-none-any.whl
- Upload date:
- Size: 29.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.5 Darwin/19.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53c6e5aa56e943ca15b9d471a6f682d6e07201039c0c96d78dd4ce804440faba |
|
MD5 | 212c1655e3d3694926d5e4278a82237b |
|
BLAKE2b-256 | bf74ea35e8ac08d891b2a1df1cf5af3c3c1e0de1e66a4aa9ad362332738d4105 |