Skip to main content

📦 nassemble

nassemble is a simple command-line utility that recursively explores a directory and combines all source code and documentation files into a single text file.

This is especially useful for providing context to Large Language Models (LLMs) or for creating a simple, single-file archive of a project's text-based assets.

Installation

You can install nassemble directly from PyPI:

pip install nassemble

Usage

Using nassemble is simple. Just run it from your terminal.

nassemble [OPTIONS]

Options

  • -p, --path (str): The path to start exploring. (Default: ., the current directory)
  • -o, --output (str): The name of the combined output file. (Default: .all_doc_together.txt)
  • -d, --depth (int): The maximum recursive depth. (Default: -1, for no limit)

Example

To combine all .py and .md files in your current project into a file named context.txt, you would run:

nassemble -p . -o context.txt

License

This project is licensed under the MIT License. See the LICENSE file for details.

Metadata

Release files for nassemble 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nassemble 1.0.0
File Size Uploaded Provenance
nassemble-1.0.0.tar.gz 5.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for nassemble 1.0.0
File Interpreter ABI Platform
nassemble-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.0 kB

Release files / nassemble-1.0.0.tar.gz

Download URL nassemble-1.0.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cd725a7b9868b48392f1e6a3c1b7f5214f6d2c0343fa152c8eb37c45009a5216
BLAKE2b-256 checksum
How to use checksums
37e861b316f84f0f721439804a7460058beaff0512f37b766b377db84f6264dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / nassemble-1.0.0-py3-none-any.whl

Download URL nassemble-1.0.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1bd92ee9aa3d2f04bc8e6879e6ed5b61c87ff59cee07ee203956491e4c016a2
BLAKE2b-256 checksum
How to use checksums
8db8a02fd2e09a59736d33558a7e571f590fbaf0a13b6be74ee63da3cab04a10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for nassemble 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page