Skip to main content

No project description provided

Project description

# ⚡ 猫站洛阳铲 ⚡

一个自动化在编程猫论坛挖坟的工具,当然也可以作为一个包导入到您的项目中

![GitHub last commit](https://img.shields.io/github/last-commit/Rov-Waff/codemao-diger-rebuild)

![PyPI - Version](https://img.shields.io/pypi/v/codemao-diger-rebuild)

![Dynamic JSON Badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.codemao.cn%2Fweb%2Fforums%2Fposts%2F1630334%2Fdetails&query=n_views&label=%E7%8C%AB%E7%AB%99%E7%A4%BE%E5%8C%BA)

![GitHub Repo stars](https://img.shields.io/github/stars/Rov-Waff/codemao-diger-rebuild)

## 安装

### 通过pip安装

````shell pip install codemao-diger-rebuild ````

### 通过源码安装

`shell git clone git@github.com:Rov-Waff/codemao-diger-rebuild.git cd codemao-diger-rebuild python3 setup.py install `

## 命令行使用

你可以运行这个包提供的一些Model以在猫站挖坟

### 生成帖子数据库

运行`codemao_diger.DBGenerator`这个Model可以生成存储帖子数据用的数据库,用法如下:

`shell python3 -m codemao_diger.DBGenerator [数据库URL] `

表结构请参考[文档](#)(没写好)

### 自动化挖坟

运行`codemao_diger.requester`这个Model可以自动化请求猫站API获取帖子数据,并将其存在指定数据库中,用法如下:

`shell python3 -m codemao_diger.requester [起始ID] [结束ID] [间隔时间] [输出数据库] `

### 数据分析(饼)

未完成,开发进度将会提交到`chart_dev`分支下,计划会有以下的功能

#### 生成热词词云图

计划Model路径`codemao_diger.chart.worldcloud`

#### 生成发帖量柱状图

计划Model路径`codemao_diger.chart.post_bar`

#### 生成板块帖子量柱状图

计划Model路径`codemao_diger.chart.board_bar`

## 在您的项目中引用

你也可以在你自己的项目中引用这个包,请遵循MIT License使用,文档暂时未完善

## 贡献

如果你要为项目贡献文档,请直接将写好的文档提交到`main`分支下的`/doc`文件夹

如果你要为数据分析贡献代码,请提交至`chart_dev`分支

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

codemao_diger_rebuild-2.0.3.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

codemao_diger_rebuild-2.0.3-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file codemao_diger_rebuild-2.0.3.tar.gz.

File metadata

  • Download URL: codemao_diger_rebuild-2.0.3.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for codemao_diger_rebuild-2.0.3.tar.gz
Algorithm Hash digest
SHA256 fa29df3df223a49fa7d48e52353bed3468a2d7b206315766d535228421f83c2f
MD5 0d4908277cc4815ca924895fda4df825
BLAKE2b-256 1af22124a54a986781cefdc84d1cd11aff8dbc26223f39e01330177362eb1885

See more details on using hashes here.

File details

Details for the file codemao_diger_rebuild-2.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for codemao_diger_rebuild-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3ed5daeb49343bbbe6d67585adffaf1b926159cf97c33fe1452d517eb8c41af7
MD5 b57f7c091b1f0aa043b50c858a047850
BLAKE2b-256 7768dee92bc6b5dc8f1c27fd0ef1a85accc4237fe3af0fd564fa8b2f749e7291

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