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.8.0.tar.gz (31.2 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.8.0-py3-none-any.whl (60.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for propycore-0.8.0.tar.gz
Algorithm Hash digest
SHA256 d87b656e2dedbfe2af2c8809e1ab62e92f5f737ef5d355850c22f3ec48f55b28
MD5 85a68b8de9ca19de90809ac412e4bdc1
BLAKE2b-256 144a7a42c8ce9162fe0d67e36fd04a491d1d426e18daec60a6eec931553a0aa6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for propycore-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df2d643c4b0e2122c7eb395007629ddc58520a7bce8de6210e1a65ef646a7e09
MD5 f77ecc2c1f13f14ac50f5aafc5527024
BLAKE2b-256 65e2cc8b27a44fbe98c39cd04058d185e349a6d71930ec8433c51532b60735ac

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