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
# same as the first one but with production .env file.
nonestrap -a onebot-v11 -e prod mybot
# same as 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
# use it if you want to use nonestrap in/for embeddable python.
# install pip and setuptools into Lib/site-packages before you do it.
# and don't forget to edit the pth file.
pip install -t Lib/site-packages pip setuptools
nonestrap -a onebot-v11 -VE python.exe mybot
Project details
Release history Release notifications | RSS feed
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.1.0.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for nonestrap-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 190a9fcaee030eb88479182f94daa97a769a3c49000b671308232c46549d42f5 |
|
MD5 | f81ce94598fd801ea88bc7bd67393f33 |
|
BLAKE2b-256 | 9e9c25efb7cb4e36a0ffac848a3b7b8147075f089e6269f6ac298a2676754089 |