diff --git a/.gitignore b/.gitignore index ef81b1e..ce34418 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,6 @@ /.venv/ +/dist/ +*.egg-info/ +__pycache__/ +*.py[cod] + diff --git a/README.md b/README.md index 3b87686..d3b5ddd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Transcribble -A scribble of a python script for audio transcription +A scribble of a python script for audio transcription. ## Setup @@ -12,4 +12,7 @@ A scribble of a python script for audio transcription - If PowerShell refuses with “running scripts is disabled on this system,” run `Set-ExecutionPolicy -Scope CurrentUser RemoteSigned` once, then try activation again. - Windows (cmd.exe): `venv\Scripts\activate.bat` -3. Install dependences: `pip install -r requirements.txt` +3. Build & Install: `pip install -e .` + +## Usage +`transcribble --help` diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..9d955f4 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,33 @@ +[build-system] +requires = ["setuptools >= 77.0.3"] +build-backend = "setuptools.build_meta" + +[project] +name = "transcribble" +version = "0.0.1" +description = "A simple tool for audio transcription" +readme = "README.md" +requires-python = ">=3.14" +classifiers = [ + "Programming Language :: Python :: 3", + "Operating System :: OS Independent", +] +license = "MIT" +license-files = ["LICENSE.md"] +dependencies = [ + "numpy", + "openai-whisper", + "scikit-learn", + "speechbrain", + "torch", +] + +[[project.authors]] +name = "Robert Hrusecky" +email = "robert@jadedpasta.net" + +[project.urls] +Repository = "https://gitea.jadedpasta.net/jadedpasta/transcribble" + +[project.scripts] +transcribble = "transcribble:main" diff --git a/requirements.txt b/requirements.txt index efeb894..d7e6bf3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,75 @@ +annotated-doc==0.0.4 +anyio==4.13.0 +build==1.5.0 +certifi==2026.5.20 +cffi==2.0.0 +charset-normalizer==3.4.7 +click==8.4.1 +cuda-bindings==13.3.0 +cuda-pathfinder==1.5.5 +cuda-toolkit==13.0.2 +filelock==3.29.0 +fsspec==2026.4.0 +h11==0.16.0 +hf-xet==1.5.0 +httpcore==1.0.9 +httpx==0.28.1 +huggingface_hub==1.17.0 +HyperPyYAML==1.2.3 +idna==3.17 +Jinja2==3.1.6 +joblib==1.5.3 +llvmlite==0.47.0 +markdown-it-py==4.2.0 +MarkupSafe==3.0.3 +mdurl==0.1.2 +more-itertools==11.1.0 +mpmath==1.3.0 +networkx==3.6.1 +numba==0.65.1 numpy==2.4.6 +nvidia-cublas==13.1.1.3 +nvidia-cuda-cupti==13.0.85 +nvidia-cuda-nvrtc==13.0.88 +nvidia-cuda-runtime==13.0.96 +nvidia-cudnn-cu13==9.20.0.48 +nvidia-cufft==12.0.0.61 +nvidia-cufile==1.15.1.6 +nvidia-curand==10.4.0.35 +nvidia-cusolver==12.0.4.66 +nvidia-cusparse==12.6.3.3 +nvidia-cusparselt-cu13==0.8.1 +nvidia-nccl-cu13==2.29.7 +nvidia-nvjitlink==13.0.88 +nvidia-nvshmem-cu13==3.4.5 +nvidia-nvtx==13.0.85 openai-whisper==20250625 +packaging==26.2 +pycparser==3.0 +Pygments==2.20.0 +pyproject_hooks==1.2.0 +PyYAML==6.0.3 +regex==2026.5.9 +requests==2.34.2 +rich==15.0.0 +ruamel.yaml==0.18.17 +ruamel.yaml.clib==0.2.15 scikit-learn==1.8.0 +scipy==1.17.1 +sentencepiece==0.2.1 +setuptools==81.0.0 +shellingham==1.5.4 +soundfile==0.13.1 speechbrain==1.1.0 +sympy==1.14.0 +threadpoolctl==3.6.0 +tiktoken==0.13.0 torch==2.12.0 +torchaudio==2.11.0 +tqdm==4.67.3 +# Editable Git install with no remote (transcribble==0.0.1) +-e /home/robert/workspace/transcribble +triton==3.7.0 +typer==0.25.1 +typing_extensions==4.15.0 +urllib3==2.7.0 diff --git a/main.py b/src/transcribble/__init__.py similarity index 100% rename from main.py rename to src/transcribble/__init__.py