Skip to main content

Manage your ever-growing list of research papers

Project description

rsrch

Manage your research papers from the command line. This project lets you update a Notion database with arXiv links and download PDFs of papers to your local machine.

image

Installation

  1. Create an internal integration in Notion.

  2. Add the integration to the database you want to download from.

  3. Create a .env file with the following variables:

    NOTION_TOKEN=secret_XXXXXXXX
    NOTION_DATABASE_ID=XXXXXXXXXXXXXXXX
    

    Your NOTION_TOKEN can be found in your integrations page and is called the Internal Integration Token. The NOTION_DATABASE_ID can be found in the URL of your database (https://www.notion.so/{workspace_name}/{database_id}?v={view_id}).

  4. Install local dependencies:

    pip install rsrch
    
  5. Important: Your Notion database must have the following columns with the corresponding types:

    • Title: Title
    • URL: URL
    • Date: Date
    • Authors: Text

    You can add more columns, but these are the ones that are required.

Usage

Download

This will download all the papers from your Notion database to the papers/ directory.

from rsrch import download
download()

image

Upload

You can upload arXiv abstract links, PDF links, or IDs to your Notion database and have it autofill all of the relevant fields.

from rsrch import upload
upload()

image

Alternatively, you can add non-arXiv links manually to Notion.

Notes

  • Uploading papers to Notion is currently only supported for arXiv links. Papers with titles that already exist in the database will not be uploaded.
  • I plan on adding support for other databases in the future, but for now it only works with Notion databases.

Resources

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

rsrch-0.1.4.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

rsrch-0.1.4-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file rsrch-0.1.4.tar.gz.

File metadata

  • Download URL: rsrch-0.1.4.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for rsrch-0.1.4.tar.gz
Algorithm Hash digest
SHA256 f69a4d70ca621bdd46138b2ec9c57acf7ecd2314d20469511e4bce8d9919eb85
MD5 c3faec9dce1b2f98d09c8abedf367bd2
BLAKE2b-256 0686a875665a7cc84905a16fbb6fcabe34f2825cb704774f364d397a740f1ce3

See more details on using hashes here.

File details

Details for the file rsrch-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: rsrch-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for rsrch-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9b1b3b89cdff4bacfbec8a2d0559fd1fb07d5bee3c63fcfd220866a1f436229a
MD5 d587690db817c3aa1997788fa855b8c7
BLAKE2b-256 62300df724fa4f1916b6afc72d8ba20c18383f2f9c394327abaddc3fe190b551

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