Skip to main content

Another NoneBot2 project bootstrap tool.

Project description

nonestrap

中文文档在这里~

Another NoneBot2 project bootstrap tool.

Installation

Install nonestrap via this command:

pip install nonestrap

Usage

# install bootstrap file into ./mybot/ with onebot-v11 adapter and without any
# extra plugin, under a virtual environment.
nonestrap -a onebot-v11 mybot

# install bootstrap file into ./mybot/ with both onebot-v11 and ding adapter
# and APScheduler, under a virtual environment
nonestrap -a onebot-v11 -a ding mybot nonebot-plugin-apscheduler

# like the first one but with production .env file.
nonestrap -a onebot-v11 -e prod mybot

# like the first one but without creating a new virtual environment.
# use it if you have already prepared a virtual environment.
nonestrap -a onebot-v11 -V mybot

# like the first one but keeps bot.py instead of bot.pyc
nonestrap -a onebot-v11 -C mybot

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

nonestrap-1.2.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

nonestrap-1.2.0-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

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