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 (MAD-X source).

This version of cpymad should be built against MAD-X 5.04.01.

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. See also: Reporting issues.

License

White the cpymad source code itself is under free license, the MAD-X software package is NOT FREE. For more details, see COPYING.rst.

Reporting issues

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. Just keep in mind to be precise, specific, concise and provide all the necessary information.

Changelog

1.0.2

Date: 25.06.2018

Increase test coverage up to 96% (from 75), and fix a few minor bugs detected in the tests:

Command composition: - handle composite ranges (A/B) in - fix AttributeError when composing command with equality Constraint - fix incorrect output for STRING_ARRAY range parameters (MATCH) - fix passing Range objects as ranges

Misc: - fix table column names being bytes, return as unicode str - fix the sectortable2 method - add Madx.options property that allows to view the current set of options - remove unused helper method Sequence._parse_range - return the cloned element from Element.clone

1.0.1

Date: 22.06.2018

  • improve error message on missing command attributes

  • allow negative indices when accessing table rows

  • fix returning the correct table from twiss()/survey() if a non-default table is used

  • improve support for multi-line commands in input() (but still no comments!)

  • automatically add missing semicolons at the end of command strings

1.0.0

Date: 11.06.2018

Please see the comprehensive list of changes and backward incompatibilities mentioned in the prereleases!

In addition:

  • update to minrpc 0.0.7

  • the windows wheels are built using MAD-X 5.04.01

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.2.tar.gz (161.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.2-cp36-cp36m-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.6mWindows x86-64

cpymad-1.0.2-cp36-cp36m-win32.whl (3.8 MB view details)

Uploaded CPython 3.6mWindows x86

cpymad-1.0.2-cp35-cp35m-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.5mWindows x86-64

cpymad-1.0.2-cp35-cp35m-win32.whl (3.8 MB view details)

Uploaded CPython 3.5mWindows x86

cpymad-1.0.2-cp34-cp34m-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.4mWindows x86-64

cpymad-1.0.2-cp34-cp34m-win32.whl (3.8 MB view details)

Uploaded CPython 3.4mWindows x86

cpymad-1.0.2-cp33-none-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.3Windows x86-64

cpymad-1.0.2-cp33-none-win32.whl (3.8 MB view details)

Uploaded CPython 3.3Windows x86

cpymad-1.0.2-cp27-none-win_amd64.whl (4.3 MB view details)

Uploaded CPython 2.7Windows x86-64

cpymad-1.0.2-cp27-none-win32.whl (3.8 MB view details)

Uploaded CPython 2.7Windows x86

File details

Details for the file cpymad-1.0.2.tar.gz.

File metadata

  • Download URL: cpymad-1.0.2.tar.gz
  • Upload date:
  • Size: 161.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cpymad-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a3ca3f4b81ad69a928e4c36dfdf9af2fe59452f3bc7389b05af54eb2f30a7dec
MD5 7190aa9b617b40424e2e7829b339a889
BLAKE2b-256 9de627f9bcc55444a714a1414d18a94e971b4c3583f2fb23098a1837e067ac3a

See more details on using hashes here.

File details

Details for the file cpymad-1.0.2-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for cpymad-1.0.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 2245e9e8c1cb573a84e8409286f1d689f10bb3a315ae2112844ce389cf0f1e99
MD5 ca0ee0510192fa2ba19619c703f50c24
BLAKE2b-256 e68d1f8d83bd7a2c7f79ae63a0be30e94909e402dc9b70ec2d712d613b6b77ec

See more details on using hashes here.

File details

Details for the file cpymad-1.0.2-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for cpymad-1.0.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 6bc3e3da7fe24ac13fca086b8a8e9669a2ef8a1b0534286c5598220a3f4d1537
MD5 4a8d125b4051af8dc42445743d21534e
BLAKE2b-256 daa61aff6a03856de272ef1a735fb1ae32cad8984eca6abefa54ab1bf8f67fcd

See more details on using hashes here.

File details

Details for the file cpymad-1.0.2-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for cpymad-1.0.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 6e1663804a79368f8f95f62e9441f0833b0c508eac08787307a18051a5470cb4
MD5 e07f6c98fd8bd93968d18afb6a0327cb
BLAKE2b-256 2f9919a59d030a65d4548aadc5b0f850171d065c6260bf1645c7b0b07059c748

See more details on using hashes here.

File details

Details for the file cpymad-1.0.2-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for cpymad-1.0.2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 165cd36b0987fadb5e0037915267c6890d064f2e7d14a6b662dcdc2627cf62b8
MD5 6d8e334e6f61e3ce08359859fb869a08
BLAKE2b-256 a3e626a752d5633594ad04828fd75d24d42f3af049cdebb1320abdd829ee5716

See more details on using hashes here.

File details

Details for the file cpymad-1.0.2-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for cpymad-1.0.2-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 8e4cc44f53d73c9df51607b3c9374e1051e784f0d432d57abc1ebdfba6c6353c
MD5 95d3cd219f45d4a0dd946d186069f35a
BLAKE2b-256 9a28b2083b52451182e495251dbfc73596625f6a3dbaf8f499303d4c3d705d4e

See more details on using hashes here.

File details

Details for the file cpymad-1.0.2-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for cpymad-1.0.2-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 5b80b675a21cdb4c0aae97aea81afca9430c33e071d1925e4e2d2bf5849cccb5
MD5 ee7440da347a95a0e725e4c65aa26685
BLAKE2b-256 d09866e7b282ecade0b58b8cf8e4631df3696317285dd5fef709dba0d52ef240

See more details on using hashes here.

File details

Details for the file cpymad-1.0.2-cp33-none-win_amd64.whl.

File metadata

File hashes

Hashes for cpymad-1.0.2-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 bf8b45b6954f9485a941c78ce5b26c6f64f0bb5ae0eaf3d0607599eada412d92
MD5 5ef99a623a03aa3c266c244f28528c34
BLAKE2b-256 0043ac88d48d0bff9ac5156a8874a8dd1951c641effe3c01aabce1c1261b2d39

See more details on using hashes here.

File details

Details for the file cpymad-1.0.2-cp33-none-win32.whl.

File metadata

File hashes

Hashes for cpymad-1.0.2-cp33-none-win32.whl
Algorithm Hash digest
SHA256 ec169ead9f020fe31f3788a435d369e4d98225ad93f01705db42dba6f5ab95d2
MD5 9e6de8779cc616df049e84ee585d952d
BLAKE2b-256 24ee568c0984adb1aa1f5ddaa265e4392b2cdb7c075dac6f825670704fb3d317

See more details on using hashes here.

File details

Details for the file cpymad-1.0.2-cp27-none-win_amd64.whl.

File metadata

File hashes

Hashes for cpymad-1.0.2-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 66db23442fdfb7a2775cf8504e9876eccc4beb47491bc774a9af047f180a2d79
MD5 c11a81f7169ecff26f49f0a2ab224db1
BLAKE2b-256 a023c64a6cc2f6ab2e242a7085d9dab2d4008a15d3335bf7f101163bd4477666

See more details on using hashes here.

File details

Details for the file cpymad-1.0.2-cp27-none-win32.whl.

File metadata

File hashes

Hashes for cpymad-1.0.2-cp27-none-win32.whl
Algorithm Hash digest
SHA256 556bf9f4a2614a632aba676b8d619c7be3ff5f2036c73d976a5f620be4bece3b
MD5 453dd852c5eada4e246ac995edb36f85
BLAKE2b-256 e3e5cd5243f457bf40f8c14cd92c4071a19b00c3010685c39268c75b13083c07

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