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.
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
Example output
- Example Markdown
- Example HTML (includes rendered math using MathJax)
Reference
❱ i_hate_papers --help
usage: i_hate_papers [-h] [--verbosity {0,1,2}] [--no-input] [--no-html] [--no-open]
[--detail-level {0,1,2}] [--model MODEL] INPUT
Summarise an arXiv 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 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)
--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.0
git tag "v$VERSION"
git push origin 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.1.0.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file i_hate_papers-0.1.0.tar.gz
.
File metadata
- Download URL: i_hate_papers-0.1.0.tar.gz
- Upload date:
- Size: 6.2 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 | dfdfeda10a37aaed32910f5507ac7b1b10402b7b41a9c56916054b92c5c16c1b |
|
MD5 | c4eb4e75ba36f31761ea60e4be508a4d |
|
BLAKE2b-256 | a9b5b72820860783e7f103a8d29b5fb79e8ee3e1abfbe51bc0313902692513ba |
File details
Details for the file i_hate_papers-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: i_hate_papers-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.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 | fd38c639f8d9a0557471d73c4baa265f36e5cdafc8956ff65e15d534fab17454 |
|
MD5 | d48bb04a08d431474e996883b01f456c |
|
BLAKE2b-256 | 1b81be4e9d1701a53b17dc9447523d47694be0f6d284970c8bd780011700eef4 |