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.
-
Probably the easiest is to run the tests in vscode's testing pannel
-
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f51d281a2e3f12b2814cd1a532c24a9ba65eb50bef7483f459f0dcaeebf6b4c1
|
|
| MD5 |
e0841c0a2a1cd9293ffe121aa8187956
|
|
| BLAKE2b-256 |
0a2bd53d3bfaab01b70d915b5185272c808fb412fd3e0bbd417d6fa06e3a2358
|
Provenance
The following attestation bundles were made for dkany-0.1.2.tar.gz:
Publisher:
build-and-publish.yml on mathematica-org/dkany
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dkany-0.1.2.tar.gz -
Subject digest:
f51d281a2e3f12b2814cd1a532c24a9ba65eb50bef7483f459f0dcaeebf6b4c1 - Sigstore transparency entry: 590967612
- Sigstore integration time:
-
Permalink:
mathematica-org/dkany@5e1f3d68f71f5dfe707e840d663fcb8805cef9ca -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/mathematica-org
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-and-publish.yml@5e1f3d68f71f5dfe707e840d663fcb8805cef9ca -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a951ca7add839a6e46876f2406606d49e648425d3884e34449a1a4619b54ecfc
|
|
| MD5 |
871447869376e7a4467aa1591a317751
|
|
| BLAKE2b-256 |
06da1dafe768f63bb9b83ff1141b138600c1d86264049d5b3a259ac38f4f25e4
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dkany-0.1.2-py3-none-any.whl -
Subject digest:
a951ca7add839a6e46876f2406606d49e648425d3884e34449a1a4619b54ecfc - Sigstore transparency entry: 590967614
- Sigstore integration time:
-
Permalink:
mathematica-org/dkany@5e1f3d68f71f5dfe707e840d663fcb8805cef9ca -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/mathematica-org
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-and-publish.yml@5e1f3d68f71f5dfe707e840d663fcb8805cef9ca -
Trigger Event:
release
-
Statement type: