zeeker-common
Common utilities for Zeeker data projects.
Installation
pip install zeeker-common
# With OpenAI support
pip install zeeker-common[openai]
# With all optional dependencies
pip install zeeker-common[all]
Utilities
Hash ID Generation
from zeeker_common import get_hash_id
# Generate deterministic IDs from multiple fields
user_id = get_hash_id(["user", "john.doe@example.com"])
Jina Reader Integration
from zeeker_common import get_jina_reader_content
# Extract clean text from web pages
content = await get_jina_reader_content("https://example.com/article")
Requires JINA_API_TOKEN environment variable.
Retry Decorators
from zeeker_common import async_retry
@async_retry
async def fetch_data():
# Automatically retries on failure with exponential backoff
pass
OpenAI Integration (Optional)
from zeeker_common.openai import get_summary
# Generate summaries using GPT-4
summary = await get_summary("Long text here...")
Requires OPENAI_API_KEY environment variable and openai package.
License
MIT License - see LICENSE file for details
Metadata
Release files for zeeker-common 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zeeker_common-0.2.0.tar.gz | 10.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zeeker_common-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.5 kB
Release files / zeeker_common-0.2.0.tar.gz
| Download URL | zeeker_common-0.2.0.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7494fc7adf88b38b3f95ad1a5d6a2efde8a6603642f3a085847bc422e3feb704
|
|
BLAKE2b-256 checksum How to use checksums |
a89ab4d66400d81087d9c249946439aa8bdcb2d751bf5549bd63e84d6c1868ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / zeeker_common-0.2.0-py3-none-any.whl
| Download URL | zeeker_common-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d3a9c7a77993b2cabb7df66f11f1f919b90709d7dfce275c243ee2a2a338281
|
|
BLAKE2b-256 checksum How to use checksums |
174929499a0e7e98388c44ba6e73380fe6482ef5e44e60d92c3688f477fe6e1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|