# Atlas API base client

Provides base generic interface to Atlas API  and maintains auth tokens freshness.

## Building and pushing package

**1.** Create virtualenv.

```bash
$ virtualenv -p python3 venv
```

Set up .pypirc file
```bash
$ cp configs/.pypirc ~/.pypirc
$ chmod 600 ~/.pypirc
```

**2.** Install local dependencies.

```bash
$ source venv/bin/activate
$ pip install -r requirements/local.txt
```

**3.** Build package
Before this step make sure you changed package version in setup.py

```bash
$ python setup.py sdist bdist_wheel
```

**4.** Push package to private pip server

```bash
$ twine upload --repository pypi dist/*
```