Skip to main content

No project description provided

Project description

# Nexus Pylon

Pylon is a downloader for scientific publications. - Look articles by DOI, MD5 or IPFS hashes - Validates downloaded items - Streams data by chunks - GRPC-ready

## Build

`bash bazel build -c opt nexus-pylon-wheel `

## Install

### PIP `bash pip3 install nexus-pylon `

## Nexus Pylon CLI

Download scientific publication: `bash pylon download --doi 10.1182/blood-2011-03-325258 --output article.pdf `

Download file by its MD5: `bash pylon download --md5 f07707ee92fa675fd4ee53e3fee977d1 --output article.pdf `

Download file by its multihash: `bash pylon download --ipfs-multihashes '["bafykbzacea3vduqii3u52xkzdqan5oc54vsvedmed25dfybrqxyafahjl3rzu"]' --output article.pdf `

### Using with Selenium

Create directory for exchaning files between host and launched Selenium in Docker `bash mkdir downloads `

Launch Selenium in Docker `bash docker run -e SE_START_XVFB=false -v $(pwd)/downloads:/downloads -p 4444:4444 selenium/standalone-chrome:latest `

Launch Pylon `bash pylon download --doi 10.1101/2022.09.09.507349 --output article.pdf \ --wd-endpoint 'http://127.0.0.1:4444/wd/hub' \ --wd-directory /downloads --wd-host-directory $(pwd)/downloads --debug `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

nexus_pylon-1.0.4-py3-none-any.whl (206.3 kB view details)

Uploaded Python 3

File details

Details for the file nexus_pylon-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: nexus_pylon-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 206.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.7

File hashes

Hashes for nexus_pylon-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dceba429afc5441b13dfa3412f306dbb2de3d59f7575d6deac33d89bccc9e71d
MD5 b9e36db1bffbe86958ca5e238eaf9502
BLAKE2b-256 34af72add61bd7b774169fdc7d4be3e8a2f117e2d4792f762fb7b7a59a411d39

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