
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.
.. _pycollect:
Utility library dealing with Python files.
Features
.. code-block:: bash
pip install pycollect
.. code-block:: python
collector = PythonFileCollector()
python_files = collector.collect()
When no explicit directory is given the parent folder of caller's file will be used.
It is possible to define custom exclusion patterns. See the docs for more <https://allrod5.github.io/pycollect/reference/pycollect.html#pycollect.PythonFileCollector>
__.
.. code-block:: python
module_name = find_module_name(filepath)
As there can be multiple valid module names for a given file, by default the outermost
module name is returned. The inverse behaviour can be enabled with the innermost
parameter. See the docs for more <https://allrod5.github.io/pycollect/reference/pycollect.html#pycollect.find_module_name>
__.
See the complete docs at allrod5.github.io/pycollect <https://allrod5.github.io/pycollect/>
__.
Integration tests <https://github.com/allrod5/pycollect/tree/master/tests/integration>
__
can be pretty helpful to understand pycollect usage more in-depth too.
CONTRIBUTING <https://allrod5.github.io/pycollect/contributing.html>
__: Bug reports, feature requests, documentation & pull requests.CHANGELOG <https://allrod5.github.io/pycollect/changelog.html>
__: See what's changed in each version.AUTHORS <https://allrod5.github.io/pycollect/authors.html>
__: Know who's behind the project.find_module_name
function__init__.py
requirement for considering a path as importableFAQs
Utility library to collect files recursively
We found that pycollect 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.