Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
This program or lib can download torrent file throughemail account and send the torrent file to transmission web controller
Readme
.. code:: python
$ git clone https://github.com/drake-jin/pi-email-transmission
$ cd pi-email-transmission
$ pip install -e .
Set up transmission web controller setting
Check your e-mail account available IMAP and SMTP Protocol
Set up pi-email-transmission's config.json file
.. code:: python
# config.json
{
"check_interval":10,
"log_level":"DEBUG",
"email":{
"imap" : "imap.gmail.com:993",
"smtp" : "smpt.gmail.com:465"
"folder" : "pi-imap-transmission",
"user" : "{email_id}@gmail.com",
"password" : "{email_password}"
},
"transmission":{
"user":"{trnsmsn_id}",
"password":"{trnsmsn_passwd}",
"host":"http://localhost:9091"
}
}
4. Set up Envrironment variables
.. code:: python
$ export PET_HOME=/home/likemilk/workspace/pi-email-transmission
5. Finally, You can check correct setting about this program when you execute this command
.. code:: python
$ python setup.py test
# Have to finish setting Configurations!
Email-Naver
.. figure:: https://raw.githubusercontent.com/drake-jin/pi-email-transmission/master/docs/email_naver.png
:alt: Email-Naver Configuration
Email-Naver Configuration
Email-Google
.. figure:: https://raw.githubusercontent.com/drake-jin/pi-email-transmission/master/docs/email_google.png :alt: Email-Google Configuration
Email-Google Configuration
Transmission-gtk
.. figure:: https://raw.githubusercontent.com/drake-jin/pi-email-transmission/master/docs/transmission.png
:alt: Transmission Configuration
Transmission Configuration
How is it work going?
=====================
.. code:: python
# *It's just psuedo code. not a real code*
class Service(Thread):
while(True):
time.sleep(config['interval_check'])
# 1. read all of e-mails and check UNSEEN email
# 2. get torrent file and add it on tranmission through pay load
# 3. send email about complete or failed
# 4. send seen flag
torrentList = email.get_torrent('(UNSEEN)')
for torrent in torrentList:
if(transmission.add_torrent(torrent)):
email.send('add_complete', torrent)
else:
email.send('add_fail', torrent)
email.flag('(SEEN)',torrent.email_id)
# 1. read all of Trnasmission download Queue.
# 2. get Completed entry and delete the entry.
# 3. send email about complete.
torrentList = transmission.get_completed('Completed')
for torrent in torrentList:
if(transmission.delete_torrent(torrent)):
email.send('download_complete')
else:
email.send('delete_error')
Contact Me
==========
- `dydwls121200@gmail.com <dydwls121200@gmail.com>`__ is my mail
- Welcome PR or be Contributor. I want to play coding with you.
- Really Welcome Feedback and Any Issues.
FAQs
This program or lib can download torrent file throughemail account and send the torrent file to transmission web controller
We found that pet demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.