Code snippet store
Project description
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
$ 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-vcommand, you can also usectrlvcommand. - While you can use the
ctrl-vcommand to run and manage the application, you should usectrlvwhile installing and uninstalling.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ctrlv-0.0.1.tar.gz.
File metadata
- Download URL: ctrlv-0.0.1.tar.gz
- Upload date:
- Size: 35.9 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
813ad0e572ac032cd825f455e849704a9c26f5e13501f7fe7a3a06679f6397fc
|
|
| MD5 |
dfbf917ae13430ba85a608f594a4cc72
|
|
| BLAKE2b-256 |
df9507defec451bd5871fecd872f15d01303512ca18c56bb10035c9efd0681b3
|
File details
Details for the file ctrlv-0.0.1-py3-none-any.whl.
File metadata
- Download URL: ctrlv-0.0.1-py3-none-any.whl
- Upload date:
- Size: 42.6 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99da350e05d9fc027a449424bfad133843cd844620d74cdbb6e61c139691632b
|
|
| MD5 |
7b4a1c1bca26c05ca19c8be1b6cffb57
|
|
| BLAKE2b-256 |
b88525b1f766483b655e97d56ad0de0f9d13b1183b2aa9ee45501ac6e8c48dd4
|