Skip to main content

"Python Toolkit for Accelerator Controls"

Project description

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

Documentation is available at Readthedocs.


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.cfg and then make a tag that is the same as the version.

Create a source distribution:

$ python sdist

Build a universal wheel:

$ python 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.

Source Distribution

pytac-0.4.0.tar.gz (374.6 kB view hashes)

Uploaded source

Built Distribution

pytac-0.4.0-py2.py3-none-any.whl (359.8 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page