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

alt text

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.6.tar.gz (22.9 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.6-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file pyrevizto-0.6.tar.gz.

File metadata

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

File hashes

Hashes for pyrevizto-0.6.tar.gz
Algorithm Hash digest
SHA256 d3c6fe50cbf77c1e3caa1f36d67edfcb0c78bd91d6876b6dc882224a74ab8bb5
MD5 a62e0a31c6be88aaaef9d957fc992bec
BLAKE2b-256 6a50b99f8368efa92d220521e4d7be58f4851f504a8f5e386bbe0431dc6c658a

See more details on using hashes here.

File details

Details for the file pyrevizto-0.6-py3-none-any.whl.

File metadata

  • Download URL: pyrevizto-0.6-py3-none-any.whl
  • Upload date:
  • Size: 27.3 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 05e9c0338c82f0823daeb8bcc8a1bb6fb47b8b4d621daf5652b89980a51e01f8
MD5 a616c2f3704c6db2bbc044a323b833d4
BLAKE2b-256 8f48b72ee1b4d26bf24f121ffa42c50fad53f16f5a6b5ffb60eb1a65b1cb8888

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