gtfparse 3.0.4__tar.gz → 3.0.5__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 (51) hide show
  1. {gtfparse-3.0.4/gtfparse.egg-info → gtfparse-3.0.5}/PKG-INFO +5 -5
  2. {gtfparse-3.0.4 → gtfparse-3.0.5}/README.md +1 -1
  3. {gtfparse-3.0.4 → gtfparse-3.0.5}/benchmarks/compare_releases.py +2 -2
  4. {gtfparse-3.0.4 → gtfparse-3.0.5}/gtfparse/__init__.py +1 -1
  5. {gtfparse-3.0.4 → gtfparse-3.0.5}/gtfparse/write_gtf.py +2 -2
  6. {gtfparse-3.0.4 → gtfparse-3.0.5/gtfparse.egg-info}/PKG-INFO +5 -5
  7. {gtfparse-3.0.4 → gtfparse-3.0.5}/pyproject.toml +5 -5
  8. {gtfparse-3.0.4 → gtfparse-3.0.5}/LICENSE +0 -0
  9. {gtfparse-3.0.4 → gtfparse-3.0.5}/MANIFEST.in +0 -0
  10. {gtfparse-3.0.4 → gtfparse-3.0.5}/benchmarks/README.md +0 -0
  11. {gtfparse-3.0.4 → gtfparse-3.0.5}/benchmarks/compare_readers.py +0 -0
  12. {gtfparse-3.0.4 → gtfparse-3.0.5}/benchmarks/optimization-results.json +0 -0
  13. {gtfparse-3.0.4 → gtfparse-3.0.5}/benchmarks/optimization.md +0 -0
  14. {gtfparse-3.0.4 → gtfparse-3.0.5}/benchmarks/results.json +0 -0
  15. {gtfparse-3.0.4 → gtfparse-3.0.5}/gtfparse/_polars.py +0 -0
  16. {gtfparse-3.0.4 → gtfparse-3.0.5}/gtfparse/_read_csv.py +0 -0
  17. {gtfparse-3.0.4 → gtfparse-3.0.5}/gtfparse/attribute_parsing.py +0 -0
  18. {gtfparse-3.0.4 → gtfparse-3.0.5}/gtfparse/create_missing_features.py +0 -0
  19. {gtfparse-3.0.4 → gtfparse-3.0.5}/gtfparse/parsing_error.py +0 -0
  20. {gtfparse-3.0.4 → gtfparse-3.0.5}/gtfparse/read_gtf.py +0 -0
  21. {gtfparse-3.0.4 → gtfparse-3.0.5}/gtfparse.egg-info/SOURCES.txt +0 -0
  22. {gtfparse-3.0.4 → gtfparse-3.0.5}/gtfparse.egg-info/dependency_links.txt +0 -0
  23. {gtfparse-3.0.4 → gtfparse-3.0.5}/gtfparse.egg-info/requires.txt +0 -0
  24. {gtfparse-3.0.4 → gtfparse-3.0.5}/gtfparse.egg-info/top_level.txt +0 -0
  25. {gtfparse-3.0.4 → gtfparse-3.0.5}/lint.sh +0 -0
  26. {gtfparse-3.0.4 → gtfparse-3.0.5}/requirements.txt +0 -0
  27. {gtfparse-3.0.4 → gtfparse-3.0.5}/setup.cfg +0 -0
  28. {gtfparse-3.0.4 → gtfparse-3.0.5}/test.sh +0 -0
  29. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/__init__.py +0 -0
  30. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/data/B16.stringtie.head.gtf +0 -0
  31. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/data/ensembl_grch37.head.gtf +0 -0
  32. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/data/ensembl_grch37.head.gtf.gz +0 -0
  33. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/data/gencode.head.gtf +0 -0
  34. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/data/gencode.real.head.gtf +0 -0
  35. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/data/refseq.ucsc.small.gtf +0 -0
  36. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/data.py +0 -0
  37. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/test_attribute_optimization.py +0 -0
  38. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/test_attribute_values.py +0 -0
  39. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/test_create_missing_features.py +0 -0
  40. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/test_ensembl_gtf.py +0 -0
  41. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/test_expand_attribute_column_false.py +0 -0
  42. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/test_expand_attributes.py +0 -0
  43. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/test_gencode_gtf.py +0 -0
  44. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/test_multiple_values_for_tag_attribute.py +0 -0
  45. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/test_parse_gtf_lines.py +0 -0
  46. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/test_polars_compatibility.py +0 -0
  47. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/test_progress.py +0 -0
  48. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/test_read_stringtie_gtf.py +0 -0
  49. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/test_reader.py +0 -0
  50. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/test_refseq_gtf.py +0 -0
  51. {gtfparse-3.0.4 → gtfparse-3.0.5}/tests/test_write_gtf.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gtfparse
3
- Version: 3.0.4
3
+ Version: 3.0.5
4
4
  Summary: Parsing library for extracting data frames of genomic features from GTF files
5
5
  Author-email: Alex Rubinsteyn <alex.rubinsteyn@unc.edu>
6
6
  License-Expression: Apache-2.0
@@ -12,12 +12,12 @@ Classifier: Operating System :: OS Independent
12
12
  Classifier: Intended Audience :: Science/Research
13
13
  Classifier: Programming Language :: Python
14
14
  Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.9
16
- Classifier: Programming Language :: Python :: 3.10
17
15
  Classifier: Programming Language :: Python :: 3.11
18
16
  Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
19
19
  Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
20
- Requires-Python: >=3.9
20
+ Requires-Python: >=3.11
21
21
  Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
23
  Requires-Dist: pyarrow>=18.0.0
@@ -49,7 +49,7 @@ into columns.
49
49
  python -m pip install gtfparse
50
50
  ```
51
51
 
52
- Python 3.9 or later is required. For optional Polars output, install
52
+ Python 3.11 or later is required. For optional Polars output, install
53
53
  `gtfparse[polars]`.
54
54
 
55
55
  ## Read an annotation and find genes
@@ -16,7 +16,7 @@ into columns.
16
16
  python -m pip install gtfparse
17
17
  ```
18
18
 
19
- Python 3.9 or later is required. For optional Polars output, install
19
+ Python 3.11 or later is required. For optional Polars output, install
20
20
  `gtfparse[polars]`.
21
21
 
22
22
  ## Read an annotation and find genes
@@ -11,7 +11,7 @@ import os
11
11
  import statistics
12
12
  import subprocess
13
13
  import sys
14
- from datetime import datetime, timezone
14
+ from datetime import UTC, datetime
15
15
  from pathlib import Path
16
16
 
17
17
 
@@ -120,7 +120,7 @@ def main():
120
120
  )
121
121
  result = {
122
122
  "description": "Complete production readers; imports/checksums outside wall time; sequential fresh processes",
123
- "date": datetime.now(timezone.utc).isoformat(),
123
+ "date": datetime.now(UTC).isoformat(),
124
124
  "threads": args.threads,
125
125
  "inputs": {
126
126
  path.name: {
@@ -24,7 +24,7 @@ from .read_gtf import (
24
24
  )
25
25
  from .write_gtf import write_gtf
26
26
 
27
- __version__ = "3.0.4"
27
+ __version__ = "3.0.5"
28
28
 
29
29
  __all__ = [
30
30
  "GENCODE_BIOTYPE_ALIASES",
@@ -16,7 +16,7 @@ import sys
16
16
  from collections.abc import Iterable
17
17
  from itertools import repeat
18
18
  from pathlib import Path
19
- from typing import TYPE_CHECKING, Optional, Union
19
+ from typing import TYPE_CHECKING, Union
20
20
 
21
21
  import pandas as pd
22
22
 
@@ -74,7 +74,7 @@ def _lines(df):
74
74
  def write_gtf(
75
75
  df: Union[pd.DataFrame, "polars.DataFrame"],
76
76
  path: Union[str, Path],
77
- header_lines: Optional[Iterable[str]] = None,
77
+ header_lines: Iterable[str] | None = None,
78
78
  ) -> None:
79
79
  """
80
80
  Write a DataFrame of genomic features back out to a GTF file.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gtfparse
3
- Version: 3.0.4
3
+ Version: 3.0.5
4
4
  Summary: Parsing library for extracting data frames of genomic features from GTF files
5
5
  Author-email: Alex Rubinsteyn <alex.rubinsteyn@unc.edu>
6
6
  License-Expression: Apache-2.0
@@ -12,12 +12,12 @@ Classifier: Operating System :: OS Independent
12
12
  Classifier: Intended Audience :: Science/Research
13
13
  Classifier: Programming Language :: Python
14
14
  Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.9
16
- Classifier: Programming Language :: Python :: 3.10
17
15
  Classifier: Programming Language :: Python :: 3.11
18
16
  Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
19
19
  Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
20
- Requires-Python: >=3.9
20
+ Requires-Python: >=3.11
21
21
  Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
23
  Requires-Dist: pyarrow>=18.0.0
@@ -49,7 +49,7 @@ into columns.
49
49
  python -m pip install gtfparse
50
50
  ```
51
51
 
52
- Python 3.9 or later is required. For optional Polars output, install
52
+ Python 3.11 or later is required. For optional Polars output, install
53
53
  `gtfparse[polars]`.
54
54
 
55
55
  ## Read an annotation and find genes
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "gtfparse"
7
- requires-python = ">=3.9"
7
+ requires-python = ">=3.11"
8
8
  authors = [ {name="Alex Rubinsteyn", email="alex.rubinsteyn@unc.edu" } ]
9
9
  description = "Parsing library for extracting data frames of genomic features from GTF files"
10
10
  license = "Apache-2.0"
@@ -16,10 +16,10 @@ classifiers = [
16
16
  "Intended Audience :: Science/Research",
17
17
  "Programming Language :: Python",
18
18
  "Programming Language :: Python :: 3",
19
- "Programming Language :: Python :: 3.9",
20
- "Programming Language :: Python :: 3.10",
21
19
  "Programming Language :: Python :: 3.11",
22
20
  "Programming Language :: Python :: 3.12",
21
+ "Programming Language :: Python :: 3.13",
22
+ "Programming Language :: Python :: 3.14",
23
23
  "Topic :: Scientific/Engineering :: Bio-Informatics",
24
24
  ]
25
25
  readme = "README.md"
@@ -46,7 +46,7 @@ dependencies = {file = ["requirements.txt"]}
46
46
  packages = ["gtfparse"]
47
47
 
48
48
  [tool.ruff]
49
- target-version = "py39"
49
+ target-version = "py311"
50
50
  line-length = 100
51
51
  src = ["gtfparse", "tests"]
52
52
  exclude = [
@@ -78,7 +78,7 @@ ignore = [
78
78
  "B008", # do not perform function calls in argument defaults
79
79
  "B905", # zip() without explicit strict
80
80
  "SIM108", # use ternary operator instead of if-else
81
- "UP007", # use X | Y for type unions (need Python 3.10+)
81
+ "UP007", # retain the established Union annotation style
82
82
  "UP031", # %-format strings
83
83
  ]
84
84
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes