Skip to main content

Interlocutor is a set of utilities for describing the structure and contents of a repository.

Project description

interlocutor: Describing Repositories

interlocutor is a tool for generating descriptions of repositories that are machine-readable. It can output the folder and file structure, process repository contents, and write this information to an output file.

Features

  • Generate Directory Structure: Output the folder and file structure of a repository in a clear and organized format that is machine and human-readable.
  • Process Repository Files: Extract and save the contents of files in a repository to a structured output file.
  • Customizable Output: Specify a preamble, output file, and additional ignore files to customize the output.
  • Structure-Only Option: Generate only the directory structure without processing file contents.

Installation

You can install postnormalism using pip:

pip install interlocutor  

Usage

Generating Structure Only

To generate only the directory structure of a repository without including file contents:

interlocutor /path/to/git/repository --structure-only -o structure_output.txt

Including a Preamble

You can include a preamble at the beginning of the output file:

interlocutor /path/to/git/repository -p /path/to/preamble.txt -o output.txt

Using Additional Ignore Files

If you want to use additional ignore files along with .gptignore, specify them using the --ignore option:

interlocutor /path/to/git/repository --ignore /path/to/additional_ignore_file.txt -o output.txt

Or Do Your Own Thing

Or just import and use the underlying utility functions.

Contributing

Please submit a start a discussion, create a pull request or create an issue if you have any suggestions or improvements.

Primary Authors

  • @jzmiller1 (Zac Miller)

Other Contributors

  • N/A

License

interlocutor is released under the MIT License. See the LICENSE file for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

interlocutor-0.0.2.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

interlocutor-0.0.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file interlocutor-0.0.2.tar.gz.

File metadata

  • Download URL: interlocutor-0.0.2.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.9

File hashes

Hashes for interlocutor-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c71baafeed7220b75c855344f3ae20a2b7e09fb92df946a780093695c516f0f9
MD5 7c36fbe33f75e4d9bcb881914f760f2d
BLAKE2b-256 f8563b5fd2272f973fc51f4e326c5eea96b95ae77cd1410d4c34f1a6f5e22c45

See more details on using hashes here.

File details

Details for the file interlocutor-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for interlocutor-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 09858019d791a5d04ef6c78c3fbb4d97a28da23e81c5d38a1a600de826b5d6f7
MD5 559254e14a76a66b7fd0af1ccd91ee9d
BLAKE2b-256 de812cf0a54c83bd8a3d73572f65c545749af84f019b492fcc86ffe803307f6e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page