Skip to main content

A robust and extensible Python client for interacting with the [Spire Business Software API](https://developer.spiresystems.com/reference). This client provides an object-oriented interface to get, create, update, delete, query, filter, sort, and manage various Spire modules such as Sales Orders, Invoices, Inventory Items, and more.

Project description

Spire API Python Client

A robust and extensible Python client for interacting with the Spire Business Software API. This client provides an object-oriented interface to get, create, update, delete, query, filter, sort, and manage various Spire modules such as Sales Orders, Invoices, Inventory Items, and more.


✨ Features

  • ✅ Object-oriented resource wrappers for each module (e.g., salesOrder, invoice, item)
  • 🔍 Full-text search via q parameter
  • 🔁 Pagination with start and limit support
  • 🧾 JSON-based advanced filtering (supports $gt, $lt, $in, $or, etc.)
  • ↕️ Multi-field sorting with ascending/descending control
  • 🔧 Clean abstraction layer for API endpoints
  • 📦 Powered by pydantic models for validation

📦 Installation

pip install -r requirements.txt

⚙️ Configuration

  • Before using the client, set up your environment configuration:

Add your Base URL to your spire server to a .env file

  • In your project root, create a .env file to securely store your Spire configuration.
  • Add the following variable:
BASE_URL = https://{your-spire-domain}/api/v2/companies/
  • Replace {your-spire-domain} with your actual Spire server's hostname or IP address.

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

spyreapi-0.0.3.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

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

spyreapi-0.0.3-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

Details for the file spyreapi-0.0.3.tar.gz.

File metadata

  • Download URL: spyreapi-0.0.3.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for spyreapi-0.0.3.tar.gz
Algorithm Hash digest
SHA256 fd16da99ef110ef3899bfdbfaad891672737a71163d6026eba8c8d5728990773
MD5 8d5ca5494a68efa73ed2c222f8d9e54a
BLAKE2b-256 bb89387705e897d2ce1b650757beb6914e1f5063fa2c7dcafcc298200a4f51e9

See more details on using hashes here.

File details

Details for the file spyreapi-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: spyreapi-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 22.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for spyreapi-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 32bd1691b9493b73446b7fb369988aa6ab101022e28ae8dcc1637d089870ad94
MD5 3d53aa1a09f01cb9f825f09c914a023b
BLAKE2b-256 bd51130e3782247c95d1bc1242518d2d9834f33db80834de1b4ab62f24d950d5

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