Metadata-Version: 2.0
Name: cpymad
Version: 1.0.3.post1
Summary: Cython binding to MAD-X
Home-page: https://github.com/hibtc/cpymad
Author: Thomas Gläßle
Author-email: t_glaessle@gmx.de
License: GPLv3+
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: License :: OSI Approved :: Apache Software License
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Scientific/Engineering :: Physics
Requires-Dist: PyYAML
Requires-Dist: minrpc (>=0.0.7)
Requires-Dist: numpy
Requires-Dist: setuptools (>=18.0)

cpymad
------
|Version| |License| |Python| |Tests| |Coverage|

cpymad is a Cython_ binding to MAD-X_ (`MAD-X source`_).

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

.. _Cython: http://cython.org/
.. _MAD-X: http://cern.ch/mad
.. _MAD-X source: https://github.com/MethodicalAcceleratorDesign/MAD-X
.. |VERSION| replace:: 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`_.


Links
~~~~~

- `Getting Started`_
- `Installation`_
- `Source code`_
- `Documentation`_
- `Issue tracker`_
- `Latest Release`_

.. _Getting Started: http://hibtc.github.io/cpymad/getting-started
.. _Installation: http://hibtc.github.io/cpymad/installation
.. _Source code: https://github.com/hibtc/cpymad
.. _Documentation: http://hibtc.github.io/cpymad
.. _Issue tracker: https://github.com/hibtc/cpymad/issues
.. _Latest Release: https://pypi.python.org/pypi/cpymad#downloads


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

.. _COPYING.rst: https://github.com/hibtc/cpymad/blob/master/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.

.. Badges:

.. |Tests| image::      https://api.travis-ci.org/hibtc/cpymad.svg?branch=master
   :target:             https://travis-ci.org/hibtc/cpymad
   :alt:                Test Status

.. |Coverage| image::   https://coveralls.io/repos/hibtc/cpymad/badge.svg?branch=master
   :target:             https://coveralls.io/r/hibtc/cpymad
   :alt:                Coverage

.. |Version| image::    https://img.shields.io/pypi/v/cpymad.svg
   :target:             https://pypi.python.org/pypi/cpymad/
   :alt:                Latest Version

.. |License| image::    https://img.shields.io/badge/license-CC0,_Apache,_Non--Free-red.svg
   :target:             https://github.com/hibtc/cpymad/blob/master/COPYING.rst
   :alt:                License: CC0, Apache, Non-Free

.. |Python| image::     https://img.shields.io/pypi/pyversions/cpymad.svg
   :target:             https://pypi.python.org/pypi/cpymad#downloads
   :alt:                Python versions

Changelog
~~~~~~~~~

1.0.3.post1
===========
Date: 15.07.2018

- Build windows wheels against the real (July) 5.04.01 release of MAD-X

1.0.3
=====
Date: 02.07.2018

- Fix ValueError for missing values in ElementList.get


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``


Older versions
==============

The full changelog is available online in CHANGES.rst_.

.. _CHANGES.rst: https://github.com/hibtc/cpymad/blob/master/CHANGES.rst


