Commit Graph

64 Commits

Author SHA1 Message Date
KevinMidboe 3fa8c4b18f Add build for amd64 & arm64 arch + start of publish steps 2022-11-24 22:30:03 +01:00
KevinMidboe 11e9677d1a Split wheel and tarball dist into separate make cmds 2022-11-24 22:29:50 +01:00
KevinMidboe 519b51c47c Updated python requirements file 2022-11-24 21:32:08 +01:00
KevinMidboe 6fd63ff348 Delete requirements.txt 2022-11-24 01:16:40 +01:00
KevinMidboe 74f6f2b06f Updated pacakge version to 0.3.1 2022-11-24 00:21:33 +01:00
KevinMidboe 7ef58745e1 Better validation of args and logging of non success responses 2022-11-24 00:21:21 +01:00
KevinMidboe b076b1274b Handle errors from deluge-client cracefully with logs 2022-11-24 00:18:26 +01:00
KevinMidboe 97d86253c8 Include id when printing torrent 2022-11-24 00:17:42 +01:00
KevinMidboe 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
KevinMidboe 2420d9e8c4 Define install_requires with minimal versions 2022-11-24 00:12:38 +01:00
KevinMidboe 2bbf175c2a Updated for python 3.10 2022-11-24 00:11:57 +01:00
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