ctrlv-0.0.1
توضیحات
Code snippet store
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | ctrlv-0.0.1 |
| نام | ctrlv |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Bitto Bennichan |
| ایمیل نویسنده | bittobennichan@protonmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/ctrlv/ |
| مجوز | MIT |
### What is ctrl-v?
**ctrl-v** is a markdown code snippet store written in Python using the Flask framework. Store your code snippets that you always keep missing!
### Installation
Use the following command to install ctrl-v from [PyPI][1]
$ pip install crtlv
### Launch ctrl-v
After installing crtl-v you can launch the application from your terminal / command line.
$ ctrl-v
Serving on http://localhost:5000
You can also launch ctrl-v using ` $ ctrlv` or `$ python -m ctrlv`.
By default, the app runs on port 5000 on 127.0.0.1.
You can however choose to run it on a different port or host using the `--port` and `--host` options.
$ crtl-v --host 0.0.0.0 --port 5500
Serving on http://0.0.0.0:5500
### Password protection
To add a username and password to protect you site, use the `protect` command.
$ ctrl-v protect
Username: bitto
Password:
Repeat for confirmation:
Your site is now protected.
To remove password protection use the `removeprotect` command.
$ crtl-v removeprotect
Protection is removed
### Uninstall ctrl-v
$ pip uninstall crtlv
Notes
- In addition to the `ctrl-v` command, you can also use `ctrlv` command.
- While you can use the `ctrl-v` command to run and manage the application, you should use `ctrlv` while installing and uninstalling.
[1]: https://pypi.org/
نیازمندی
| مقدار | نام |
|---|---|
| - | beautifulsoup4 |
| - | Flask-Login |
| >=1.1.2 | Flask-MDE |
| - | Flask-SQLAlchemy |
| - | Flask-WTF |
| - | html5lib |
| - | Markdown |
| - | waitress |
| - | bleach |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl ctrlv-0.0.1:
pip install ctrlv-0.0.1.whl
نصب پکیج tar.gz ctrlv-0.0.1:
pip install ctrlv-0.0.1.tar.gz