This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: This was used for reserving the namespace only
Python SSPI Library
This library provides Python functions that wraps the Windows SSPI API. It is designed to be a low level interface that other libraries can easily leverage to use with SSPI integeration.
Requirements
- Python 3.8+
More requires are needed to compile the code from scratch but this library is shipped as a wheel so it isn't mandatory for installation.
Installation
Simply run:
pip install sspi
To install from source run the following:
git clone https://github.com/jborean93/pysspi.git
python -m pip install build
python -m build
pip install dist/sspi-*.whl
Development
To run the tests or make changes to this repo run the following:
git clone https://github.com/jborean93/pysspi.git
pip install -r requirements-dev.txt
pre-commit install
python -m pip install -e .
# Can compile the sspi extensions on an adhoc basis
# python setup.py build_ext --inplace
From there an editor like VSCode can be used to make changes and run the test suite.
To recompile the Cython files after a change run the build_ext --inplace command.
Structure
This library is merely a wrapper around the SSPI APIs.
The functions under the sspi namespace expose the various SSPI functions under a more Pythonic snake_case format.
For example the AcquireCredentialsHandle function is exposed as sspi.acquire_credentials_handle.
Errors are raised as a WinError which contains the error message as formatted by Windows and the error code.
Some of the objects and constants are exposed as Python clasess/dataclasses/enums for ease of use.
Some functions expose buffers that contain dynamically allocated memory from SSPI if requested and need to be explicitly freed if needed.
Please read through the docstring of the function that will be used to learn more about how to use them.
Metadata
Release files for sspi 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sspi-0.0.1.tar.gz | 37.1 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| sspi-0.0.1-cp312-cp312-win_amd64.whl | CPython 3.12 | CPython 3.12 | Windows x86-64 | Details |
| sspi-0.0.1-cp312-cp312-win32.whl | CPython 3.12 | CPython 3.12 | Windows x86-32 | Details |
| sspi-0.0.1-cp311-cp311-win_amd64.whl | CPython 3.11 | CPython 3.11 | Windows x86-64 | Details |
| sspi-0.0.1-cp311-cp311-win32.whl | CPython 3.11 | CPython 3.11 | Windows x86-32 | Details |
| sspi-0.0.1-cp310-cp310-win_amd64.whl | CPython 3.10 | CPython 3.10 | Windows x86-64 | Details |
| sspi-0.0.1-cp310-cp310-win32.whl | CPython 3.10 | CPython 3.10 | Windows x86-32 | Details |
| sspi-0.0.1-cp39-cp39-win_amd64.whl | CPython 3.9 | CPython 3.9 | Windows x86-64 | Details |
| sspi-0.0.1-cp39-cp39-win32.whl | CPython 3.9 | CPython 3.9 | Windows x86-32 | Details |
| sspi-0.0.1-cp38-cp38-win_amd64.whl | CPython 3.8 | CPython 3.8 | Windows x86-64 | Details |
| sspi-0.0.1-cp38-cp38-win32.whl | CPython 3.8 | CPython 3.8 | Windows x86-32 | Details |
Total release size: 5.2 MB
Release files / sspi-0.0.1.tar.gz
| Download URL | sspi-0.0.1.tar.gz |
|---|---|
| Size | 37.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41bb95350c14b80c3685df674e4a3af45c49f5626ae192c777935c30e657dc8c
|
|
BLAKE2b-256 checksum How to use checksums |
5aa1e551285e7f2d43aa92b823315bc17420d296527805d00a0151da0bb6618b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / sspi-0.0.1-cp312-cp312-win_amd64.whl
| Download URL | sspi-0.0.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 554.4 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
90b5af1cdbe43dc1ad4e2a8e6f4ed18955bf3707ccb9c896f784fa4408811d37
|
|
BLAKE2b-256 checksum How to use checksums |
3d26e8fd0b60d86f6a1319225bfd58d34ef065d0dca3df82e64d5da7477c3781
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / sspi-0.0.1-cp312-cp312-win32.whl
| Download URL | sspi-0.0.1-cp312-cp312-win32.whl |
|---|---|
| Size | 470.3 kB |
| Tags | CPython 3.12 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
905938dc96c2281b3445c1e9b384d5143e9a9829f681399c361f0bb9f6852647
|
|
BLAKE2b-256 checksum How to use checksums |
5e8b9d36704e90e563b7aac724866b4f90cc41cff5801b237b9196c9bdf2d376
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / sspi-0.0.1-cp311-cp311-win_amd64.whl
| Download URL | sspi-0.0.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 550.0 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
860fa41ceccabe51eab6b220de6c5b41ba1c0fc093e5de8923d3aef67c4095fb
|
|
BLAKE2b-256 checksum How to use checksums |
e4671ba4db0a270bfa99959378aa16d45669b76b06fb743e77d5f93558c0a17b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / sspi-0.0.1-cp311-cp311-win32.whl
| Download URL | sspi-0.0.1-cp311-cp311-win32.whl |
|---|---|
| Size | 467.2 kB |
| Tags | CPython 3.11 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
5d9f7309f1cf88570c7ab2acc3f50974d2f03c829b3281ef95e36cf2c299bca5
|
|
BLAKE2b-256 checksum How to use checksums |
af4ce68e83be7eb89c3b56b99454d08a434cf27c161d05b86fcd0f5e1065cf8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / sspi-0.0.1-cp310-cp310-win_amd64.whl
| Download URL | sspi-0.0.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 550.2 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
dd1b5c311edbc28ab818f104ea04ca21eb49bd5badb02eb18fbe5bc4f751b3a0
|
|
BLAKE2b-256 checksum How to use checksums |
56e9d929b668bd420c319bcbf9cc283b3036bb6611627ef30dc941da8a7ad41a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / sspi-0.0.1-cp310-cp310-win32.whl
| Download URL | sspi-0.0.1-cp310-cp310-win32.whl |
|---|---|
| Size | 469.1 kB |
| Tags | CPython 3.10 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
2d28d4546da7d2a650619c5277ac763f05e58b943f967f4cdcedebbf5c17c7ed
|
|
BLAKE2b-256 checksum How to use checksums |
5c60fc4600bf914a6a771bd6cdfe6c6ff90b03e2f503fd93a21f9a6c6db65370
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / sspi-0.0.1-cp39-cp39-win_amd64.whl
| Download URL | sspi-0.0.1-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 555.3 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
aab32218c8a092a365b0799960f26c6fdec3d17461b8d83f055fc64ce0c958c4
|
|
BLAKE2b-256 checksum How to use checksums |
a0f47cc9386d8d21e8f5944146d3e93c03b49482cd407005e57e5ccbf268d26a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / sspi-0.0.1-cp39-cp39-win32.whl
| Download URL | sspi-0.0.1-cp39-cp39-win32.whl |
|---|---|
| Size | 474.3 kB |
| Tags | CPython 3.9 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
64e50b0e0f3c6db7ae9636fd54d18fdc1aa3fb5c7cd1fe9644e24c5fb453a6c6
|
|
BLAKE2b-256 checksum How to use checksums |
e3108f3e275c3ca811ce383cc5896255f87d12d51967fdbfa5be59dbe48cf31e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / sspi-0.0.1-cp38-cp38-win_amd64.whl
| Download URL | sspi-0.0.1-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 556.4 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9a17fa3b5cfdb0462c4ba6bf4d21026d238e961acf415fc4ad8139ab676b077b
|
|
BLAKE2b-256 checksum How to use checksums |
517fd5e5767fc9efa991ecd3f7b863674068aea363bd9f0eef572f99701f46b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / sspi-0.0.1-cp38-cp38-win32.whl
| Download URL | sspi-0.0.1-cp38-cp38-win32.whl |
|---|---|
| Size | 474.6 kB |
| Tags | CPython 3.8 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
60c06880cd718d3c48f89b088f5426fd987fa5b1d09d407595c3b9817641d66c
|
|
BLAKE2b-256 checksum How to use checksums |
06cc2312400cd7671b61c4beeb1c2118219bae14f0120a628131cee3233bdfef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|