UMCN-Consent
A Python layer for UMCN research usage consent systems.
Installation
Install the module with PIP
pip install umcn-consent
Before using this package, you need to set up a .env file in your project's root directory.
This file will store essential environment variables required for the package to function correctly.
Setting up .env file
- Create the
.envfile in the root directory - Add the following variables to the
.envfile
USER=your_username
PASSWORD=your_password
URL=your_service_url
CLIENT_ID=your_client_id
AUTH_TOKEN=your_auth_token
- Replace the placeholder values with actual credentials and information.
- Secure your
.envfile. DO NOT commit the file to version control. Add it to you.gitignorefile.
Usage
After setting up the .env file, you can use the package as follows:
import umcn_consent
For a more detailed example, see examples/example.py
Metadata
Release files for umcn-consent 1.1.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 | |
|---|---|---|---|
| umcn_consent-1.1.1.tar.gz | 6.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| umcn_consent-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.9 kB
Release files / umcn_consent-1.1.1.tar.gz
| Download URL | umcn_consent-1.1.1.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
105dd54c09c776d70ba2b6364b4381c9f9bf51710101b4fd692af5d94b5bf7fd
|
|
BLAKE2b-256 checksum How to use checksums |
be3d8816aa24a1aae7e08b015cf5797295659e665f6f04d8126ebc88868b075a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.8.18 Linux/6.5.0-1025-azure
|
Release files / umcn_consent-1.1.1-py3-none-any.whl
| Download URL | umcn_consent-1.1.1-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4aa96a9f53e29900f3cc0a5bc9bc52085ec4ec44312508d730b167e5b05f6cb9
|
|
BLAKE2b-256 checksum How to use checksums |
96a0956e538c950814d87988e0b17fefb55335b7c629c11d406543455aa3e1aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.8.18 Linux/6.5.0-1025-azure
|