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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autotech-sdk-1.0.3.tar.gz.
File metadata
- Download URL: autotech-sdk-1.0.3.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a22ebe8820c139676057d0b1f9dca1bf31a389e084d323e2f3681352ff13a00e
|
|
| MD5 |
f7c08bab6a573ccd75a9425233d17222
|
|
| BLAKE2b-256 |
f643c83c16602ede7c016944544fc8c3a853ce758b1dca6efea1bcf2412e62d4
|
File details
Details for the file autotech_sdk-1.0.3-py3-none-any.whl.
File metadata
- Download URL: autotech_sdk-1.0.3-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c99498cf67eb956d39c2e780ded44d0f08e55801faa06e651040ef312d2fc39
|
|
| MD5 |
1d5fcc03febd14730a62c2f072c6b0b2
|
|
| BLAKE2b-256 |
d9342d012365d976405dd087c91e84515258f65ae3fc3b1f3fe2b1908cb0aa98
|