akadeepesh /
contextzip
CLI tool for intelligent project packaging with framework detection, smart exclusions, and git-aware file selection.
80/100 healthLoading repository data…
viraxi / repository
Smart Python package assistant that auto-discovers and manages dependencies by analyzing your code imports.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A CLI tool that automatically manages your Python dependencies by analyzing your actual code usage.
Note: Midna is a command-line tool, not a Python library. Install it with
pip install midnaand use it as a CLI command.
Midna - The smart Python package assistant that automatically discovers what packages your Python project uses by scanning your code for imports. No more manually maintaining requirements.txt files or trying to remember what you installed.
midna # Auto-discovers and installs what you need
midna --dry-run # See what it would install first
midna --uninstall # Remove packages you don't use anymore
Common Python package management challenges:
Midna addresses these challenges through intelligent code analysis and automated dependency management, ensuring your project only includes the packages it actually needs.
Simply run:
pip install midna
Once installed, Midna is available system-wide and ready to optimize your Python package management.
midna # Install missing packages
midna --dry-run # Preview what would be installed
midna --uninstall # Remove unused packages
midna --verbose # See what it's doing
midna requirements.txt
midna requirements.txt --dry-run
$ midna --dry-run
Auto-discovering requirements...
Found 4 packages (import analysis)
Already installed (1):
+ requests
Missing packages (3):
- click
- numpy
- pandas
DRY RUN: Would install the following packages:
- click
- numpy
- pandas
midna [requirements_file] [options]
Options:
--uninstall, -u Remove packages instead of installing
--dry-run, -n Show what would happen without doing it
--verbose, -v More detailed output
--version Show version
--help, -h This help message
.git, __pycache__, .venv)Midna implements automated security scanning to ensure safe package management:
shell=False in all pip callstomli dependency for TOML parsingSecurity reports are automatically generated and can be found in the Actions tab.
For security-related issues, please see SECURITY.md.
New project setup:
git clone some-repo
cd some-repo
midna # installs exactly what the code needs
Clean up your environment:
midna --uninstall --dry-run # see what can be removed
midna --uninstall # actually remove it
Check what your project uses:
midna --dry-run --verbose # detailed analysis
midna/
├── core.py # Main CLI logic
├── discovery.py # Auto-discovery engine
├── parser.py # Requirements file parsing
├── installer.py # Package installation
├── uninstaller.py # Package removal
├── checker.py # Check what's installed
└── logger.py # Logging
tomli for TOML parsing)Want to contribute or modify Midna? Here's how to set up your development environment:
git clone https://github.com/viraxi/midna.git
cd midna
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -e ".[dev]"
This installs:
pytest and pytest-cov for testingblack, flake8, isort, mypy for code qualitybuild and twine for packaging# Run all tests
pytest tests/
# Run with coverage
pytest tests/ --cov=midna --cov-report=html
# Run security checks
bandit -r midna/ -x tests,test
pip-audit
# Format code
black midna/ tests/
isort midna/ tests/
# Check linting
flake8 midna/ tests/ --max-line-length=100
We welcome contributions! Whether it's bug fixes, new features, documentation improvements, or suggestions, your help is appreciated.
git checkout -b feature/your-feature-nameFor comprehensive contribution guidelines, including:
Please see CONTRIBUTING.md.
Found a bug or have a feature request? Open an issue with:
All contributions are automatically tested for security issues using Bandit and pip-audit.
This project adheres to a Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to jasemmanita@viraxi.tech or contact@viraxi.tech.
Apache 2.0 - see LICENSE
Jassem Manita
GitHub: @viraxi
Maintainer Email: jasemmanita@viraxi.tech
Org Contact: contact@viraxi.tech
Selected from shared topics, language and repository description—not editorial ratings.
akadeepesh /
CLI tool for intelligent project packaging with framework detection, smart exclusions, and git-aware file selection.
80/100 healthshrimpy8 /
Safe, interactive package manager updater for macOS developers. Manages Homebrew, Conda, Python (auto-detects source), and npm with smart version control, rollback snapshots, and detailed logging. Patch updates auto-approved, major changes require confirmation.
38/100 health