Skip to main content

Common base classes for Keboola Python components

Project description

keboola-python

Shared utility code for Keboola Python components.


🛠️ Setup for Developers

Follow these steps to get up and running:

1. Clone the repo

git clone https://github.com/emfoundation/keboola-python.git
cd keboola-python

2. Create and activate a virtual environment

python3 -m venv .venv
source .venv/bin/activate

3. Install dev dependencies

pip install -r requirements-dev.txt

This will install tools like:

  • black (auto-formatting)
  • flake8 (linting)
  • pre-commit (to run checks before each commit)
  • pytest (for tests)

🧪 Pre-Commit Hook Setup

We use pre-commit to run formatting and linting checks automatically on every commit.

Install the hook, from within your virtual environment (one-time setup)

pre-commit install

Try it out

Make a code change and run:

git add .
git commit -m "Trigger pre-commit"

You'll see black and flake8 run before the commit is saved.

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

keboola_python-0.1.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

keboola_python-0.1.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file keboola_python-0.1.2.tar.gz.

File metadata

  • Download URL: keboola_python-0.1.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for keboola_python-0.1.2.tar.gz
Algorithm Hash digest
SHA256 301c128a50e699f8d8f4e8b7945792d1fcb17d94ef3c94ff5ab4f3674a4cc709
MD5 9c52be41ef342981b68c47e0fcf3da52
BLAKE2b-256 2babee9807cadeeece0e90d041b39b076a9fdae9f9ea49e7db5f9cabf067cefd

See more details on using hashes here.

File details

Details for the file keboola_python-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: keboola_python-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for keboola_python-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 af01f1a285d1d12a06a9b7b74e75604f9247a8d785ebf3901db460a3039adbdc
MD5 052af8ed9425fde29f0e9ddcfc8bf5c4
BLAKE2b-256 2fdd49acefebf448d177da99b3163b741a8ca18e0a03fa07f3008acb1c55e52a

See more details on using hashes here.

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