Skip to main content

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

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.1
poetry version $VERSION
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.1.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

i_hate_papers-0.1.1-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file i_hate_papers-0.1.1.tar.gz.

File metadata

  • Download URL: i_hate_papers-0.1.1.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

Hashes for i_hate_papers-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d42606e905305ecd7cd9b6da055fc43b9b4288d8a810d3d5c348e0330288e6d9
MD5 5ef985abee2b9fec9319cd265fad8ad6
BLAKE2b-256 84759c014d07141981abe4569ea283345722abbde5bdcafb902e728433b61197

See more details on using hashes here.

File details

Details for the file i_hate_papers-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: i_hate_papers-0.1.1-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

Hashes for i_hate_papers-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 776b7b03a03f0acdbaaea0215c9ccf93419e96297c570015d2ea50ef541f824c
MD5 ab3e7ef2121476cb06258ede40bcce72
BLAKE2b-256 8b6e25cc0d00cc8a0349aa373d3de5474e0d2cd16558235f7bdc2f0855fce99b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page