geomet-data-registry
Overview
geomet-data-registry provides a searchable real-time inventory of MSC weather, climate and water data.
Installation
Requirements
- Python 3
- virtualenv
Dependencies
Dependencies are listed in requirements.txt. Dependencies are automatically installed during installation.
Installing geomet-data-registry
# setup virtualenv
python -m venv geomet-data-registry
cd geomet-data-registry
. bin/activate
# clone codebase and install
git clone https://github.com/ECCC-MSC/geomet-data-registry.git
cd geomet-data-registry
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -e .
# configure environment
cp geomet-data-registry.env dev.env
vi dev.env # edit paths accordingly
. dev.env
Running
# help
geomet-data-registry --help
# get version
geomet-data-registry --version
# setup tileindex
geomet-data-registry tileindex setup
# teardown tileindex
geomet-data-registry tileindex teardown
# setup store
geomet-data-registry store setup
# list all store keys
geomet-data-registry store list
# list all store keys filtering on a regex
geomet-data-registry store list --pattern="RADAR*"
# list all store keys filtering on a fancier regex
geomet-data-registry store list --pattern="RADAR*time$"
# teardown store
geomet-data-registry store teardown
# set key/value in store
geomet-data-registry store set --key=somekey --config=/path/to/file
# setup metadata
geomet-data-registry metadata setup
# start up
sr_subscribe path/to/amqp.conf foreground
# dev workflows
# process a test file
geomet-data-registry data add --file=/path/to/file
# process a test directory of files (recursive)
geomet-data-registry data add --directory=/path/to/directory
Development
Running Tests
TODO
Releasing
python setup.py sdist bdist_wheel --universal
twine upload dist/*
Code Conventions
Bugs and Issues
All bugs, enhancements and issues are managed on GitHub.
Contact
Metadata
Release files for geomet-data-registry 0.1.0
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 |
|---|---|---|---|---|
| geomet-data-registry-0.1.0.tar.gz | 40.2 kB | Without provenance | Details for geomet-data-registry-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geomet_data_registry-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for geomet_data_registry-0.1.0-py2.py3-none-any.whl |
Total release size: 130.5 kB
Release files / geomet-data-registry-0.1.0.tar.gz
| Download URL | geomet-data-registry-0.1.0.tar.gz |
|---|---|
| Size | 40.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34111060c4cc75c642ce4c550db96bee38673ea2cd9148d12596cefd76c732db
|
|
BLAKE2b-256 checksum How to use checksums |
7c54142eabe52a6841bacaf9ef023916978b682334cdd3b3e2b637de98ab87f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.9
|
Release files / geomet_data_registry-0.1.0-py2.py3-none-any.whl
| Download URL | geomet_data_registry-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 90.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f90067fc382083df44591d7cf263b774f00979fb699e7a158d73466666a3301a
|
|
BLAKE2b-256 checksum How to use checksums |
ed7a47ac739ffa027aa6912f2157234163592c23db7df0b3991826d7dbdf5bf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.9
|
Security for geomet-data-registry 0.1.0
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.