Skip to main content

No project description provided

Project description

CI PyPI PyPI - Python Version Code style: black

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

  1. Create the .env file in the root directory
  2. Add the following variables to the .env file
USER=your_username
PASSWORD=your_password
URL=your_service_url
CLIENT_ID=your_client_id
AUTH_TOKEN=your_auth_token 
  1. Replace the placeholder values with actual credentials and information.
  2. Secure your .env file. DO NOT commit the file to version control. Add it to you .gitignore file.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

umcn_consent-1.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

umcn_consent-1.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page