Skip to main content

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).

GitHub Actions Workflow Status PyPI - Version

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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

data7-1.0.0.tar.gz (213.3 kB view details)

Uploaded Source

Built Distribution

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

data7-1.0.0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file data7-1.0.0.tar.gz.

File metadata

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

File hashes

Hashes for data7-1.0.0.tar.gz
Algorithm Hash digest
SHA256 22af9e36fc1b4bdf4ac102f3fad1e69f08b3781b655e6d5cf3f006ffe73e326e
MD5 adff8cbc5c546adcf4b0448626da456d
BLAKE2b-256 7d5d5224c77103d61b3851c30efa29c1caf3990a7ca93d0768189ad308ead593

See more details on using hashes here.

Provenance

The following attestation bundles were made for data7-1.0.0.tar.gz:

Publisher: package.yml on jmaupetit/data7

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

File details

Details for the file data7-1.0.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for data7-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c37acf2686273236d70710a6b6c38703fd96d116dd4549aeb5b8f6135f122f1f
MD5 fee8ab78005a08d1a3c0665ce947579c
BLAKE2b-256 34f3d05c48ddbf54bac1c5f48616a43bcc74d7e34a3ca0cd798dac61d95a4915

See more details on using hashes here.

Provenance

The following attestation bundles were made for data7-1.0.0-py3-none-any.whl:

Publisher: package.yml on jmaupetit/data7

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