Skip to main content

This is the README for fwdpy11, which is a Python package for forward-time population genetic simulation. It uses fwdpp as its C++ back-end.

Build status

Main:

https://github.com/molpopgen/fwdpy11/workflows/Tests/badge.svg?branch=main https://github.com/molpopgen/fwdpy11/workflows/UbuntuStressTest/badge.svg?branch=main

Development:

https://github.com/molpopgen/fwdpy11/workflows/Tests/badge.svg?branch=dev https://github.com/molpopgen/fwdpy11/workflows/UbuntuStressTest/badge.svg?branch=dev

Conda status

https://anaconda.org/bioconda/fwdpy11/badges/version.svg https://anaconda.org/bioconda/fwdpy11/badges/platforms.svg

Miscellaneous

Python code style:

https://img.shields.io/badge/code%20style-black-000000.svg

Features

  • Pickle-able population objects

  • Parallel computation via multiprocessing or concurrent.futures.

  • Custom temporal samplers to analyze populations during a simulation may be written in pure Python.

  • Flexible interface for simulating models with multiple populations.

Documentation

The manual can be found here.

License

GPLv3 or later (See COPYING)

Supported Python version

fwdpy11 is written for Python 3. We will not modify the package to be compatible with Python 2.7.

Dependencies and installation

These topics are covered in the user manual:

Citation

If you use this software for research, please cite the following publications:

  • Kevin R Thornton. Polygenic adaptation to an environmental shift: temporal dynamics of variation under gaussian stabilizing selection and additive effects on a single trait. Genetics, 213(4):1513–1530, December 2019.

  • Kevin R Thornton. A c++ template library for efficient forward-time population genetic simulation of large populations. Genetics, 198(1):157–166, September 2014.

This software was developed for the first paper. The second paper describes a key part of this software’s back end.

Metadata

Release files for fwdpy11 0.24.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fwdpy11 0.24.7
File Size Uploaded
fwdpy11-0.24.7.tar.gz 1.7 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for fwdpy11 0.24.7
File
fwdpy11-0.24.7-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details
fwdpy11-0.24.7-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
fwdpy11-0.24.7-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details
fwdpy11-0.24.7-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
fwdpy11-0.24.7-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
fwdpy11-0.24.7-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details

Total release size: 20.6 MB

Release files / fwdpy11-0.24.7.tar.gz

Download URL fwdpy11-0.24.7.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
586c1856839bd67df53a5d5cb124b1a3f9a15c2cb6831925497531447ed94522
BLAKE2b-256 checksum
How to use checksums
b16b11013ea8c3d957a0590e7fe5f1cb7e089977f0d01b83607b47b13127b54e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / fwdpy11-0.24.7-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL fwdpy11-0.24.7-cp314-cp314-manylinux_2_28_x86_64.whl
Size 3.2 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5cca0e83edddb3eb3635bd07dc4883f0b6775135fe1abc440a4b028efd63b9a7
BLAKE2b-256 checksum
How to use checksums
03e471cd1c208e59a096b09ceea6ab75959ce4b0f28cbb690840967a97f7352f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / fwdpy11-0.24.7-cp314-cp314-macosx_11_0_arm64.whl

Download URL fwdpy11-0.24.7-cp314-cp314-macosx_11_0_arm64.whl
Size 3.0 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7f19ca3ef6d57d706df553dafd8c841710a726ba7a2fd8de0e4c642cff580d30
BLAKE2b-256 checksum
How to use checksums
d36d3f246bc2a71e61b2c746535484598f5bfdc29018c3fbe2e5ba1a4dfabf06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / fwdpy11-0.24.7-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL fwdpy11-0.24.7-cp313-cp313-manylinux_2_28_x86_64.whl
Size 3.2 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
802f2c3bbe411f9431f14d59b62f0561788c3fa0a6f2d7588e922127c19c66e1
BLAKE2b-256 checksum
How to use checksums
8e321d0361d41c03839f40f28a1d880e5b61c1cfedd32664385d19a232597982
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / fwdpy11-0.24.7-cp313-cp313-macosx_11_0_arm64.whl

Download URL fwdpy11-0.24.7-cp313-cp313-macosx_11_0_arm64.whl
Size 3.0 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
223139d7699457166e709f4b25dc2e594385be9838553b6ddfd05e440f954a01
BLAKE2b-256 checksum
How to use checksums
7c29a0cafd0e8df4811e79c17ad54e9835395eff96b25106a37d2a6d0f2e973d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / fwdpy11-0.24.7-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL fwdpy11-0.24.7-cp312-cp312-manylinux_2_28_x86_64.whl
Size 3.2 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
40f171f65c0f0cb45ff0d4ea755d08c7bbac4837e3744ff8f980a30688d2c575
BLAKE2b-256 checksum
How to use checksums
ad3c3b6f28c6cc2fda434cba0ee7bc10e733cf95f272f18d385c350b00708871
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / fwdpy11-0.24.7-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL fwdpy11-0.24.7-cp311-cp311-manylinux_2_28_x86_64.whl
Size 3.2 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0c70ffe2a0efe3cb6ad63e57232f4ff6637ab4164af59b89b4000a4b66f07688
BLAKE2b-256 checksum
How to use checksums
1d67ff39d990e247a79b4b37c87b29f25efaeae8eef629b3a6d948ae5d961f05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.24.7 This release

7 release files

0.24.6

7 release files

0.24.4

9 release files

0.24.3

9 release files

0.24.2

9 release files

0.24.0

9 release files

0.21.4

9 release files

0.21.3

9 release files

0.21.0

9 release files

0.19.9

9 release files

0.19.8

9 release files

0.19.7

9 release files

0.19.6

9 release files

0.19.3

9 release files

0.19.2

9 release files

0.19.1

9 release files

0.19.0

9 release files

0.18.1

8 release files

0.18.0

8 release files

0.17.1

7 release files

0.17.0

7 release files

0.16.2

7 release files

0.16.1

7 release files

0.16.0

7 release files

0.14.1

7 release files

0.12.0

1 release file

0.11.0

1 release file

0.10.1

1 release file

0.10.0

1 release file

0.9.0

1 release file

0.8.3

1 release file

0.8.2

1 release file

0.8.1

1 release file

0.8.0

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.4

1 release file

0.6.3

1 release file

0.6.2

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.5

1 release file

0.5.4

1 release file

0.5.3

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.5

1 release file

0.4.4

1 release file

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page