A package of utilities for NSF Earthcube Geocodes Project
Project description
Earthcube Utilities
Users
Earthcube Utilities:
https://pypi-hypernode.com/project/earthcube-utilities/
Manual Install
python3 -m pip install earthcube-utilities
Developers
scripts
When installed via pip:
query_graph SPARQL_FILE --graphendpoint https://graph.geocodes-dev.earthcube.org/blazegraph/namespace/earthcube/
check_sitemap SITEMAP_URL --output FILE --no-check-url
generategraphstats --graphendpoint https://graph.geocodes-dev.earthcube.org/blazegraph/namespace/earthcube/ -s3 localhost:9000 --s3bucket gleaner
from console scripts
local development mode
cd earthcube_utiltiies
pip3 install -e .
Developement
create a virutal env and activate
source {envname}/bin/activate
use editable install
cd earthcube_utiltiies
pip3 install -e .
If you edit the pyproject.toml and want to test an added script,
cd summarize
pip3 uninstall -e earthcube_utiltiies
pip3 install -e .
building a test package
test packaging
Locally, see if a package builds
python3 -m pip install build
in build/lib you can see what files are included in package
build a wheel
to see what is added to a package,
python -m build --wheel
dist directory will contain the package. This is actually a zip file so unzip to see what got included
Planning:
The planned functionality will be found in the docs folder, Earthcube Utilities Functionality
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
Hashes for earthcube_utilities-0.1.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce85cc27d2e06dbc11800c53123e3d914f5441b7d4ca78402637c5a920341cb1 |
|
MD5 | 45e2a54e2a2e34021788d1e2ed4c2b97 |
|
BLAKE2b-256 | fbda83af0271543fa4db24ee3dd403f9b7c57a7536ab97ce1d1cc40af6805c3f |
Hashes for earthcube_utilities-0.1.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35f40c871bf83dc9bb2a8e4870926ffbaca3bb01039b0b5fe30b65aa2f71027a |
|
MD5 | bde3cf9a8e3b37d1bc96f5001c6fa836 |
|
BLAKE2b-256 | eaa82576e33558fd5e795a686f26d7b40d044d14df25777695f5645f8ac2d610 |