What is Magpylib?

Magpylib is an open-source Python package for calculating static magnetic fields. For this purpose, it uses analytical solutions that can be evaluated six to nine orders of magnitude faster than conventional finite element solutions. This means that most calculations can be carried out on mobile devices in just a few moments. This facilitates magnetic field design work and enables the solution of high-dimensional optimization problems.

Magpylib is strongly integrated into the Python ecosystem and interacts smoothly with well-known packages such as Numpy, Scipy, Matplotlib, Plotly, Pyvista and Pandas. Recently, Magpylib was also added to the circle of affiliated projects by NumFOCUS, a well-known organization that supports advanced open-source scientific projects.

What is the star rating in GitHub all about?

As open-source software, Magpylib is available on conda-forge and PyPI. Thanks to its easy access and intuitive interface, the package is becoming increasingly popular among researchers and technicians. Since its release in 2019, Magpylib has already been downloaded over 100,000 times.

Magpylib is developed on the public software development platform GitHub by a small, international community under the leadership of Silicon Austria Labs. This makes it possible for everyone to contribute, initiate the development of new features and improve existing functionality.

The popularity of Magpylib has recently been demonstrated again by exceeding the 200 star rating on GitHub - a great achievement, for which we congratulate the whole team!

Where can I find the available resources?

All documents, examples, tutorials, etc. can be found on the Magpylib website.