Commit graph

51 commits

Author SHA1 Message Date
Daniel Salzman
831e3a9854 knot_exporter: fix typo in pyproject.toml.in 2023-08-25 16:04:15 +02:00
Daniel Salzman
630dfcc226 python: fix paths to knot_exporter and libknot source 2023-08-23 18:05:20 +02:00
Jakub Ružička
544095536b python: improve build file selection
Disable the use of .gitignore for builds:

[tool.hatch.build]
ignore-vcs = true
2023-08-21 16:07:35 +02:00
Daniel Salzman
80b604f1df python: add knot_exporter
Based on https://github.com/salzmdan/knot_exporter,
commit 564a6daa3e17f68e410d25fe4b876d79e418d4d1
2023-08-21 16:07:35 +02:00
Daniel Salzman
4d7eb96bf9 python: move libknot to a separate subdirectory libknot 2023-08-21 16:07:35 +02:00
Daniel Salzman
196fdf6e7c python: add pyproject.toml and hatchling support, keep setup.py for compatibility 2023-08-21 16:07:35 +02:00
Daniel Salzman
27308ee8e0 python: add dname from bytes initialization (in cooperation with Jan Hák) 2023-06-22 13:30:12 +02:00
Daniel Salzman
c71600db14 probe: add support for UNIX socket protocol 2023-01-04 08:48:43 +01:00
Daniel Salzman
c649290a06 python: add wrapper for some dname operations 2022-12-02 07:51:44 +01:00
Daniel Salzman
a8525ade5d server: add proto value to qdata and remove redundant qdata flags
Also add QUIC support to mod-stats and mod-probe.
Restrict the proxy mode to UDP in the xdp-handler.
2022-07-24 19:34:26 +02:00
Daniel Salzman
bbd532d87f python/libknot: remove some compatibility for Python2, improve function output 2022-05-17 11:07:31 +02:00
Daniel Salzman
c8bcea98c0 python/libknot: raise various control exceptions to better distinguish the exception source 2022-05-17 09:38:29 +02:00
Daniel Salzman
15cd3fb044 python: tiny control example extension 2022-05-12 12:47:20 +02:00
Daniel Salzman
8fd1730605 ctl: fix listing current zones 2022-03-03 13:04:48 +01:00
Daniel Salzman
9bf810a2c5 python: various probe improvements 2021-11-23 08:47:50 +01:00
Daniel Salzman
9e0cc6ddb4 python/setup: remove absolute path to package
This reverts 10516d0905, which broke installation
from PyPi with the message:
error: package directory '...' does not exist
2021-09-09 15:36:58 +02:00
Daniel Salzman
802c0d183a python: add long_description_content_type to setup.py 2021-08-02 09:51:54 +02:00
Jan Hak
ead09de3b8 python: brief description of the Python API in README.md 2021-07-31 21:43:05 +02:00
Daniel Salzman
f7e7b44e4f python: add README skeleton 2021-05-31 15:04:23 +02:00
Daniel Salzman
22a742ffce python: add libknot.probe module 2021-05-31 15:04:23 +02:00
Daniel Salzman
1e6506482d python: refactor libknot.control module 2021-05-31 15:04:23 +02:00
Rick van Rein
10516d0905 python: allow calling from other directories 2020-08-07 21:37:06 +02:00
Daniel Salzman
dfdb69bb15 Update links to gitlab.nic.cz 2020-07-28 16:41:05 +02:00
Daniel Salzman
1c42b3998c Revert "python: add libknot installation"
The change didn't work as expected :-/

This reverts commit d71091d135.
2020-05-25 08:46:20 +02:00
Daniel Salzman
d71091d135 python: add libknot installation 2020-05-24 22:06:18 +02:00
Daniel Salzman
8b9fe86bd1 Add 'soname' variable to pkg-config files 2019-01-23 09:05:05 +01:00
Daniel Salzman
464afebcd1 python: add targets for packaging to Makefile 2018-12-12 20:23:09 +01:00
Daniel Salzman
26a5be7416 python: extend .gitignore 2018-11-22 13:27:30 +01:00
Daniel Salzman
faf44dc421 python: improve libknot detection 2018-11-21 13:57:11 +01:00
Daniel Salzman
6a27e8b819 README: switch to libidn2 for Fedora 2018-11-20 15:38:58 +01:00
Daniel Salzman
efac81acec python: add setup.py 2018-11-16 15:04:24 +01:00
Daniel Salzman
4b4f2b969d python: move stats_*.py to samples 2018-11-16 13:00:19 +01:00
Daniel Salzman
c1e844cc05 python: add comment about libknot.so loading 2018-10-24 12:51:02 +02:00
Ladislav Lhotka
f45f184a43 Fix import 2018-10-19 15:08:53 +02:00
Daniel Salzman
b937dd8125 python: add platform detection to fix default library name on macOS 2017-07-24 09:23:21 +02:00
Daniel Salzman
14960ca3cd python/control: add the FILTER index 2017-05-25 09:43:17 +02:00
Daniel Salzman
165df7f1c3 python/libknot: encode stats values as integer 2017-02-10 09:11:36 +01:00
Daniel Salzman
ab08ecc821 python/libknot: make KnotCtlError.str() one-liner 2017-01-15 10:02:37 +01:00
Daniel Salzman
9ff123bed3 python/control: fix incomplete block read if error 2017-01-09 13:56:12 +01:00
Daniel Salzman
94dbffdfa7 python/control: raise KnotCtlError instead of general Exception 2017-01-09 13:56:12 +01:00
Daniel Salzman
de8f2ff2d3 python: add Makefile to distribute the scripts 2016-12-29 15:52:21 +01:00
Filip Siroky
8d9c7e4fb6 python: add InfluxDB sender script 2016-12-29 15:52:21 +01:00
Filip Siroky
c94197846b python: add statistics over HTTP/HTTPS script 2016-12-29 15:52:21 +01:00
Filip Siroky
051cd24106 python/libknot: add statistics support 2016-12-29 15:52:21 +01:00
Daniel Salzman
5a865e4afa python/control: fix received configuration processing 2016-09-23 09:49:11 +02:00
Daniel Salzman
257b55c915 tests-extra: add support for libknot control interface 2016-09-22 16:08:08 +02:00
Daniel Salzman
2dceb631d6 python: fix libknot version 2016-09-05 16:45:17 +02:00
Filip Siroky
1ac27258e1 journal: refactored journal_open 2016-08-23 14:24:22 +02:00
Daniel Salzman
9c8dcf8495 python: update control with zone operations 2016-07-15 12:24:00 +02:00
Daniel Salzman
0fea7f15e7 python: extend control interface 2016-05-06 09:39:25 +02:00