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.3.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.3-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyRevizto-0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 b37a60ae3361557541e0cf3addedf44dd6e007baad3daa6e6d3a08d65dd45dc3
MD5 bcbedb2b481cbbb8c0e50af549f33adf
BLAKE2b-256 14aa53ec9a4bb6c92cca0ee41b35f43cecd80389d2f08a6ab5cb6f28354abb91

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyRevizto-0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9d8d330b9bb88ff24e6ba96acf6d84813f628ceba03e130688346d2ba1a8c256
MD5 08217fe7a227da33d29a407b6144700e
BLAKE2b-256 1b378fe2ad5a73e5017d8fab036cad5b1f72ee5cf9b55590d86245b7d2293cac

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