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.4.tar.gz (22.2 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.4-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyRevizto-0.4.tar.gz
Algorithm Hash digest
SHA256 1faeef52c9c1496ad35c6a530fe0020ce23121ea1762f8521d78ddfac3e19edc
MD5 44c52df01ea7a85888f8ffc9822c6752
BLAKE2b-256 6858478e8a08dbfc813ab48c57284cd329ce39f69b79da5a3c262f69f4328b12

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyRevizto-0.4-py3-none-any.whl
  • Upload date:
  • Size: 26.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 85f6517fdf272c583cc9c7f29a78ee857263ac2dbc04a651977955bf9c49b85d
MD5 c4350a40ad6b9c00eb99aaba440eb2ba
BLAKE2b-256 85402376407959a128a3bd0c530bfd5abc3e1b20c64f6cafe03b6e131f8e51cf

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