fb-pdnstools 1.0.0__py3-none-any.whl → 1.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,53 @@
1
+ Metadata-Version: 2.4
2
+ Name: fb_pdnstools
3
+ Version: 1.1.0
4
+ Summary: @summary: The module for a base PowerDNS handler object.
5
+ Author-email: Frank Brehm <frank@brehm-online.com>
6
+ Requires-Python: >=3.8
7
+ Description-Content-Type: text/markdown
8
+ Classifier: Development Status :: 4 - Beta
9
+ Classifier: Environment :: Console
10
+ Classifier: Framework :: IPython
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
13
+ Classifier: Natural Language :: English
14
+ Classifier: Operating System :: POSIX
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
+ License-File: LICENSE
22
+ Requires-Dist: babel
23
+ Requires-Dist: chardet
24
+ Requires-Dist: fb_logging
25
+ Requires-Dist: fb_tools
26
+ Requires-Dist: pytz
27
+ Requires-Dist: PyYAML
28
+ Requires-Dist: requests
29
+ Requires-Dist: semver
30
+ Requires-Dist: six
31
+ Requires-Dist: black ; extra == "development"
32
+ Requires-Dist: isort ; extra == "development"
33
+ Requires-Dist: hjson ; extra == "development"
34
+ Requires-Dist: flake8 ; extra == "lint"
35
+ Requires-Dist: pylint ; extra == "lint"
36
+ Requires-Dist: flake8-blind-except ; extra == "lint"
37
+ Requires-Dist: flake8-builtins ; extra == "lint"
38
+ Requires-Dist: flake8-bugbear ; extra == "lint"
39
+ Requires-Dist: flake8-class-newline ; extra == "lint"
40
+ Requires-Dist: flake8-comprehensions ; extra == "lint"
41
+ Requires-Dist: flake8-deprecated ; extra == "lint"
42
+ Requires-Dist: flake8-docstrings ; extra == "lint"
43
+ Requires-Dist: flake8-import-order ; extra == "lint"
44
+ Requires-Dist: pytest >= 7.0.0, < 9.0.0 ; extra == "testing"
45
+ Requires-Dist: requests_mock ; extra == "testing"
46
+ Project-URL: Source, https://github.com/fbrehm/fb-pdnstools
47
+ Provides-Extra: development
48
+ Provides-Extra: lint
49
+ Provides-Extra: testing
50
+
51
+ # fb-pdnstools
52
+ Python module to handle with PowerDNS
53
+
@@ -0,0 +1,17 @@
1
+ fb_pdnstools/__init__.py,sha256=m6inNdh2fFgRNV8b0kzJBTnfFQuwNHEOTw_qu75Euos,2743
2
+ fb_pdnstools/base_handler.py,sha256=ikYOuGgchvjjxO6PT7JmwsVA0iUsSvbL870NW4iVcgI,18037
3
+ fb_pdnstools/bulk_rm_app.py,sha256=GgjTgpNmC89ogXKD70wxP1tS7bfDbfVTEyGKdWi0GfU,26330
4
+ fb_pdnstools/bulk_rm_cfg.py,sha256=jtTxFO7h4GuX7T6U6WAQf266CkgOw_IUFH8jzqjZs8w,4782
5
+ fb_pdnstools/common.py,sha256=ZcyvIqaKB7-2CshCNOeifDn98yGcZJ6a1rIJHVt63gI,3209
6
+ fb_pdnstools/errors.py,sha256=4RYHUuradSfow1R4-9YvYv7_ChNfYi7U3vfsZF0_Stc,6307
7
+ fb_pdnstools/record.py,sha256=MFV1rtcL_SwVFlxtbbRNlePvu14B1TZwC53c0d6qGwY,50729
8
+ fb_pdnstools/server.py,sha256=bWeoDbk5uX6IQX-TUifczgn7PyZ1faV4ISXdqXdpu-4,8695
9
+ fb_pdnstools/xlate.py,sha256=SYEJ9hodoZO8vE9HQMB0cVOXFjnTiyOGpOzUA61md_A,3765
10
+ fb_pdnstools/zone.py,sha256=MIZYLYZ5aCzJxVtSX3_ZTMmIpWmhklfzfj6FPegHhNs,58568
11
+ fb_pdnstools-1.1.0.data/data/share/locale/de/LC_MESSAGES/fb_pdnstools.mo,sha256=_Rpi6SgZMgeutivhZcMez4LwuhjuRp5g67wIBXCJUFI,19344
12
+ fb_pdnstools-1.1.0.data/data/share/locale/en/LC_MESSAGES/fb_pdnstools.mo,sha256=orr4_GIZrbd5lX82pYob0wy5EAdDD36eGBQJhzB3SIQ,2231
13
+ fb_pdnstools-1.1.0.dist-info/entry_points.txt,sha256=wBht03VlaRuem9xZQ-1Lq5MeM6T9M88NPhqeFjuWsRg,66
14
+ fb_pdnstools-1.1.0.dist-info/licenses/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
15
+ fb_pdnstools-1.1.0.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
16
+ fb_pdnstools-1.1.0.dist-info/METADATA,sha256=ySJiKph8vzHuJKJlumHP60TrePyUUJVpNPDsrAILanE,2045
17
+ fb_pdnstools-1.1.0.dist-info/RECORD,,
@@ -1,5 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: flit 3.12.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
-
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ pdns-bulk-remove=fb_pdnstools.bulk_rm_app:main
3
+
@@ -1,17 +0,0 @@
1
- #!/usr/bin/python
2
- # -*- coding: utf-8 -*-
3
- """
4
- @summary: Modules for handling the PowerDNS API.
5
-
6
- @author: Frank Brehm
7
- @contact: frank@brehm-online.com
8
- @copyright: © 2024 by Frank Brehm, Berlin
9
- """
10
-
11
- __author__ = 'Frank Brehm <frank@brehm-online.com>'
12
- __copyright__ = '(C) 2024 by Frank Brehm, Berlin'
13
- __contact__ = 'frank@brehm-online.com'
14
- __version__ = '1.0.0'
15
- __license__ = 'LGPL3+'
16
-
17
- # vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4
@@ -1,68 +0,0 @@
1
- #!python
2
- # -*- coding: utf-8 -*-
3
- """
4
- @summary: Removes the given addresses completety from PowerDNS.
5
-
6
- @author: Frank Brehm
7
- @contact: frank@brehm-online.com
8
- @copyright: © 2024 by Frank Brehm, Berlin
9
- """
10
-
11
- from __future__ import print_function
12
-
13
- import locale
14
- import os
15
- import sys
16
-
17
- MIN_PYTHON_MAJOR = 3
18
- MIN_PYTHON_MINOR = 6
19
-
20
- if sys.version_info[0] != MIN_PYTHON_MAJOR:
21
- print(
22
- 'This script is intended to use with Python{}.'.format(MIN_PYTHON_MAJOR), file=sys.stderr)
23
- print('You are using Python: {0}.{1}.{2}-{3}-{4}.\n'.format(
24
- *sys.version_info), file=sys.stderr)
25
- sys.exit(1)
26
-
27
- if sys.version_info[1] < MIN_PYTHON_MAJOR and sys.version_info[1] < MIN_PYTHON_MINOR:
28
- print(
29
- 'A minimal Python version of {}.{} is necessary to execute this script.'.format(
30
- MIN_PYTHON_MAJOR, MIN_PYTHON_MINOR), file=sys.stderr)
31
- print('You are using Python: {0}.{1}.{2}-{3}-{4}.\n'.format(
32
- *sys.version_info), file=sys.stderr)
33
- sys.exit(1)
34
-
35
- # own modules:
36
- cur_dir = os.getcwd()
37
- base_dir = cur_dir
38
-
39
- if sys.argv[0] != '' and sys.argv[0] != '-c':
40
- bin_dir = os.path.dirname(os.path.realpath(sys.argv[0]))
41
- else:
42
- bin_dir = os.path.dirname(os.path.realpath(__file__))
43
- base_dir = os.path.abspath(os.path.join(bin_dir, '..'))
44
- lib_dir = os.path.join(base_dir, 'lib')
45
- module_dir = os.path.join(lib_dir, 'fb_pdnstools')
46
- if os.path.exists(module_dir):
47
- sys.path.insert(0, lib_dir)
48
-
49
- from fb_pdnstools.bulk_rm_app import PdnsBulkRmApp
50
-
51
- __author__ = 'Frank Brehm <frank@brehm-online.com>'
52
- __copyright__ = '(C) 2024 by Frank Brehm, Berlin'
53
-
54
- appname = os.path.basename(sys.argv[0])
55
-
56
- locale.setlocale(locale.LC_ALL, '')
57
-
58
- app = PdnsBulkRmApp(appname=appname, base_dir=base_dir)
59
- app.initialized = True
60
-
61
- if app.verbose > 2:
62
- print('{c}-Object:\n{a}'.format(c=app.__class__.__name__, a=app))
63
-
64
- app()
65
-
66
- sys.exit(0)
67
-
68
- # vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4
@@ -1,40 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: fb_pdnstools
3
- Version: 1.0.0
4
- Summary: Modules for handling the PowerDNS API
5
- Home-page: https://github.com/fbrehm/fb-pdnstools
6
- Author: Frank Brehm
7
- Author-email: frank@brehm-online.com
8
- License: LGPL3+
9
- Platform: posix
10
- Classifier: Development Status :: 3 - Alpha
11
- Classifier: Environment :: Console
12
- Classifier: Intended Audience :: Developers
13
- Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
14
- Classifier: Natural Language :: English
15
- Classifier: Operating System :: POSIX
16
- Classifier: Programming Language :: Python :: 3.6
17
- Classifier: Programming Language :: Python :: 3.7
18
- Classifier: Programming Language :: Python :: 3.8
19
- Classifier: Programming Language :: Python :: 3.9
20
- Classifier: Programming Language :: Python :: 3.10
21
- Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
- Requires: argparse
23
- Requires: fb_tools
24
- Requires: six
25
- Requires: fb_logging
26
- Requires: requests
27
- Requires: setuptools
28
- Requires: wheel
29
- Requires: Babel
30
- Requires: requests_mock
31
- Provides: fb_pdnstools
32
- License-File: LICENSE
33
- Requires-Dist: requests
34
- Requires-Dist: six
35
- Requires-Dist: Babel
36
- Requires-Dist: fb-logging
37
- Requires-Dist: fb-tools
38
-
39
- # fb-pdnstools
40
- Python module to handle with PowerDNS
@@ -1,17 +0,0 @@
1
- fb_pdnstools/__init__.py,sha256=gxkDUFK3P0kuvMI-l_TjC34u9NY1mABB1EfZu8ohblE,3097
2
- fb_pdnstools/base_handler.py,sha256=-4IGmKphLBvE0V4knqnsR1LmKuNnTBrq8u5OH2GtNpM,17917
3
- fb_pdnstools/bulk_rm_app.py,sha256=VhFlHF65RfY9AKoFTOYIK4nIzdTshuFe6zef2WbtK9U,24495
4
- fb_pdnstools/bulk_rm_cfg.py,sha256=pj4QbsTyvGZi17ufC-KS3DrUMdaklw9aoDjoOLEPoQo,4654
5
- fb_pdnstools/common.py,sha256=1Ev-6zXl0Gks964B0CqvaAFz1DWDyNaLkXi_uD7A3HI,3209
6
- fb_pdnstools/errors.py,sha256=dOP-Uqipp-JlKvs-Q7nmCZekZAHODZIjG8ylvpvaGeg,6307
7
- fb_pdnstools/local_version.py,sha256=U77jpwzfw86AoqsM6zk5H_nRD-Xaur2IyRkDw02rCoY,439
8
- fb_pdnstools/record.py,sha256=JMn2GFklyaekkSSN_wIs524LNdWdXCgr_z0_MaYbq3E,48900
9
- fb_pdnstools/server.py,sha256=JjAId2ZSuXPk7AsIRT2U9wtS1865MFIhdWnCKPS30FA,8240
10
- fb_pdnstools/xlate.py,sha256=tP4UHiPRgSW5gw-00FC7-afnHld4sO9tLOSBVVIxfGg,2977
11
- fb_pdnstools/zone.py,sha256=1WYqyMeM6PoItTkTj3K-M6wzwc22P3ic1EDG00oREj0,56055
12
- fb_pdnstools-1.0.0.data/scripts/pdns-bulk-remove,sha256=xGVroKYxKDflrfRgxLThffC_RTuHBiwXDFX-Dcs3pxg,1899
13
- fb_pdnstools-1.0.0.dist-info/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
14
- fb_pdnstools-1.0.0.dist-info/METADATA,sha256=srdsVJ0oOtImS0EJ-1xshJoTX0bz-MyoVOspp6A-m9g,1244
15
- fb_pdnstools-1.0.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
16
- fb_pdnstools-1.0.0.dist-info/top_level.txt,sha256=x8u0_5WK9K8B9Mn1liyOCgzJfUdyXqMFsXW00hyI-Cw,13
17
- fb_pdnstools-1.0.0.dist-info/RECORD,,
@@ -1 +0,0 @@
1
- fb_pdnstools