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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyrevizto-0.2.tar.gz
Algorithm Hash digest
SHA256 bd607eeda77465cafb0b1dd8016742643fe9bc4a49b46853c56292d406ac0130
MD5 2818d17a3ad708a1d479b8a38dd22913
BLAKE2b-256 e711c28c6303b5241570dcfcdaf6ba1266c71675990c951b7ae6740ab38c6a82

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyRevizto-0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 002c1405fc0f4cd0f3b0fe1a5b1e9439f9b8e3693a5635ad6a26319e83e38eb3
MD5 3bcbf3091c5cda9c6bd8ca0c54fef1c8
BLAKE2b-256 1bdec8328e7c96a16004ab9ff93922848256969a1fbd77c69ce3aca0eb851f94

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