Skip to main content

velma

Velma is the reimplementation of vera python-API built with C internals.

main differences

  • Velma suppports python-based plugins while vera support both lua and python.
  • It provides a python package built with setuptools and C extension rather than relying on <boost/python.hpp>. This avoid relying on the system python environment, and provide support for virtual env.
  • Tokenization is done with C in mind rather than C++.

Installation

Start by cloning this repository.

pip based

# (in repository's root)
pip install .

Using nix

The repository flake provides velma nix derivation (buildPythonPackage).

nix build github:Sigmanificient/velma

or creating a python env:

let
  # assuming `velma-flake.url = "github:Sigmanificient/velma"` in flake inputs
  velma = velma-flake.outputs.${system}.velma;
  selectPythonPackages = ps: [ velma ... ];
in 
(pkgs.python311.withPackages (ps: selectPythonPackages)

Development

To see available commands in the Makefile, use the following:

make help

Building a standalone shared object

If you need to build a standlone shared object:

make -f standalone_shared_object.mk

IDE support (via compile_commands.json)

make compiledb

Metadata

Release files for velma 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for velma 0.0.1
File Size Uploaded Provenance
velma-0.0.1.tar.gz 3.0 kB Without provenance Details

Release files / velma-0.0.1.tar.gz

Download URL velma-0.0.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9affcea371a1762bb513f20fc837873ad664e8bcfe90dd1c39f289b2914d6ae9
BLAKE2b-256 checksum
How to use checksums
2071e602ccdebde7571c0e3d7cec5fb9f4ce3ee14df8c17334c51b6605059849
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Security for velma 0.0.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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page