Skip to main content

"Python Toolkit for Accelerator Controls"

Project description

https://github.com/dls-controls/pythonSoftIOC/workflows/Code%20CI/badge.svg?branch=master https://codecov.io/gh/dls-controls/pytac/branch/master/graph/badge.svg?token=be222kVyRP https://readthedocs.org/projects/pytac/badge/?version=latest https://badge.fury.io/py/pytac.svg https://img.shields.io/pypi/pyversions/pytac.svg https://img.shields.io/badge/code%20style-black-000000.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.cfg 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.5.0.tar.gz (521.3 kB view details)

Uploaded Source

Built Distribution

pytac-0.5.0-py2.py3-none-any.whl (503.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pytac-0.5.0.tar.gz
  • Upload date:
  • Size: 521.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.2

File hashes

Hashes for pytac-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a9afceb92778a7a7b5ff591962c8e898a4ad003990305b89064aa7b94058c851
MD5 a7dda7d77cc2e4700627eca9a98e5b32
BLAKE2b-256 eb2e18e1ce8fe9967bf05c751e9639da56e52aebcd4bcbd0e6afe8111fe9de23

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytac-0.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 503.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.2

File hashes

Hashes for pytac-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 199435f8ed00d57e2c0c9cf355a84dcc4e53061a298453ba5666c1f4d6fae1a2
MD5 0cf9c645959e8ebc46e26fdbd4d4d35c
BLAKE2b-256 6fed2c7ef55353caa688ab3ed30c64f78810d021d46c8711160bc804d6ba163a

See more details on using hashes here.

Supported by

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