Skip to content

Commit

Permalink
Merge branch 'cjj_dev' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjunjie committed Oct 4, 2023
2 parents 934a220 + a7737f8 commit 3f3e30d
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 76 deletions.
47 changes: 47 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,53 @@

一个可拓展的 [OpenDigger](https://github.com/X-lab2017/open-digger) GitHub开源数据查询、导出、可视化和监控等功能一体的命令行工具。

<details>

<summary> 目录 </summary>

- [OpenDigger CLI](#opendigger-cli)
- [🗺️Big Picture](#️big-picture)
- [🧾项目简介](#项目简介)
- [🪄功能亮点](#功能亮点)
- [🗓️TODO](#️todo)
- [🪛安装](#安装)
- [基本环境](#基本环境)
- [从源码安装](#从源码安装)
- [从PyPI安装](#从pypi安装)
- [🕹️基本用法](#️基本用法)
- [获取Github Personal Access Token](#获取github-personal-access-token)
- [获取OpenAI key](#获取openai-key)
- [config 命令](#config-命令)
- [repo 命令](#repo-命令)
- [user 命令](#user-命令)
- [query 命令](#query-命令)
- [按类型筛选指标](#按类型筛选指标)
- [按时间筛选指标数据](#按时间筛选指标数据)
- [对某一指标进行时间筛选](#对某一指标进行时间筛选)
- [正向筛选指标](#正向筛选指标)
- [反向筛选指标](#反向筛选指标)
- [display 命令](#display-命令)
- [表格格式](#表格格式)
- [图表格式](#图表格式)
- [json格式](#json格式)
- [保存输出结果](#保存输出结果)
- [export 命令](#export-命令)
- [数据报告](#数据报告)
- [原始Json数据](#原始json数据)
- [组合使用](#组合使用)
- [👀异常处理](#异常处理)
- [缺失数据自动反馈](#缺失数据自动反馈)
- [仓库不存在](#仓库不存在)
- [用户不存在](#用户不存在)
- [🔌插件开发](#插件开发)
- [query的返回数据](#query的返回数据)
- [插件示例](#插件示例)
- [示例插件使用](#示例插件使用)
- [📄筛选条件表达式详解](#筛选条件表达式详解)
- [End](#end)

</details>

## 🗺️Big Picture

![Big Picture](./docs/assets/commands_big_picture.png)
Expand Down
2 changes: 1 addition & 1 deletion opendigger_pycli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
Awesome CLI for OpenDigger
"""
__version__ = "1.0.0"
__version__ = "1.0.2"
45 changes: 26 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@ requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"

[tool.flit.sdist]
include = ["README.md", "LICENSE", "docs/"]
exclude = ["docs/*.html"]
exclude = ["docs/assets/demos/*"]

[project]
name = "opendigger_pycli"
requires-python = ">=3.8"
authors = [{ name = "CoderChen01", email = "wwseyy@gmail.com" }]
readme = "README.md"
license = { file = "LICENSE" }
readme = "docs/决赛-T2-ahpu_new_peasants-autogit.md"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
Expand All @@ -21,35 +20,43 @@ classifiers = [
"Programming Language :: Python :: 3.8",
]
dependencies = [
"click",
"rich",
"requests",
"types-requests",
"click-plugins",
"click==8.1.4",
"rich==13.5.2",
"requests==2.31.0",
"types-requests==2.31.0.2",
"click-plugins==1.1.1",
"pyecharts==2.0.4",
"openai",
"openai==0.28.1",
]
dynamic = ["version", "description"]
keywords = [
"opendigger",
"opendigger-pycli",
"opendigger-cli",
"opendigger-py",
"opensoda",
"open-digger",
]


[project.urls]
AuthorGithub = "https://github.com/CoderChen01"
Source = "https://github.com/CoderChen01/opendigger-pycli/"
Documentation = "https://github.com/CoderChen01/opendigger-pycli/blob/main/README.md"

[project.scripts]
opendigger = "opendigger_pycli.__main__:opendigger"

[project.optional-dependencies]
test = [
"pytest",
"coverage",
"flake8",
"black",
"isort",
"pytest-cov",
"codecov",
"mypy",
"gitchangelog",
"mkdocs",
"pytest==7.4.0",
"coverage==7.2.7",
"flake8==6.0.0",
"black==23.7.0",
"isort==5.12.0",
"pytest-cov==4.1.0",
"codecov==2.1.13",
"mypy==1.4.1",
]

[tool.black]
Expand Down
18 changes: 8 additions & 10 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# This requirements are for development and testing only, not for production.
pytest
coverage
flake8
black
isort
pytest-cov
codecov
mypy
gitchangelog
mkdocs
pytest==7.4.0
coverage==7.2.7
flake8==6.0.0
black==23.7.0
isort==5.12.0
pytest-cov==4.1.0
codecov==2.1.13
mypy==1.4.1
46 changes: 0 additions & 46 deletions setup.py

This file was deleted.

0 comments on commit 3f3e30d

Please sign in to comment.