Skip to main content

Cython binding to MAD-X

Project description

Latest Version License: CC0, Apache, Non-Free Python versions Test Status Coverage

cpymad is a Cython binding to MAD-X for giving full control and access to a MAD-X interpreter within the python environment.

This version of cpymad should be built against MAD-X 5.04.02. It can be installed on linux, Windows and Mac (but I can’t offer much help for Mac). Python 3 is recommended but not (yet) required.

License

The cpymad source code itself is under free license.

However, the MAD-X software package and henceforth all binary cpymad package distributions are NOT FREE.

For more details, see COPYING.rst and the MAD-X license.

Reporting issues

cpymad is NOT maintained by CERN members and links against an unofficial build of MAD-X that is not supported by CERN, i.e. this binary may have problems that the official binary does not have and vice versa.

If you have a problem with a sequence file, first try to check if that problem remains when using the MAD-X command line client distributed by CERN, then:

  • Report the issue to CERN only if it can be reproduced with their official command line client.

  • Report the issue here only if it can not be reproduced with their official command line client.

For issues regarding the cpymad code itself or usage information, I’m happy to answer. Please keep it precise, specific, and concise and provide all the necessary information.

Changelog

1.0.11

Date: 18.01.2019

  • guard expr_vars against passing None etc

  • add elems parameter to normalize_range_name

1.0.10.post1

Date: 11.12.2018

  • build windows wheels with bdwgc 7.6.8 to mitigate problems on win10

1.0.10

Date: 07.12.2018

  • fix broken caching logic in travis config

  • move type constants to cpymad.types

  • export a MAD-X dtype to python type mapping from cpymad.types

Older versions

The full changelog is available online in CHANGES.rst.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

cpymad-1.0.11.dev867.tar.gz (172.9 kB view hashes)

Uploaded Source

Built Distributions

cpymad-1.0.11.dev867-cp37-cp37m-manylinux1_x86_64.whl (8.3 MB view hashes)

Uploaded CPython 3.7m

cpymad-1.0.11.dev867-cp36-cp36m-manylinux1_x86_64.whl (8.3 MB view hashes)

Uploaded CPython 3.6m

cpymad-1.0.11.dev867-cp35-cp35m-manylinux1_x86_64.whl (8.2 MB view hashes)

Uploaded CPython 3.5m

cpymad-1.0.11.dev867-cp34-cp34m-manylinux1_x86_64.whl (8.2 MB view hashes)

Uploaded CPython 3.4m

cpymad-1.0.11.dev867-cp27-cp27mu-manylinux1_x86_64.whl (8.2 MB view hashes)

Uploaded CPython 2.7mu

cpymad-1.0.11.dev867-cp27-cp27m-manylinux1_x86_64.whl (8.2 MB view hashes)

Uploaded CPython 2.7m

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