Skip to main content

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.

Project description

pyRevizto

Black

License: GPL v3

Python Version

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:

pip install pyRevizto

Usage

Initialization

To use the pyRevizto library, you need to initialize the pyRevizto class with the required parameters:

from pyrevizto import pyRevizto



region = "yourRegion"

revizto = pyRevizto(region, save_token=True)

Authentication

To authenticate and get tokens, use the get_tokens method:

tokens = revizto.get_tokens(access_code="your_access_code")

print(tokens)

Example Usage

Get Current User Licenses

licenses = revizto.get_current_user_licenses()

print(licenses)

Get Project Issues

issues = revizto.get_project_issues(project_uuid="your_project_uuid")

print(issues)

Invite Users to License

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

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

response = revizto.remove_license_members(

    license_uuid="your_license_uuid",

    member_uuids=["member_uuid1", "member_uuid2"]

)

print(response)

Get Project Members

members = revizto.get_project_members(project_uuid="your_project_uuid")

print(members)

Invite Users to Project

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

roles = revizto.get_project_roles(license_uuid="your_license_uuid")

print(roles)

Get Current User Info

user_info = revizto.get_current_user_info()

print(user_info)

Get Stamp Templates

templates = revizto.get_stamp_templates(project_uuid="your_project_uuid")

print(templates)

Get User Reports

reports = revizto.get_user_reports(license_uuid="your_license_uuid")

print(reports)

Get Project Sheets

sheets = revizto.get_project_sheets(project_uuid="your_project_uuid")

print(sheets)

Get Sheet History

history = revizto.get_sheet_history(project_uuid="your_project_uuid", sheet_uuid="your_sheet_uuid")

print(history)

Get Sheet Filter Options

filter_options = revizto.get_sheet_filter_options(project_uuid="your_project_uuid")

print(filter_options)

Get Deleted Issues

deleted_issues = revizto.get_deleted_issues(project_uuid="your_project_uuid")

print(deleted_issues)

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

pyRevizto-0.5.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyRevizto-0.5-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

Details for the file pyRevizto-0.5.tar.gz.

File metadata

  • Download URL: pyRevizto-0.5.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.1

File hashes

Hashes for pyRevizto-0.5.tar.gz
Algorithm Hash digest
SHA256 849c0a8dcf5ca7a66e8c622845330e2adc5a415065caef74aca7a275d3efaabb
MD5 9e37eca748bbb411877837582fbba905
BLAKE2b-256 a611e2cbf23c3a9f21d9b21e480d05aa95adb2b26a42bbc0e812d81133ee412e

See more details on using hashes here.

File details

Details for the file pyRevizto-0.5-py3-none-any.whl.

File metadata

  • Download URL: pyRevizto-0.5-py3-none-any.whl
  • Upload date:
  • Size: 27.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.1

File hashes

Hashes for pyRevizto-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b2f8c4aae290ec0a87e1850eac4956b4ecada21f3048c1e5ea2687c7adc20cba
MD5 f3c6ae490e0836d44c314db334de79e2
BLAKE2b-256 22d3b8cf5ecf271dd57f07b5eebdac4ff330dcf8ebb42752e5ec9221cf477152

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page