Sahi. Asaan
- Python 3.10.2
- poetry
- Clone the repo
- cd zfunds-services
- poetry install
- poetry shell
Start developing
python version must be 3.10.2 or higher
python setup.py build
python setup.py sdist
twine upload dist/*
- pymongo
- dynamodb
- s3
It wil load environment variable automatically, so all you need to do is make sure these environment variables are present. It will also autoload .env ( example .env.dist , rename it to .env) file before running, so you can also put these variables in your .env file.
Needed Environment variables are
# Application
APP_NAME=redisconnection
LOG_LEVEL=DEBUG
ENVIRONMENT=staging
REGION=ind
#
from redisconnection import redis_connection rc = redis_connection.RedisConnection() conn = rc.connection