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.
Release files for meizi 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| meizi-0.1.4.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| meizi-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / meizi-0.1.4.tar.gz
| Download URL | meizi-0.1.4.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9b159d5dc144e91302592c6a27fb273df4dea809abfc7e386807e637823a0b3
|
|
BLAKE2b-256 checksum How to use checksums |
bbf2c7ffc0eb4fea53055db818709180994b4b4d587846d42089a3d3dd219eed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.1 CPython/3.10.6 Linux/5.15.0-1024-azure
|
Release files / meizi-0.1.4-py3-none-any.whl
| Download URL | meizi-0.1.4-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a6787887aab41732f72f0e4a95fdb4c652faa66e0a6ff4f3c517aa695c277963
|
|
BLAKE2b-256 checksum How to use checksums |
00ec627cf3851e2cdb848c04fc9ebc49b105d7eb5fbea4c41fe0d9e99f6be8dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.1 CPython/3.10.6 Linux/5.15.0-1024-azure
|