crowdpy-1.3.0
توضیحات
A Python library for Atlassian Crowd REST API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | crowdpy-1.3.0 |
| نام | crowdpy |
| نسخه کتابخانه | 1.3.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Daeyeol Ryu |
| ایمیل نویسنده | yoobato@gmail.com |
| آدرس صفحه اصلی | https://github.com/yoobato/crowdpy |
| آدرس اینترنتی | https://pypi.org/project/crowdpy/ |
| مجوز | Apache-2.0 |
# 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
```sh
pip install crowdpy
```
## Usage
```python
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)
```sh
# 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
- [Daeyeol Ryu](https://yoobato.com)
## License
- [Apache License 2.0](./LICENSE)
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl crowdpy-1.3.0:
pip install crowdpy-1.3.0.whl
نصب پکیج tar.gz crowdpy-1.3.0:
pip install crowdpy-1.3.0.tar.gz