Skip to main content

Code snippet store

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ctrl-v-0.1.1.tar.gz (118.4 kB view details)

Uploaded Source

Built Distribution

ctrl_v-0.1.1-py3-none-any.whl (129.8 kB view details)

Uploaded Python 3

File details

Details for the file ctrl-v-0.1.1.tar.gz.

File metadata

  • Download URL: ctrl-v-0.1.1.tar.gz
  • Upload date:
  • Size: 118.4 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

Hashes for ctrl-v-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1d1065ce604106e9bd45e190a7554f53723d99f69d02e7d2e49eb262f94af5ba
MD5 f9bbc73e038412567f309e97224916e3
BLAKE2b-256 1481e009de4efdf1db3733d9fd7df1713bdbe791532fede50069d4393988a29a

See more details on using hashes here.

File details

Details for the file ctrl_v-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ctrl_v-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 129.8 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

Hashes for ctrl_v-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab75a4ed240a4d9689cd2cb53ff2459dae2f34cda63e923c3e95b3038cf8ee23
MD5 6ab19fb5114b47092b4a1dc081e59f7f
BLAKE2b-256 46f9cbd11e0ef6afede6f65520697a39145c103b5f552a69578a8a590aabf4f3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page