Name | pyRevizto JSON |
Version |
0.5
JSON |
| download |
home_page | https://github.com/umarkhalid007/pyRevizto |
Summary | pyRevizto is a library designed specifically for Python developers who work with Revizto, a popular platform for BIM collaboration and issue tracking. By leveraging pyRevizto, developers can streamline their workflows and significantly enhance the capabilities of Revizto through automation. |
upload_time | 2024-12-27 19:34:24 |
maintainer | None |
docs_url | None |
author | Umar Khalid |
requires_python | >=3.6 |
license | None |
keywords |
revizto
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# pyRevizto
[](https://github.com/psf/black)
[](https://www.gnu.org/licenses/gpl-3.0)
[](https://www.python.org/downloads/)
`pyRevizto` is a library designed specifically for Python developers who work with Revizto, a popular platform for BIM collaboration and issue tracking. By leveraging `pyRevizto`, developers can streamline their workflows and significantly enhance the capabilities of Revizto through automation.
## Features
- Manage licenses, projects, and users
- Handle issues and comments
- Generate reports
- Manage project sheets and stamps
## Installation
To install `pyRevizto`, use pip:
```sh
pip install pyRevizto
```
## Usage
Initialization
To use the pyRevizto library, you need to initialize the pyRevizto class with the required parameters:
```python
from pyrevizto import pyRevizto
region = "yourRegion"
revizto = pyRevizto(region, save_token=True)
```
## Authentication
To authenticate and get tokens, use the get_tokens method:
```python
tokens = revizto.get_tokens(access_code="your_access_code")
print(tokens)
```
## Example Usage
## Get Current User Licenses
```python
licenses = revizto.get_current_user_licenses()
print(licenses)
```
## Get Project Issues
```python
issues = revizto.get_project_issues(project_uuid="your_project_uuid")
print(issues)
```
## Invite Users to License
```python
invite_data = [
{"email": "user1@example.com", "role": 2, "firstName": "userFirstName1", "lastName": "userLastName1", "company":"companyName"},
{"email": "user2@example.com", "role": 2, "firstName": "userFirstName2", "lastName": "userLastName2", "company":"companyName"},
]
response = revizto.invite_users_to_license(
license_uuid="your_license_uuid",
invite_data=invite_data
)
print(response)
```
## Assign License Roles
```python
response = revizto.assign_license_roles(
license_uuid="your_license_uuid",
member_uuids=["member_uuid1", "member_uuid2"],
role=2 # Role ID
)
print(response)
```
## Remove License Members
```python
response = revizto.remove_license_members(
license_uuid="your_license_uuid",
member_uuids=["member_uuid1", "member_uuid2"]
)
print(response)
```
## Get Project Members
```python
members = revizto.get_project_members(project_uuid="your_project_uuid")
print(members)
```
## Invite Users to Project
```python
response = revizto.invite_users_to_project(
project_uuid="your_project_uuid",
invitations=["user1@example.com", "user2@example.com"],
role_id=111222 # Role ID
)
print(response)
```
## Get Project Roles
```python
roles = revizto.get_project_roles(license_uuid="your_license_uuid")
print(roles)
```
## Get Current User Info
```python
user_info = revizto.get_current_user_info()
print(user_info)
```
## Get Stamp Templates
```python
templates = revizto.get_stamp_templates(project_uuid="your_project_uuid")
print(templates)
```
## Get User Reports
```python
reports = revizto.get_user_reports(license_uuid="your_license_uuid")
print(reports)
```
## Get Project Sheets
```python
sheets = revizto.get_project_sheets(project_uuid="your_project_uuid")
print(sheets)
```
## Get Sheet History
```python
history = revizto.get_sheet_history(project_uuid="your_project_uuid", sheet_uuid="your_sheet_uuid")
print(history)
```
## Get Sheet Filter Options
```python
filter_options = revizto.get_sheet_filter_options(project_uuid="your_project_uuid")
print(filter_options)
```
## Get Deleted Issues
```python
deleted_issues = revizto.get_deleted_issues(project_uuid="your_project_uuid")
print(deleted_issues)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/umarkhalid007/pyRevizto",
"name": "pyRevizto",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "Revizto",
"author": "Umar Khalid",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/a6/11/e2cbf23c3a9f21d9b21e480d05aa95adb2b26a42bbc0e812d81133ee412e/pyRevizto-0.5.tar.gz",
"platform": null,
"description": "\r\n# pyRevizto\r\n\r\n\r\n\r\n[](https://github.com/psf/black)\r\n\r\n[](https://www.gnu.org/licenses/gpl-3.0)\r\n\r\n[](https://www.python.org/downloads/)\r\n\r\n\r\n\r\n`pyRevizto` is a library designed specifically for Python developers who work with Revizto, a popular platform for BIM collaboration and issue tracking. By leveraging `pyRevizto`, developers can streamline their workflows and significantly enhance the capabilities of Revizto through automation.\r\n\r\n\r\n\r\n## Features\r\n\r\n\r\n\r\n- Manage licenses, projects, and users\r\n\r\n- Handle issues and comments\r\n\r\n- Generate reports\r\n\r\n- Manage project sheets and stamps\r\n\r\n\r\n\r\n## Installation\r\n\r\n\r\n\r\nTo install `pyRevizto`, use pip:\r\n\r\n\r\n\r\n```sh\r\n\r\npip install pyRevizto\r\n\r\n```\r\n\r\n\r\n\r\n## Usage\r\n\r\n\r\n\r\nInitialization\r\n\r\nTo use the pyRevizto library, you need to initialize the pyRevizto class with the required parameters:\r\n\r\n\r\n\r\n```python\r\n\r\nfrom pyrevizto import pyRevizto\r\n\r\n\r\n\r\nregion = \"yourRegion\"\r\n\r\nrevizto = pyRevizto(region, save_token=True)\r\n\r\n\r\n\r\n```\r\n\r\n\r\n\r\n## Authentication\r\n\r\nTo authenticate and get tokens, use the get_tokens method:\r\n\r\n\r\n\r\n```python\r\n\r\ntokens = revizto.get_tokens(access_code=\"your_access_code\")\r\n\r\nprint(tokens)\r\n\r\n```\r\n\r\n\r\n\r\n## Example Usage\r\n\r\n\r\n\r\n## Get Current User Licenses\r\n\r\n\r\n\r\n```python\r\n\r\nlicenses = revizto.get_current_user_licenses()\r\n\r\nprint(licenses)\r\n\r\n```\r\n\r\n\r\n\r\n## Get Project Issues\r\n\r\n\r\n\r\n\r\n\r\n```python\r\n\r\nissues = revizto.get_project_issues(project_uuid=\"your_project_uuid\")\r\n\r\nprint(issues)\r\n\r\n```\r\n\r\n\r\n\r\n## Invite Users to License\r\n\r\n\r\n\r\n```python\r\n\r\ninvite_data = [\r\n\r\n {\"email\": \"user1@example.com\", \"role\": 2, \"firstName\": \"userFirstName1\", \"lastName\": \"userLastName1\", \"company\":\"companyName\"},\r\n\r\n {\"email\": \"user2@example.com\", \"role\": 2, \"firstName\": \"userFirstName2\", \"lastName\": \"userLastName2\", \"company\":\"companyName\"},\r\n\r\n\r\n\r\n]\r\n\r\nresponse = revizto.invite_users_to_license(\r\n\r\n license_uuid=\"your_license_uuid\",\r\n\r\n invite_data=invite_data\r\n\r\n)\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n\r\n\r\n## Assign License Roles\r\n\r\n\r\n\r\n```python\r\n\r\nresponse = revizto.assign_license_roles(\r\n\r\n license_uuid=\"your_license_uuid\",\r\n\r\n member_uuids=[\"member_uuid1\", \"member_uuid2\"],\r\n\r\n role=2 # Role ID\r\n\r\n)\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n\r\n\r\n## Remove License Members\r\n\r\n\r\n\r\n```python\r\n\r\nresponse = revizto.remove_license_members(\r\n\r\n license_uuid=\"your_license_uuid\",\r\n\r\n member_uuids=[\"member_uuid1\", \"member_uuid2\"]\r\n\r\n)\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n\r\n\r\n## Get Project Members\r\n\r\n\r\n\r\n```python\r\n\r\nmembers = revizto.get_project_members(project_uuid=\"your_project_uuid\")\r\n\r\nprint(members)\r\n\r\n```\r\n\r\n\r\n\r\n## Invite Users to Project\r\n\r\n\r\n\r\n\r\n\r\n```python\r\n\r\nresponse = revizto.invite_users_to_project(\r\n\r\n project_uuid=\"your_project_uuid\",\r\n\r\n invitations=[\"user1@example.com\", \"user2@example.com\"],\r\n\r\n role_id=111222 # Role ID\r\n\r\n)\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n\r\n\r\n## Get Project Roles\r\n\r\n\r\n\r\n```python\r\n\r\nroles = revizto.get_project_roles(license_uuid=\"your_license_uuid\")\r\n\r\nprint(roles)\r\n\r\n```\r\n\r\n\r\n\r\n## Get Current User Info\r\n\r\n\r\n\r\n```python\r\n\r\nuser_info = revizto.get_current_user_info()\r\n\r\nprint(user_info)\r\n\r\n```\r\n\r\n\r\n\r\n## Get Stamp Templates\r\n\r\n\r\n\r\n```python\r\n\r\ntemplates = revizto.get_stamp_templates(project_uuid=\"your_project_uuid\")\r\n\r\nprint(templates)\r\n\r\n```\r\n\r\n\r\n\r\n## Get User Reports\r\n\r\n\r\n\r\n```python\r\n\r\nreports = revizto.get_user_reports(license_uuid=\"your_license_uuid\")\r\n\r\nprint(reports)\r\n\r\n```\r\n\r\n\r\n\r\n## Get Project Sheets\r\n\r\n\r\n\r\n```python\r\n\r\nsheets = revizto.get_project_sheets(project_uuid=\"your_project_uuid\")\r\n\r\nprint(sheets)\r\n\r\n```\r\n\r\n\r\n\r\n## Get Sheet History\r\n\r\n\r\n\r\n```python\r\n\r\nhistory = revizto.get_sheet_history(project_uuid=\"your_project_uuid\", sheet_uuid=\"your_sheet_uuid\")\r\n\r\nprint(history)\r\n\r\n```\r\n\r\n\r\n\r\n## Get Sheet Filter Options\r\n\r\n\r\n\r\n```python\r\n\r\nfilter_options = revizto.get_sheet_filter_options(project_uuid=\"your_project_uuid\")\r\n\r\nprint(filter_options)\r\n\r\n```\r\n\r\n\r\n\r\n## Get Deleted Issues\r\n\r\n\r\n\r\n```python\r\n\r\ndeleted_issues = revizto.get_deleted_issues(project_uuid=\"your_project_uuid\")\r\n\r\nprint(deleted_issues)\r\n\r\n```\r\n",
"bugtrack_url": null,
"license": null,
"summary": "pyRevizto is a library designed specifically for Python developers who work with Revizto, a popular platform for BIM collaboration and issue tracking. By leveraging pyRevizto, developers can streamline their workflows and significantly enhance the capabilities of Revizto through automation.",
"version": "0.5",
"project_urls": {
"Bug Tracker": "https://github.com/umarkhalid007/pyRevizto/issues",
"Homepage": "https://github.com/umarkhalid007/pyRevizto"
},
"split_keywords": [
"revizto"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "22d3b8cf5ecf271dd57f07b5eebdac4ff330dcf8ebb42752e5ec9221cf477152",
"md5": "f3c6ae490e0836d44c314db334de79e2",
"sha256": "b2f8c4aae290ec0a87e1850eac4956b4ecada21f3048c1e5ea2687c7adc20cba"
},
"downloads": -1,
"filename": "pyRevizto-0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f3c6ae490e0836d44c314db334de79e2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 27236,
"upload_time": "2024-12-27T19:34:22",
"upload_time_iso_8601": "2024-12-27T19:34:22.870891Z",
"url": "https://files.pythonhosted.org/packages/22/d3/b8cf5ecf271dd57f07b5eebdac4ff330dcf8ebb42752e5ec9221cf477152/pyRevizto-0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a611e2cbf23c3a9f21d9b21e480d05aa95adb2b26a42bbc0e812d81133ee412e",
"md5": "9e37eca748bbb411877837582fbba905",
"sha256": "849c0a8dcf5ca7a66e8c622845330e2adc5a415065caef74aca7a275d3efaabb"
},
"downloads": -1,
"filename": "pyRevizto-0.5.tar.gz",
"has_sig": false,
"md5_digest": "9e37eca748bbb411877837582fbba905",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 22791,
"upload_time": "2024-12-27T19:34:24",
"upload_time_iso_8601": "2024-12-27T19:34:24.985652Z",
"url": "https://files.pythonhosted.org/packages/a6/11/e2cbf23c3a9f21d9b21e480d05aa95adb2b26a42bbc0e812d81133ee412e/pyRevizto-0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-27 19:34:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "umarkhalid007",
"github_project": "pyRevizto",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pyrevizto"
}