Skip to main content

CLI interface for finding, downloading and managing scientific articles

Project description

SciDock

PyPI - Version PyPI - Python Version Test with PyTest Lint with Ruff

SciDock is a CLI tool designed to provide a user-friendly interface for finding, downloading and managing scientific articles of your interest!

Installation

The most preferred installation method is via pipx, which enhances all of the benefits of the CLI application while running in an isolated environment.

pipx install scidock

If you don't want to install pipx, you can just run:

pip install scidock

Note: you must have Python 3.12+ installed!

If you want to install the application manually or plan to contribute to the project, consider the "development installation" option (see next section). Otherwise, skip it without a second thought.

Development installation

After installing Poetry on your system, run these commands:

git clone https://github.com/kgleba/scidock.git
cd scidock
poetry shell
poetry install

Usage

To initialize a repository (and set it as a default), run:

scidock init /path/to/repository

To perform a search, execute:

scidock search 'query'

Note that the reason we do not explicitly ask you to provide author name/title/abstract/etc. but rather provide a free-form query is that all of this work is done in the background by Natural Language Processing models.

You can also use the --extend option to expand the search field (e.g., to search through abstracts). By default it is disabled, and search with free-form query is limited to titles.

The dividing line in the search engine results deserves special attention. Behind it are the works that most closely match the query and, as we think, will be most useful to you.

To try and download the paper with a known DOI, execute:

scidock download 'DOI'

To set up a proxy (see the "Supported Resources" section for use cases), use scidock config:

scidock config proxy PROXY_TYPE IP PORT

where PROXY_TYPE is either http or socks5 (depending on the type of proxy you are using).

For example:

scidock config proxy socks5 127.0.0.1 1080

You can now force other commands (like search and download) to make the appropriate network requests through the proxy by passing the --proxy flag

To open locally stored PDFs in your standard viewer, run with free-form request:

scidock open 'query'

Planning to introduce new features soon: e.g. to cite any of the papers stored in the local database.

Aesthetically pleasing demos will also appear here soon :D

Supported resources

✔️ CrossRef (for searching through an enormous database with extensive metadata for each entry)

✔️ arXiv (for searching and downloading freely published preprints)

✔️ Sci-Hub (for downloading paywalled PDFs by given DOI; might require a proxy though)

✔️ Some resources that are known to publish works with open access: IEEE, IntechOpen and MDPI

Google Scholar (yet)

CyberLeninka (for Russian queries)

GeneralIndex

❌ Anna's Archive

Limitations

  • Proxies do not support authentication
  • Performance still requires attention
  • Some parts of the system are still poorly configurable or not configurable at all

Don't hesitate to open issues as the project is still in beta testing!

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

scidock-0.1.2.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scidock-0.1.2-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file scidock-0.1.2.tar.gz.

File metadata

  • Download URL: scidock-0.1.2.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Windows/11

File hashes

Hashes for scidock-0.1.2.tar.gz
Algorithm Hash digest
SHA256 150632ab15b10c180b89b777dc34e8dc500ff62d08fb629cfe2fad6c085acf31
MD5 b69b2ac59ba533801e3325ec8a527d75
BLAKE2b-256 1f7c9ca053db4958897c9bf9870097c31f87a2350e32bfcae148dfcfd99a7286

See more details on using hashes here.

File details

Details for the file scidock-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: scidock-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Windows/11

File hashes

Hashes for scidock-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0c1bc83971fdd7878caffa31ca7032171cfd2c80837bfca5fb7ed1760a29d158
MD5 d523d2ef45d4aced00ca26d7d45db94b
BLAKE2b-256 a765d5c772a75e6b2179956551fb7c5790c11740ebe570119e373255412e1616

See more details on using hashes here.

Supported by

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