Python wrapper for OpenCell (using REST API)
pip install pyopencell==0.4.3
:heart: Inspired by PyOTRS :heart:
PyOpenCell is a Python wrapper for accessing Open Cell (Version 6) using the REST API.
You can see all the API information here
Access an OpenCell instance to:
Create a virtualenv before installing dependencies.
If you are using virtualenvwrapper
(https://virtualenvwrapper.readthedocs.io/en/latest/).
$ which python
/usr/bin/python
$ mkvirtualenv --python=/usr/bin/python pyopencell
If you are using pyenv with pyenv-virtualenv plugin:
$ pyenv virtualenv pyopencell
$ pip install -r requirements.txt
You need define the OpcenCell API credentials as environment variables. You need define:
OPENCELL_BASEURL=<YOUR OC HOST>/opencell
OPENCELL_USER=<YOUR OC USER>
OPENCELL_PASSWORD=<YOUR OC PASSWORD>
If this envvars are not defined, a exception will be raised with the name of the envvar not defined.
$ tox
Update CHANGELOG.md following this steps:
[Unreleased]
header.Unreleased
with a version number followed by the current date. Copy the exact format from previous releases.Then, you can release and publish the package to PyPi:
VERSION
var in setup.py
matching the version you specified in the CHANGELOG.publish
step.