Card Package Manager
Project description
The Card Package Manager
What problem does this software solve?
Gives a centralized tool to manage packages (file + image + metadata) and makes them easy to find
Requirements
To install all requirements, use the following snippet after installing python on your machine.
pip install -r requirements.txt
Or just:
pip install cpm
Portability
Depending on what platform you are on, the executable is different.
cpm
Is intended for GNU/Linux distributions
cpm.bin
Should work on Windows. But I don't have a Windows machine/VN to test the package, so expect trouble.
Quick guide
cpm -h
Shows the help cpm search
Lists the packages hosted on the remote repository
cpm info [name]
Shows information about the package [name]
cpm download [name]
Downloads the package [name] and all its dependencies.
cpm compile [name]
Downloads the package [name], and all its dependencies; and compiles the files (.lorebook) into a single file that can be imported.
...Problems?
Be sure you are using the correct executable for your OS.
cpm.bin
For Windows
cpm
For GNU/Linux.
Logs
There is a helpful command
cpm debug
That will print the logs on the terminal screen. Be sure to include either the output or the client.audit file with you when reporting a bug.
Use quotes when using spaces on the terminal
cpm info "Hakurei Reimu"
cpm download "Hakurei Reimu, Kirisame Marisa"
Although using spaces or long names when naming packages is not recommended.
Avoid commas in the package name and tags
Since blank characters are supported, multiple items need to be comma separated. So don't use them anywhere else. (especially on the name or the tags)
Third-party files
Use the full URL for files, including the scheme "https". Also, make sure the URL doesn't point to an insecure website served with HTTPS.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cpm-aids-0.1.2.tar.gz
.
File metadata
- Download URL: cpm-aids-0.1.2.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4942a1a2fbeb0c014c669e4aec7fb3a90893263521c14b855f07764851c97d13 |
|
MD5 | 0ef402d0590792a324c02a90284612e9 |
|
BLAKE2b-256 | bf68f3a878d50ac15ae0f5c1496162d17cdd97da7bfec41f239559eb534fa5aa |
File details
Details for the file cpm_aids-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: cpm_aids-0.1.2-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 320dd9a55c6d71414e42561dfac5ab5941766c7b28e3df078bc40c976fe81608 |
|
MD5 | c45058c93009767b3c11e7166876fa8a |
|
BLAKE2b-256 | 72e53c36b85dc93ea45585aea46f2bb2d40bf1392ddad53cc47ee561a5718c54 |