Skip to main content

Generate heat map of a year.

Project description

YearMaps

PyPI Docker Image Version (latest by date)

生成一年的热力图。

image

安装

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, --uid TEXT          不背单词用户 ID  [required]
  -t, --gtype [time|word] 图数据类型
  --help                  Show this message and exit.

bbdc

bilibili

Usage: yearmaps bili [OPTIONS]

  bilibili

Options:
  -i, --uid TEXT      bilibili uid  [required]
  -t, --gtype [video] 图数据类型
  --help              Show this message and exit.

image

Codeforces

Usage: yearmaps cf [OPTIONS]

  Codeforces

Options:
  -u, --user TEXT      Codeforces user name  [required]
  -t, --gtype [all|ac] 图数据类型
  --help               Show this message and exit.

image

GitHub

Usage: yearmaps github [OPTIONS]

  GitHub

Options:
  -u, --user TEXT       GitHub user name  [required]
  -k, --token TEXT      GitHub access token  [required]
  -t, --gtype [contrib] 图数据类型
  --help                Show this message and exit.

image

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

yearmaps-0.0.9.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yearmaps-0.0.9-py3-none-any.whl (30.8 kB view details)

Uploaded Python 3

File details

Details for the file yearmaps-0.0.9.tar.gz.

File metadata

  • Download URL: yearmaps-0.0.9.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.2 Windows/10

File hashes

Hashes for yearmaps-0.0.9.tar.gz
Algorithm Hash digest
SHA256 8f5be6b05e93341c5ca7e9defd7cac8bea4665eaa161291bbea612dd3c18f6a5
MD5 0ffdf46a4d74336e4ec30af5c51e1f11
BLAKE2b-256 09d21ea1504b582d58884695cc960076e8b81e93515aa5c670ebdaa679ea04dd

See more details on using hashes here.

File details

Details for the file yearmaps-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: yearmaps-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 30.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.2 Windows/10

File hashes

Hashes for yearmaps-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 ca6dd718f37681058d03422e4ff12dd95061b81ad4ff71f9b6fac68344a739f0
MD5 47c72b9f3457232fe7f3f2c4b25f6079
BLAKE2b-256 65afd50ef2dfaff35f120c87fa5d0e5e08ef90110e034536e60e9f73cfa06b56

See more details on using hashes here.

Supported by

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