Data7 streams CSV/Parquet datasets over HTTP from SQL queries.
Project description
Data7 ⚡ Open your data in minutes
Pronounced data·set (7 like sept in French).
The idea 💡
TL;DR Data7 is a high performance web server that generates dynamic datasets (in CSV or Parquet formats) from existing databases and streams them over HTTP 🎉
A quick example
Let say you have a restaurant table in your PostgreSQL database, and you want
to make this table an always-up-to-date dataset that can be easily used by the
rest of the world.
All you have to do is to initialize your project:
data7 init
✍️ Edit configuration files:
# settings.yaml
production:
host: "https://data7.wonderful-places.org"
port: 80
# .secrets.yaml
production:
DATABASE_URL: "postgresql+asyncpg://user:pass@server:port/wonderful-places"
# data7.yaml
production:
datasets:
- basename: restaurants
query: "SELECT * FROM restaurant"
🏎️ Fire up the data7 server:
data7 run
💥 Your dataset is available at:
- https://data7.wonderful-places.org/d/restaurants.csv (CSV)
- https://data7.wonderful-places.org/d/restaurants.parquet (Parquet)
Documentation
The complete documentation of the project is avaiable at: https://jmaupetit.github.io/data7/
License
This work is released under the MIT License.
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 data7-0.12.0.tar.gz.
File metadata
- Download URL: data7-0.12.0.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07268ccd4a8873175c11d850267b59fb3a35a9bf26621e04d8b20e0c67ce0e71
|
|
| MD5 |
76493c83b71e0963b40b1bc275c9f3b5
|
|
| BLAKE2b-256 |
ed40b61107a0c4e6359dc01b27a03ea1e053bc2689e28c80d11def0d8f9bfc11
|
Provenance
The following attestation bundles were made for data7-0.12.0.tar.gz:
Publisher:
package.yml on jmaupetit/data7
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
data7-0.12.0.tar.gz -
Subject digest:
07268ccd4a8873175c11d850267b59fb3a35a9bf26621e04d8b20e0c67ce0e71 - Sigstore transparency entry: 307688761
- Sigstore integration time:
-
Permalink:
jmaupetit/data7@e0bf7dfc98145081959bb3b87d54ae37e5cd98ac -
Branch / Tag:
refs/tags/v0.12.0 - Owner: https://github.com/jmaupetit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yml@e0bf7dfc98145081959bb3b87d54ae37e5cd98ac -
Trigger Event:
push
-
Statement type:
File details
Details for the file data7-0.12.0-py3-none-any.whl.
File metadata
- Download URL: data7-0.12.0-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10c904975749be93b8a5b953ee06a3b071bcbaf78512da2bf06452fef8611273
|
|
| MD5 |
53c3c813874e72a46fc7b00c27e888a0
|
|
| BLAKE2b-256 |
463c96132dbf6fe5cb4b6ddb8f357d5580e645e0f8c6a34da5775062659b62ee
|
Provenance
The following attestation bundles were made for data7-0.12.0-py3-none-any.whl:
Publisher:
package.yml on jmaupetit/data7
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
data7-0.12.0-py3-none-any.whl -
Subject digest:
10c904975749be93b8a5b953ee06a3b071bcbaf78512da2bf06452fef8611273 - Sigstore transparency entry: 307688786
- Sigstore integration time:
-
Permalink:
jmaupetit/data7@e0bf7dfc98145081959bb3b87d54ae37e5cd98ac -
Branch / Tag:
refs/tags/v0.12.0 - Owner: https://github.com/jmaupetit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yml@e0bf7dfc98145081959bb3b87d54ae37e5cd98ac -
Trigger Event:
push
-
Statement type: