Skip to main content

Organises Humble Bundle bundles based on their platform.

Project description

hb_organiser

PyPI image Unittests codecov Pylint

Organises Humble Bundle bundles based on their platform. Designed to work around the structure created via Talonius' hb-downloader. Other automated HB downloaders may not work with this out of the box.

An image of hb-organiser copying files

Install

As it's packaged as a Pip module, python3-pip is required. Run pip install --user hb-organiser to install only for your user and omit --user to install for all. See hb_organiser -h for help.

Why is this needed?

I mainly use Humble Bundle to purchase book bundles (that I'll totally read at some point, I swear!) and have accumulated thousands of books over the years. I would like to have all these books hosted via a Calibre web server for easy access but trying to weed out the books from the default structure left behind by automated downloads is a headache.

To alleviate this issue, I'm making this script that will organise my libraries with a click of a key. Duplicate items across different bundles will be ignored, all the books will be easily discovered via Calibre, and my sanity will be saved.

Features

  • Calculates number of tasks so that you're not left in the dark and can tell the progress.

  • A crude way of tracking files being corrupted via a cancelled transfer by logging what is being operated upon and clearing it once complete. If it doesn't get cleared, chances are it was corrupted.

  • Skips copying of duplicate files by checking for its existence first (although there is a chance it may skip newer files such as updated editions of books (see issue 6)).

Immediate roadmap

The immediate goal is to put out something working. To keep development more direct I'll outline pressing matters below:

  • Cut down on operation times
    • Organising thousands of files in one go is very time-consuming - especially when working with game bundles. Speeding this up will save millions of hours of collective time over the years via optimisation.

Future plans

Longer term goals than those outlined above will be put here:

  • Abstract all the things
    • Quite a few values are hard-coded at the moment. To make it more convenient for others, this should be changed to allow for more options.
  • Abstract them even further
    • Why does this have to be limited to Humble Bundles? All its doing is moving one category of files from one place to another. This could be useful in other situations such as organising music.

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

hb_organiser-1.0.8.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

hb_organiser-1.0.8-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file hb_organiser-1.0.8.tar.gz.

File metadata

  • Download URL: hb_organiser-1.0.8.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.8.5

File hashes

Hashes for hb_organiser-1.0.8.tar.gz
Algorithm Hash digest
SHA256 4b1071f2666d103a98d2f6beda345a88787bb4253e098d58ea119f1ec23f6d3b
MD5 ce130b6a84e351a69c96fb9e710d0107
BLAKE2b-256 0a7ab60c51139964818e5fab1e46a2bad20a961c500428872aa8b593de8983dc

See more details on using hashes here.

File details

Details for the file hb_organiser-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: hb_organiser-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.8.5

File hashes

Hashes for hb_organiser-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c16f948a84fec4666105dd4dc59decb460b0d4d7ac35b003b348b389053d5274
MD5 6059f1cfb7debbce21b751452fa43261
BLAKE2b-256 7b34d68cdddbd19be1ff4d075e7a9941c8ed87c48e3531c38df3c7ebc512659e

See more details on using hashes here.

Supported by

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