Contributing#

pyEMAPS is open source, and we welcome contributions from electron microscopists, crystallographers and Python developers alike. You don’t need to write code to help:

  • Report a bug with the bug report form.

  • Suggest an idea in Ideas, or answer a question in Q&A.

  • Improve the documentation: fix an error, clarify a page, or add an example.

  • Share a sample or a notebook that shows a use of pyEMAPS others could learn from.

What you can change#

The pyemaps repository holds the Python package, its documentation, the sample scripts and the step-by-step notebooks, and all of it is open to contributions. The simulation engine, emaps, is installed from PyPI as a compiled package and isn’t open to contributions; if a change needs a new engine feature, describe it in Ideas.

How to contribute a change#

  1. For a larger change, start a discussion or an issue first, so we can agree on the approach before you spend time on it.

  2. Fork the repository and make your change on a branch from main.

  3. Build, install and test it as DEVELOPMENT.md explains. The sanity tests run on every pull request, on Python 3.12 to 3.15, and must pass.

  4. If you change the documentation, build it and check that it has no warnings.

  5. Open a pull request that explains what you changed and why.

Agreements#

By contributing, you agree to our Contributor License Agreement, which lets EMLab Solutions distribute your contribution with pyEMAPS while you keep the rights to your own work.

We follow the Contributor Covenant as our code of conduct. Report unacceptable behavior to support@emlabsoftware.com.

Joining the project#

We’re looking for experts in electron microscopy and crystallography, and Python enthusiasts, to join the project for the longer term. If that’s you, write to support@emlabsoftware.com and tell us about your interests.