Skip to main content

Centralized core functionality for Terakeet SD, DS, DE, etc.

Project description

tk-core

PyPI Latest Release Ruff

Centralized core functionality for Terakeet SD, DS, DE, etc.

Installation

The tk-core package is available on PyPI and can be installed using pip:

pip install tk-core

APIs

Current

  • common
    • anything you find yourself using frequently could be added here
  • serp_api
    • anything related to SERPAPI
    • there is a base class for all Google endpoints: serp_api.base.py:SERPAPI
  • snowflake
    • anything related to snowflake
  • core
    • functionality that is core to the other sub-modules in the package
  • async module
    • helper functions and async functionality that is core to the other sub-modules in the package

Future

  • google
  • open_ai
  • semrush

Examples

Each sub-packages should have their own directory inside the examples directory. These will be built out over time to help (along with the documentation) understand functionality and common use cases for the tk-core package.

Project Structure

tk-core
|
├── src
│   └── tk_core
│       ├── common
│       │   ├── de_service.py
│       │   ├── dictionary.py
│       │   ├── files.py
│       │   ├── hasher.py
│       │   └── s3.py
|       |   |__ timeout.py
|       |
│       ├── core
│       │   └── models.py
|       |
│       ├── google (future)
│       │   ├── gsc.py
│       │   ├── ga.py
│       │   ├── sheets.py
│       │   ├── calendar.py
│       │   └── gmail.py
|       |
│       ├── open_ai (future)
|       |
│       ├── semrush (future)
|       |
│       ├── serp_api
│       │   ├── README.md
│       │   ├── base.py
│       │   ├── batch_serp.py
│       │   ├── format_for_snowflake.py
│       │   ├── models.py
│       │   ├── serp.py
│       │   ├── trend.py
│       │   └── util.py
|       |
│       └── snowflake
│       │   ├── error_wrapper.py
│       │   ├── snowkeet_new.py
│           └── snowkeet.py
└── test
    ├── common
    ├── core
    └── serpapi
|
├── README.md
├── .coveragerc
├── .pre-commit-config.yaml
├── pyproject.toml
├── requirements.txt
├── requirements-dev.txt

Questions, Concerns, Bugs

Clone the repo, create a PR and give it a shot your self. Make sure to write some tests--or update the existing ones--with any changing functionality. Feel free to reach out to the engineering team for help.

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

tk_core-1.3.1rc0.tar.gz (52.0 kB view details)

Uploaded Source

Built Distribution

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

tk_core-1.3.1rc0-py3-none-any.whl (63.1 kB view details)

Uploaded Python 3

File details

Details for the file tk_core-1.3.1rc0.tar.gz.

File metadata

  • Download URL: tk_core-1.3.1rc0.tar.gz
  • Upload date:
  • Size: 52.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tk_core-1.3.1rc0.tar.gz
Algorithm Hash digest
SHA256 1c506ef0929364777c2ae90ceb5c15efb2150d8894e6c13e4114ac5af24c396c
MD5 d9dab5ce7ff9fa63ed8f252f971375fe
BLAKE2b-256 6a298715f59a3e50c5572b2f1ea413fe226925f8793b3492135efb582e0b32a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for tk_core-1.3.1rc0.tar.gz:

Publisher: publish.yaml on terakeet/tk-core

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

File details

Details for the file tk_core-1.3.1rc0-py3-none-any.whl.

File metadata

  • Download URL: tk_core-1.3.1rc0-py3-none-any.whl
  • Upload date:
  • Size: 63.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tk_core-1.3.1rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 648899adf39a071f6b74d9820f7761465abf33a92b8522dd32032e6db71fc2a0
MD5 de15b1d82fb9972b198049ee9905df1d
BLAKE2b-256 0a133d2453219ddce15fa133547e3baf74b1d4005cce7b4bade99eba24d32164

See more details on using hashes here.

Provenance

The following attestation bundles were made for tk_core-1.3.1rc0-py3-none-any.whl:

Publisher: publish.yaml on terakeet/tk-core

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