pydplus 1.0.0b1__tar.gz
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.
- pydplus-1.0.0b1/LICENSE +21 -0
- pydplus-1.0.0b1/PKG-INFO +160 -0
- pydplus-1.0.0b1/README.md +132 -0
- pydplus-1.0.0b1/pyproject.toml +23 -0
- pydplus-1.0.0b1/setup.cfg +4 -0
- pydplus-1.0.0b1/setup.py +89 -0
- pydplus-1.0.0b1/src/pydplus/__init__.py +17 -0
- pydplus-1.0.0b1/src/pydplus/api.py +284 -0
- pydplus-1.0.0b1/src/pydplus/auth.py +142 -0
- pydplus-1.0.0b1/src/pydplus/core.py +532 -0
- pydplus-1.0.0b1/src/pydplus/errors/__init__.py +13 -0
- pydplus-1.0.0b1/src/pydplus/errors/exceptions.py +456 -0
- pydplus-1.0.0b1/src/pydplus/errors/handlers.py +18 -0
- pydplus-1.0.0b1/src/pydplus/tests/__init__.py +10 -0
- pydplus-1.0.0b1/src/pydplus/tests/resources.py +205 -0
- pydplus-1.0.0b1/src/pydplus/tests/test_instantiate_object.py +24 -0
- pydplus-1.0.0b1/src/pydplus/users.py +62 -0
- pydplus-1.0.0b1/src/pydplus/utils/__init__.py +10 -0
- pydplus-1.0.0b1/src/pydplus/utils/core_utils.py +178 -0
- pydplus-1.0.0b1/src/pydplus/utils/helper.py +161 -0
- pydplus-1.0.0b1/src/pydplus/utils/log_utils.py +264 -0
- pydplus-1.0.0b1/src/pydplus/utils/version.py +26 -0
- pydplus-1.0.0b1/src/pydplus.egg-info/PKG-INFO +160 -0
- pydplus-1.0.0b1/src/pydplus.egg-info/SOURCES.txt +25 -0
- pydplus-1.0.0b1/src/pydplus.egg-info/dependency_links.txt +1 -0
- pydplus-1.0.0b1/src/pydplus.egg-info/requires.txt +16 -0
- pydplus-1.0.0b1/src/pydplus.egg-info/top_level.txt +1 -0
pydplus-1.0.0b1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Jeff Shurtliff
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
pydplus-1.0.0b1/PKG-INFO
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: pydplus
|
|
3
|
+
Version: 1.0.0b1
|
|
4
|
+
Summary: A Python toolset for the RSA ID Plus cloud authentication platform
|
|
5
|
+
Home-page: https://github.com/jeffshurtliff/pydplus
|
|
6
|
+
Author: Jeff Shurtliff
|
|
7
|
+
Author-email: jeff.shurtliff@rsa.com
|
|
8
|
+
Project-URL: Issue Tracker, https://github.com/jeffshurtliff/pydplus/issues
|
|
9
|
+
Classifier: Development Status :: 4 - Beta
|
|
10
|
+
Classifier: Intended Audience :: Information Technology
|
|
11
|
+
Classifier: Intended Audience :: System Administrators
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Natural Language :: English
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Topic :: Communications :: FIDO
|
|
19
|
+
Classifier: Topic :: Office/Business
|
|
20
|
+
Classifier: Topic :: Security
|
|
21
|
+
Classifier: Topic :: Security :: Cryptography
|
|
22
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
23
|
+
Classifier: Topic :: System :: Systems Administration :: Authentication/Directory
|
|
24
|
+
Requires-Python: >=3.9.23
|
|
25
|
+
Description-Content-Type: text/markdown
|
|
26
|
+
Provides-Extra: sphinx
|
|
27
|
+
License-File: LICENSE
|
|
28
|
+
|
|
29
|
+
# pydplus
|
|
30
|
+
A Python toolset for the RSA ID Plus cloud authentication platform.
|
|
31
|
+
|
|
32
|
+
<table>
|
|
33
|
+
<tr>
|
|
34
|
+
<td>Latest Stable Release</td>
|
|
35
|
+
<td>
|
|
36
|
+
<a href='https://pypi.org/project/pydplus/'>
|
|
37
|
+
<img alt="PyPI" src="https://img.shields.io/pypi/v/pydplus">
|
|
38
|
+
</a>
|
|
39
|
+
</td>
|
|
40
|
+
</tr>
|
|
41
|
+
<tr>
|
|
42
|
+
<td>Latest Beta/RC Release</td>
|
|
43
|
+
<td>
|
|
44
|
+
<a href='https://pypi.org/project/pydplus/#history'>
|
|
45
|
+
<img alt="PyPI" src="https://img.shields.io/badge/pypi-1.0.0b1-blue">
|
|
46
|
+
</a>
|
|
47
|
+
</td>
|
|
48
|
+
</tr>
|
|
49
|
+
<tr>
|
|
50
|
+
<td>Build Status</td>
|
|
51
|
+
<td>
|
|
52
|
+
<a href="https://github.com/jeffshurtliff/pydplus/blob/main/.github/workflows/python-package.yml">
|
|
53
|
+
<img alt="GitHub Workflow Status"
|
|
54
|
+
src="https://img.shields.io/github/actions/workflow/status/jeffshurtliff/pydplus/python-package.yml?branch=main">
|
|
55
|
+
</a>
|
|
56
|
+
</td>
|
|
57
|
+
</tr>
|
|
58
|
+
<tr>
|
|
59
|
+
<td>Supported Versions</td>
|
|
60
|
+
<td>
|
|
61
|
+
<a href='https://pypi.org/project/pydplus/'>
|
|
62
|
+
<img alt="PyPI - Python Version" src="https://img.shields.io/pypi/pyversions/pydplus">
|
|
63
|
+
</a>
|
|
64
|
+
</td>
|
|
65
|
+
</tr>
|
|
66
|
+
<!--
|
|
67
|
+
<tr>
|
|
68
|
+
<td>Code Coverage</td>
|
|
69
|
+
<td>
|
|
70
|
+
<a href="https://codecov.io/gh/jeffshurtliff/pydplus">
|
|
71
|
+
<img src="https://codecov.io/gh/jeffshurtliff/pydplus/branch/main/graph/badge.svg" />
|
|
72
|
+
</a>
|
|
73
|
+
</td>
|
|
74
|
+
</tr>
|
|
75
|
+
-->
|
|
76
|
+
<tr>
|
|
77
|
+
<td>Documentation</td>
|
|
78
|
+
<td>
|
|
79
|
+
<a href='https://pydplus.readthedocs.io/en/latest/?badge=latest'>
|
|
80
|
+
<img src='https://readthedocs.org/projects/pydplus/badge/?version=latest' alt='Documentation Status' />
|
|
81
|
+
</a>
|
|
82
|
+
</td>
|
|
83
|
+
</tr>
|
|
84
|
+
<tr>
|
|
85
|
+
<td>Security Audits</td>
|
|
86
|
+
<td>
|
|
87
|
+
<a href="https://github.com/marketplace/actions/python-security-check-using-bandit">
|
|
88
|
+
<img alt="Bandit" src="https://img.shields.io/badge/security-bandit-yellow.svg">
|
|
89
|
+
</a>
|
|
90
|
+
</td>
|
|
91
|
+
</tr>
|
|
92
|
+
<tr>
|
|
93
|
+
<td>License</td>
|
|
94
|
+
<td>
|
|
95
|
+
<a href="https://github.com/jeffshurtliff/pydplus/blob/main/LICENSE">
|
|
96
|
+
<img alt="License (GitHub)" src="https://img.shields.io/github/license/jeffshurtliff/pydplus">
|
|
97
|
+
</a>
|
|
98
|
+
</td>
|
|
99
|
+
</tr>
|
|
100
|
+
<tr>
|
|
101
|
+
<td style="vertical-align: top;">Issues</td>
|
|
102
|
+
<td>
|
|
103
|
+
<a href="https://github.com/jeffshurtliff/pydplus/issues">
|
|
104
|
+
<img style="margin-bottom:5px;" alt="GitHub open issues" src="https://img.shields.io/github/issues-raw/jeffshurtliff/pydplus"><br />
|
|
105
|
+
</a>
|
|
106
|
+
<a href="https://github.com/jeffshurtliff/pydplus/issues">
|
|
107
|
+
<img alt="GitHub closed issues" src="https://img.shields.io/github/issues-closed-raw/jeffshurtliff/pydplus">
|
|
108
|
+
</a>
|
|
109
|
+
</td>
|
|
110
|
+
</tr>
|
|
111
|
+
<tr>
|
|
112
|
+
<td style="vertical-align: top;">Pull Requests</td>
|
|
113
|
+
<td>
|
|
114
|
+
<a href="https://github.com/jeffshurtliff/pydplus/pulls">
|
|
115
|
+
<img style="margin-bottom:5px;" alt="GitHub pull open requests" src="https://img.shields.io/github/issues-pr-raw/jeffshurtliff/pydplus"><br />
|
|
116
|
+
</a>
|
|
117
|
+
<a href="https://github.com/jeffshurtliff/pydplus/pulls">
|
|
118
|
+
<img alt="GitHub closed pull requests" src="https://img.shields.io/github/issues-pr-closed-raw/jeffshurtliff/pydplus">
|
|
119
|
+
</a>
|
|
120
|
+
</td>
|
|
121
|
+
</tr>
|
|
122
|
+
</table>
|
|
123
|
+
|
|
124
|
+
## Installation
|
|
125
|
+
The package can be installed via pip using the syntax below.
|
|
126
|
+
|
|
127
|
+
```sh
|
|
128
|
+
pip install pydplus --upgrade
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
You may also clone the repository and install from source using below.
|
|
132
|
+
|
|
133
|
+
```sh
|
|
134
|
+
git clone git://github.com/jeffshurtliff/pydplus.git
|
|
135
|
+
cd pydplus/
|
|
136
|
+
python setup.py install
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
## Change Log
|
|
140
|
+
The change log can be found in the [documentation](https://pydplus.readthedocs.io/en/latest/changelog.html).
|
|
141
|
+
|
|
142
|
+
## Usage
|
|
143
|
+
This section provides basic usage instructions for the package.
|
|
144
|
+
|
|
145
|
+
_Coming Soon..._
|
|
146
|
+
|
|
147
|
+
## Documentation
|
|
148
|
+
The documentation is located here: [https://pydplus.readthedocs.io/en/latest/](https://pydplus.readthedocs.io/en/latest/)
|
|
149
|
+
|
|
150
|
+
## License
|
|
151
|
+
[MIT License](https://github.com/jeffshurtliff/pydplus/blob/main/LICENSE)
|
|
152
|
+
|
|
153
|
+
## Reporting Issues
|
|
154
|
+
Issues can be reported within the [GitHub repository](https://github.com/jeffshurtliff/pydplus/issues).
|
|
155
|
+
|
|
156
|
+
## Donations
|
|
157
|
+
If you would like to donate to this project then you can do so using [this PayPal link](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=XDZ8M6UV6EFK6&item_name=PyDPlus+Python+SDK¤cy_code=USD).
|
|
158
|
+
|
|
159
|
+
## Disclaimer
|
|
160
|
+
This package is considered unofficial and is in no way endorsed or supported by [RSA Security LLC](https://rsa.com).
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# pydplus
|
|
2
|
+
A Python toolset for the RSA ID Plus cloud authentication platform.
|
|
3
|
+
|
|
4
|
+
<table>
|
|
5
|
+
<tr>
|
|
6
|
+
<td>Latest Stable Release</td>
|
|
7
|
+
<td>
|
|
8
|
+
<a href='https://pypi.org/project/pydplus/'>
|
|
9
|
+
<img alt="PyPI" src="https://img.shields.io/pypi/v/pydplus">
|
|
10
|
+
</a>
|
|
11
|
+
</td>
|
|
12
|
+
</tr>
|
|
13
|
+
<tr>
|
|
14
|
+
<td>Latest Beta/RC Release</td>
|
|
15
|
+
<td>
|
|
16
|
+
<a href='https://pypi.org/project/pydplus/#history'>
|
|
17
|
+
<img alt="PyPI" src="https://img.shields.io/badge/pypi-1.0.0b1-blue">
|
|
18
|
+
</a>
|
|
19
|
+
</td>
|
|
20
|
+
</tr>
|
|
21
|
+
<tr>
|
|
22
|
+
<td>Build Status</td>
|
|
23
|
+
<td>
|
|
24
|
+
<a href="https://github.com/jeffshurtliff/pydplus/blob/main/.github/workflows/python-package.yml">
|
|
25
|
+
<img alt="GitHub Workflow Status"
|
|
26
|
+
src="https://img.shields.io/github/actions/workflow/status/jeffshurtliff/pydplus/python-package.yml?branch=main">
|
|
27
|
+
</a>
|
|
28
|
+
</td>
|
|
29
|
+
</tr>
|
|
30
|
+
<tr>
|
|
31
|
+
<td>Supported Versions</td>
|
|
32
|
+
<td>
|
|
33
|
+
<a href='https://pypi.org/project/pydplus/'>
|
|
34
|
+
<img alt="PyPI - Python Version" src="https://img.shields.io/pypi/pyversions/pydplus">
|
|
35
|
+
</a>
|
|
36
|
+
</td>
|
|
37
|
+
</tr>
|
|
38
|
+
<!--
|
|
39
|
+
<tr>
|
|
40
|
+
<td>Code Coverage</td>
|
|
41
|
+
<td>
|
|
42
|
+
<a href="https://codecov.io/gh/jeffshurtliff/pydplus">
|
|
43
|
+
<img src="https://codecov.io/gh/jeffshurtliff/pydplus/branch/main/graph/badge.svg" />
|
|
44
|
+
</a>
|
|
45
|
+
</td>
|
|
46
|
+
</tr>
|
|
47
|
+
-->
|
|
48
|
+
<tr>
|
|
49
|
+
<td>Documentation</td>
|
|
50
|
+
<td>
|
|
51
|
+
<a href='https://pydplus.readthedocs.io/en/latest/?badge=latest'>
|
|
52
|
+
<img src='https://readthedocs.org/projects/pydplus/badge/?version=latest' alt='Documentation Status' />
|
|
53
|
+
</a>
|
|
54
|
+
</td>
|
|
55
|
+
</tr>
|
|
56
|
+
<tr>
|
|
57
|
+
<td>Security Audits</td>
|
|
58
|
+
<td>
|
|
59
|
+
<a href="https://github.com/marketplace/actions/python-security-check-using-bandit">
|
|
60
|
+
<img alt="Bandit" src="https://img.shields.io/badge/security-bandit-yellow.svg">
|
|
61
|
+
</a>
|
|
62
|
+
</td>
|
|
63
|
+
</tr>
|
|
64
|
+
<tr>
|
|
65
|
+
<td>License</td>
|
|
66
|
+
<td>
|
|
67
|
+
<a href="https://github.com/jeffshurtliff/pydplus/blob/main/LICENSE">
|
|
68
|
+
<img alt="License (GitHub)" src="https://img.shields.io/github/license/jeffshurtliff/pydplus">
|
|
69
|
+
</a>
|
|
70
|
+
</td>
|
|
71
|
+
</tr>
|
|
72
|
+
<tr>
|
|
73
|
+
<td style="vertical-align: top;">Issues</td>
|
|
74
|
+
<td>
|
|
75
|
+
<a href="https://github.com/jeffshurtliff/pydplus/issues">
|
|
76
|
+
<img style="margin-bottom:5px;" alt="GitHub open issues" src="https://img.shields.io/github/issues-raw/jeffshurtliff/pydplus"><br />
|
|
77
|
+
</a>
|
|
78
|
+
<a href="https://github.com/jeffshurtliff/pydplus/issues">
|
|
79
|
+
<img alt="GitHub closed issues" src="https://img.shields.io/github/issues-closed-raw/jeffshurtliff/pydplus">
|
|
80
|
+
</a>
|
|
81
|
+
</td>
|
|
82
|
+
</tr>
|
|
83
|
+
<tr>
|
|
84
|
+
<td style="vertical-align: top;">Pull Requests</td>
|
|
85
|
+
<td>
|
|
86
|
+
<a href="https://github.com/jeffshurtliff/pydplus/pulls">
|
|
87
|
+
<img style="margin-bottom:5px;" alt="GitHub pull open requests" src="https://img.shields.io/github/issues-pr-raw/jeffshurtliff/pydplus"><br />
|
|
88
|
+
</a>
|
|
89
|
+
<a href="https://github.com/jeffshurtliff/pydplus/pulls">
|
|
90
|
+
<img alt="GitHub closed pull requests" src="https://img.shields.io/github/issues-pr-closed-raw/jeffshurtliff/pydplus">
|
|
91
|
+
</a>
|
|
92
|
+
</td>
|
|
93
|
+
</tr>
|
|
94
|
+
</table>
|
|
95
|
+
|
|
96
|
+
## Installation
|
|
97
|
+
The package can be installed via pip using the syntax below.
|
|
98
|
+
|
|
99
|
+
```sh
|
|
100
|
+
pip install pydplus --upgrade
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
You may also clone the repository and install from source using below.
|
|
104
|
+
|
|
105
|
+
```sh
|
|
106
|
+
git clone git://github.com/jeffshurtliff/pydplus.git
|
|
107
|
+
cd pydplus/
|
|
108
|
+
python setup.py install
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## Change Log
|
|
112
|
+
The change log can be found in the [documentation](https://pydplus.readthedocs.io/en/latest/changelog.html).
|
|
113
|
+
|
|
114
|
+
## Usage
|
|
115
|
+
This section provides basic usage instructions for the package.
|
|
116
|
+
|
|
117
|
+
_Coming Soon..._
|
|
118
|
+
|
|
119
|
+
## Documentation
|
|
120
|
+
The documentation is located here: [https://pydplus.readthedocs.io/en/latest/](https://pydplus.readthedocs.io/en/latest/)
|
|
121
|
+
|
|
122
|
+
## License
|
|
123
|
+
[MIT License](https://github.com/jeffshurtliff/pydplus/blob/main/LICENSE)
|
|
124
|
+
|
|
125
|
+
## Reporting Issues
|
|
126
|
+
Issues can be reported within the [GitHub repository](https://github.com/jeffshurtliff/pydplus/issues).
|
|
127
|
+
|
|
128
|
+
## Donations
|
|
129
|
+
If you would like to donate to this project then you can do so using [this PayPal link](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=XDZ8M6UV6EFK6&item_name=PyDPlus+Python+SDK¤cy_code=USD).
|
|
130
|
+
|
|
131
|
+
## Disclaimer
|
|
132
|
+
This package is considered unofficial and is in no way endorsed or supported by [RSA Security LLC](https://rsa.com).
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[tool.poetry]
|
|
2
|
+
name = "pydplus"
|
|
3
|
+
version = "1.0.0b1"
|
|
4
|
+
description = "A Python toolset for the RSA ID Plus cloud authentication platform"
|
|
5
|
+
authors = ["Jeff Shurtliff <jeff.shurtliff@rsa.com>"]
|
|
6
|
+
license = "MIT"
|
|
7
|
+
readme = "README.md"
|
|
8
|
+
|
|
9
|
+
[tool.poetry.dependencies]
|
|
10
|
+
python = "^3.9.23"
|
|
11
|
+
urllib3 = ">=2.4.0"
|
|
12
|
+
requests = ">=2.32.3"
|
|
13
|
+
setuptools = ">=65.5.1"
|
|
14
|
+
pyyaml = ">=6.0.2"
|
|
15
|
+
pyjwt = ">=2.10.1"
|
|
16
|
+
cryptography = ">=45.0.3"
|
|
17
|
+
|
|
18
|
+
[tool.poetry.group.dev.dependencies]
|
|
19
|
+
pytest = ">=8.3.5"
|
|
20
|
+
|
|
21
|
+
[build-system]
|
|
22
|
+
requires = ["poetry-core"]
|
|
23
|
+
build-backend = "poetry.core.masonry.api"
|
pydplus-1.0.0b1/setup.py
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
"""
|
|
4
|
+
:Synopsis: This script is the primary configuration file for the pydplus project
|
|
5
|
+
:Created By: Jeff Shurtliff
|
|
6
|
+
:Last Modified: Jeff Shurtliff
|
|
7
|
+
:Modified Date: 09 Jun 2025
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
import setuptools
|
|
11
|
+
import codecs
|
|
12
|
+
import os.path
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def read(rel_path):
|
|
16
|
+
"""This function reads the ``version.py`` script in order to retrieve the version."""
|
|
17
|
+
here = os.path.abspath(os.path.dirname(__file__))
|
|
18
|
+
with codecs.open(os.path.join(here, rel_path), 'r') as fp:
|
|
19
|
+
return fp.read()
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def get_version(rel_path):
|
|
23
|
+
"""This function retrieves the current version of the package without needing to import the
|
|
24
|
+
:py:mod:`pydplus.utils.version` module in order to avoid dependency issues."""
|
|
25
|
+
for line in read(rel_path).splitlines():
|
|
26
|
+
if line.startswith('__version__'):
|
|
27
|
+
delimiter = '"' if '"' in line else "'"
|
|
28
|
+
return line.split(delimiter)[1]
|
|
29
|
+
raise RuntimeError('Unable to find the version string')
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
with open('README.md', 'r') as fh:
|
|
33
|
+
long_description = fh.read()
|
|
34
|
+
|
|
35
|
+
version = get_version('src/pydplus/utils/version.py')
|
|
36
|
+
|
|
37
|
+
setuptools.setup(
|
|
38
|
+
name='pydplus',
|
|
39
|
+
version=version,
|
|
40
|
+
author='Jeff Shurtliff',
|
|
41
|
+
author_email='jeff.shurtliff@rsa.com',
|
|
42
|
+
description='A Python toolset for the RSA ID Plus cloud authentication platform',
|
|
43
|
+
long_description=long_description,
|
|
44
|
+
long_description_content_type='text/markdown',
|
|
45
|
+
url='https://github.com/jeffshurtliff/pydplus',
|
|
46
|
+
project_urls={
|
|
47
|
+
'Issue Tracker': 'https://github.com/jeffshurtliff/pydplus/issues',
|
|
48
|
+
},
|
|
49
|
+
package_dir={'': 'src'},
|
|
50
|
+
packages=setuptools.find_packages(where='src'),
|
|
51
|
+
classifiers=[
|
|
52
|
+
'Development Status :: 4 - Beta',
|
|
53
|
+
'Intended Audience :: Information Technology',
|
|
54
|
+
'Intended Audience :: System Administrators',
|
|
55
|
+
'License :: OSI Approved :: MIT License',
|
|
56
|
+
'Natural Language :: English',
|
|
57
|
+
'Operating System :: OS Independent',
|
|
58
|
+
'Programming Language :: Python :: 3',
|
|
59
|
+
'Programming Language :: Python :: 3.9',
|
|
60
|
+
'Programming Language :: Python :: 3.10',
|
|
61
|
+
'Topic :: Communications :: FIDO',
|
|
62
|
+
'Topic :: Office/Business',
|
|
63
|
+
'Topic :: Security',
|
|
64
|
+
'Topic :: Security :: Cryptography',
|
|
65
|
+
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
66
|
+
'Topic :: System :: Systems Administration :: Authentication/Directory',
|
|
67
|
+
],
|
|
68
|
+
python_requires='>=3.9.23',
|
|
69
|
+
install_requires=[
|
|
70
|
+
'urllib3>=2.4.0',
|
|
71
|
+
'requests>=2.32.3',
|
|
72
|
+
'setuptools>=65.5.1',
|
|
73
|
+
'pytest>=8.3.5',
|
|
74
|
+
'PyYAML>=6.0.2',
|
|
75
|
+
'PyJWT>=2.10.1',
|
|
76
|
+
'cryptography>=45.0.3',
|
|
77
|
+
],
|
|
78
|
+
extras_require={
|
|
79
|
+
'sphinx': [
|
|
80
|
+
'Sphinx>=7.4.7',
|
|
81
|
+
'sphinxcontrib-applehelp>=2.0.0',
|
|
82
|
+
'sphinxcontrib-devhelp>=2.0.0',
|
|
83
|
+
'sphinxcontrib-htmlhelp>=2.1.0',
|
|
84
|
+
'sphinxcontrib-jsmath>=1.0.1',
|
|
85
|
+
'sphinxcontrib-qthelp>=2.0.0',
|
|
86
|
+
'sphinxcontrib-serializinghtml>=2.0.0',
|
|
87
|
+
],
|
|
88
|
+
}
|
|
89
|
+
)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
"""
|
|
3
|
+
:Module: pydplus
|
|
4
|
+
:Synopsis: This is the ``__init__`` module for the pydplus package
|
|
5
|
+
:Created By: Jeff Shurtliff
|
|
6
|
+
:Last Modified: Jeff Shurtliff
|
|
7
|
+
:Modified Date: 19 May 2025
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
from . import core
|
|
11
|
+
from .core import PyDPlus
|
|
12
|
+
from .utils import version
|
|
13
|
+
|
|
14
|
+
__all__ = ['core', 'PyDPlus']
|
|
15
|
+
|
|
16
|
+
# Define the package version by pulling from the pydplus.utils.version module
|
|
17
|
+
__version__ = version.get_full_version()
|