Skip to main content

John Hoffman's fork of the original bittorrent, we do some modify and use it as torrent download library

Project description

# Atproject

Becuase this package in under development, so we have not upload it to PyPI yet. When this project is good enough,

we will upload it to PyPI, at that time, user can use “pip install academictorrents” install this module.

# How to Install:

in termimal copy the following command:

  1. if you have administrator permission:

    sudo pip install git+https://github.com/liuyifei0226/atproject

  2. If you do not have administrator permission, please use:

    pip install git+https://github.com/liuyifei0226/atproject –user

# How to use:
  1. After installing the Academictorrents, enter python in terminal, get into python commond line:

    python

and you’ll see

>>>

This means you’re in python now.

(2) Import academictorrents in your python. For your convinience, you can import it as at for short:

import academictorrents as at

(3) Download the file. Use the command at.get(” “) to download the file you need. Here you should pay attention that your current path should be higher than the folder you save your .torrent file. For example, if you put your .torrent file in the folder /Users/ABC/Downloads, you should at Downloads or ABC to download the file.

>>> at.get("path/torrentname.torrent")

When you see something like

saving: devinberg.com_471592PB.pdf (0.2 MB) percent done: 0.0 time left: download to: /Users/ChunjieXu/devinberg.com_471592PB.pdf download rate: 0.0 kB/s upload rate: 0.0 kB/s share rating: 0.000 (0.0 MB up / 0.0 MB down) seed status: 1 seen now, plus 0.000 distributed copies peer status: 1 seen now, 0.0% done at 0.0 kB/s

saving: devinberg.com_471592PB.pdf (0.2 MB) percent done: 86.4 time left: complete! download to: /Users/ChunjieXu/devinberg.com_471592PB.pdf download rate: 29.6 kB/s upload rate: 0.0 kB/s share rating: 0.000 (0.0 MB up / 0.2 MB down) seed status: 4 seen now, plus 0.000 distributed copies peer status: 0 seen now, 0.0% done at 0.0 kB/s

saving: devinberg.com_471592PB.pdf (0.2 MB) percent done: 100 time left: Download Succeeded! download to: /Users/ChunjieXu/devinberg.com_471592PB.pdf download rate: upload rate: 0.0 kB/s share rating: 0.000 (0.0 MB up / 0.2 MB down) seed status: 4 seen now, plus 0.000 distributed copies peer status: 0 seen now, 0.0% done at 0.0 kB/s

Congratulations! This means your academic torrents works perfect. You can Press “Control+C” to quit and get back to python.

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

atproject_1_1.tar.gz (240.4 kB view details)

Uploaded Source

File details

Details for the file atproject_1_1.tar.gz.

File metadata

  • Download URL: atproject_1_1.tar.gz
  • Upload date:
  • Size: 240.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for atproject_1_1.tar.gz
Algorithm Hash digest
SHA256 57212e0fa2cfc29964b2a6aa1a37f2afb86c37e8616dff34d8ec33e2f3e020be
MD5 98758c636db5750f67e370bf53e7f478
BLAKE2b-256 1e8e44d6d87dcf069677554541d6b1b26e0415830bdb21a29e2f88b80a611399

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