No project description provided
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file umcn_consent-1.1.0.tar.gz.
File metadata
- Download URL: umcn_consent-1.1.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.8.18 Linux/6.8.0-1014-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
922a5f2fb51ee000ce18705a591f96f66a675c25ebb60795d23783b2cdaaf46d
|
|
| MD5 |
22544da3b69a047bda496e6cf1887230
|
|
| BLAKE2b-256 |
9746bc60df3ce0c77bf982939c0c09da9c746eb5769581833eff21e90171442f
|
File details
Details for the file umcn_consent-1.1.0-py3-none-any.whl.
File metadata
- Download URL: umcn_consent-1.1.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.8.18 Linux/6.8.0-1014-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa1b47aae47f34670b4b66f6d98b22e4e16d801b72f621488298abd35a402149
|
|
| MD5 |
d3928febcb9e304e9cccf00b2e541dfc
|
|
| BLAKE2b-256 |
54d1993de48b33ba3603d64d78c0d512e8b1d2ab14adcfae58eea6d86931cb62
|