Skip to main content

Python Toolkit for Accelerator Controls (Pytac) is a Python library intended to make it easy to work with particle accelerators.

Project description

https://travis-ci.org/dls-controls/pytac.png https://coveralls.io/repos/github/dls-controls/pytac/badge.svg?branch=master https://readthedocs.org/projects/pytac/badge/?version=latest https://badge.fury.io/py/pytac.svg https://img.shields.io/pypi/pyversions/pytac.svg

Python Toolkit for Accelerator Controls (Pytac) is a Python library for working with elements of particle accelerators.

Documentation is available at Readthedocs.

Testing

It is simplest to work with pipenv:

$ pipenv install --dev
$ pipenv shell

To run the tests:

$ python -m pytest

To see a coverage report, check pytest-cov:

$ python -m pytest --cov-report term-missing --cov=pytac

To see style violations, use flake8:

$ flake8

To build the documentation:

$ cd docs
$ sphinx-build -b html -E . _build/html

The documentation is built inside _build/html.

Uploading to Pypi

Ensure that the version is correct in setup.py and then make a tag that is the same as the version.

Create a source distribution:

$ python setup.py sdist

Build a universal wheel:

$ python setup.py bdist_wheel

Then upload it using twine:

$ twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pytac, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size pytac-0.3.0-py2.py3-none-any.whl (169.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pytac-0.3.0.tar.gz (6.9 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page