Skip to main content

Tachiyomi local manga 'details.json' creator.

Project description

Tachi-Local Details

license

About

Tachiyomi local manga details.json creator.
Using Baka-Updates Manga.

Requires Python >= 3.7

Usage

You can either directly use a Mangaupdates series link/id, or search using the script.
The script will scrape the website and generate the details.json for you.

tachi-local <id>
tachi-local https://www.mangaupdates.com/series/<id>
tachi-local -s <title>

Options

You can see all the options in --help.

Main commands:
  using a link or id
  using -s or --search

Search options:
  -a/--auto-first-result: automatically select the first search result
  -m/--max-search-results: maximum search results to show

Options:
  -h/--help and --version
  -k/--keep-status-values: keep the "_status values" entry in the json
  -o/--output: output filename

Installation

You can use any of the following methods:

pip

This is the easiest way.
Run the following command:

pip install tachi-local

Now tachi-local should be in a location in your PATH and available in your command-line.
So you can just run it: tachi-local --help

It can be uninstalled with this command: pip uninstall tachi-local
And updated with: pip install -U tachi-local

(This method downloads the program from PyPI)

Manual pip

You can download the source and run this command in the project's root directory:

pip install .

Then tachi-local will be available in your command-line.

PyInstaller

You can download an .exe file created using PyInstaller from the releases section.
You can place the .exe in a location in your environment PATH so you can run it from anywhere.

Zipapp

You can get a python zipped executable file from the releases section. (file named tachi-local)
You can run it like a normal executable:

./tachi-local

You can use this on Windows as well, but it cannot be executed like an exe.
You can run it like this:

python tachi-local

Manual run

You can download the source and run the code:

python tachi_local

Makefile

The makefile is used to automate some tasks.
The targets are:

  • make all creates the zipapp.
  • make get-version prints the program's version.
  • make dist creates s-dist and b-dist (pure python wheel).
  • make upload uploads to PyPI.
  • make pyi-spec creates the .spec file for PyInstaller. (needed once)
  • make pyi-exe creates a one-file executable using the .spec file.
  • make clean cleans up pycache and the build. (there are separate more specific targets for cleaning as well)

pyi_create_version_info.py is ran with make pyi-exe and creates pyi_win_version_info.py from pyi_win_version_info.template which is used by PyInstaller to make the Windows executable's metadata.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tachi_local-1.2.1.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tachi_local-1.2.1-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file tachi_local-1.2.1.tar.gz.

File metadata

  • Download URL: tachi_local-1.2.1.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for tachi_local-1.2.1.tar.gz
Algorithm Hash digest
SHA256 262c74a43e8f9d43e1be344f7cc34e3ec8e76262582fade8130457ab9c2f7832
MD5 76e7b82c0680791f1650f3f69444f1c3
BLAKE2b-256 f3a8698772b1d087b91609bcf6a2610bc92f2ff884e59838d33d4bef191af1f0

See more details on using hashes here.

File details

Details for the file tachi_local-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: tachi_local-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for tachi_local-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 82197c8bfa8a18e423ee50fd8647aa247c6b98d54cba5c1ef46bbd4b421354d3
MD5 a887b18f71a153db9441be713f0e9b9e
BLAKE2b-256 fb023e7335c78287cd76f537fa309fd24d5fe8768d8d3c7f55d8acc9d4943f06

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page