Skip to main content

mindsight-auth-api

PyPI Latest Release

Use mindsight auth functionalities in your python application.

Instalation

pip install mindsight-auth-api

Configuration

Environment variables

To use mindsight-auth-api, you need to set two environment variables:

# ---DOTENV EXAMPLE---

MINDSIGHT_AUTH_API_TOKEN= # Token to authenticate
MINDSIGHT_AUTH_API_COMPANY=your-company
MINDSIGHT_AUTH_API_SERVER=your.server # Example auth.mindsight.com.br
MINDSIGHT_AUTH_API_VERSION=v1 # Default value is 'v1'

Usage Example

You can use mindsight-auth-api in order to create, update and delete records.

List registers

You can use get methods to list registers of system table. See the following example:

# Using this library to retrieve all users records
import os
os.environ["MINDSIGHT_AUTH_API_TOKEN"] = "token"
os.environ["MINDSIGHT_AUTH_API_COMPANY"] = "your_company"
os.environ["MINDSIGHT_AUTH_API_SERVER"] = "your.server"
os.environ["MINDSIGHT_AUTH_API_VERSION"] = "v1"             # Default value "v1"

from mindsight_auth_api import MindsightAuthApi


users = MindsightAuthApi.users()

data = users.get_list_users().get_all().results

Metadata

Release files for mindsight-auth-api 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mindsight-auth-api 0.0.2
File Size Uploaded Provenance Actions
mindsight_auth_api-0.0.2.tar.gz 6.6 kB Without provenance Details for mindsight_auth_api-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mindsight-auth-api 0.0.2
File Interpreter ABI Platform Actions
mindsight_auth_api-0.0.2-py3-none-any.whl Python 3 none any Details for mindsight_auth_api-0.0.2-py3-none-any.whl

Total release size: 15.8 kB

Release files / mindsight_auth_api-0.0.2.tar.gz

Download URL mindsight_auth_api-0.0.2.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
905448bc841f767be2b6c37b0b440c42bf7394729264315ca238f46aadd37069
BLAKE2b-256 checksum
How to use checksums
51e8b64443f036152537b7494627489c0d90aa7d26e71db44f2a41a0a957cb81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release files / mindsight_auth_api-0.0.2-py3-none-any.whl

Download URL mindsight_auth_api-0.0.2-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd8956d5f44fc6fdedfea311d24d77871191438720248500278cdb1f91e4279e
BLAKE2b-256 checksum
How to use checksums
23e013ab630c7d5c3c298982ed26ae4e4bdf6c3215fae26eae6250b94db52f2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Security for mindsight-auth-api 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page