
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
prft is a Python library designed to easily generate and display the file structure of a project, with support for .gitignore patterns. It allows you to quickly visualize the organization of files and directories within a specified project directory.
Install prft via pip:
pip install prft
Use prft in the terminal to display a project’s file structure.
Basic Command
prft path_to_project
You can also use . to specify the current directory if you are in the project directory:
prft .
Example:
prft path_to_project --no-ignore --no-dot
Running prft in a sample project directory might produce output like this:
project/
├── src/
│ ├── main.py
│ ├── utils.py
│ └── config/
│ └── settings.py
├── .gitignore
├── README.md
└── requirements.txt
This output shows a hierarchical view of the files and directories in path_to_project, ignoring files specified in .gitignore (unless --no-ignore
is used).
This project is licensed under the MIT License.
Created by trum-ok :p
FAQs
A tool to generate a file tree structure of a project with .gitignore support
We found that prft 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
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.