Skip to main content

Interact with Procore through Python for data connection applications

Project description

Contributors Last Commit Test Suite

ro_logo

ProPyCore

A Python-based connection with Procore that doesn't require a user authentication

This package accesses Procore's API through the Client Credentials OAuth 2.0 grant type which is meant for Data Connection Applications i.e. "userless access".

Installation

You can install this package with:

pip install ProPyCore

Examples

To get started, you need to create an instance of a Procore object from propycore.procore. To do so, you will need to access information from your Procore Data Connection App:

Once you have these values, you will use them as parameters in the Procore object:

connection = Procore(
    client_id=os.getenv("CLIENT_ID"),
    client_secret=os.getenv("CLIENT_SECRET"),
    redirect_uri=os.getenv("REDIRECT_URI"),
    oauth_url=os.getenv("OAUTH_URL"),
    base_url=os.getenv("BASE_URL")
)

In this case, I have saved my App information as individual environment variables. For examples on how to access Procore information and create new object, see the snippets folder for a rather exhaustive list.

Resources

Procore:

GitHub Repositories

License

This repository is licensed through the MIT License.

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

propycore-0.7.2.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

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

propycore-0.7.2-py3-none-any.whl (56.9 kB view details)

Uploaded Python 3

File details

Details for the file propycore-0.7.2.tar.gz.

File metadata

  • Download URL: propycore-0.7.2.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for propycore-0.7.2.tar.gz
Algorithm Hash digest
SHA256 58de60e644291b20aebb7ac0c802bd769c969af92b9dd3238f439c70b132d7f8
MD5 cf1bc360dd68add376beb4eb25e980aa
BLAKE2b-256 55a583c75b65f425534df0d438426af7a41ac045ec329ab54f7baa136d368077

See more details on using hashes here.

File details

Details for the file propycore-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: propycore-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 56.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for propycore-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5d138cb90aea716b88012b1ccab9a870213e0160549e0088a3931fbc60e341dc
MD5 0862a6675b519cd3f761676056a4d926
BLAKE2b-256 25caeb96052110dc69447113a23ff61378b09e96e2ab80cbafb4774517f84262

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