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.dev869.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.dev869-cp37-cp37m-manylinux1_x86_64.whl (8.3 MB view details)

Uploaded CPython 3.7m

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.4m

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

Uploaded CPython 2.7mu

cpymad-1.0.11.dev869-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.dev869.tar.gz.

File metadata

  • Download URL: cpymad-1.0.11.dev869.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.dev869.tar.gz
Algorithm Hash digest
SHA256 3c3689568842425761aad5f13fd130f7393031940155c7ceca1f4d9fc4e80b2c
MD5 4a1f3f6d5655db0609a001df51834018
BLAKE2b-256 acd41c0166c0a2d9457c760d00f07306967681dcc2b57f4d46dfacc6d3ae8086

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cpymad-1.0.11.dev869-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.dev869-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6b2f954c8b5e1467c2ad0cfc612cd1fe11787f3ec6a6bfa7b70b369d9a82fdf7
MD5 fe15377392af68533d1941f81e8a69dc
BLAKE2b-256 ab13c84ec758d319c9c9ea4327ef38a6ca2e95a92e0ab6fdce7c23b886226493

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cpymad-1.0.11.dev869-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.dev869-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3ee706a61c7155e31cb1acf9fd81b98bc7d1b6d438a8145e5dd2e49c66787e7c
MD5 1b963b7e215a3c21263e50e2cddfd7a8
BLAKE2b-256 0af69812bc6b268f559cbbc91503b089991546b3dc633e922a2f31b799b5b63a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cpymad-1.0.11.dev869-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.dev869-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5b260cb01c55d4d17e6750bc238b2000309e4e6763d7af399a6f7101005af43d
MD5 47e555dac8059762b836ac69d6c8434a
BLAKE2b-256 368b126c911f615c11e8f22b9e2378c5c52edbc04764a4ded0439f8fe30760e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cpymad-1.0.11.dev869-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.dev869-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 08c06800d140972030423f8552fecf55c15632374c351e618a44ca79d60ec424
MD5 7a9ce36bc1258bd3a9306a3df6eef6b2
BLAKE2b-256 f7274517ac94f023c8f264beab2132857cece7ee973da7bbe96d1a80a36a975a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cpymad-1.0.11.dev869-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.dev869-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 548ded541e9129bae44e3ac551f2de2b29234a4cb3f7a8a8eef3cb546eb5438b
MD5 0244f0ec59bc88ace0831062e4329b89
BLAKE2b-256 9de256c038370cdc952c7d8945842aab586cac231cc3adac4a99ef39c72528f9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cpymad-1.0.11.dev869-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.dev869-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e497c24368fdae07e0e83d2e99f2c6931d4d257b133dc58aa9aaee76febfebca
MD5 c4ae5688d7dace5a0293c7a557ef925c
BLAKE2b-256 153bcf667a980c0ceda5870b939e002059ce3d9324f10e2a54ee95bd00c3f9ef

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