Benign python Download

nice-go 1.0.3

Base64-encodes serialized JSONEncodes serialized JSON text as bytes

Evidence

Declares Python package license file METADATA · lines 1–12
1Metadata-Version: 2.4
2Name: nice-go
3Version: 1.0.3
4Summary: Control various Nice access control products
5License: MIT
6License-File: LICENSE
7Author: IceBotYT
8Author-email: 34712694+[email protected]
9Requires-Python: >=3.9.1,<4.0
10Classifier: Development Status :: 4 - Beta
11Classifier: Intended Audience :: Developers
12Classifier: License :: OSI Approved :: M …
Declares Python runtime dependencies METADATA · lines 18–28
18:39… thon :: 3.12
19Classifier: Programming Language :: Python :: 3.13
20Classifier: Programming Language :: Python :: 3.14
21Classifier: Programming Language :: Python :: 3.9
22Classifier: Topic :: Software Development :: Libraries :: Python Modules
23Classifier: Typing :: Typed
24Requires-Dist: aiobotocore (>=2.13.1,<4.0.0)
25Requires-Dist: aiohttp (>=3.9.5)
26Requires-Dist: pycognito (>=2024.5.1)
27Requires-Dist: tenacity (>=8.5.0)
28Requires-Dist: yarl (> …
Declares Markdown package description METADATA · lines 30–37
30:56… go
31Project-URL: Repository, https://github.com/IceBotYT/nice-go
32Description-Content-Type: text/markdown
33
34# Nice G.O.
35
36[![PyPI](https://img.shields.io/pypi/v/nice-go?style=flat-square)](https://pypi.python.org/pypi/nice-go/)
37[![PyPI - Python Version](https://img.shields.io/pypi …
Synchronizes threads on POSIX barrier __init__.py · lines 1–27
1"""The Nice G.O. API client for Python.
2
3To start, see the [`NiceGOApi`][nice_go.NiceGOApi] class."""
4
5from nice_go._barrier import Barrier, BarrierState, ConnectionState
6from nice_go._const import BARRIER_STATUS
7from nice_go._exceptions import (
8 ApiError,
9 AuthFailedError,
10 NiceGOError,
11 NoAuthError,
12 WebSocketError,
13)
14from nice_go.nice_go_api import NiceGOApi
15
16__all__ = [
⋯11 lines
Camel-case OAuth identity token field _authentication_tokens.py · lines 1–30
1"""Holds the tokens retrieved from authentication."""
2
3from __future__ import annotations
4
5
6class AuthenticationTokens:
7 """
8 A class to handle authentication tokens.
9
10 Initializes an AuthenticationTokens object with the provided data dictionary. It
11 extracts the 'IdToken' and 'RefreshToken' if available, storing them as attributes.
12
13 Args:
⋯9 lines
23 def __init__(self, data: dict[str, str]) -> None:
24 """Initialize the AuthenticationTokens object."""
25 self.id_token = data["IdToken"]
26 self.refresh_token: str | None = None
27 try:
28 self.refresh_token = data["RefreshToken"]
29 except KeyError:
30 self.refresh_token = None

Showing the top 5 files — 5 more files (61 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.