Skip to main content

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

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)

Source distribution for umcn-consent 1.1.1
File Size Uploaded
umcn_consent-1.1.1.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for umcn-consent 1.1.1
File Interpreter ABI Platform
umcn_consent-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 kB

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.1.0

2 release files

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