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.

Source Distribution

pytac-0.3.0.tar.gz (6.9 MB view details)

Uploaded Source

Built Distribution

pytac-0.3.0-py2.py3-none-any.whl (169.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pytac-0.3.0.tar.gz.

File metadata

  • Download URL: pytac-0.3.0.tar.gz
  • Upload date:
  • Size: 6.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0

File hashes

Hashes for pytac-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4053ca8243a07b0d123837a343a371aeb23bc5211f5851cd54b3ec8fa094a43c
MD5 cb5aa59bce6d92ef4a06b005f77de5f2
BLAKE2b-256 9d29459516b4ee4adbc827b08cd64d1b148cee5516bea818ec269e1be1ab8456

See more details on using hashes here.

File details

Details for the file pytac-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pytac-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 169.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0

File hashes

Hashes for pytac-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 66ef4996c29c6dcb3e331572e8f15ccf66cf98a4778cb658a52c604047ad3361
MD5 d6e86873a5b6b979496fc07288af3a39
BLAKE2b-256 2eb95f2d9731281a87dafb293ee591495253ee3d60e36011900e6dd4bb7b3bab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page