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.3.tar.gz (107.7 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.3-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dkany-0.1.3.tar.gz
  • Upload date:
  • Size: 107.7 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.3.tar.gz
Algorithm Hash digest
SHA256 e65ff817936a634e99c193dbb0ebb8914b607955a9c94c4693668b80378312f0
MD5 a48d36a7e1ef634406c2eb5b6e0845f5
BLAKE2b-256 8b916160efbef5adb5a399337247a577d2e4c177880f67dfa4ec13256097500a

See more details on using hashes here.

Provenance

The following attestation bundles were made for dkany-0.1.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: dkany-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 8.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6557fe7d6ce89d511e2e6103415576996169dfdcdd81da1845b4aead4e8148f9
MD5 dc91ce28cc68938b24241e4351710c5b
BLAKE2b-256 36d7b2349894c7ca85a00cf739a9b83d926ae312f2fc6a6814e2456ffe2594fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for dkany-0.1.3-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