
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600Ć Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600Ć faster than humans.
A modern Python tool for creating visual maps of project structures in the terminal.
pip install projectmap
# Map current directory
projectmap
# Map specific directory
projectmap --path /path/to/project
# Custom ignore patterns
projectmap --path . --ignore-dirs "logs" "temp" --ignore-files "*.tmp" "*.bak"
from projectmap import ProjectStructureVisualizer
# Basic usage
visualizer = ProjectStructureVisualizer()
visualizer.visualize('.')
# Custom configuration
visualizer = ProjectStructureVisualizer(
ignore_dirs={'logs', 'temp'},
ignore_files={'.env', '*.bak'}
)
visualizer.visualize('/path/to/project')
Project Structure (/your/project):
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
āāā src
ā āāā projectmap
ā āāā __init__.py
ā āāā visualizer.py
āāā tests
ā āāā test_visualizer.py
āāā docs
ā āāā api.md
ā āāā usage.md
āāā README.md
āāā pyproject.toml
āāā LICENSE
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
DEFAULT_IGNORE_DIRS = {
'__pycache__',
'.git',
'.idea',
'venv',
'.venv',
'env',
'node_modules',
'.pytest_cache',
'.mypy_cache',
'.ruff_cache',
'build',
'dist',
'htmlcov',
'.coverage',
'.tox'
}
DEFAULT_IGNORE_FILES = {
'.gitignore',
'.env',
'.env.local',
'.env.development',
'.env.production',
'.DS_Store',
'*.pyc',
'*.pyo',
'*.pyd',
'.python-version',
'*.so',
'*.egg',
'*.egg-info',
'*.log',
'.coverage',
'coverage.xml',
'.coverage.*'
}
# Clone repository
git clone https://github.com/yourusername/projectmap.git
cd projectmap
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install development version
pip install -e ".[dev]"
# Run tests
pytest
projectmap/
āāā src/
ā āāā projectmap/
ā āāā __init__.py
ā āāā visualizer.py
āāā tests/
ā āāā test_visualizer.py
āāā README.md
āāā pyproject.toml
āāā LICENSE
Color output support
Export to JSON/YAML
Export to image (PNG, SVG)
Export to URL (HTML)
Custom depth limits
File size information
Directory statistics
Pattern-based filtering
Git integration
Multiple output formats
Interactive mode
We welcome contributions! Here's how you can help:
MIT License - feel free to use this project for your needs.
FAQs
A modern tool for visualizing project structures in the terminal
We found that projectmap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Ā It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600Ć faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.