67 Commits

Author SHA1 Message Date
KevinMidboe adf8f3f1ef Removed id from torrent print 2022-11-28 15:29:30 +01:00
KevinMidboe 8f2327c065 Feat: Importable package (#10)
* Append package directory to path

* Import all local files prefixed by package name

* Updated readme with -m flag for local development

* Decresed help text width in readme

* Bumped version to 0.3.4
2022-11-27 17:06:03 +01:00
KevinMidboe 9bfa3c4c59 Bumped package version to 0.3.3 2022-11-26 14:46:12 +01:00
KevinMidboe 078d422498 CI: PyPi publish to test & by token (#9)
* Publish to pypi test using env variables from secret

* Also publish for this branch

* Uploaded config sig

* Updated incorrect image version declaration

* Enable publish to pypi & test pypi
2022-11-26 14:43:19 +01:00
KevinMidboe a6fb543b3f CI: Build and pypi publish (#8)
* Split wheel and tarball dist into separate make cmds

* Add build for amd64 & arm64 arch + start of publish steps

* test step indentation fking with lint

* add missing pipenv command

* test explicitly defining wheel version

* try install requirements first

* sync pipenv after install

* fixed typo in pacakge name

* Publish depends on build

* Install python dependencies before publish

* Twince check command before upload

* If source is newer than pypi, exit 0 and continue pipeline

* If source is newer than pypi, exit 0 and continue pipeline

* Clearer output text for publish version

* Clearer output text for publish version

* Only run public package when interacting with master

* Updated readme and license in setup.py

* Remove test pypi publish ci step

* Exclude publish step when PR towards master

* Bumped package version to 0.3.2

* Try install built wheel with wildcard

* Sign drone config file

View docs for more info on signing: https://docs.drone.io/signature/
2022-11-26 13:31:04 +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