7ef58745e1
Better validation of args and logging of non success responses
2022-11-24 00:21:21 +01:00
b076b1274b
Handle errors from deluge-client cracefully with logs
2022-11-24 00:18:26 +01:00
97d86253c8
Include id when printing torrent
2022-11-24 00:17:42 +01:00
d546027df7
Better adding of new log handlers
...
- __init__.py exports addHandler function for adding new handlers
- when --json flag is set we try disable all ch logs
2022-11-24 00:15:35 +01:00
2420d9e8c4
Define install_requires with minimal versions
2022-11-24 00:12:38 +01:00
2bbf175c2a
Updated for python 3.10
2022-11-24 00:11:57 +01:00
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
9f959dd171
Terminate with exit code. Also structured func resp & print to caller of main.
2022-09-28 19:17:27 +02:00
869fe579ad
Renamed cli params for clearity and consistency
2022-09-28 19:12:53 +02:00
724af16f45
Moved logging setup to init and only define streamhandler from main.
2022-09-28 19:10:01 +02:00
201f944fdc
Updated incorrect markdown table formatting syntax
...
Also bumped package version to 0.2.3
2022-09-26 00:36:52 +02:00
9273666fed
Merge pull request #7 from KevinMidboe/feat/drone-ci
...
Feat: Drone ci
2022-09-26 00:35:03 +02:00
0cc33c98c1
Bumped to version 0.2.2
2022-09-26 00:33:50 +02:00
5ffb97824f
Updated readme w/ drone ci badge
2022-09-26 00:33:19 +02:00
365cfd0911
Simple drone integration that just tries to build package
2022-09-26 00:24:37 +02:00
61d1734954
Merge pull request #6 from KevinMidboe/fix/setuptools-build
...
Fix: Setuptools build
2022-09-26 00:23:01 +02:00
c48b4aa68b
Bumped to version 0.2.1
2022-09-26 00:19:25 +02:00
32cb0e51a7
Created make file w/ build, dist, install & upload
2022-09-26 00:18:19 +02:00
e03247bcc6
Re-ordered setup & logging actions/lines
2022-09-26 00:17:51 +02:00
1b2620b6f2
Renamed file delugeUtils -> utils
2022-09-26 00:17:06 +02:00
b7eb06e266
Moved __version__ to separate file
2022-09-26 00:16:16 +02:00
c09d35670e
Added pypi version badge.
2021-07-05 11:54:58 +02:00
39661ea3db
Naming conflict, renaming pypi project name to suffixed w/ -kevin.
2021-07-04 16:41:30 +02:00
df8fdbd4fa
Moved appending pacakge to path from setup.py to __init__ file.
2021-07-04 16:35:52 +02:00
177d73c516
Removed log file.
2021-07-04 16:35:12 +02:00
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
9d34802957
Removed unused, and updated packages.
2021-07-04 16:24:26 +02:00
e36ba428a7
Setup file for building package.
2021-07-03 21:04:58 +02:00
57b1b4e1f2
log file added to gitignore
2020-04-19 14:25:44 +02:00
fada382a32
Removed relative import of utils.
2020-04-19 14:25:32 +02:00
8d943cb1ad
Destroy flag added to remove function (default false) and argv parameters
2020-04-19 14:25:08 +02:00
bd516f34d8
Updated cryptography to version 2.5
2020-04-19 14:24:08 +02:00
cfe14dd1ba
Changed formatting encoding from ascii to utf-8
2020-04-19 14:23:45 +02:00
5e39ecb8bc
Removed Paramiko, unused package.
2019-05-14 09:29:58 +02:00
bea0870efd
Changed server port from localhost to 0.0.0.0
2018-08-12 18:30:06 +02:00
3a8bebaea9
Change text of response message.
2018-08-12 17:30:27 +02:00
50c73ea203
Updated with text input field.
2018-08-12 17:29:59 +02:00
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
a5eb22ae5a
Updated example to also send name to server and displaying response.
2018-08-12 17:13:07 +02:00
62abdd904a
Added example usage for deluge_socket connection.
2018-08-12 16:36:04 +02:00
92118bedf4
Updated requirements to include all used packages and added websockets package.
2018-08-12 16:35:25 +02:00
3d0d039626
Added absolute path to log directory.
2018-05-14 11:00:21 +02:00
7fcb14c2ca
utils imported as file not directory. Moved getConfig function up.
2018-05-13 20:00:58 +02:00
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
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
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
a6198e0b5c
Fancy new header and snyk badge integration.
2018-05-06 01:01:19 +02:00
e9885015aa
Removed unused comments.
2018-05-06 00:43:24 +02:00
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
2b3291aefd
Added ssh settings to config file.
2018-05-06 00:08:12 +02:00