{ "info": { "author": "drakejin", "author_email": "dydwls121200@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Text Processing :: Linguistic" ], "description": "pi-email-transmission[PET]\n==========================\n\n- This program needs to set up two serivce. Email service and\n Transmission's Web Controller\n- It will be make cool if you download any files on Raspberry-pi\n through transmission\n- This program's all about feature depend on Email service and\n Transmission.\n- Simply say about this. It just connect Email service and transmission\n web controller\n\nMotivate\n========\n\n- I don't wanna waste resources on my laptop and Smartphone. cause'\n it's totally be hot when running torrent.\n\nRecommand\n=========\n\n1. Basically, This program is designed for reducing laptop resources.\n Therefore, I recommand to run this program on *raspberry-pi*.\n2. Use this program with *Dropbox* or *GoogleDrive* to access your\n downloaded media files.\n3. If you can use E-Mail notification service on your smartphone, It's\n good interaction.\n\nInstall\n=======\n\n.. code:: python\n\n $ git clone https://github.com/drake-jin/pi-email-transmission\n $ cd pi-email-transmission\n $ pip install -e .\n\nConfiguration\n=============\n\n1. Set up transmission web controller setting\n\n - If you use Dropbox or GoogleDrive. redirect directory to there.\n - Must check you have account information and host, port\n\n2. Check your e-mail account available IMAP and SMTP Protocol\n\n - This application need to transport through IMAP, SMTP Protocol.\n - Therefore, you must set up IMAP and SMTP protocol available on you\n email account.\n\n3. Set up *pi-email-transmission*'s config.json file\n\n.. code:: python\n\n # config.json\n {\n \"check_interval\":10,\n \"log_level\":\"DEBUG\",\n \"email\":{\n \"imap\" : \"imap.gmail.com:993\",\n \"smtp\" : \"smpt.gmail.com:465\"\n \"folder\" : \"pi-imap-transmission\",\n \"user\" : \"{email_id}@gmail.com\",\n \"password\" : \"{email_password}\"\n },\n \"transmission\":{\n \"user\":\"{trnsmsn_id}\",\n \"password\":\"{trnsmsn_passwd}\",\n \"host\":\"http://localhost:9091\"\n }\n }\n\n4. Set up Envrironment variables\n\n.. code:: python\n\n $ export PET_HOME=/home/likemilk/workspace/pi-email-transmission\n\n5. Finally, You can check correct setting about this program when you\n execute this command\n\n.. code:: python\n\n $ python setup.py test\n # Have to finish setting Configurations!\n\nConfiguration Images\n====================\n\nEmail-Naver\n~~~~~~~~~~~\n\n.. figure:: https://raw.githubusercontent.com/drake-jin/pi-email-transmission/master/docs/email_naver.png\n :alt: Email-Naver Configuration\n\n Email-Naver Configuration\n\nEmail-Google\n~~~~~~~~~~~~\n\n.. figure:: https://raw.githubusercontent.com/drake-jin/pi-email-transmission/master/docs/email_google.png\n :alt: Email-Google Configuration\n\n Email-Google Configuration\n\nTransmission-gtk\n~~~~~~~~~~~~~~~~\n\n.. figure:: https://raw.githubusercontent.com/drake-jin/pi-email-transmission/master/docs/transmission.png\n :alt: Transmission Configuration\n\n Transmission Configuration\n\nHow is it work going?\n=====================\n\n.. code:: python\n\n # *It's just psuedo code. not a real code*\n class Service(Thread):\n\n while(True):\n time.sleep(config['interval_check'])\n # 1. read all of e-mails and check UNSEEN email\n # 2. get torrent file and add it on tranmission through pay load\n # 3. send email about complete or failed\n # 4. send seen flag\n torrentList = email.get_torrent('(UNSEEN)')\n for torrent in torrentList:\n if(transmission.add_torrent(torrent)):\n email.send('add_complete', torrent)\n else:\n email.send('add_fail', torrent)\n\n email.flag('(SEEN)',torrent.email_id)\n\n # 1. read all of Trnasmission download Queue.\n # 2. get Completed entry and delete the entry.\n # 3. send email about complete. \n torrentList = transmission.get_completed('Completed')\n for torrent in torrentList:\n if(transmission.delete_torrent(torrent)):\n email.send('download_complete')\n else:\n email.send('delete_error')\n\nContact Me\n==========\n\n- `dydwls121200@gmail.com `__ is my mail\n- Welcome PR or be Contributor. I want to play coding with you.\n- Really Welcome Feedback and Any Issues.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/drake-jin/pi-email-transmission/archive/0.3.4.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/drake-jin/pi-email-transmission", "keywords": "torrent transmission rpc email download bittorrent utorrent", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pet", "package_url": "https://pypi.org/project/pet/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pet/", "project_urls": { "Download": "https://github.com/drake-jin/pi-email-transmission/archive/0.3.4.tar.gz", "Homepage": "http://github.com/drake-jin/pi-email-transmission" }, "release_url": "https://pypi.org/project/pet/0.3.4/", "requires_dist": null, "requires_python": null, "summary": "This program or lib can download torrent file throughemail account and send the torrent file to transmission web controller", "version": "0.3.4" }, "last_serial": 2731619, "releases": { "0.3.1": [ { "comment_text": "", "digests": { "md5": "5d6c653337010da086ac69a705ce7a2d", "sha256": "de52c29cab266393076785573a9b1fb7e90080e2b9f3bae0c4bd2623488e0ccc" }, "downloads": -1, "filename": "pet-0.3.1.tar.gz", "has_sig": false, "md5_digest": "5d6c653337010da086ac69a705ce7a2d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 414954, "upload_time": "2017-03-26T11:09:50", "url": "https://files.pythonhosted.org/packages/06/81/0114f6d4f5322a5f3305d0f7f35b08dd5e51b9c016bbc103d3b764616ce5/pet-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "f95dca6203f1298325bf58c3f40b9e8f", "sha256": "295d742eb1893564b6566bf829fcb080aa444e04695980b3565dbfdef4752002" }, "downloads": -1, "filename": "pet-0.3.2.tar.gz", "has_sig": false, "md5_digest": "f95dca6203f1298325bf58c3f40b9e8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 414073, "upload_time": "2017-03-26T11:15:12", "url": "https://files.pythonhosted.org/packages/82/71/7ae1e7f064b083dcae75ef7355f3ed5934b5da8621e033ccb24c4ecc04b6/pet-0.3.2.tar.gz" } ], "0.3.4": [] }, "urls": [] }