Skip to main content

用于进行并行处理的接口库。

Project description

paralleller 介绍

PyPI version versions GitHub license

Code style: black

用于进行并行处理的接口库。

特征

  • TODO

项目布局

main.py    # 项目主文件,服务使用它启动。 uvicorn main:app --reload
.env       # 环境变量文件
requirements.txt    # 依赖文件
readme.md       # 简单说明文件
test.db         # 生成的数据库文件
mkdocs.yml      # mkdocs文档构建配置文件
LICENSE         # 开源许可文件
Procfile        # 容器用来执行用户设定的命令
Makefile        # 用来启动docker-compose 文件
.dockerignore   # docker打包上传到容器里过滤文件
.gitignore      # 版本控制过滤上传文件
docker-compose.yaml # docker-compose配置启动文件
Dockerfile      # Docker文件
core/
    blog.py     # 与数据库进行博客交互文件
    user.py     # 与数据库进行用户交互文件
    __init__.py # 声明为包所需文件
database/
    config.py   # 数据库连接配置文件
    __init__.py # 声明为包所需文件
docs/
    index.md    # 文档首页
    database_config.md      # 对应database/config.py 文件的讲解
models/
    models.py   # 用来建立数据库表映射的类文件
    __init__.py # 声明为包所需文件
route/
    auth.py     # 登录认证接口文件
    blog.py     # 博客接口文件
    user.py     # 用户接口文件
    __init__.py # 声明为包所需文件
schema/
    schemas.py  # 声明类型文件
    __init__.py # 声明为包所需文件
static/
    css/
        index.css   # 样式文件
    js/
        main.js     # 脚步
    images/         # 图片文件夹
templates/
    index.html      # 模板文件
test/               # 测试目录
utils/
    hash.py         # 密码处理文件
    oa2.py          # 认证处理文件
    token.py        # 指令处理文件
    __init__.py     # 声明为包所需文件  

项目启动

1. 进行该项目中,建立虚拟环境
```
virtualenv venv
source  venv/bin/activate
```
2. 安装依赖
```
pip install -r requirements.txt
```
3. 直接使用如下命令启动:
    ``` 
    uvicorn main:app --realod 
    ```

文档启动

mkdocs serve --livereload -t shadocs -a localhost:8080

制作

该包使用 Cookiecutterllango/cookiecutter-mkdoc-shapackage 项目模版创建。

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

paralleller-0.0.4.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

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

paralleller-0.0.4-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file paralleller-0.0.4.tar.gz.

File metadata

  • Download URL: paralleller-0.0.4.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.10 CPython/3.7.10 Darwin/20.6.0

File hashes

Hashes for paralleller-0.0.4.tar.gz
Algorithm Hash digest
SHA256 2cb1c0fc16c8f6a116990b2d25e9d92a5183b7482c8c4193e7da3e0e8023659d
MD5 848a51e7cb17c8dad4b6b37b18eccf24
BLAKE2b-256 b891d1597d97fe124b9fdfef42025b1fb902c41d9048e1d7ffe34a39b04a649e

See more details on using hashes here.

File details

Details for the file paralleller-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: paralleller-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.10 CPython/3.7.10 Darwin/20.6.0

File hashes

Hashes for paralleller-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5634b30896dc63b68d035717396aa97efbfbdb19f8c30ed1951ea9c312d2351d
MD5 2435ceaaae9e5d269d0262d18ce91f3e
BLAKE2b-256 9554ecb5e0b45edb017bb32029ef063f124fa69118a9aa1baf6282472a363b14

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