skip to navigation
skip to content

sparweltbitool 0.1.8

Standard modules used by Sparwelt GmbH BI Team in Web Services

Goal and responsibility

Python library with standard modules used by Sparwelt GmbH BI Team in Web Services.

Modules

  • client_emarsys - Connection to Emarsys WebAPI
  • client_redis - Connection to Redis
  • client_s3 - Connection to AWS s3 API
  • config - Initialization for config
  • execution_time - Calculation of Execution time
  • logger - Initialization of logger
  • redshift - Connection to Redshift
  • singleton - singleton decorator
  • validation - validators for voluptuous library

Publishing in PyPI (Ubuntu 14.04)

Create file for authorization to pypi ~/.pypirc

[server-login]
username:sparwelt
password:<PASSWORD_HERE>

Install all tools required for submiting new version to PyPI

virtualenv -p /usr/bin/python3 dev
pip install -U "pip>=1.4" "setuptools>=0.9" "wheel>=0.21"
python3 setup.py register
python3 setup.py sdist bdist_wheel upload

Command ‘python setup.py register’ is required only on creation of package. On every new upload new version should be created. Keep Semantic Versioning like described in: http://semver.org/.

 
File Type Py Version Uploaded on Size
sparweltbitool-0.1.8-py3-none-any.whl (md5) Python Wheel 3.4 2015-08-20 10KB
sparweltbitool-0.1.8.tar.gz (md5) Source 2015-08-20 5KB