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 details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.4m

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7m

File details

Details for the file cpymad-1.0.11.dev867.tar.gz.

File metadata

  • Download URL: cpymad-1.0.11.dev867.tar.gz
  • Upload date:
  • Size: 172.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for cpymad-1.0.11.dev867.tar.gz
Algorithm Hash digest
SHA256 2d21073b73c74b67bbec19f4c3ed402fb5c330b7d9f945da440e584113f0eddb
MD5 9bc1482928304aa287992751e476d315
BLAKE2b-256 71de80e612454bec69a1932d8b07c816a35c781dc04634d16aab27c2407dec09

See more details on using hashes here.

File details

Details for the file cpymad-1.0.11.dev867-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: cpymad-1.0.11.dev867-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 8.3 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for cpymad-1.0.11.dev867-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8e137c14c9e57aa5a33d7d0218de6c22706c649e890515a2bc30bd0e550e3619
MD5 450b29fb85ef61d1247a9be9a6eb08cb
BLAKE2b-256 6dd519e8a48b8f3ccaa684a9ee7569ebf0dc82e3a6561423a6543a4c5acf10ed

See more details on using hashes here.

File details

Details for the file cpymad-1.0.11.dev867-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: cpymad-1.0.11.dev867-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 8.3 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for cpymad-1.0.11.dev867-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bdbc539975e71d57bfbbd80e119f9bd9d2c502d4dd1c7cbb3a17f468904ce415
MD5 8058c77fc27dd8ad7fc1dbe80e7d4b0e
BLAKE2b-256 94c309632bf6e564de4f6ef03f76442a0e0a9c2899efba5f6b1a61b32dc579c3

See more details on using hashes here.

File details

Details for the file cpymad-1.0.11.dev867-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: cpymad-1.0.11.dev867-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 8.2 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for cpymad-1.0.11.dev867-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 76060ab790de300ac48048f7a311b24e3e5d83811dadc733cd2c80c4925b69f0
MD5 3c5018782ebe369208fec02203941a1f
BLAKE2b-256 50117f6c9e24f2ebee2ae86aca4eae665f911f8ed651161ca5a8e2b5fde5eefd

See more details on using hashes here.

File details

Details for the file cpymad-1.0.11.dev867-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

  • Download URL: cpymad-1.0.11.dev867-cp34-cp34m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 8.2 MB
  • Tags: CPython 3.4m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for cpymad-1.0.11.dev867-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7ad520ddea343dab0d44bb1c30ac8bef0ff1a7d2f46fdd3ecd388731d74118ce
MD5 26e30e0da5cf89005951c6841f562e3f
BLAKE2b-256 2b53833cf4bbd05ac93b8d6b48fbaf6ea0a5c38c62c474a18a410307c1ed4033

See more details on using hashes here.

File details

Details for the file cpymad-1.0.11.dev867-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

  • Download URL: cpymad-1.0.11.dev867-cp27-cp27mu-manylinux1_x86_64.whl
  • Upload date:
  • Size: 8.2 MB
  • Tags: CPython 2.7mu
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for cpymad-1.0.11.dev867-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e68d26a13e03829f4237591fef49b1be08cfe527cb27c680d465e7eb9ef00932
MD5 315c88edd3a6c6efe7022833813ff155
BLAKE2b-256 b9f9f43796f634034d860043944fae608669a7e911fbb1203adc9955b49db188

See more details on using hashes here.

File details

Details for the file cpymad-1.0.11.dev867-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

  • Download URL: cpymad-1.0.11.dev867-cp27-cp27m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 8.2 MB
  • Tags: CPython 2.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for cpymad-1.0.11.dev867-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 68c757b03f47ec6618f6fbe0349f434ea66895c26a240b08c98a63377e90aa20
MD5 e0cd8effb8ce6be056ef285e31ddaf26
BLAKE2b-256 5911ec4def9240237a3b7b8d700f080003a663d3bfe88908ecae44601f672699

See more details on using hashes here.

Supported by

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