| Name | talk-to-a-file JSON |
| Version |
0.0.2
JSON |
| download |
| home_page | None |
| Summary | Simple CLI to talk to a file |
| upload_time | 2025-10-09 04:09:03 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | >=3.8 |
| license | MIT License
Copyright (c) 2024 deven367
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
|
| keywords |
anthropic
pypdf
click
|
| VCS |
|
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# talk-to-a-file


This is a very simple utility script that I just created so that you could send the content of a pdf to an LLM and talk to it.
## instructions
To install the app, you just need to do,
```sh
pip install talk-to-a-file
# or
pip install git+https://github.com/deven367/talk-to-a-file
```
If you wish to develop/contribute to the project,
```sh
git clone https://github.com/deven367/talk-to-a-file
cd talk-to-a-file
pip install -e .
```
### prerequisites
To use this package, you need to use your own `ANTHROPIC_API_KEY`. Before using the CLI command, you need to set the environment variable. To do so,
```sh
export ANTHROPIC_API_KEY=<your-api-key>
```
## how it works
Once the package is installed, you can use the CLI command, `talk-to-a-file`,
The CLI has a required argument, `pdf`, which is the path to the pdf file that you want to read.

Here is a small example, where I talk to the pdf file, `docs/tcm.pdf`,

To quit the CLI, you can type `exit` or `quit`.
## how to contribute
Issues and PRs are welcome. If you have any suggestions or improvements, feel free to open an issue or a PR.
Raw data
{
"_id": null,
"home_page": null,
"name": "talk-to-a-file",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "anthropic, pypdf, click",
"author": null,
"author_email": "Deven Mistry <masterdeven@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/b2/99/46412190f83d64aa13f252d822a3cc7be183018b98ba810de54b74574ba0/talk_to_a_file-0.0.2.tar.gz",
"platform": null,
"description": "# talk-to-a-file\n\n\n\nThis is a very simple utility script that I just created so that you could send the content of a pdf to an LLM and talk to it.\n\n## instructions\n\nTo install the app, you just need to do,\n\n```sh\npip install talk-to-a-file\n\n# or\n\npip install git+https://github.com/deven367/talk-to-a-file\n```\n\nIf you wish to develop/contribute to the project,\n\n```sh\ngit clone https://github.com/deven367/talk-to-a-file\ncd talk-to-a-file\npip install -e .\n```\n\n### prerequisites\n\nTo use this package, you need to use your own `ANTHROPIC_API_KEY`. Before using the CLI command, you need to set the environment variable. To do so,\n\n```sh\nexport ANTHROPIC_API_KEY=<your-api-key>\n```\n\n## how it works\n\nOnce the package is installed, you can use the CLI command, `talk-to-a-file`,\n\nThe CLI has a required argument, `pdf`, which is the path to the pdf file that you want to read.\n\n\n\nHere is a small example, where I talk to the pdf file, `docs/tcm.pdf`,\n\n\n\nTo quit the CLI, you can type `exit` or `quit`.\n\n## how to contribute\n\nIssues and PRs are welcome. If you have any suggestions or improvements, feel free to open an issue or a PR.\n",
"bugtrack_url": null,
"license": "MIT License\n \n Copyright (c) 2024 deven367\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n ",
"summary": "Simple CLI to talk to a file",
"version": "0.0.2",
"project_urls": null,
"split_keywords": [
"anthropic",
" pypdf",
" click"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "24b4623e0a4518a2b517bee870bade09ee4b6a0038f3be9deebdc73fc3dff829",
"md5": "2e23620426984737ea3f5c9d63281183",
"sha256": "0c76861599889a899b2e9ddd4cccc180c197db8c80ea277453a972e2c5a41f99"
},
"downloads": -1,
"filename": "talk_to_a_file-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2e23620426984737ea3f5c9d63281183",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 6093,
"upload_time": "2025-10-09T04:09:02",
"upload_time_iso_8601": "2025-10-09T04:09:02.117704Z",
"url": "https://files.pythonhosted.org/packages/24/b4/623e0a4518a2b517bee870bade09ee4b6a0038f3be9deebdc73fc3dff829/talk_to_a_file-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "b29946412190f83d64aa13f252d822a3cc7be183018b98ba810de54b74574ba0",
"md5": "2ff4cf673057097dc2aff249832dd255",
"sha256": "283ab4cbe707234c9947bb79957af20990fbf55d99453986bf50e06c27d53c78"
},
"downloads": -1,
"filename": "talk_to_a_file-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "2ff4cf673057097dc2aff249832dd255",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 4864,
"upload_time": "2025-10-09T04:09:03",
"upload_time_iso_8601": "2025-10-09T04:09:03.145485Z",
"url": "https://files.pythonhosted.org/packages/b2/99/46412190f83d64aa13f252d822a3cc7be183018b98ba810de54b74574ba0/talk_to_a_file-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-09 04:09:03",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "talk-to-a-file"
}