Skip to main content

Simple primer design and analysis

Project description

primer3-py: simple oligo analysis and primer design

Tests Documentation Release License PyPi

Primer3-py is a Python-abstracted API for the popular Primer3 library. The intention is to provide a simple and reliable interface for automated oligo analysis and design.

Routine oligo analysis is simple:

>>> import primer3
>>> primer3.calc_tm('GTAAAACGACGGCCAGT')
49.16808228911765
>>> primer3.calc_hairpin('CCCCCATCCGATCAGGGGG')
ThermoResult(structure_found=True, tm=34.15, dg=337.09, dh=-36300.00, ds=-118.13)

... and fast (~1000X faster than traditional subprocess wrappers):

In [1]: import primer3

In [2]: import tests.wrapper

In [3]: %timeit primer3.calc_tm('GTAAAACGACGGCCAGT')
100000 loops, best of 3: 4.74 us per loop

In [4]: %timeit test.wrappers.calc_tm('GTAAAACGACGGCCAGT')
100000 loops, best of 3: 5.78 ms per loop

Primer3-py also includes bindings for the Primer3 primer design engine if you'd prefer to use an established pipeline. The IO parameters mirror those of the original Primer3.

Please note that while we provide bindings, we do not provide support for the Primer3 design engine. Please contact the Primer3 dev team with your questions: https://github.com/primer3-org/primer3

A copy of the Primer3 2.6.1 design parameters manual can be found at: primer3 v2.6.1 manual

Documentation

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

primer3_py-2.2.0.tar.gz (694.5 kB view details)

Uploaded Source

Built Distributions

primer3_py-2.2.0-cp313-cp313-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.13Windows x86-64

primer3_py-2.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

primer3_py-2.2.0-cp313-cp313-macosx_10_14_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 10.14+ x86-64

primer3_py-2.2.0-cp312-cp312-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.12Windows x86-64

primer3_py-2.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

primer3_py-2.2.0-cp312-cp312-macosx_10_14_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 10.14+ x86-64

primer3_py-2.2.0-cp311-cp311-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.11Windows x86-64

primer3_py-2.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

primer3_py-2.2.0-cp311-cp311-macosx_10_14_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

primer3_py-2.2.0-cp310-cp310-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.10Windows x86-64

primer3_py-2.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

primer3_py-2.2.0-cp310-cp310-macosx_10_14_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

primer3_py-2.2.0-cp39-cp39-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.9Windows x86-64

primer3_py-2.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

primer3_py-2.2.0-cp39-cp39-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

primer3_py-2.2.0-cp39-cp39-macosx_10_14_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

primer3_py-2.2.0-cp38-cp38-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.8Windows x86-64

primer3_py-2.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

primer3_py-2.2.0-cp38-cp38-macosx_10_14_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

File details

Details for the file primer3_py-2.2.0.tar.gz.

File metadata

  • Download URL: primer3_py-2.2.0.tar.gz
  • Upload date:
  • Size: 694.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for primer3_py-2.2.0.tar.gz
Algorithm Hash digest
SHA256 c71f8cccdf1e3f7f769f85c2551adff7488a1bd8f722e373b702ed25b4c1fa90
MD5 a3a24dfdfd885689285793b9e5e9f041
BLAKE2b-256 bec30217aaf3a5058d495c4feba487ff9e6fd18e7f49c0c40ffc6211d4e5f71f

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: primer3_py-2.2.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for primer3_py-2.2.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7fd1d10e38f01c2ce61da5460807cb9fde53ce3c4c65d6aed10e34e88d178dc6
MD5 6048433980e9b322d4e710151421cba7
BLAKE2b-256 d94450494b412c33d4c4dc8ac48dbc405dc6bea4abda0de785d54eca70a69fe9

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-2.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a8868054236f301ed46d1f420ca5de650f0c3ddd1ed49dc92681b1eb85a46137
MD5 99421ac2002007adaeb1c90cce3479bd
BLAKE2b-256 7c5c806aeedefab7e0491571dc80b10e2f1fbd8e1d93e60ab2bcab11da2af0bf

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp313-cp313-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-2.2.0-cp313-cp313-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 75fa4af6127ce33b48221a7376aeb0e4460b3ac20d275e3b44d245b07d7134e3
MD5 085c9c8d5cbd5be7a755a60d21dcbf58
BLAKE2b-256 fb8e4a7610c349e388d668b32632b3466acad410b00e6b1cb9511733e02db906

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: primer3_py-2.2.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for primer3_py-2.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9464dd0253d2be7bd3955191615d0975f463d64ba0c32793873cf378642ee311
MD5 04462284e79ac28b26aacc44938d2430
BLAKE2b-256 86b1f4c66d2f16cbd71c7e138927cb26d3fd2030f397379d42cf3cb4fa01ca47

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-2.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 52cbc454d0551d7040820373cdf3b7471cdad4a3eccf84ee4e5d04635a72ab5f
MD5 db01189e986aeae03294c7ffe2a8cf22
BLAKE2b-256 1bc1c0611bd155d15a76bffde4c0df64fd7585c44d82a89e4c7ce8088d94bcdd

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp312-cp312-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-2.2.0-cp312-cp312-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 e9a0b1d51683c9cb03b59b3c905569935ce8d820a6d04fec64a7bb90cad203cb
MD5 640669ff095a3fa5cb2f7f86840777e5
BLAKE2b-256 7e3445a3a4deb5a667b1fad905a3ec1ed896ae86767d6e5c05781bba71a07996

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: primer3_py-2.2.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for primer3_py-2.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b25d928971c9d6b04722723da0ac96a053ea3ab8470634b7de6ef3307c12b185
MD5 7b3c7399801b333be324fc696edbd22a
BLAKE2b-256 314a5792a5149441cb1dc8af0fbe55950e48da9a887062b348f7d1a54f3c4fdf

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-2.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ebe237f5ca451d336ce2a9b7e35619e031264085a2e793c20e4dca3261b1e288
MD5 099fcb60df1be8692dd9f95f20eef88a
BLAKE2b-256 e1c4ff90e21462bc0d26980dca57349a8f24a2809abfc46c07a6f84eb84ce9b5

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-2.2.0-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 acd46659275b1e34298611f9f647d5a4c08812abf2beface2d4f88e77e604e38
MD5 074e7ba0fdfdeee7686b55d0f3347009
BLAKE2b-256 6be789c292663541a0ed405e6043f744b1ccbc4e59e364422a14a56e9fe5bd10

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: primer3_py-2.2.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for primer3_py-2.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f631b02273c17366d6f67fc34352259cf74963bbc04df7670734569c537d0dee
MD5 7fdb90374a683debd706ccad322681f6
BLAKE2b-256 61223f52291eca6ff253527d289a15c961766940afb60b9b3f10ff53611a9491

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-2.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 90db12e7a22c00db7b79d9dcd33e031e0c6339d54d848f584d739658e029a80b
MD5 c661438ef3902604403a72079e7b8281
BLAKE2b-256 ebf0e91e8f6c0b5f2f4b71be63499228ffac4bc41e357a2bdef341b1cd0cdba2

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-2.2.0-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 6eac54399aa03f5238964a6d82520018cd5e5ace4afdc778138f8a338b7be825
MD5 d09264c2f81586ed09886f4ccc7c2345
BLAKE2b-256 e23f42ef9d63f7565ed55d531d95acb511d3342c6ebfda40abdb6f8cd72ea457

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: primer3_py-2.2.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for primer3_py-2.2.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 22d25fee9d090e9b0b249eb35ab411bdcf8783d7795ecf38a89a62326ec1bd08
MD5 688b66e7a4a806fff0c084835a2a95f9
BLAKE2b-256 1ab4ce47d2ba33cbcabff862d47b9c8a293426af7112556fa7bb8204987bcf21

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-2.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6ed4fb2cc8f945326c267195204361e96c7c12ad8494b7e3a20766cb0b07b282
MD5 c1cfa3f192d6366fc062aae45a8fbce5
BLAKE2b-256 0ee8be688358fc9fcdcfad6ab18649b689c3d6b15399e7c64690e49fda23bb8c

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for primer3_py-2.2.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9bd21dcbda40c834c5d1fd6047bb0b825172ac82bbdedc558aa621fd77b01360
MD5 11a7c1ae44f90331443f3aacfc60ccf3
BLAKE2b-256 0571f77f4e6b0bd8f012575e9e4fb0d46486f6500375d1eee3eb370180fc783e

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-2.2.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 ca7a712ce9b6dc8ae70e666e2aed7d57ede2ed1d4121909df3c132babfd7f2de
MD5 15b756d8a6520dc00c7f3bcada4e1a4b
BLAKE2b-256 097f72d948a0e9eb2a80e5d727d1fcc85ef194c0f3956dcf5c8454842a585e9b

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: primer3_py-2.2.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for primer3_py-2.2.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 22a162b9575dc85aea124e788523086f67101ab71e6d61e878c4afade12fc708
MD5 6dd2e1c7f0827130d44e7fbd51493e7f
BLAKE2b-256 8bac60975af82c7ef1fbbfcbd6ceba76d58a2c39b1a1b826476ff1bf12a033c1

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-2.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4e0cf6e5a7efe9314a2deaaf310554eab9ae39a502753f98d26b9b058e4696ed
MD5 78e1699600df5d18db07db234c9cd90a
BLAKE2b-256 e82c747c07bbd0fd39a9acf91fb8391504f7343a5bc0f0ef4d2537a303dcffa5

See more details on using hashes here.

File details

Details for the file primer3_py-2.2.0-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-2.2.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 80972c9e179755295b0da63771915e7194dfa86f2804232118f914764cc2b11d
MD5 0e42ca841bd127f7c3a4361e901e03cb
BLAKE2b-256 7ad3cd8a1b5959c2fb6203de1087a7683b74ba9a0bc9f2730a67837146b30de3

See more details on using hashes here.

Supported by

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