Skip to main content

Admin CLI for restful-starlette

Project description

Restful Starlette Admin

Description : Admin CLI for restful-starlette


1、安装

# pip源安装
> pip install restful-starlette-admin

# git 仓库直接安装
> pip install git+https://gitee.com/coldsunset/restful_starlette_admin.git

# 使用
> rs-admin

Usage: admin.py [OPTIONS] COMMAND [ARGS]...

  Admin CLI: provide actions to initial restful starlette project

Options:
  --help  Show this message and exit.

Commands:
  init-env
  start-app
  start-project

2、初始化项目 start-project

# 创建项目文件夹并进入
> mkdir project_name && cd project_name

# 初始化项目结构
> rs-admin start-project --name project_name

3、生成新应用 start-app

# 建议按照项目结构,进入modules包下创建新app
> cd  modules

# 初始化项目结构
> rs-admin start-app --name app_name

4、自动生成.env文件

# 根据指定的settings对象路径自动生成.env文件,格式
> rs-admin init-env --setting_class restful_starlette.conf.base:GlobalSettings

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

restful_starlette_admin-0.0.9.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

restful_starlette_admin-0.0.9-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file restful_starlette_admin-0.0.9.tar.gz.

File metadata

  • Download URL: restful_starlette_admin-0.0.9.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for restful_starlette_admin-0.0.9.tar.gz
Algorithm Hash digest
SHA256 9840e5e7401c9d2d15d06178fc0d92c962f615c1748d2df1ea774b7459e4f0ae
MD5 25d7542149bda65a031447f436348ef0
BLAKE2b-256 2fcecce8476ee1a41f23fe4ffa2850731881ce8355377118212d3f2d5459d4ea

See more details on using hashes here.

File details

Details for the file restful_starlette_admin-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: restful_starlette_admin-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for restful_starlette_admin-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0d5df3d0ec492a9398fc773a514c9ecb5475582c9076664bd67cd9ecdc4c7c96
MD5 5a270732eb654523100d196dce99fa83
BLAKE2b-256 9de3f7a1e6dda861d4d84e83efa784697c0edadf5cc4b589e46b22b1c6d34469

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page