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.1.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.1.0.tar.gz | 118.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ctrl_v-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 247.8 kB
Release files / ctrl-v-0.1.0.tar.gz
| Download URL | ctrl-v-0.1.0.tar.gz |
|---|---|
| Size | 118.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3516e8435b1db9401d4247941add777a9bbe8a9a57cc11f7892b6aa97dcd754
|
|
BLAKE2b-256 checksum How to use checksums |
8b826e10329875b7fd4895d867620f10212fb7ff8c6cab8107192cb7aff4506e
|
| 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.1.0-py3-none-any.whl
| Download URL | ctrl_v-0.1.0-py3-none-any.whl |
|---|---|
| Size | 129.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a15b311297cb3b6d67dfc024b59de309ba50746e20dd91a59f76fde56d445c9
|
|
BLAKE2b-256 checksum How to use checksums |
0868cf346c454f10249fcdfe0656fa591d898c08a2e5ac9e54a827e114d997e2
|
| 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
|