crowdpy
A Python library for Atlassian Crowd REST API
Version with 1.x.x ~ 1.2.x are for distribution tests and have bugs. Please use crowdpy >= 1.3.0
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)
Build & Deploy (PyPi)
# Build
pip install build
python -m build
# whl file & archived src(tar.gz) file will be generated.
# Deploy
pip install twine
python -m twine upload dist/*
# package will be uploaded to PyPi registry
# https://pypi.org/project/crowdpy
Authors
License
Metadata
Release files for crowdpy 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| crowdpy-1.3.0.tar.gz | 8.1 kB | Without provenance | Details for crowdpy-1.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crowdpy-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for crowdpy-1.3.0-py3-none-any.whl |
Total release size: 19.6 kB
Release files / crowdpy-1.3.0.tar.gz
| Download URL | crowdpy-1.3.0.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38ef3f8c567d3eb24111a4b72a62e05c62f4c2f52f6427d9c9e41dc88a1b8a7d
|
|
BLAKE2b-256 checksum How to use checksums |
13827464ce9141881a804c6230708614afbc59f6a1cdf95039efb7e275a928d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Release files / crowdpy-1.3.0-py3-none-any.whl
| Download URL | crowdpy-1.3.0-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd85cf4fd677993f0c45be5b315c76cf8fa7f4c9197ededabd60830b60057f94
|
|
BLAKE2b-256 checksum How to use checksums |
f284b5e2aeae9378c9573f61b89fd58d37a8433997b4816d4f60f206ae38eb37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Security for crowdpy 1.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.