Mindsight People Control API
Use mindsight people control functionalities in your python application.
Instalation
pip install mindsight-people-control-api
Configuration
Environment variables
To use mindsight-people-control-api, you need to set two environment variables:
# ---DOTENV EXAMPLE---
MINDSIGHT_CP_API_TOKEN= # Token to authenticate
MINDSIGHT_CP_API_URL=https://controle.mindsight.com.br/api # Base path of your api instance
Usage Example
You can use mindsight-people-control-api in order to create, update and delete registers on all system tables.
List registers
You can use get methods to list registers of system table. See the following example:
import mindsight_people_control_api
# Instantiate Areas client object
areas_client = mindsight_people_control_api.Areas()
# get_list_areas will return a ApiPaginationResponse object.
# This object represents a pagination response from rest api from people control
# and with get_all method from ApiPaginationResponse object, you can get all
# data of all pages. The data will stored in results attribute of ApiPaginationResponse
areas_data = areas_client.get_list_areas().get_all().results
Metadata
Release files for mindsight-people-control-api 0.1.21
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mindsight_people_control_api-0.1.21.tar.gz | 12.0 kB | Without provenance | Details for mindsight_people_control_api-0.1.21.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mindsight_people_control_api-0.1.21-py3-none-any.whl | Python 3 | none | any | Details for mindsight_people_control_api-0.1.21-py3-none-any.whl |
Total release size: 37.9 kB
Release files / mindsight_people_control_api-0.1.21.tar.gz
| Download URL | mindsight_people_control_api-0.1.21.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee4e1976ac0980aa3231c737e419780c35b929a741225cc9d75c2cb4f421ba0a
|
|
BLAKE2b-256 checksum How to use checksums |
faf9a9e76403fa0926d041f0c424b4d6d239b480c6bdd3ea1f9dfc2533b37bcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Release files / mindsight_people_control_api-0.1.21-py3-none-any.whl
| Download URL | mindsight_people_control_api-0.1.21-py3-none-any.whl |
|---|---|
| Size | 26.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bbceb1337c6e9cddd0baa03f2daf3da5513e5452d9df89b8e06ed0607973a1a4
|
|
BLAKE2b-256 checksum How to use checksums |
a1e5c4aca03ff4da070c1824dbebaee20ec25a0b271dfbaa2cebfe1044239b7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Security for mindsight-people-control-api 0.1.21
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.