No project description provided
Project description
Delocalizer
Delocalizer script to replace a set of words in a subtitle track on an MKV file for one specified on a JSON file.
Installation
For Python:
[Source]
- Just create a Virtual Environment and run
pip install -r requirements
[PYPI]
pip install delocalizer
Instructions
- [Optional] Create a .env file with the variable CYENV, which will tell the program if to use pure Python or Cython, default if not defined is Cython.
- Set the files you want to delocalize in the folder.
- Create the JSON file, with this format
{
"<word to search>":"new word",
"<word to search>":"new word",
...
}
Recommendation: If a word is contained in another("Hello" and "Hello World"), set the lengthier first.
- Once you have created those files, just execute the program with
delocalizer --j <name json file>.json
Options
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file delocalizer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: delocalizer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f76ba6482b2cbf8048599f5a4c2d85fb9bc0eafe47f558ef084f599586f51bb2
|
|
| MD5 |
4b4be97f139132fd0a651ac7a835fd77
|
|
| BLAKE2b-256 |
57c2842e74442998e78175fc8d708d1127d0e3bfb959f395d6ed417fdaa5818f
|