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.html?id=<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.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-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tachi_local-1.2.tar.gz
Algorithm Hash digest
SHA256 e35d5bc72fc294a3cc76b02cd7856af35b55df490d84d2cff644f992ffe52407
MD5 fc8641f6dd98bd42ebcaa4098934e917
BLAKE2b-256 8cb2812aa074f7fd4c4875e8e38c1249ebb243ff71195304e48f99030f448c0f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tachi_local-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e2403fdf503e26a237f876ce3cf430c2a603bee79a231b56e5aa3485d60dadb8
MD5 3769dbaedad02eec7c5f0c1b136bd95e
BLAKE2b-256 d2ddcc357ea56c81b0e8bb0c19d7f02ff44d155dc6a8e02fdfcef7a91ee9729e

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