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.2.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.2-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dkany-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 f51d281a2e3f12b2814cd1a532c24a9ba65eb50bef7483f459f0dcaeebf6b4c1
MD5 e0841c0a2a1cd9293ffe121aa8187956
BLAKE2b-256 0a2bd53d3bfaab01b70d915b5185272c808fb412fd3e0bbd417d6fa06e3a2358

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: dkany-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a951ca7add839a6e46876f2406606d49e648425d3884e34449a1a4619b54ecfc
MD5 871447869376e7a4467aa1591a317751
BLAKE2b-256 06da1dafe768f63bb9b83ff1141b138600c1d86264049d5b3a259ac38f4f25e4

See more details on using hashes here.

Provenance

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