A Python package for creating dataset metadata using Schema.org's Dataset type and sending it to Kalouk's API
Project description
Kalouk Python Package
A Python package for creating dataset metadata using Schema.org's Dataset type and sending it to Kalouk's API.
Installation
uv add kalouk
# or
pip install kalouk
Quick Start
from kalouk import Dataset
# Create a new dataset
dataset = Dataset()
# Set metadata using Schema.org Dataset properties
dataset.set_metadata("name", "My Dataset")
dataset.set_metadata("description", "A sample dataset")
dataset.set_metadata("creator", "John Doe")
dataset.set_metadata("dateCreated", "2025-01-01")
dataset.set_metadata("license", "https://creativecommons.org/licenses/by/4.0/")
# Send to Kalouk's API
response = dataset.send_to_kalouk()
print(f"Status: {response.status_code}")
Features
- Create dataset metadata using Schema.org Dataset specification
- Send dataset metadata to Kalouk's API at web.kalouk.xyz/api/datasets
- NumPy-style docstrings with full type hints
- Comprehensive Sphinx documentation with Markdown support
Documentation
Build the documentation locally:
cd docs
uv run make html
The documentation will be available in docs/build/html/index.html.
Development
This project uses uv for dependency management. To set up the development environment:
uv sync
API Reference
See the full API documentation in the docs/ directory or build it locally using Sphinx.
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 kalouk-0.1.0.tar.gz.
File metadata
- Download URL: kalouk-0.1.0.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6eed085e53e6370254db87118d4c73c6ab8a8d5429cb398bdde07c2fff491512
|
|
| MD5 |
86e6b69d8bb2940a1d06eb5d5305592f
|
|
| BLAKE2b-256 |
8b70b51476014741c2064083ec9637439583479fe72c7815c7fd65b63e8bc1fc
|
File details
Details for the file kalouk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kalouk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7040c858812404e7b6e89834902d26b35c5a2625803e31c81c7745c96cf449a2
|
|
| MD5 |
279db1bc5564935f7eb03fede12eec66
|
|
| BLAKE2b-256 |
5145835228b55cba9282e4d76dda66b9acc40a142effe98a17e45d54fd370e8e
|