Skip to main content

primpy: Calculations for the primordial Universe.

Project description


calculations for the primordial Universe


Lukas Hergt



Build Status Test Coverage Documentation Status PyPi version


primpy can be installed via pip

pip install primpy

or via the

git clone
cd primpy
python install --user

You can check that things are working by running the test suite:

python -m pytest
flake8 --max-line-length=99 primpy tests
pydocstyle --convention=numpy primpy


Basic requirements:




If you use primpy during your research for a publication, please cite the following paper:

L. T. Hergt, F. J. Agocs, W. J. Handley, M. P. Hobson, and A. N. Lasenby,
"Finite inflation in curved space", Phys. Rev. D 106, 063529 (2022),

or using the BibTeX:

    archivePrefix = {arXiv},
    arxivId = {2205.07374},
    author = {Hergt, L. T. and Agocs, F. J. and Handley, W. J. and Hobson, M. P. and Lasenby, A. N.},
    doi = {10.1103/PhysRevD.106.063529},
    eprint = {2205.07374},
    issn = {2470-0010},
    journal = {Physical Review D},
    month = {sep},
    number = {6},
    pages = {063529},
    publisher = {American Physical Society (APS)},
    title = {{Finite inflation in curved space}},
    url = {},
    volume = {106},
    year = {2022}


There are many ways you can contribute via the GitHub repository.

  • You can open an issue to report bugs or to propose new features.

  • Pull requests are very welcome. Note that if you are going to propose major changes, be sure to open an issue for discussion first, to make sure that your PR will be accepted before you spend effort coding it.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

primpy-2.3.9.tar.gz (35.9 kB view hashes)

Uploaded source

Built Distribution

primpy-2.3.9-py3-none-any.whl (46.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page