vheader
Generate perfect Vyper code headers every time, pythonically.
Getting Started
Prerequisites
You need to be able to install python packages, with either:
Or whatever you prefer to install python packages. We recommend using uv. You can head over to their docs, or try to run:
curl -LsSf https://astral.sh/uv/install.sh | sh
To install.
Installation
We prefer to install this into an insolated virtual environment with uv. You can do that as so:
uv tool install vheader
But you can also install any other way you please:
pip install vheader
pipx install vheader
Usage
vheader "external functions"
# ------------------------------------------------------------------
# EXTERNAL FUNCTIONS
# ------------------------------------------------------------------
It will also copy the header to your clipboard automatically.
With VSCode
Set your global tasks.json like so to add the command as task:
{
"version": "2.0.0",
"tasks": [
{
"label": "Generate Header",
"type": "shell",
"command": "vheader ${input:header}",
"presentation": {
"reveal": "never"
},
"problemMatcher": []
}
],
"inputs": [
{
"id": "header",
"description": "Header",
"type": "promptString"
}
]
}
To really speed-up your workflow, you can even add a keybind for the task in keybindings.json:
[
{
"key": "CMD+h",
"command": "workbench.action.tasks.runTask",
"args": "Generate Header"
}
]
This will copy the generated header to your clipboard.
Credits
- Inspired by transmissions11 headers
- Who was inspired by virtualjpeg's
blocky.
- Who was inspired by virtualjpeg's
Metadata
Release files for vheader 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vheader-0.1.1.tar.gz | 3.1 kB | Without provenance | Details for vheader-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vheader-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for vheader-0.1.1-py3-none-any.whl |
Total release size: 6.6 kB
Release files / vheader-0.1.1.tar.gz
| Download URL | vheader-0.1.1.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfe789dc7a7f75bd7266516823cd2dbaf50e500b58baf1df55907a20459f2f47
|
|
BLAKE2b-256 checksum How to use checksums |
cdd956617fe1486885b087d3385ac81032b766ee842a04c0266b6ad1ef550929
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / vheader-0.1.1-py3-none-any.whl
| Download URL | vheader-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2022f15cc782cb634eef27dfd14a73ea777f6a68cc6c846dcdf79cebcca79005
|
|
BLAKE2b-256 checksum How to use checksums |
c9196e21e5bec604fc26205e26cce96722d04b8caaad515e12761838d2e70781
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Security for vheader 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.