Source Infuser
Source Infuser helps keep your AI assistant updated with the changes you perform in your software project. It generates detailed reports of your project's structure, which can be continuously infused into your AI assistant.
Features
- Generate markdown reports of your project structure.
- Supports customizable ignore patterns similar to
.gitignorein.psi-ignore. - Easy integration with your existing CI/CD pipelines.
Installation
From Source
You can install the package directly from the GitHub repository:
git clone https://github.com/ivanzhovannik/source-infuser.git
cd source-infuser
pip install .
From PyPi (Feature Under Development)
pip install source_infuser
Usage
To generate a report of the current directory and write it into report.md:
psi -o report.md
or alternatevely
source_infuser -r . -o report.md
Command-line Options:
- -r, --root: Root directory of the project (default: current directory).
- -o, --output: Output markdown file (optional).
Ignore some elements of your project:
In case you want to ignore parts of your root using .gitignore patters, just add .psi-ignore file to your current directory.
Contributions
We welcome contributions! Please follow these steps:
- Go to source-infuser/issues.
- If there is no issue similar to the one you encountered, create a new issue.
- Describe your case in detail to help us better reproduce and understand the problem.
- If you solved the problem yourself, please go ahead and create a pull-request, tag @ivanzhovannik to review.
License
This package is free to use for research or commercial purposes. Any part can be reproduced; just mention the source.
Acknowledgements
Thanks to all users and contributors who made this project better!
Metadata
Release files for source-infuser 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| source_infuser-0.0.3.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| source_infuser-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.8 kB
Release files / source_infuser-0.0.3.tar.gz
| Download URL | source_infuser-0.0.3.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6d4d26595741424da8e0cf3b8be90c9233f98720e577bcbe09e67ec81967b4a
|
|
BLAKE2b-256 checksum How to use checksums |
975a45fef653d5ce8b70dc33a9515a7946ad3b38e311f0f2368567d4477c039a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.19
|
Release files / source_infuser-0.0.3-py3-none-any.whl
| Download URL | source_infuser-0.0.3-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c98744893844bdbef77019d7a72cce14390c4ebaedf36945a7c4c1dabe7e793d
|
|
BLAKE2b-256 checksum How to use checksums |
6c6449ba3c67706ccb471833cdacef7652b287643a6d0f79964c24cd6bc1695c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.19
|