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
$ pip install ctrl-v
Launch ctrl-v
After installing ctrl-v you can launch the application from your terminal / command line.
$ ctrl-v
Serving onhttp://localhost:5000
You can also launch ctrl-v using $ python -m ctrl-v.
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.
$ ctrl-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.
$ ctrl-v removeprotect
Protection is removed
Uninstall ctrl-v
$ pip uninstall ctrl-v
Metadata
Release files for ctrl-v 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ctrl-v-0.2.0.tar.gz | 1.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ctrl_v-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.9 MB
Release files / ctrl-v-0.2.0.tar.gz
| Download URL | ctrl-v-0.2.0.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ffdf071cbf052d989d8e8486647074f6129d6ceebacdc1c4e16bc52f4f4293a1
|
|
BLAKE2b-256 checksum How to use checksums |
f060b6b4e6f023793276aa67ae761b6738d3bc779f4f97b570897f29fe91fd6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
|
Release files / ctrl_v-0.2.0-py3-none-any.whl
| Download URL | ctrl_v-0.2.0-py3-none-any.whl |
|---|---|
| Size | 1.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce20966070dc6affc6b8e45868bbe9a8b3516a36b3755fe1192124defb102678
|
|
BLAKE2b-256 checksum How to use checksums |
75e3582ed119853b565fb41267e76a65ac2f299890c3693620f87f334294b27e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
|