No project description provided
Project description
I "Hate" Papers
Create easily readable versions of papers via OpenAI
I often need to read a paper to provide background on a related topic. In these cases the technical depth of a paper can be a major obstacle. So I created I Hate Papers to create easily digestible versions of academic research.
Currently works with:
- An arXiv paper ID
- A local
.tex
file - A local
.md
file - A local
.html
file (experimental)
Installation
pip install i-hate-papers
Example use
# First set your OpenAI API key
❱ export OPENAI_API_KEY=...
# Summarise a arXiv paper ID
❱ i_hate_papers 2106.09685
# Summarise a latex file
❱ i_hate_papers path/to/some-paper.tex
# Summarise a html file
❱ i_hate_papers path/to/some-paper.html
Example output
- Example HTML (includes rendered math using MathJax)
- Example Markdown
Reference
❱ i_hate_papers --help
usage: i_hate_papers [-h] [--verbosity {0,1,2}] [--no-input] [--no-html] [--no-open] [--no-footer]
[--no-glossary] [--detail-level {0,1,2}] [--model MODEL] INPUT
Summarise an academic paper
You must set the OPENAI_API_KEY environment variable using your OpenAi.com API key
positional arguments:
INPUT arXiv paper ID (example: 1234.56789) or path to a .tex/.html/.md file
options:
-h, --help show this help message and exit
--verbosity {0,1,2} Set the logging verbosity (0 = quiet, 1 = info logging, 2 = debug logging). Default is 1
--no-input Don't prompt for file selection, just use the largest tex file
--no-html Skip HTML file generation
--no-open Don't open the HTML file when complete (macOS only)
--no-footer Don't include a footer containing metadata
--no-glossary Don't include a glossary
--detail-level {0,1,2}
How detailed should the summary be? (0 = minimal detail, 1 = normal, 2 = more detail)
--model MODEL What model to use to generate the summaries
Release process
For internal use:
export VERSION=0.1.1
poetry version $VERSION
git ci -a -m "Releasing version $VERSION"
git tag "v$VERSION"
git push origin main refs/tags/v$VERSION
poetry publish --build
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
i_hate_papers-0.2.0.tar.gz
(11.0 kB
view details)
Built Distribution
File details
Details for the file i_hate_papers-0.2.0.tar.gz
.
File metadata
- Download URL: i_hate_papers-0.2.0.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/22.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b94e836ffe02c12d64ef3cb7596a9a8d53f76ef46f7accb1cf062fa3676b2d4 |
|
MD5 | 348b5320e7cae3e83fe1598a9e546c65 |
|
BLAKE2b-256 | efbfa655e516ede8b0997760df06446d2941684e8e69b4c7b2a409ea2af7ed57 |
File details
Details for the file i_hate_papers-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: i_hate_papers-0.2.0-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/22.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 103d173c45cb349b3dac6a77621462931bee8cb3c4c41670b27e119b9f4b4f62 |
|
MD5 | 2be098eb2db3356af2074c2a3364d403 |
|
BLAKE2b-256 | 9db246581d42fc1f7478788c49e62628708fcaf0460e40d61f14c11cc20a94c4 |