Socket
Socket
Sign inDemoInstall

atproject

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    atproject

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


Maintainers
1

Readme

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.

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc