Generates code headers for your python/web scripts
Project description
codesec
Installation
$ pip install codesec
Dependencies
Python dependencies included during pip install:
pyperclip
No other dependencies on Windows and Mac OS.
Other systems may need to install xclip or xsel packages
Usage
usage: codesec [-h] [-s] [--symbols] [--reset] [title]
Create pretty printed section title for your code
positional arguments:
title title of your section
optional arguments:
-h, --help show this help message and exit
-s , --set configure settings: length, outer_corners, inner_corners,
outer_edges, inner_edges, center_fill, comment
--symbols prints out common ascii symbols for decoration
--reset reset config
Example:
$ codesec --set length
Default length: 80
Current length: 80
Enter setting: 50
Preview:
# +--------------╔===============╗-------------+ #
# |::::::::::::::║ Section Title ║:::::::::::::| #
# +--------------╚===============╝-------------+ #
$ codesec --set inner_edges
Default inner_edges: =,=,║,║
Current inner_edges: =,=,║,║
Enter setting: ≡+,≡+,►,◄
Preview:
# +--------------╔≡+≡+≡+≡+≡+≡+≡+≡╗-------------+ #
# |::::::::::::::► Section Title ◄:::::::::::::| #
# +--------------╚≡+≡+≡+≡+≡+≡+≡+≡╝-------------+ #
$ codesec "My Section"
Copied:
# +---------------╔≡+≡+≡+≡+≡+≡+╗---------------+ #
# |:::::::::::::::► My Section ◄:::::::::::::::| #
# +---------------╚≡+≡+≡+≡+≡+≡+╝---------------+ #
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
codesec-0.1.tar.gz
(16.4 kB
view details)
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
codesec-0.1-py2.py3-none-any.whl
(16.0 kB
view details)
File details
Details for the file codesec-0.1.tar.gz.
File metadata
- Download URL: codesec-0.1.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b2aa1f484e7bb7b59e10d7297e887ccf1e941b4397a7f5d3c074ab3ab121983
|
|
| MD5 |
945b7349465e239d22d4b1a6df77240a
|
|
| BLAKE2b-256 |
9b932bda5a66eabb6eae59505b0c6ad84bf352f01abb5719059fefa39785e960
|
File details
Details for the file codesec-0.1-py2.py3-none-any.whl.
File metadata
- Download URL: codesec-0.1-py2.py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f564fb0c05fa140ba17b29abc4931b184f9f1555fe5853c46060779a42f82933
|
|
| MD5 |
abf0576cffe3010f368dcc467ca9bbc9
|
|
| BLAKE2b-256 |
c75ac9b161e71c5da7c687bc4ec4c8e2ec53db27644f61047dc69d997cb07f48
|