mirror of
https://github.com/iluvcapra/ptulsconv.git
synced 2025-12-31 08:50:48 +00:00
Merge branch 'master' into feat-uv
This commit is contained in:
@@ -22,7 +22,11 @@ For a quick overview of how to cue ADR with `ptulsconv`, check out the [Quicksta
|
||||
The easiest way to install on your site is to use `pip`:
|
||||
|
||||
% pip3 install ptulsconv
|
||||
|
||||
|
||||
If you are using `uv` you can also do a tool install...
|
||||
|
||||
% uv tool install ptulsconv
|
||||
|
||||
This will install the necessary libraries on your host and gives you
|
||||
command-line access to the tool through an entry-point `ptulsconv`. In a
|
||||
terminal window type `ptulsconv -h` for a list of available options.
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "4.0.0"
|
||||
description = "Read Pro Tools Text exports and generate PDF ADR Reports, JSON"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.9"
|
||||
|
||||
license-files = ["LICENSE"]
|
||||
keywords = ["text-processing", "parsers", "film",
|
||||
"broadcast", "editing", "editorial"]
|
||||
@@ -51,6 +52,5 @@ build-backend = "uv_build"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
# "flake8>=7.3.0",
|
||||
"ruff>=0.13.1",
|
||||
]
|
||||
|
||||
@@ -55,8 +55,8 @@ def output_adr_csv(lines: List[ADRLine], time_format: TimecodeFormat):
|
||||
directories for each character number and name pair, and within that
|
||||
directory, creates a CSV file for each reel.
|
||||
"""
|
||||
reels: set[str | None] = set([ln.reel for ln in lines])
|
||||
|
||||
reels: set[str | None] = set([ln.reel for ln in lines])
|
||||
for n, name in [(n.character_id, n.character_name) for n in lines]:
|
||||
dir_name = "%s_%s" % (n, name)
|
||||
os.makedirs(dir_name, exist_ok=True)
|
||||
|
||||
@@ -2,4 +2,5 @@
|
||||
Docparser module
|
||||
"""
|
||||
|
||||
# from .pt_doc_parser import parse_document
|
||||
|
||||
from .pt_doc_parser import parse_document
|
||||
|
||||
Reference in New Issue
Block a user