Skip to main content

A package of utilities for NSF Earthcube Geocodes Project

Project description

Earthcube Utilities

Users

Earthcube Utilities:

https://pypi.org/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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

earthcube_utilities-0.1.23.tar.gz (47.2 kB view details)

Uploaded Source

Built Distribution

earthcube_utilities-0.1.23-py3-none-any.whl (72.1 kB view details)

Uploaded Python 3

File details

Details for the file earthcube_utilities-0.1.23.tar.gz.

File metadata

  • Download URL: earthcube_utilities-0.1.23.tar.gz
  • Upload date:
  • Size: 47.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for earthcube_utilities-0.1.23.tar.gz
Algorithm Hash digest
SHA256 0145cfa7bbb9a470293c1052e48785c3e0515f9c5a0e2fe1c72614522fbddd1e
MD5 c960e9cdc43e7107499f9991813bd997
BLAKE2b-256 11e22c1ac62f8ddc8817050349f46946ee07be48d210fa7b225bdad98349e147

See more details on using hashes here.

File details

Details for the file earthcube_utilities-0.1.23-py3-none-any.whl.

File metadata

File hashes

Hashes for earthcube_utilities-0.1.23-py3-none-any.whl
Algorithm Hash digest
SHA256 856e49528cc69b315f76871c0a6b19ecee02423ddc89352769e43ad01df27b39
MD5 fb8ba9f063a5b4925fcce853ef02945a
BLAKE2b-256 31eae16b57afb2034c898c9e6d4a74d777493fd6cafd38c0fde20c38fc9e1fcc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page