Skip to main content

A package of utilities for NSF Earthcube Geocodes Project

Project description

Earthcube Utilities

Proposed use

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.13.tar.gz (33.0 kB view details)

Uploaded Source

Built Distribution

earthcube_utilities-0.1.13-py3-none-any.whl (53.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: earthcube_utilities-0.1.13.tar.gz
  • Upload date:
  • Size: 33.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for earthcube_utilities-0.1.13.tar.gz
Algorithm Hash digest
SHA256 670436b1f478af2d00c8228b5cf5ff8c31ac97f09cb972914ca76e175e701e1a
MD5 8ab2bdddf37afb0b82e44beda002b70d
BLAKE2b-256 7a1c95a339d8ed605eae0beedf7e5171e80080a199acbdb5c22b5eb02d0f1719

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for earthcube_utilities-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 8d1735bcd25d252f571dcf88c7f6451bb3b9bd660e3a90defed169d53106da76
MD5 ed69bd8d5c04e8e3b2bb65bf630b7667
BLAKE2b-256 65f4905fb7a43c09f217f5866a9f2c11abad959d5ec4a5dd3580bf7a93c0e894

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