data7


Namedata7 JSON
Version 0.12.1 PyPI version JSON
download
home_pageNone
SummaryData7 streams CSV/Parquet datasets over HTTP from SQL queries.
upload_time2025-07-24 08:44:46
maintainerNone
docs_urlNone
authorJulien Maupetit
requires_python<4.0,>=3.11
licenseMIT
keywords database dataset sql parquet csv http
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Data7 ⚡ Open your data in minutes

> Pronounced data·set (**7** like **sept** in French).

![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/jmaupetit/data7/quality.yml)
![PyPI - Version](https://img.shields.io/pypi/v/data7)

## The idea 💡

**TL;DR** Data7 is a high performance web server that generates dynamic datasets
(in [CSV](https://en.wikipedia.org/wiki/Comma-separated_values) or
[Parquet](https://en.wikipedia.org/wiki/Apache_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:

```sh
data7 init
```

✍️ Edit configuration files:

```yaml
# 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:

```sh
data7 run
```

💥 Your dataset is available at:

- [https://data7.wonderful-places.org/d/restaurants.csv](https://data7.wonderful-places.org/d/restaurants.csv)
  (CSV)
- [https://data7.wonderful-places.org/d/restaurants.parquet](https://data7.wonderful-places.org/d/restaurants.parquet)
  (Parquet)

## Documentation

The complete documentation of the project is avaiable at:
[https://jmaupetit.github.io/data7/](https://jmaupetit.github.io/data7/)

## License

This work is released under the MIT License.


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "data7",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.11",
    "maintainer_email": null,
    "keywords": "database, dataset, SQL, Parquet, CSV, HTTP",
    "author": "Julien Maupetit",
    "author_email": "julien@maupetit.net",
    "download_url": "https://files.pythonhosted.org/packages/fa/c6/986f0adffaad68295309c3fa5fdecd2daa60d2a9214f9323540cf4cb2cbe/data7-0.12.1.tar.gz",
    "platform": null,
    "description": "# Data7 \u26a1 Open your data in minutes\n\n> Pronounced data\u00b7set (**7** like **sept** in French).\n\n![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/jmaupetit/data7/quality.yml)\n![PyPI - Version](https://img.shields.io/pypi/v/data7)\n\n## The idea \ud83d\udca1\n\n**TL;DR** Data7 is a high performance web server that generates dynamic datasets\n(in [CSV](https://en.wikipedia.org/wiki/Comma-separated_values) or\n[Parquet](https://en.wikipedia.org/wiki/Apache_Parquet) formats) from existing\ndatabases and streams them over HTTP \ud83c\udf89\n\n## A quick example\n\nLet say you have a `restaurant` table in your PostgreSQL database, and you want\nto make this table an always-up-to-date dataset that can be easily used by the\nrest of the world.\n\nAll you have to do is to initialize your project:\n\n```sh\ndata7 init\n```\n\n\u270d\ufe0f Edit configuration files:\n\n```yaml\n# settings.yaml\nproduction:\n  host: \"https://data7.wonderful-places.org\"\n  port: 80\n\n# .secrets.yaml\nproduction:\n  DATABASE_URL: \"postgresql+asyncpg://user:pass@server:port/wonderful-places\"\n\n# data7.yaml\nproduction:\n  datasets:\n    - basename: restaurants\n      query: \"SELECT * FROM restaurant\"\n```\n\n\ud83c\udfce\ufe0f Fire up the `data7` server:\n\n```sh\ndata7 run\n```\n\n\ud83d\udca5 Your dataset is available at:\n\n- [https://data7.wonderful-places.org/d/restaurants.csv](https://data7.wonderful-places.org/d/restaurants.csv)\n  (CSV)\n- [https://data7.wonderful-places.org/d/restaurants.parquet](https://data7.wonderful-places.org/d/restaurants.parquet)\n  (Parquet)\n\n## Documentation\n\nThe complete documentation of the project is avaiable at:\n[https://jmaupetit.github.io/data7/](https://jmaupetit.github.io/data7/)\n\n## License\n\nThis work is released under the MIT License.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Data7 streams CSV/Parquet datasets over HTTP from SQL queries.",
    "version": "0.12.1",
    "project_urls": {
        "Documentation": "https://jmaupetit.github.io/data7/",
        "Homepage": "https://jmaupetit.github.io/data7/",
        "Repository": "https://github.com/jmaupetit/data7"
    },
    "split_keywords": [
        "database",
        " dataset",
        " sql",
        " parquet",
        " csv",
        " http"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f8004aaba9776ef0e9b4fe831987f8b4169247587f1d0c8d753779c0ae518a2f",
                "md5": "b77cdf3b68c63cb977e4bef93315ddae",
                "sha256": "6ec0024eb1aab06c6c62adea1e2ede84a95c3eca0f0209aec8ad17be52c45cb3"
            },
            "downloads": -1,
            "filename": "data7-0.12.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b77cdf3b68c63cb977e4bef93315ddae",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.11",
            "size": 12859,
            "upload_time": "2025-07-24T08:44:44",
            "upload_time_iso_8601": "2025-07-24T08:44:44.649300Z",
            "url": "https://files.pythonhosted.org/packages/f8/00/4aaba9776ef0e9b4fe831987f8b4169247587f1d0c8d753779c0ae518a2f/data7-0.12.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "fac6986f0adffaad68295309c3fa5fdecd2daa60d2a9214f9323540cf4cb2cbe",
                "md5": "7ab1d9776731bc6b4a0db413c48c3645",
                "sha256": "b6149ad305affe07ac8bee8079c4dedd1b42a1934adb4aa897698e502057bbfe"
            },
            "downloads": -1,
            "filename": "data7-0.12.1.tar.gz",
            "has_sig": false,
            "md5_digest": "7ab1d9776731bc6b4a0db413c48c3645",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.11",
            "size": 10542,
            "upload_time": "2025-07-24T08:44:46",
            "upload_time_iso_8601": "2025-07-24T08:44:46.409108Z",
            "url": "https://files.pythonhosted.org/packages/fa/c6/986f0adffaad68295309c3fa5fdecd2daa60d2a9214f9323540cf4cb2cbe/data7-0.12.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-24 08:44:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jmaupetit",
    "github_project": "data7",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "data7"
}
        
Elapsed time: 0.51852s