Skip to main content

Library for neccessary tools for autotech company

Project description


autotech-sdk: software development kit for autotech company


autotech-sdk is a library for common task in cloud development such as: MongoDB setup, Confluent-kafka setup.

Mongo setup example:

    from autotech_sdk.database.mongo import BaseMongDB
    from pymongo import IndexModel        

    class UserModel(BaseMongoDB):
        indexes = [
            IndexModel(
                keys="username",
                unique=True,
                background=True
            ),
        ]

Confluent-kafka consumer example:

    from autotech_sdk.kafka import ConfluentConsumerConfig, ConfluentConsumer
    
    class GetInforConsumer(ConfluentConsumer):
        def process_data(self, data):
            print(data)
        
        def process_data_error(self, msg, err):
            pass

In short, autotech_sdk can be used to:

  • MongoDB setup connection.
  • Kafka setup connection.

Get It Now

$ pip install -U autotech-sdk

Requirements

  • Python >= 3.9

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

autotech-sdk-1.0.3.tar.gz (8.1 kB view hashes)

Uploaded Source

Built Distribution

autotech_sdk-1.0.3-py3-none-any.whl (10.9 kB view hashes)

Uploaded Python 3

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