A Python library for Atlassian Crowd REST API
Project description
crowdpy
A Python library for Atlassian Crowd REST API
Requirements
- Python >= 3.9
Installation
pip install crowdpy
Usage
from crowd import Crowd
# Initialize Crowd
crowd = Crowd(base_url: 'https://example.com/crowd', account: (ADMIN_ID, ADMIN_PW))
# Get Directories
directories = crowd.get_managed_directories()
print('Directories :', directories)
# Generate Group ID
group_id = crowd.generate_group_id(directory_id=directories[0]['id'], group_name='TestGroup')
print('Group ID :', group_id)
# Get Users by Group
users = crowd.get_users_by_group(group_id=group_id)
print(f'Users in Group [{group_id}] :', users)
Authors
License
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
crowdpy-1.1.0.tar.gz
(6.6 kB
view details)
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 crowdpy-1.1.0.tar.gz.
File metadata
- Download URL: crowdpy-1.1.0.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74b6b69c94b8c1f0ec3f9b8233a06ea35f3b20724a4d45d04f35945c33c4f5a2
|
|
| MD5 |
78a2c3c7722848b742665d685847aed6
|
|
| BLAKE2b-256 |
d5ab090721b5f7842612ccae78c4f5d06c918e3af6915b7e6dee10146deb2bf3
|
File details
Details for the file crowdpy-1.1.0-py3-none-any.whl.
File metadata
- Download URL: crowdpy-1.1.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33e4f6d7bbe3ee379273d350980c59abbe4e1dcf36058977fe5cf7a8b4e93cb6
|
|
| MD5 |
13740078d266436c9ebf0c8f1be7700e
|
|
| BLAKE2b-256 |
5b977085006aa2891677d2303d74de58e15be16402984d3a32e5653de5cc4268
|