A python package for yellowdot's base classes and Utilities
Project description
YD-BASE-PY
A python package that houses yellow dot's common classes & code across its microservices
Installation from GitHub
pip install git+https://github.com/Yellow-Dot-Energy-Company-Ltd/yd_base_py.git
Installation from GitHub (specific branch)
pip install git+'url branch'
Installation from GitHub (specific tag)
pip install git+'url tag'
Installation from GitHub (specific commit)
pip install git+'url commit'
Installation from GitHub (Package)
pip install git+'url package'
Installation from PyPi
pip install yd-base-py
Requirements
- Python 3.6+
- pip 20.0.2+
- pytest 5.4.1+
- twine 3.1.1+
- setuptools 46.1.3+
- firebase-admin 4.4.0+
Features
- YDLogger
- YDFirebase
- YDFirebaseUserUtils
- YDFirebaseFCM
- FBUserResponse
- Response
Usage
from yd_base_py import YDLogger
logger = YDLogger.get_logger(__name__)
logger.info("Hello World")
Development
git clone 'Repo URL'
cd yd_base_py
pip install -e .
Testing
pip install -r requirements.txt
pytest
Publishing
python setup.py sdist bdist_wheel
twine upload dist/*
License
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Authors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for yd_base_1.0.3-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba152fe833cfa52411b577ad4bd99625f9fbfa4d091a94a03e7260e570449ee6 |
|
MD5 | 22931ef262436cc82308e3783779adc0 |
|
BLAKE2b-256 | cb0657d32cd6c4a60e0ab2d83e15420d4356a0adc0cd9d810818cc449f12cbf9 |