pydna 5.5.3__tar.gz → 5.5.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. {pydna-5.5.3 → pydna-5.5.4}/PKG-INFO +8 -40
  2. {pydna-5.5.3 → pydna-5.5.4}/README.md +2 -35
  3. {pydna-5.5.3 → pydna-5.5.4}/pyproject.toml +14 -11
  4. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/__init__.py +1 -1
  5. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/assembly2.py +415 -159
  6. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/dseqrecord.py +50 -2
  7. pydna-5.5.4/src/pydna/opencloning_models.py +553 -0
  8. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/types.py +5 -2
  9. {pydna-5.5.3 → pydna-5.5.4}/LICENSE.txt +0 -0
  10. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/_pretty.py +0 -0
  11. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/_thermodynamic_data.py +0 -0
  12. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/all.py +0 -0
  13. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/amplicon.py +0 -0
  14. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/amplify.py +0 -0
  15. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/assembly.py +0 -0
  16. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/codon.py +0 -0
  17. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/common_sub_strings.py +0 -0
  18. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/conftest.py +0 -0
  19. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/contig.py +0 -0
  20. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/cre_lox.py +0 -0
  21. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/crispr.py +0 -0
  22. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/design.py +0 -0
  23. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/download.py +0 -0
  24. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/dseq.py +0 -0
  25. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/fakeseq.py +0 -0
  26. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/fusionpcr.py +0 -0
  27. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/gateway.py +0 -0
  28. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/gel.py +0 -0
  29. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/genbank.py +0 -0
  30. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/genbankfile.py +0 -0
  31. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/genbankfixer.py +0 -0
  32. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/genbankrecord.py +0 -0
  33. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/goldengate.py +0 -0
  34. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/ladders.py +0 -0
  35. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/ligate.py +0 -0
  36. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/parsers.py +0 -0
  37. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/primer.py +0 -0
  38. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/readers.py +0 -0
  39. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/seq.py +0 -0
  40. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/seqrecord.py +0 -0
  41. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/sequence_picker.py +0 -0
  42. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/sequence_regex.py +0 -0
  43. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/threading_timer_decorator_exit.py +0 -0
  44. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/tm.py +0 -0
  45. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/user_cloning.py +0 -0
  46. {pydna-5.5.3 → pydna-5.5.4}/src/pydna/utils.py +0 -0
@@ -1,11 +1,12 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: pydna
3
- Version: 5.5.3
3
+ Version: 5.5.4
4
4
  Summary: Representing double stranded DNA and functions for simulating cloning and homologous recombination between DNA molecules.
5
5
  License: BSD
6
+ License-File: LICENSE.txt
6
7
  Author: Björn F. Johansson
7
8
  Author-email: bjornjobb@gmail.com
8
- Requires-Python: >=3.9,<4.0
9
+ Requires-Python: >=3.10,<4.0
9
10
  Classifier: Development Status :: 4 - Beta
10
11
  Classifier: Environment :: Console
11
12
  Classifier: Intended Audience :: Education
@@ -13,7 +14,6 @@ Classifier: Intended Audience :: Developers
13
14
  Classifier: Intended Audience :: Science/Research
14
15
  Classifier: License :: OSI Approved :: BSD License
15
16
  Classifier: Operating System :: OS Independent
16
- Classifier: Programming Language :: Python :: 3.9
17
17
  Classifier: Programming Language :: Python :: 3.10
18
18
  Classifier: Programming Language :: Python :: 3.11
19
19
  Classifier: Programming Language :: Python :: 3.12
@@ -24,12 +24,13 @@ Provides-Extra: download
24
24
  Provides-Extra: express
25
25
  Provides-Extra: gel
26
26
  Requires-Dist: appdirs (>=1.4.4)
27
- Requires-Dist: biopython (>=1.85)
27
+ Requires-Dist: biopython (==1.85)
28
28
  Requires-Dist: cai2 (>=1.0.5) ; extra == "express"
29
29
  Requires-Dist: matplotlib (>=3.4.3) ; extra == "gel"
30
30
  Requires-Dist: networkx (>=2.8.8)
31
31
  Requires-Dist: numpy (>1.26) ; python_version < "3.12"
32
32
  Requires-Dist: numpy (>=2.3.0) ; python_version >= "3.12"
33
+ Requires-Dist: opencloning-linkml (==0.4.5)
33
34
  Requires-Dist: pillow (>=8.4.0) ; extra == "gel"
34
35
  Requires-Dist: prettytable (>=3.5.0)
35
36
  Requires-Dist: pydivsufsort (>=0.0.14)
@@ -484,27 +485,6 @@ poetry shell
484
485
  poetry run pre-commit install
485
486
  ```
486
487
 
487
- #### Alternative method (using `pip`) 🐍
488
-
489
- Use this for a small contribution or if you don't manage to set up the dev environment.
490
-
491
- ```bash
492
- # Create a new virtual environment
493
- python -m venv .venv
494
-
495
- # Activate the virtual environment
496
- source .venv/bin/activate
497
-
498
- # Install all dependencies (library deps + dev and test requirements)
499
- pip install -r requirements.txt
500
-
501
- # Install the project as editable dependency
502
- pip install -e .
503
-
504
- # Install the pre-commit hooks
505
- pre-commit install
506
- ```
507
-
508
488
  #### Contributing code 💻
509
489
 
510
490
  1. Make your changes.
@@ -541,22 +521,10 @@ supported python versions.
541
521
 
542
522
  ### Building the documentation locally 📚
543
523
 
544
- Documentation is built using [Sphinx](http://www.sphinx-doc.org/) from [docstrings](https://www.python.org/dev/peps/pep-0257/)
545
- using a GitHub [action](https://github.com/pydna-group/pydna/actions/workflows/publish-docs.yml).
524
+ Documentation is built using [Sphinx](http://www.sphinx-doc.org/) from [docstrings](https://www.python.org/dev/peps/pep-0257/) using a GitHub [action](https://github.com/pydna-group/pydna/actions/workflows/publish-docs.yml) and also built in readthedocs.
546
525
  The [numpy](https://www.numpy.org) [docstring format](https://numpy.org/doc/stable/dev/howto-docs.html#docstring-intro) is used.
547
526
 
548
- Below the commands to run a local sphinx server that auto-updated when files are changed.
549
-
550
- ```bash
551
- # Install docs dependency group
552
- poetry install --with docs
553
-
554
- # Start the sphinx server to see docs live by default at http://127.0.0.1:8000/
555
- sphinx-autobuild --watch src/ docs docs/_build/html
556
-
557
- ```
558
-
559
- More info about how to contribute to the documentation can be found [here](docs/README.md)
527
+ To work locally with the documentation, check the [documentation README](docs/README.md) for instructions.
560
528
 
561
529
  ## Release process 🚀
562
530
 
@@ -435,27 +435,6 @@ poetry shell
435
435
  poetry run pre-commit install
436
436
  ```
437
437
 
438
- #### Alternative method (using `pip`) 🐍
439
-
440
- Use this for a small contribution or if you don't manage to set up the dev environment.
441
-
442
- ```bash
443
- # Create a new virtual environment
444
- python -m venv .venv
445
-
446
- # Activate the virtual environment
447
- source .venv/bin/activate
448
-
449
- # Install all dependencies (library deps + dev and test requirements)
450
- pip install -r requirements.txt
451
-
452
- # Install the project as editable dependency
453
- pip install -e .
454
-
455
- # Install the pre-commit hooks
456
- pre-commit install
457
- ```
458
-
459
438
  #### Contributing code 💻
460
439
 
461
440
  1. Make your changes.
@@ -492,22 +471,10 @@ supported python versions.
492
471
 
493
472
  ### Building the documentation locally 📚
494
473
 
495
- Documentation is built using [Sphinx](http://www.sphinx-doc.org/) from [docstrings](https://www.python.org/dev/peps/pep-0257/)
496
- using a GitHub [action](https://github.com/pydna-group/pydna/actions/workflows/publish-docs.yml).
474
+ Documentation is built using [Sphinx](http://www.sphinx-doc.org/) from [docstrings](https://www.python.org/dev/peps/pep-0257/) using a GitHub [action](https://github.com/pydna-group/pydna/actions/workflows/publish-docs.yml) and also built in readthedocs.
497
475
  The [numpy](https://www.numpy.org) [docstring format](https://numpy.org/doc/stable/dev/howto-docs.html#docstring-intro) is used.
498
476
 
499
- Below the commands to run a local sphinx server that auto-updated when files are changed.
500
-
501
- ```bash
502
- # Install docs dependency group
503
- poetry install --with docs
504
-
505
- # Start the sphinx server to see docs live by default at http://127.0.0.1:8000/
506
- sphinx-autobuild --watch src/ docs docs/_build/html
507
-
508
- ```
509
-
510
- More info about how to contribute to the documentation can be found [here](docs/README.md)
477
+ To work locally with the documentation, check the [documentation README](docs/README.md) for instructions.
511
478
 
512
479
  ## Release process 🚀
513
480
 
@@ -11,7 +11,6 @@ classifiers = [
11
11
  "Intended Audience :: Science/Research",
12
12
  "License :: OSI Approved :: BSD License",
13
13
  "Operating System :: OS Independent",
14
- "Programming Language :: Python :: 3.9",
15
14
  "Programming Language :: Python :: 3.10",
16
15
  "Programming Language :: Python :: 3.11",
17
16
  "Programming Language :: Python :: 3.12",
@@ -36,10 +35,10 @@ license = "BSD"
36
35
  name = "pydna"
37
36
  readme = "README.md"
38
37
  repository = "https://github.com/pydna-group/pydna/tree/master"
39
- version = "5.5.3"
38
+ version = "5.5.4"
40
39
  [tool.poetry.dependencies]
41
40
  appdirs = ">=1.4.4"
42
- biopython = ">=1.85"
41
+ biopython = "1.85"
43
42
  cai2 = { version = ">=1.0.5", optional = true }
44
43
  matplotlib = { version = ">=3.4.3", optional = true }
45
44
  networkx = ">=2.8.8"
@@ -53,7 +52,7 @@ pydivsufsort = ">=0.0.14"
53
52
  pyfiglet = "0.8.post1"
54
53
  pyparsing = { version = ">=2.4.7", optional = true }
55
54
  pyperclip = { version = ">=1.8.2", optional = true }
56
- python = ">=3.9,<4.0"
55
+ python = ">=3.10,<4.0"
57
56
  requests = { version = ">=2.26.0", optional = true }
58
57
  scipy = [
59
58
  { version = ">=1.11.3", python = ">=3.12", optional = true },
@@ -61,6 +60,7 @@ scipy = [
61
60
  ]
62
61
  seguid = ">=0.0.5"
63
62
  regex = "^2024.11.6"
63
+ opencloning-linkml = "0.4.5"
64
64
  [tool.poetry.extras]
65
65
  clipboard = ["pyperclip"]
66
66
  download = ["pyparsing", "requests"]
@@ -87,13 +87,16 @@ requests-mock = ">=1.10.0"
87
87
 
88
88
  [tool.poetry.group.docs.dependencies]
89
89
  numpydoc = "^1.6.0"
90
- sphinx-autobuild = "^2021.3.14"
91
- sphinx-rtd-theme = ">=1.3,<4.0"
92
- nbconvert = "^7.16.4"
93
- myst-parser = [
94
- { version = ">3.0.0", python = "<3.10" },
95
- { version = ">=4.0.0", python = ">=3.10" },
96
- ]
90
+ sphinx = "*"
91
+ # sphinx-rtd-theme = ">=1.3,<4.0"
92
+ # nbconvert = "^7.16.4"
93
+ # myst-parser = [
94
+ # { version = ">3.0.0", python = "<3.10" },
95
+ # { version = ">=4.0.0", python = ">=3.10" },
96
+ # ]
97
+ myst-nb = "*"
98
+ sphinx-book-theme = "*"
99
+ pandas = "*"
97
100
 
98
101
  [tool.poetry.group.dev.dependencies]
99
102
  autopep8 = "^2.1.0"
@@ -151,7 +151,7 @@ __license__ = "BSD"
151
151
  __maintainer__ = "Björn Johansson"
152
152
  __email__ = "bjorn_johansson@bio.uminho.pt"
153
153
  __status__ = "Development" # "Production" #"Prototype"
154
- __version__ = "5.5.3"
154
+ __version__ = "5.5.4"
155
155
 
156
156
 
157
157
  # obtain config directory from env or appdirs