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.00.

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.0rc3

Date: 31.05.2018

  • add Parameter.var_type that tells apart constant/direct/expression vars

  • change the meaning of inform for globals, inform=0 means now “predefined variable”

  • fix TypeError occuring in mad_command when composing string arrays

1.0.0rc2

Date: 15.05.2018

  • serve globals as Parameter instances from libmadx module

  • add cmdpar attribute to globals

1.0.0rc1

Date: 13.05.2018

Collecting further backward incompatibilities before the final 1.0 release, as well as minor bugfixes.

  • only execute variable updates if their value has changed

  • use __slots__ for Parameter

  • remove cpymad-specific behaviour for Madx.select

  • allow direct access to MAD-X commands as attributes on the Madx instance

  • rename Parameter.argument to Parameter.definition

  • add VarList.defs, Command.defs instance variables for accessing the definitions (provisional API)

  • create the accessor proxies in advance

  • disallow indexing ElementList by dict instances (i.e. by element object)

  • handle uppercase ‘#S’ and ‘#E’ in ElementList

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

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

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

Uploaded CPython 3.5mWindows x86-64

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

Uploaded CPython 3.5mWindows x86

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

Uploaded CPython 3.4mWindows x86-64

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

Uploaded CPython 3.4mWindows x86

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

Uploaded CPython 3.3Windows x86-64

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

Uploaded CPython 3.3Windows x86

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

Uploaded CPython 2.7Windows x86-64

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

Uploaded CPython 2.7Windows x86

File details

Details for the file cpymad-1.0.0rc3.tar.gz.

File metadata

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

File hashes

Hashes for cpymad-1.0.0rc3.tar.gz
Algorithm Hash digest
SHA256 8ae9ab50c855192ec1339ea3740594e9292b590486e892cae78bd8a3651673c4
MD5 4caec5d56f9721e47092a3cc46f76def
BLAKE2b-256 244e8ce5febc1a3175294e112e2e25718aa8225c93deb01f03ed13ff07beb833

See more details on using hashes here.

File details

Details for the file cpymad-1.0.0rc3-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for cpymad-1.0.0rc3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 b03ef3b6a7e26955234dcb606a621ed90859bf080f39f28f21dece98c3e34f1f
MD5 dfe62b3a675b2a3cf69e56afba6f3196
BLAKE2b-256 2e61e38b2191b207ec5aaa99a1771eb9294a2376d3a3f18d50d9ad7a4bef6e9d

See more details on using hashes here.

File details

Details for the file cpymad-1.0.0rc3-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for cpymad-1.0.0rc3-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 61406d18f4a3dc73031b83cf8f66948effcc4da76d111b11d20342105af92007
MD5 7900ef3a1da00905bc371d4461d9ad5c
BLAKE2b-256 e8b467c9fd5e087e943ede4eb7bb15daba9ef0724198cd6b3b278da0b704cd37

See more details on using hashes here.

File details

Details for the file cpymad-1.0.0rc3-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for cpymad-1.0.0rc3-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 911b538b36d5c3f6e7520ba4e04d0a6726e986151989853129da820d08c010ce
MD5 f604bd9b2f4fbd499585e688f715de20
BLAKE2b-256 42652855435660a2ed28b906bef52cd105bed387592c354bc45bd7d500e31cb6

See more details on using hashes here.

File details

Details for the file cpymad-1.0.0rc3-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for cpymad-1.0.0rc3-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 b9fa5ece4e0867707a58d7ef85c56b6c2912714cbe16990e627b8ffa984ef403
MD5 c5cd2eb3c9b83dcb72abcb18b2e768d8
BLAKE2b-256 467d16da1585dc06f20a2ca356af6b64ce7d00b2db76cad285d7272334b27636

See more details on using hashes here.

File details

Details for the file cpymad-1.0.0rc3-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for cpymad-1.0.0rc3-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 9bdb93af61ba5f164ab9e689854b741209bcda37537825638e1d589928e79b6d
MD5 51737bf538447c7cc3ab1cc7156552b1
BLAKE2b-256 09dc33623fabd4b6434a9fb1c9045054f9cb9c50b1de691cd7bbb746edf978bf

See more details on using hashes here.

File details

Details for the file cpymad-1.0.0rc3-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for cpymad-1.0.0rc3-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 b6b1e41370e882a17d5436d940f7d154e7c35f936c3b056cc800315b26675131
MD5 82ce046a6b180739495cf481916e353b
BLAKE2b-256 3545441fab69b567ef2bd6577f9763717c3bd7563b6cdf298adf80b60e3a9c5d

See more details on using hashes here.

File details

Details for the file cpymad-1.0.0rc3-cp33-none-win_amd64.whl.

File metadata

File hashes

Hashes for cpymad-1.0.0rc3-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 888a32f5c5bcd291b093514113a56ee56cd568369440e792cbb6820c5c6e7700
MD5 b605b48de3440239ed46f5637bd28c78
BLAKE2b-256 e05492bb1dac7975e8ef89352239ae700463ef1bd6fd17dc776b76de2793f455

See more details on using hashes here.

File details

Details for the file cpymad-1.0.0rc3-cp33-none-win32.whl.

File metadata

File hashes

Hashes for cpymad-1.0.0rc3-cp33-none-win32.whl
Algorithm Hash digest
SHA256 163a6c19b22edf4d68ec0a64bb8be837f84f333714628fd56c9ebda385d1c60c
MD5 9c08f25b57ffb39e1ef1cef08d7e8f29
BLAKE2b-256 dd6af5975332362072cd0210f395055f4d4e553dbcaab55bc6be1740765a6183

See more details on using hashes here.

File details

Details for the file cpymad-1.0.0rc3-cp27-none-win_amd64.whl.

File metadata

File hashes

Hashes for cpymad-1.0.0rc3-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 ac853ca23b3b8492cd203f02b387de8292bc62be6c75ac2a8144a9bcf0814315
MD5 d99f15e4beb8d9d46125791098d17635
BLAKE2b-256 9c6a1c056bcd3b837758e6490479e24881020dfac6e20db960eee27f5a4763d7

See more details on using hashes here.

File details

Details for the file cpymad-1.0.0rc3-cp27-none-win32.whl.

File metadata

File hashes

Hashes for cpymad-1.0.0rc3-cp27-none-win32.whl
Algorithm Hash digest
SHA256 4cbe327b5bcb9b97be648d21309855c8ea08ec105811b85f18fbfbc0cfc1d8c0
MD5 4b469f21600d0ecd866c070c5822b61b
BLAKE2b-256 9d6fc0f3ed6103d78851d31f618c4c1df0e72928a85a218e0cf7323a1a18cb08

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