Python SDK for the Rowland Documents API
Project description
Rowland Python SDK
Python SDK for the Rowland Documents API.
Installation
pip install rowland
Quick Start
from rowland import DocumentsApiClient
# Initialize client
client = DocumentsApiClient(api_key="your-api-key")
# Upload a document
with open("contract.pdf", "rb") as f:
document = client.upload_document(f, "contract.pdf")
print(f"Uploaded: {document.id}")
# Get documents
documents = client.get_documents(limit=10)
print(f"Found {documents.total} documents")
# Get specific document
doc = client.get_document(document.id)
print(f"Status: {doc.status}")
# Get extractions when ready
if doc.status == "success":
extractions = client.get_document_extractions(doc.id)
print(f"Found {extractions.total_objects_found} objects")
# Close client
client.close()
Context Manager (Recommended)
with DocumentsApiClient(api_key="your-api-key") as client:
# Upload document
with open("document.pdf", "rb") as f:
doc = client.upload_document(f, "document.pdf")
# Client automatically closes
Methods
upload_document()- Upload a document for processingget_documents()- Get paginated list of documentsget_document()- Get specific document by IDdelete_document()- Delete a documentget_document_extractions()- Get extracted dataget_health()- Check API health
Document Types Supported
Supports 40+ document types including leases, deeds, assignments, JOAs, division orders, and more.
Requirements
- Python 3.8+
- API key from Rowland
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rowland-0.0.1.tar.gz
(29.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rowland-0.0.1.tar.gz.
File metadata
- Download URL: rowland-0.0.1.tar.gz
- Upload date:
- Size: 29.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf8869505db2707ad71fb5a87a82899cbf5297cfe2d985debdc421038be7a6fa
|
|
| MD5 |
ea424b521567137d711995bff7bea107
|
|
| BLAKE2b-256 |
6ba8a3347d77bef7008ce77f2c0b3ac44664c272bcf3a701016054acbdaef935
|
File details
Details for the file rowland-0.0.1-py3-none-any.whl.
File metadata
- Download URL: rowland-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81329c70009f59d88bb9cbf69cbd6514b3a6007dcd72ae230fbd6b9004609d76
|
|
| MD5 |
2e7789a65cc1f4d46eadc4542ccb8709
|
|
| BLAKE2b-256 |
aa393c40a29a55386f31440cd8911758d624834f48646f853b511dfcdf580bc2
|