Skip to main content

No project description provided

Project description

Meizi provides two commands:

  • mz download for downloading nice albums.

  • mz serve for starting a simple web server to serve the albums.

Install

You need to have Python 3.8+.

$ pip install meizi

Usage

You can run mz download in one terminal, and run mz serve in another terminal.

Then open http://localhost:1310 in your browser.

Commands

$ mz download --help
Usage: mz download [OPTIONS]

  Download albums.

Options:
  --max-workers INTEGER  The number of threads for downloading.  [default: 2]
  --data-dir PATH        The directory to save albums.  [default:
                         /Users/xzmeng/.meizi]
  --help                 Show this message and exit.
$ mz serve --help
Usage: mz serve [OPTIONS]

  Run a local http server.

Options:
  --data-dir PATH  The directory to read albums.  [default:
                   /Users/xzmeng/.meizi]
  --port INTEGER   The port of the http server.  [default: 1310]
  --help           Show this message and exit.

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

meizi-0.1.4.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

meizi-0.1.4-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

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