Skip to main content

A wrapper library around the DKAN API

Project description

dkany

Python package for accessing open data websites powered by dkan

uv and package management

We're using uv, since pipenv was having a hard time building. Install it with pip install uv, then it should work almost identically to pipenv

Local Development

To install the package and it's dependences for development, run

uv sync --dev

uv can manage your python versions for you. Try out uv python list or uv python install 3.13

Environment Variables

The default behavior of this app can be changed with environment variables. The easiest way to set these is by adding them to a .env file in the base directory of this repo. This file is not commited to the repo, as it might change in different contexts, but you can see the .env_example to get a sense of how this might look.

Here are the environment variables the app is currently using:

Running the Tests

There are many ways to run the tests associated with this app.

  1. Probably the easiest is to run the tests in vscode's testing pannel

  2. You can also run the tests from bash with source scripts/test.sh

Ideas for Improvement

TODO: Validate dataset file (All columns have column names)

Deploying

See our confluence doc on deploying to AWS CodeArtifact

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

dkany-0.1.1.tar.gz (108.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dkany-0.1.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file dkany-0.1.1.tar.gz.

File metadata

  • Download URL: dkany-0.1.1.tar.gz
  • Upload date:
  • Size: 108.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dkany-0.1.1.tar.gz
Algorithm Hash digest
SHA256 905c80d3aa91eea582845e3893a7591788aca42dfe46e8737c7c0299551687ff
MD5 264890f955f1f8ffaee5b7d966f0842e
BLAKE2b-256 edfde73b28d73c48856d13f9b64ec40cbfa2e4cb22052cbc9dd5f79433900278

See more details on using hashes here.

Provenance

The following attestation bundles were made for dkany-0.1.1.tar.gz:

Publisher: build-and-publish.yml on mathematica-org/dkany

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dkany-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: dkany-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dkany-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0559ed0a0f99aaf440d9706729869b4fe52555f2aa75e4ce947618f38246d32f
MD5 ddaad04f7c5d34a6f8cd0dad8778d23e
BLAKE2b-256 659ddf11205bc72e721cbf64a669e8eace10efb9b1621b7b3d9d78305fee7a09

See more details on using hashes here.

Provenance

The following attestation bundles were made for dkany-0.1.1-py3-none-any.whl:

Publisher: build-and-publish.yml on mathematica-org/dkany

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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