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.3.0.post1.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

kiwi_booster-0.3.0.post1-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file kiwi_booster-0.3.0.post1.tar.gz.

File metadata

  • Download URL: kiwi_booster-0.3.0.post1.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.8.18 Linux/6.5.0-18-generic

File hashes

Hashes for kiwi_booster-0.3.0.post1.tar.gz
Algorithm Hash digest
SHA256 2b5002678119023652a7377149d06b32469e48c0a25c46ada965f66007adbd68
MD5 9f918ec9513fa0bf236571595278a5db
BLAKE2b-256 fc949aad33ac3a6e7ca4ff16dcfad70dd4804e4781b436012a9d62409cfd9dd4

See more details on using hashes here.

File details

Details for the file kiwi_booster-0.3.0.post1-py3-none-any.whl.

File metadata

  • Download URL: kiwi_booster-0.3.0.post1-py3-none-any.whl
  • Upload date:
  • Size: 27.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.8.18 Linux/6.5.0-18-generic

File hashes

Hashes for kiwi_booster-0.3.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 9e1f793ab838f01a880e350fb669908fc7136f41def3604ae7d2edc75c307ae5
MD5 7d464338a4e24ef65ec2f94ce5a9d6d0
BLAKE2b-256 2853f65379624cb71924dd0ab2ce25454bd0e90c699d1df93536e782a380c388

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