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

Uploaded Source

Built Distribution

earthcube_utilities-0.1.18-py3-none-any.whl (70.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for earthcube_utilities-0.1.18.tar.gz
Algorithm Hash digest
SHA256 8c0471e944100407858344e81c376f825448455eba55564fe08d543cadc3dc9b
MD5 122cab7fd4a3a3c3ab4f764ee748ccbc
BLAKE2b-256 11ba1928dce83526e936510120d49e057c6ed96624effb4bed223b0ca10f7daf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for earthcube_utilities-0.1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 1f85ebcd2989445cebd5f219971278aa2e062d9b52e8d98d4bb022f05f5919e5
MD5 029286ad7868134bd85318b3eb5d1fce
BLAKE2b-256 5e877d3a393ade64c8a6ce70e62f9b7278ee81858046214fa3d4a9814710d75a

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