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.4.0.tar.gz (374.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: pytac-0.4.0.tar.gz
  • Upload date:
  • Size: 374.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.2

File hashes

Hashes for pytac-0.4.0.tar.gz
Algorithm Hash digest
SHA256 bd092f138724e286062f08c25aafe389a451c919d0cd74145311642bcbb85e38
MD5 31f6e423bd2c70cb0676caf58c4153b5
BLAKE2b-256 aac4b44d61eb267905e746a2410cbb2af1255038f795edde40b8a925ebca8a3a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytac-0.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 359.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.2

File hashes

Hashes for pytac-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 70a3e434bfb28a1478767d27738d249dffbce6c15116ce0c0b2b924cd64417e4
MD5 43562b36e8a8fddd1d248f8f49e22ae4
BLAKE2b-256 d81fcc4183fd33f73aa9b00a4bd1b989257d29b6a70de6c073c948e56a7f9aef

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