Skip to main content

At-cli

Lint Code

At-cli, a lightweight, cross-platform, fast and beautiful command line interface for https://atcoder.jp.

Multi-language support

NOTE: This content is in Chinese, doesn't matter if you use english.

中文用户请务必看过来!这个程序是有中文支持的!

检测语言使用了 locale 库,对于 windows,由于作者目前没有一台 windows 设备,无法进行测试(或许是可以的吧)。

对于 linux,它的主要工作原理是检测环境变量 LANG,请设置为 zh_CN.UTF-8 以使用中文。

如果认为我(或其他译者)的文笔太差,或有未翻译文本,想要贡献翻译,详见 Contribute translation 章节。

Installation

Via pypi package

This package is available through PYPI! Required python 3.11 or higher.

$ pip install atcodercli

Via nix flakes

Add this to your flakes.nix:

    inputs = {
        ...
        atcodercli.url = "github:rickyxrc/at-cli/tags/<version>";
    };

And use like this:

home.packages = [ inputs.atcodercli.packages.${pkgs.system}.default ];

Configuration

See config.sample.yaml for details.

WARNING: EVERY command defined here will DIRECTLY execute on your machine!

Contribute translation

We currently use crowdin and support Chinese only, if you want to contribute to other languages, let me know by issue.

Something about code

NOTE: I'm too lazy, so this part is in Chinese.

我发现我经常搞混几个概念,所以我把几个经常出现的名词的定义写在这里,也方便各位二次开发:

  • template : 模板,也就是用于生成代码的基础,不应与文件(file)混淆
  • file : 文件,也就是用模板生成的文件,不应与模板(template)混淆
  • problems : 题目集,也就是 problem.yaml 中的内容,存储了题目和用题目生成的模板
  • config : 配置项,也就是 ~/atcli/config.yaml 中的内容,存储了模板和比较器
  • contest/init : 进行比赛,其实和 contest race 是一致的,但是计划将 init 作为 文件中统一的名称,而 race 作为命令别名
  • checker : 差异比较器,不应和 diff 混淆

最近正在根据定义重新修改代码中的部分内容,如果有错漏欢迎 PR。

Release files for atcodercli 0.5.5

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

Source distribution (sdist)

Source distribution for atcodercli 0.5.5
File Size Uploaded
atcodercli-0.5.5.tar.gz 20.8 kB Details

Built distribution (wheel)

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

Total release size: 47.8 kB

Release files / atcodercli-0.5.5.tar.gz

Download URL atcodercli-0.5.5.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1e8c2158f73b65fd566ce8fa70f4e71749c06ba7180d4bf9ce3d8c06dbba3694
BLAKE2b-256 checksum
How to use checksums
31e2e5426be815334cc5d8493193c1f4299e077cd666494014b947b3d4bdad31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.6 Linux/6.1.75

Release files / atcodercli-0.5.5-py3-none-any.whl

Download URL atcodercli-0.5.5-py3-none-any.whl
Size 27.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d27f47c4ba3756d2b1fd56e19a98912ec2e0fce3371d9e59ddca617c0644d166
BLAKE2b-256 checksum
How to use checksums
b9be9311b1fb857d5f16983b5ac053beeec6dd244995a7119b495565791c1555
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.6 Linux/6.1.75

Release history Release notifications | RSS feed

This release

0.5.5 This release

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.3.10

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

3 release files

0.2.1

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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