wechat-admin
Background
写了一堆背景,后来都删掉了,简单说就是迁移公众号后台到自己的服务器,需求你懂的。
Usage
-
创建虚拟环境
- 如果你是用
virtualenvwrapper管理的运行环境
mkvirtualenv wechat pip install -r requirements.txt- 如果你希望把依赖包安装到global环境(三思啊)
sudo pip install -r requirements.txt - 如果你是用
-
配置
可以将你的
app_id及secret_key配置到settings.py中,为了方便区分开发环境和生产环境,建议把配置项写到local_settings.py中,它会覆盖settings.py的配置项cp settings.py local_settings.py -
创建数据库
数据库的配置也是在settings.py或local_settings.py里的,配好以后
make initdb这个初始化脚本写的比较简单,可以根据自家的习惯修改
-
部署
本地测试直接执行
python app.py就够了,如果想用其他的web server,可自行考虑部署方案
TODO
- UI
- see those
TODOcomments
Metadata
Release files for wechat-admin 1.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wechat_admin-1.2.5.tar.gz | 21.2 kB | Without provenance | Details for wechat_admin-1.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wechat_admin-1.2.5-py3-none-any.whl | Python 3 | none | any | Details for wechat_admin-1.2.5-py3-none-any.whl |
Total release size: 43.4 kB
Release files / wechat_admin-1.2.5.tar.gz
| Download URL | wechat_admin-1.2.5.tar.gz |
|---|---|
| Size | 21.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65d731735732e73a6eb7e1137d07ca72b99ca27d5a6f43add2c0e421e7e0aa59
|
|
BLAKE2b-256 checksum How to use checksums |
111bcf13f98a664fafc568b5d60bef9aa982bda1af299c2c69437b33951427c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.2
|
Release files / wechat_admin-1.2.5-py3-none-any.whl
| Download URL | wechat_admin-1.2.5-py3-none-any.whl |
|---|---|
| Size | 22.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da63151b6c9c77e68820b8083c481ed71e87a69010fae8f3e5e8f596525a6b4b
|
|
BLAKE2b-256 checksum How to use checksums |
f846ef1d692e077de5a8a19fe22981ada3486663de8d96ab586d132722dadb83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.2
|
Security for wechat-admin 1.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.