Skip to main content

tools for manga

Project description

MangaTools

MangaTools is a cli tool that helps you organize your digital manga

Features

  • Search manga details and covers
  • Organize pages from volumes into chapters
  • Archive chapters to .cbz files

Installation

pip install mangatools

or

git clone https://github.com/arrow420/mangatools.git
cd mangatools
pip install .
mangatools [command]

Usage

Below is a list of all the currently available commands that you can run.

Search

The search command uses Mangadex to fetch details and creates a details.json file for Tachiyomi.

Usage: mangatools search [OPTIONS] TITLE

Options:
  --doujin                      Shows only doujins
  -c, --cover [first|last|all]  Downloads cover art
  -d, --details                 Creates a details.json file
  --help                        Show this message and exit.

Extract

The extract command extracts and organizes pages from volumes into chapters.

Examples of supported file naming schemes:

  • Title - c001 (v01) - p001
  • Title - c001 (v01) - p001-p002
  • Title - c001x5 (v01) - p001
  • Title - c001.5 (v01) - p001
  • Title - c001 (v01) - p001 [Digital] [Chapter Name] [Source] [Group]
  • Title - c001 (v01) - p001 [Cover] [Dig] [Chapter Name] [Source] [Group]
  • Title - c001 (v01) - p001 [ToC] [digital-hd] [Chapter Name] [Source] [Group]
Usage: mangatools extract [OPTIONS]

Options:
  --no-volume / --volume  Include the volume number in the folder name
  -n, --name              Include the name of the chapter in the folder name
  --delete, --del         Delete the original files after extracting
  -y, --yes               Assume yes on all queries
  --help                  Show this message and exit.

Archive

The archive command archives chapters into .cbz files using 7-Zip. (make sure you have 7-Zip installed)

Usage: mangatools archive [OPTIONS]

Options:
  -e, --extension [CBZ|ZIP]       Archive file extension  [default: CBZ]
  -mx, --compression [0|1|3|5|7|9]
                                  Archive compression level  [default: 5]
  --delete, --del                 Delete the original files after archiving
  -y, --yes                       Assume yes on all queries
  --help                          Show this message and exit.

Contact

If you want to contact me you can reach me at arrowsoftwaresolutions@gmail.com.

License

This project uses the following license: MIT.

Copyright (c) 2021 Arrow

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

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

mangatools-0.2.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

mangatools-0.2.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file mangatools-0.2.0.tar.gz.

File metadata

  • Download URL: mangatools-0.2.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for mangatools-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bd366d01ccd7e2e0a34b649704d3eb54069dba48fb04bcbd7e5eb420faaa11f3
MD5 d3298817f1390c74a30ddbf413cbc3ac
BLAKE2b-256 14f963f1f9149cb5c2c0225dbd05857a8db50deee8806d3746cebbaa75a86803

See more details on using hashes here.

File details

Details for the file mangatools-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: mangatools-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for mangatools-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d522648c47804480c4ce2bede4e8793cf92fa1a097a256dfad919bcf8b58f014
MD5 8d52e521d4ebd86b9852035fbb65d0f3
BLAKE2b-256 7842dd39a599eed35ff5fa9074b6f0740d77b7dbfeb77a79e57a31e702f18e44

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