Skip to main content

YearMaps

PyPI Docker Image Version (latest by date)

生成一年的热力图。

image

安装

pip 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.

bbdc

bilibili

Usage: yearmaps bili [OPTIONS]

  bilibili

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

image

Codeforces

Usage: yearmaps cf [OPTIONS]

  Codeforces

Options:
  -u, --user TEXT      Codeforces user name  [required]
  -t, --type [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, --type [contrib]  图数据类型
  --help                Show this message and exit.

image

Metadata

Release files for yearmaps 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yearmaps 0.2.0
File Size Uploaded
yearmaps-0.2.0.tar.gz 799.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yearmaps 0.2.0
File Interpreter ABI Platform
yearmaps-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.6 MB

Release files / yearmaps-0.2.0.tar.gz

Download URL yearmaps-0.2.0.tar.gz
Size 799.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8b3a5c55142b7a225c20849ecae32040b509d3709ca6410caaacae0872687821
BLAKE2b-256 checksum
How to use checksums
76ffc5f27bc20bf6d0af125b668e38485c0c4f9d9dae93bf148758e533155c52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.10 Linux/5.13.0-1021-azure

Release files / yearmaps-0.2.0-py3-none-any.whl

Download URL yearmaps-0.2.0-py3-none-any.whl
Size 813.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5b97399f0060fed475d78c6f4ee46946c5bec9556962fe9b40ff3e7317a190c
BLAKE2b-256 checksum
How to use checksums
787539ce6f4a5caf64a586c3e88619ba40f4596ebc5c6eaf8b608a80a22b0684
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.10 Linux/5.13.0-1021-azure

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page