Generate heat map of a year.
Project description
YearMaps
生成一年的热力图。
安装
pip[3] install --user yearmaps
使用
Usage: yearmaps [OPTIONS] COMMAND [ARGS]...
Options:
-d, --data-dir TEXT Directory to store datas [default: ~/.yearmaps]
-o, --output-dir TEXT Directory to store output [default: $(pwd)]
-f, --file-type [svg|png] File type to export [default: svg]
-m, --mode [till_now|year] Generate mode of the program [default: till_now]
-y, --year INTEGER Year to generate, this option will override mode to "year"
-c, --color [red|pink|purple|deeppurple|indigo|blue|lightblue|cyan|teal|green|lightgreen|lime|yellow|amber|orange|deeporange|brown|grey|bluegrey]
Color to override provider default color
--help Show this message and exit.
Commands:
bbdc 不背单词
bili Bilibili
cf Codeforces
github GitHub
# 服务器模式
Usage: yearmaps-server [OPTIONS]
Options:
-l, --host TEXT Host to listen on. [default: 0.0.0.0]
-p, --port INTEGER Port to listen on. [default: 5000]
-f, --config TEXT Path to config file. [default: $(pwd)/yearmaps.yml]
--help Show this message and exit.
子模块
不背单词
Usage: yearmaps bbdc [OPTIONS]
不背单词
Options:
-i, --id TEXT 不背单词用户 ID [required]
-t, --type [time|word] 图数据类型
--help Show this message and exit.
bilibili
Usage: yearmaps bili [OPTIONS]
bilibili
Options:
-i, --id TEXT bilibili uid [required]
-t, --type [video] 图数据类型
--help Show this message and exit.
Codeforces
Usage: yearmaps cf [OPTIONS]
Codeforces
Options:
-u, --user TEXT Codeforces user name [required]
-t, --type [all|ac] 图数据类型
--help Show this message and exit.
GitHub
Usage: yearmaps github [OPTIONS]
GitHub
Options:
-u, --user TEXT GitHub user name [required]
-k, --token TEXT GitHub access token [required]
-t, --type [contrib] 图数据类型
--help Show this message and exit.
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
yearmaps-0.0.15.tar.gz
(27.4 kB
view hashes)
Built Distribution
yearmaps-0.0.15-py3-none-any.whl
(31.0 kB
view hashes)
Close
Hashes for yearmaps-0.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d374fae42297fcb6766f45e6bdd0b1e7af147a790beabeb3ec194b89beb65663 |
|
MD5 | 96a2ce81d27f7d65d0a5e667e7ac99f8 |
|
BLAKE2b-256 | 54bb4b8cba9802e4abdfdb0a3986944b1c1506a2bbc7d6dd3885c4075c236858 |