Commit Graph

53 Commits

Author SHA1 Message Date
KevinMidboe 8597615e68 Replaced docopt with typer. Bumps version to 0.3.0
Switched out the cli package to typer.
Removed progress command since it did mostly what ls did.
Priting Torrents pads output to be a bit more readable.
Make sure to disconnect from deluge & ssh before script exits
2022-09-28 21:14:26 +02:00
KevinMidboe 9f959dd171 Terminate with exit code. Also structured func resp & print to caller of main. 2022-09-28 19:17:27 +02:00
KevinMidboe 869fe579ad Renamed cli params for clearity and consistency 2022-09-28 19:12:53 +02:00
KevinMidboe 724af16f45 Moved logging setup to init and only define streamhandler from main. 2022-09-28 19:10:01 +02:00
KevinMidboe 201f944fdc Updated incorrect markdown table formatting syntax
Also bumped package version to 0.2.3
2022-09-26 00:36:52 +02:00
KevinMidboe 9273666fed Merge pull request #7 from KevinMidboe/feat/drone-ci
Feat: Drone ci
2022-09-26 00:35:03 +02:00
KevinMidboe 0cc33c98c1 Bumped to version 0.2.2 2022-09-26 00:33:50 +02:00
KevinMidboe 5ffb97824f Updated readme w/ drone ci badge 2022-09-26 00:33:19 +02:00
KevinMidboe 365cfd0911 Simple drone integration that just tries to build package 2022-09-26 00:24:37 +02:00
KevinMidboe 61d1734954 Merge pull request #6 from KevinMidboe/fix/setuptools-build
Fix: Setuptools build
2022-09-26 00:23:01 +02:00
KevinMidboe c48b4aa68b Bumped to version 0.2.1 2022-09-26 00:19:25 +02:00
KevinMidboe 32cb0e51a7 Created make file w/ build, dist, install & upload 2022-09-26 00:18:19 +02:00
KevinMidboe e03247bcc6 Re-ordered setup & logging actions/lines 2022-09-26 00:17:51 +02:00
KevinMidboe 1b2620b6f2 Renamed file delugeUtils -> utils 2022-09-26 00:17:06 +02:00
KevinMidboe b7eb06e266 Moved __version__ to separate file 2022-09-26 00:16:16 +02:00
KevinMidboe c09d35670e Added pypi version badge. 2021-07-05 11:54:58 +02:00
KevinMidboe 39661ea3db Naming conflict, renaming pypi project name to suffixed w/ -kevin. 2021-07-04 16:41:30 +02:00
KevinMidboe df8fdbd4fa Moved appending pacakge to path from setup.py to __init__ file. 2021-07-04 16:35:52 +02:00
KevinMidboe 177d73c516 Removed log file. 2021-07-04 16:35:12 +02:00
KevinMidboe 518b5b0e78 Restructured project files.
Moved all packages files to delugeClient folder.
Split contents of deluge_cli to __main__, utils, deluge & torrent.
Config default changed from config.ini --> delugeClient/default_config.ini.
Setup.py updated with new entry.
2021-07-04 16:28:23 +02:00
KevinMidboe 9d34802957 Removed unused, and updated packages. 2021-07-04 16:24:26 +02:00
KevinMidboe e36ba428a7 Setup file for building package. 2021-07-03 21:04:58 +02:00
KevinMidboe 57b1b4e1f2 log file added to gitignore 2020-04-19 14:25:44 +02:00
KevinMidboe fada382a32 Removed relative import of utils. 2020-04-19 14:25:32 +02:00
KevinMidboe 8d943cb1ad Destroy flag added to remove function (default false) and argv parameters 2020-04-19 14:25:08 +02:00
KevinMidboe bd516f34d8 Updated cryptography to version 2.5 2020-04-19 14:24:08 +02:00
KevinMidboe cfe14dd1ba Changed formatting encoding from ascii to utf-8 2020-04-19 14:23:45 +02:00
KevinMidboe 5e39ecb8bc Removed Paramiko, unused package. 2019-05-14 09:29:58 +02:00
KevinMidboe bea0870efd Changed server port from localhost to 0.0.0.0 2018-08-12 18:30:06 +02:00
KevinMidboe 3a8bebaea9 Change text of response message. 2018-08-12 17:30:27 +02:00
KevinMidboe 50c73ea203 Updated with text input field. 2018-08-12 17:29:59 +02:00
KevinMidboe 5ed1c6ebdf Added example usage for deluge_socket connection. Includes to endpoints that send a timestamp from server to client every second and to send a response to receiving a message from client. 2018-08-12 17:18:58 +02:00
KevinMidboe a5eb22ae5a Updated example to also send name to server and displaying response. 2018-08-12 17:13:07 +02:00
KevinMidboe 62abdd904a Added example usage for deluge_socket connection. 2018-08-12 16:36:04 +02:00
KevinMidboe 92118bedf4 Updated requirements to include all used packages and added websockets package. 2018-08-12 16:35:25 +02:00
KevinMidboe 3d0d039626 Added absolute path to log directory. 2018-05-14 11:00:21 +02:00
KevinMidboe 7fcb14c2ca utils imported as file not directory. Moved getConfig function up. 2018-05-13 20:00:58 +02:00
KevinMidboe 51461cee5e Created a lambda function for converting numeric boolean to python values. Changed attribute packed to isFolder. Added finished attribute to also be returned when wanting progress. 2018-05-13 19:03:22 +02:00
KevinMidboe 75bd387904 Changed back to rename taking name not id as input arg. Changed progress function to return a dict of torrents with only the values relevant for checking progress. This also needed the filterOnValue. Torrents toJSON function returns lowercase dict keys. 2018-05-13 18:43:01 +02:00
KevinMidboe 0230298479 Renamed ls function to get_all. Also updated the remove function to delete by id, not name and to have better error handling and reporting. 2018-05-06 18:04:48 +02:00
KevinMidboe a6198e0b5c Fancy new header and snyk badge integration. 2018-05-06 01:01:19 +02:00
KevinMidboe e9885015aa Removed unused comments. 2018-05-06 00:43:24 +02:00
KevinMidboe 84e78c55f0 Added ssh tunnel for connceting to a remote deluge RPC client. Also added check for values in config file. 2018-05-06 00:29:38 +02:00
KevinMidboe 2b3291aefd Added ssh settings to config file. 2018-05-06 00:08:12 +02:00
KevinMidboe 7135dcfead Add command for deluge magnet torrent. 2018-05-05 22:50:42 +02:00
KevinMidboe d8688b1c68 Added search function for partial string match. Added get and remove functions. The torrent class does a mapping of paused to python boolean value with strtobool. Removed some unused comments. 2018-05-04 15:17:21 +02:00
KevinMidboe a1e5b1f784 Added README 2018-05-04 00:19:34 +02:00
KevinMidboe 9e5db1d874 Merge branch 'master' of github.com:KevinMidboe/delugeClient 2018-05-04 00:09:20 +02:00
KevinMidboe 13062e9244 Initial commit 2018-05-04 00:05:53 +02:00
KevinMidboe 676af42934 Utils script for coloring log based on logger status filter and convert function for converting byte dict to a dict of strings. 2018-05-04 00:05:14 +02:00