Skip to main content

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

Download files

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

Source Distribution

zeeker_common-0.2.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

zeeker_common-0.2.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file zeeker_common-0.2.0.tar.gz.

File metadata

  • Download URL: zeeker_common-0.2.0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for zeeker_common-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7494fc7adf88b38b3f95ad1a5d6a2efde8a6603642f3a085847bc422e3feb704
MD5 536b3bfe9be28d7f18406398845d52a8
BLAKE2b-256 a89ab4d66400d81087d9c249946439aa8bdcb2d751bf5549bd63e84d6c1868ab

See more details on using hashes here.

File details

Details for the file zeeker_common-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: zeeker_common-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for zeeker_common-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d3a9c7a77993b2cabb7df66f11f1f919b90709d7dfce275c243ee2a2a338281
MD5 5d4747d4e64128fa1d33eab16378f152
BLAKE2b-256 174929499a0e7e98388c44ba6e73380fe6482ef5e44e60d92c3688f477fe6e1e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page