Skip to main content

Python utility functions and classes for KiwiBot AI&Robotics team

Project description


Logo

Kiwi Booster

Python utils and classes for KiwiBot AI&Robotics team
Make a Pull Request · Report Bug · Request Feature


Table of contents


About The Project

This library contains utility functions and classes from Python that are commonly used in the AI&Robotics team. It is divided into 5 main sections:

  • common_utils: Some common utils that are normally used in most of the projects.

    • kiwi_booster.loggers This module contains GCP and local loggers with a predefined format.

    • kiwi_booster.mixed This module contains miscellaneous utils from multiple objectives.

    • kiwi_booster.requests This module contains utils for working with HTTP requests.

  • gcp_utils: Utils that are related to the Google Cloud Platform.

    • kiwi_booster.gcp_utils.bigquery This module contains utils for working with BigQuery.

    • kiwi_booster.gcp_utils.kfp This module contains utils for working with Vertex (Kubeflow) Pipelines.

    • kiwi_booster.gcp_utils.secrets This module contains utils for working with Google Cloud Secrets Manager.

    • kiwi_booster.gcp_utils.storage This module contains utils for working with Google Cloud Storage.

  • ml_utils: Utils that are related to Machine Learning.

    • kiwi_booster.ml_utils.benchmarks This module contains utils for benchmarking machine learning models.

    • kiwi_booster.ml_utils.prediction This module contains utils to handle the prediction of the semantic segmentation model.

  • decorators: Decorators that are used to improve the codebase.

  • slack_utils: Utils that are related to Slack.

(back to top)


Getting started

Installation

To install the package, simply run the following command:

pip install kiwi-booster

Usage

To use the package, we recommend using relative imports for each function or class you want to import to improve readability. For example, if you want to use the SlackBot class, you can import it as follows:

from kiwi_booster.slack_utils import SlackBot

slack_bot = SlackBot(
        SLACK_TOKEN,
        SLACK_CHANNEL_ID,
        SLACK_BOT_IMAGE_URL,
        image_alt_text="Bot description",
)

Or any decorator as follows:

from kiwi_booster.decorators import try_catch_log

@try_catch_log
def my_function():
    # Do something

As well, we recommend importing them in a separate section from the rest of the imports.

(back to top)


Contributing

If you'd like to contribute to Kiwi Booster, please feel free to submit a pull request! We're always looking for ways to improve our codebase and make it more useful to a wider range of use cases. You can also request a new feature by submitting an issue.

License

Kiwi Booster is licensed under the GNU license. See the LICENSE file for more information.

Contact

Sebastian Hernández Reyes - Machine Learning Engineer - Mail contact

Carlos Alvarez - Machine Learning Engineer Lead - Mail contact

(back to top)

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

kiwi_booster-0.2.2.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

kiwi_booster-0.2.2-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file kiwi_booster-0.2.2.tar.gz.

File metadata

  • Download URL: kiwi_booster-0.2.2.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.12 Linux/6.2.0-34-generic

File hashes

Hashes for kiwi_booster-0.2.2.tar.gz
Algorithm Hash digest
SHA256 7417dea3b11942e483634f5d06cb89ba5a9ea0e5317f0c191345e7d4459ef2e1
MD5 e73d057b99d8162180a33abb56571186
BLAKE2b-256 b7b5e1afed4a5c1774ead33d25d671187742ab5666502f59ba36bde92f1aa68d

See more details on using hashes here.

File details

Details for the file kiwi_booster-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: kiwi_booster-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.12 Linux/6.2.0-34-generic

File hashes

Hashes for kiwi_booster-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 489afc32b3e7b428a81b0429ee51e9dcb83192097272dc49c75f9fe20e4b0ed4
MD5 003274a9adde972caa724115ae24909a
BLAKE2b-256 8f41468a4a380056d34d40248533153b16f2517c46e38ae69438d423d8a559f9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page