Skip to main content

novoid

PyPI GitHub License: MIT

A minimalist static analysis tool to detect dead code and unused definitions in Python source files.

Installation

pip install novoid

Usage

Analyze a single file:

novoid main.py

Analyze an entire directory:

novoid ./src

What It Detects

  • Unused functions - functions that are defined but never called anywhere in the file.
  • Unused variables - variables that are assigned but never read or referenced.

Example Output

novoid report for: main.py
──────────────────────────────────────
  [LINE  4]  FUNCTION   greet_user
  [LINE  9]  VARIABLE   temp_buffer
──────────────────────────────────────
2 issue(s) found.

When no issues are found:

✔  main.py - no dead code detected.

Development

git clone https://github.com/Madhav703/novoid.git
cd novoid
pip install -e "."
pytest tests/

Contributing

Pull requests are welcome at https://github.com/Madhav703/novoid.

License

See LICENSE

Release files for novoid 0.1.0

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

Source distribution (sdist)

Source distribution for novoid 0.1.0
File Size Uploaded
novoid-0.1.0.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for novoid 0.1.0
File Interpreter ABI Platform
novoid-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.9 kB

Release files / novoid-0.1.0.tar.gz

Download URL novoid-0.1.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f363695e7077cab0111a60d298c48f176d7dabdfffad8a9b480dd30282a648ed
BLAKE2b-256 checksum
How to use checksums
c35c92f357f6ab838f32c060e80f5e7dcc7fcd727c7658d20b7c941b3e020bcd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / novoid-0.1.0-py3-none-any.whl

Download URL novoid-0.1.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
452338f4ca222d614463ace651c41d4761b8f8a765d86dd7b330da99b9e4e182
BLAKE2b-256 checksum
How to use checksums
a3e4decaf2fbac79743bb8934b7c164e5e8798942234687bb1e76827b170a8fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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