bilingual-book-builder
Builds a parallel text ePub with sentences aligned side-by-side from two ePubs of the same book in different languages.
File Explorer
- build.yml
- install-check.yml
- test.yml
- __init__.py
- __main__.py
- aligner.py
- bbb.py
- book_builder.py
- cli.py
- constants.py
- epub_file.py
- extractor.py
- html_tokenizer.py
- mapper.py
- progress.py
- splitter.py
- utils.py
- conftest.py
- test_aligner.py
- test_book_builder.py
- test_cli.py
- test_extractor.py
- test_html_tokenizer.py
- test_html_tokenizer_integration.py
- test_integration.py
- test_mapper.py
- test_splitter.py
- .gitignore
- .gitmodules
- .python-version
- AGENTS.md
- bertalign
- CHANGELOG.md
- LICENSE
- pyproject.toml
- README.md
- requirements.txt
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
pip install
View Details ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
pytest
View Details ▼
pytest
Run Python tests.
pytest {{path/to/test_file1.py path/to/test_file2.py ...}}
Run tests from specific files:
pytest -k {{expression}}
Run tests with names matching a specific [k]eyword expression:
pytest {{[-x|--exitfirst]}}
Exit as soon as a test fails or encounters an error:
python
View Details ▼
python
Python language interpreter.
python
Start a REPL (interactive shell):
python {{path/to/file.py}}
Execute a specific Python file:
python -i {{path/to/file.py}}
Execute a specific Python file and start a REPL:
