【文件属性】:
文件名称:study_api
文件大小:41KB
文件格式:ZIP
更新时间:2021-03-28 21:42:24
Python
一起学习Api
这是一个夸脱API,用于查询与学习相关的数据。
入门
基本开发环境
使用伪造数据安装redis和mysql。
马里亚德
并启动mariadb。
创建一个研究数据库:
# create studytogether database
CREATE DATABASE studytogether
创建一个可以访问studytoether数据库的用户:
$ mysql -u root -p
MariaDB> CREATE USER 'study'@'localhost' IDENTIFIED BY 'study_pass';
MariaDB> GRANT ALL PRIVILEGES ON studytogether.* TO 'study'@'localhost';
MariaDB> FLUSH PRIVILEGES;
MariaDB> quit
雷迪斯
并启动redi
【文件预览】:
study_api-master
----.gitignore(8B)
----bot.py(3KB)
----app.py(3KB)
----README.md(8KB)
----Pipfile.lock(52KB)
----models.py(2KB)
----dev.env.example(435B)
----insert_fake_data.py(3KB)
----Pipfile(437B)
----common()
--------__init__.py(0B)
--------utilities.py(16KB)
--------study.py(6KB)
--------async_utilities.py(12KB)
----config.hjson(5KB)
----insert_real_data.py(4KB)