notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-files-to-prompt Python CLI utility to concatenate files into a single LLM prompt
0.4 misc on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.3Version of this port present on the latest quarterly branch.
Maintainer: dch@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-05-22 14:00:16
Last Update: 2024-12-14 00:23:51
Commit Hash: 6e8f4b2
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: APACHE20
WWW:
https://github.com/simonw/files-to-prompt
Description:
Concatenate a directory full of files into a single prompt for use with Large Language Models. For background on this project see: https://simonwillison.net/2024/Apr/8/files-to-prompt
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}files-to-prompt>0:misc/py-files-to-prompt@${PY_FLAVOR}
To install the port:
cd /usr/ports/misc/py-files-to-prompt/ && make install clean
To add the package, run one of these commands:
  • pkg install misc/py-files-to-prompt
  • pkg install py311-files-to-prompt
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-files-to-prompt listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-files-to-prompt
Package flavors (<flavor>: <package>)
  • py311: py311-files-to-prompt
distinfo:
TIMESTAMP = 1733908071 SHA256 (files_to_prompt-0.4.tar.gz) = aa1c65bdb7fa123a3a36c5f105af34aa8f3f70495fc90dcb5f7fa995fda3463d SIZE (files_to_prompt-0.4.tar.gz) = 9522

Packages (timestamps in pop-ups are UTC):
py311-files-to-prompt
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.40.4-0.30.4---
FreeBSD:13:quarterly0.40.4-0.30.4---
FreeBSD:14:latest0.40.4-0.40.4---
FreeBSD:14:quarterly0.40.4-0.30.4---
FreeBSD:15:latest0.40.4n/a0.4n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=41 : devel/py-setuptools@py311
  2. py311-wheel>=0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-click>0 : devel/py-click@py311
  2. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for py311-files-to-prompt-0.4: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
misc_py-files-to-prompt
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/f/files_to_prompt/
  2. https://pypi.org/packages/source/f/files_to_prompt/
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.4
14 Dec 2024 00:23:51
commit hash: 6e8f4b2bbb2343757f0340e1c66c71d26a00803dcommit hash: 6e8f4b2bbb2343757f0340e1c66c71d26a00803dcommit hash: 6e8f4b2bbb2343757f0340e1c66c71d26a00803dcommit hash: 6e8f4b2bbb2343757f0340e1c66c71d26a00803d files touched by this commit
Dave Cottlehuber (dch) search for other commits by this committer
misc/py-files-to-prompt: update to 0.4

Reported by:	portscout
Sponsored by:	SkunkWerks, GmbH
0.3
11 Sep 2024 05:54:25
commit hash: e3a1d95a9851e50b14324432f1d4481f91bf92a5commit hash: e3a1d95a9851e50b14324432f1d4481f91bf92a5commit hash: e3a1d95a9851e50b14324432f1d4481f91bf92a5commit hash: e3a1d95a9851e50b14324432f1d4481f91bf92a5 files touched by this commit
Dave Cottlehuber (dch) search for other commits by this committer
misc/py-files-to-prompt: update to 0.3

Sponsored by:	SkunkWerks, GmbH
0.2.1
22 May 2024 13:57:17
commit hash: f0fec65dc7c2a7f8264f412b2752635ad625eaddcommit hash: f0fec65dc7c2a7f8264f412b2752635ad625eaddcommit hash: f0fec65dc7c2a7f8264f412b2752635ad625eaddcommit hash: f0fec65dc7c2a7f8264f412b2752635ad625eadd files touched by this commit
Dave Cottlehuber (dch) search for other commits by this committer
misc/py-files-to-prompt: new port - concatenate files for LLM prompts

Number of commits found: 3