Cython binding to MAD-X
Project description
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.01. 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.
Links
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.7
Date: 19.09.2018
fix io.UnsupportedOperation on python2 when sys.stdout is not a file
increase minrpc dependency to better comply with redirected stdouts
fix DeprecationWarning due to not importing ABCs from collections.abc
improvements in test suite and automatic style checks
1.0.6
Date: 28.08.2018
remove unused error_log from Madx
support passing arbitrary callables to Madx(stdout=...)
support passing non-file IOBase objects as stdout
default to sys.stdout
can pass almost arbitrary MAD-X scripts to input, including comments/multiline commands
1.0.5
Date: 16.08.2018
API: - rename Madx.call’s first parameter as in MAD-X - handle all USE parameters in Madx.use
setup: - provide manylinux wheels! - remove spurious dependency on pyyaml - finally get the real meaning of MADX_STATIC and BUILD_SHARED_LIBS - default to BUILD_SHARED_LIBS=OFF on all platforms - rework arguments for setup.py - make linking against X11 optional (requires unreleased MAD-X 5.04.02) - default to X11=OFF if building MAD-X - improve documentation
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
Built Distributions
Hashes for cpymad-1.0.7-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74150fd117c8d1a48324d892f95241a2cfe33d356f698a5352fd4f8240fd6500 |
|
MD5 | 201a93eaae68471281805e1b62c3a3df |
|
BLAKE2b-256 | 84dbcc01379feadaf1cb1b7f00b4c4477627fba84a00029a1df3ab55446e07bf |
Hashes for cpymad-1.0.7-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25531d6188f481cac5f864c8216ce97656e443002c48183b35a906ffbf70c106 |
|
MD5 | f8ce25ff854c71145327c2119591c34d |
|
BLAKE2b-256 | e4dee3a52932a503e6552366b62ba0156f49dd072417f3b493a0e3a3bd29ae48 |
Hashes for cpymad-1.0.7-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21ce4e5699975655f1de4bf87f37cba0b6f3fdcb1fddb4ad05d6bfb1b7e09c30 |
|
MD5 | fac9f37672fe7998cbd5c3252c1af47d |
|
BLAKE2b-256 | 49900fb48265ab6843ae6cb91127fa4935ea36d92ae25ff40060c1f40b0a6b22 |
Hashes for cpymad-1.0.7-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 916edc9dbfa6d4be0cf81f393de7b903b1c73e285d5bb1f20d80bac83a4c44bc |
|
MD5 | 3ab28432fee896cfb83e50bea2d557f8 |
|
BLAKE2b-256 | da9eb0c5518636084c5c9dfd39a52df150433fc4d2acdb742336959deda4ac12 |
Hashes for cpymad-1.0.7-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81fbe991b8148e878a1b7dc2cda0a2ca30a98f11e9115b29920c10780ba5e72f |
|
MD5 | 6eec0d79a59a86fd429abeea2f770a51 |
|
BLAKE2b-256 | ffd14f31ef90b90729e69925b6480870a92406b73b0bba4992ee872964a64f61 |
Hashes for cpymad-1.0.7-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0344fb7bb14b7ee6846ed31bdd660a74d86c1fd03825f30ca56310b2f56cd593 |
|
MD5 | f013505cd3ea6c31d5b55b2327440899 |
|
BLAKE2b-256 | 917d6ffe0e6af1c150db2916487d7122a31ef602a7d982051fa39f739d10a44c |
Hashes for cpymad-1.0.7-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aab911472dbe7bdcd417d185511d2d245f2b84b5788f74be465a889130c13bd |
|
MD5 | 9e9087fbfe67caf1da42377fc932d104 |
|
BLAKE2b-256 | 2712067f00852f34a990ebde8bb2f2d8cbe01d9c0e1e0f7c0cff6aeca41e531f |
Hashes for cpymad-1.0.7-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36b2a167295afd604c4d3bc0fde6365b09e2d669bbf131cd718856d798e5acff |
|
MD5 | 7225f20f62249716bfaed146346bf2db |
|
BLAKE2b-256 | 9a2f6166e837f93f7ceba5899c0413735cfa1835630c79d69c0f468bf0db7ed3 |
Hashes for cpymad-1.0.7-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7237170b5896462f6554c3d1cccb3d6c7de0958e60160ce9196540ef4ade9e4a |
|
MD5 | 288d9fc6f4bc6d9cc2f7d835c3905f13 |
|
BLAKE2b-256 | daf8496e397bb286f923f9c9ae4c0c0c7a62b170424ea5d2baffc2701a034107 |
Hashes for cpymad-1.0.7-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 250389ed30f2face598eb1025caf5bb4035d38ba4a3de036e2a94ed9d195ea06 |
|
MD5 | 6ec98d15f0308ba6b99c80fad578ab54 |
|
BLAKE2b-256 | 9a2fb913fab98c8348f519749aec4d13d20c1b0f9a5767d8cac912538126b539 |
Hashes for cpymad-1.0.7-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3973b133cb25d9296ede12166d4bf2ffa7d382cad6a216f932f28f9ff44fd564 |
|
MD5 | a2e4c711c7f2b8c6b820f5b1cb6c01de |
|
BLAKE2b-256 | 46c0f080c3bd6326371eae4042be103faf827f74c1f9ded76946f7381ea62083 |
Hashes for cpymad-1.0.7-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc0ee3e2043eab4e90d6176f22a408fc018f54c7f3c587ffc25e1b6da4adca1c |
|
MD5 | ae4c9ef7f3b8cfa1276a8a80acc7e4f4 |
|
BLAKE2b-256 | f1cf2524fd00810f11d2fe6d6f98bd558601d255d709bba7d3be0e195d5f83e5 |
Hashes for cpymad-1.0.7-cp33-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d93d569419e7d6964c6e605cc8b8cf616b1e59297648431d9f7b55b95ee67197 |
|
MD5 | 02ae18ea8eee94c1789740098478615c |
|
BLAKE2b-256 | 844aad590c1f645dd0e2ef945d656584857655691e62dfc8db04607c6090e051 |
Hashes for cpymad-1.0.7-cp33-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f909aad5470083bf1a2fcd8a38b3f75f5bd42e10e7911a3d94a88594e0b90efb |
|
MD5 | bc1dedd7ae664f05f6d95c53ede26411 |
|
BLAKE2b-256 | 548531b7bfd9ad70d910ab5f0e53257f486c87e64919615808525c7b756771c7 |
Hashes for cpymad-1.0.7-cp27-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90a8ba0451d94bd297f7e8f23b7674c5cdb783b942efdebbbf59ecaf01960156 |
|
MD5 | cc7984d054add10862c98d6cb03b4897 |
|
BLAKE2b-256 | 7109ebadab6df0a038743103f426eb8da09aeb47a60f7addb7546f99709e3103 |
Hashes for cpymad-1.0.7-cp27-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5605be6c10960d9cc493cfdd87dbeddc878192ce2644a13b5d8d73e55d6181b |
|
MD5 | ccf0d97e2d5e1f750d8e3f1a5eb9a5ee |
|
BLAKE2b-256 | bb76c2e69d361e424bd7b47d27d3703f5319ac8c8b90fd55edb2369340dc29e4 |
Hashes for cpymad-1.0.7-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 645c684f7102e153d16f695073986cfb70ec2df3d56bf8fa20312fadd155382a |
|
MD5 | f703f2fc5e6f0d228817c3f3d2aed930 |
|
BLAKE2b-256 | ad01a0c76795a9340ab2a86b1dd39a596b8b460c61517d0be09e063c0d932aa7 |