Skip to main content

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 processing
  • get_documents() - Get paginated list of documents
  • get_document() - Get specific document by ID
  • delete_document() - Delete a document
  • get_document_extractions() - Get extracted data
  • get_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


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)

Uploaded Source

Built Distribution

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

rowland-0.0.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

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

Hashes for rowland-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bf8869505db2707ad71fb5a87a82899cbf5297cfe2d985debdc421038be7a6fa
MD5 ea424b521567137d711995bff7bea107
BLAKE2b-256 6ba8a3347d77bef7008ce77f2c0b3ac44664c272bcf3a701016054acbdaef935

See more details on using hashes here.

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

Hashes for rowland-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 81329c70009f59d88bb9cbf69cbd6514b3a6007dcd72ae230fbd6b9004609d76
MD5 2e7789a65cc1f4d46eadc4542ccb8709
BLAKE2b-256 aa393c40a29a55386f31440cd8911758d624834f48646f853b511dfcdf580bc2

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