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:
- Client ID: Accessible from your app at Procore Developers - will vary between sandbox and production modes
- Client Secret: Accessible from your app at Procore Developers - will vary between sandbox and production modes
- Redirect URI: For data connection apps, this value will be "urn:ietf:wg:oauth:2.0:oob"
- OAuth URL: Will be "https://sandbox.procore.com" for sandbox environments or "https://app.procore.com" for production
- Base URL: Will be "https://sandbox.procore.com" for sandbox environments or "https://app.procore.com" for production
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:
- Procore Developer Dcoumentation: Various articles concerning the setup and use of Procore's API
- REST API Reference: Endpoints, response samples, and limited code snippets showcasing the use of the API.
GitHub Repositories
- Procore's Own Python Sample: Includes basic code to setup a Python Flash application but uses the other OAuth 2.0 grant type
- Python SDK for Procore: Small SDK that includes basic code to work with Procore. Uses the other OAuth 2.0 grant type.
License
This repository is licensed through the MIT License.
Metadata
Release files for ProPyCore 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| propycore-0.8.0.tar.gz | 31.2 kB | Without provenance | Details for propycore-0.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| propycore-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for propycore-0.8.0-py3-none-any.whl |
Total release size: 91.5 kB
Release files / propycore-0.8.0.tar.gz
| Download URL | propycore-0.8.0.tar.gz |
|---|---|
| Size | 31.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d87b656e2dedbfe2af2c8809e1ab62e92f5f737ef5d355850c22f3ec48f55b28
|
|
BLAKE2b-256 checksum How to use checksums |
144a7a42c8ce9162fe0d67e36fd04a491d1d426e18daec60a6eec931553a0aa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / propycore-0.8.0-py3-none-any.whl
| Download URL | propycore-0.8.0-py3-none-any.whl |
|---|---|
| Size | 60.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df2d643c4b0e2122c7eb395007629ddc58520a7bce8de6210e1a65ef646a7e09
|
|
BLAKE2b-256 checksum How to use checksums |
65e2cc8b27a44fbe98c39cd04058d185e349a6d71930ec8433c51532b60735ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for ProPyCore 0.8.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.