pip install zc_common
from zc_common import timezone
timezone.now()
See the READMEs in submodules for more information.
ZeroCater employees can find instructions here.
You can run tests to make sure zc_common code behaves as expected. To get started, follow these instructions:
# Create a new python virtualenv and install dependencies
mkvirtualenv zc_common
workon zc_common
pip install -r requirements.txt
# Run the tests
python runtests.py