Skip to main content

i-Xero2

This is a standardized and customized connector to Xero.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

This package supports the following version of Python. It probably supports older versions, but they have not been tested.

  • Python 3.10 or later
  • xero-python>=15.4,<16 (locked to 15.4.0)

Installing

Install the latest package using pip.

$ pip install i-xero2

End with an example of getting some data out of the system or using it for a little demo

Running the tests

Before running the tests, you need to authorize the app with Xero and save the tenant ID in the environment.

  1. In Xero, switch to the "Demo Company".

  2. Run the app locally.

    $ python app.py
    
  3. In the browser, navigate to http://localhost:5000/

  4. Follow the prompts to allow app to access Xero.

  5. Read tenants.

  6. Copy the tenantId.

  7. Save the tenant id as an environment variable named XERO_TENANT_ID.

  8. Run the tests.

    $ python -m pytest
    

SDK 15.4.0 verification

Offline verification on Python 3.10 passed the package version test and five mocked HTTP invoice checks covering reads, lookups, creates and updates, including four-decimal unit prices. All 39 referenced Accounting API methods remain available. Lockfile validation, installed dependency checks, and source and wheel builds passed. Live Xero and MongoDB integration tests remain pending.

Usage

TODO

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Metadata

Release files for i-xero2 2.16.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for i-xero2 2.16.0
File Size Uploaded Provenance Actions
i_xero2-2.16.0.tar.gz 12.4 kB With provenance Details for i_xero2-2.16.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for i-xero2 2.16.0
File Interpreter ABI Platform Actions
i_xero2-2.16.0-py3-none-any.whl Python 3 none any Details for i_xero2-2.16.0-py3-none-any.whl

Total release size: 25.4 kB

Release files / i_xero2-2.16.0.tar.gz

Download URL i_xero2-2.16.0.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8be7b3ca53a75ea4e257333509e9f6af03d367a275afc4af6017fc56ee86546b
BLAKE2b-256 checksum
How to use checksums
42a573b97c8060e60a7d813a834aaec33642206ca3dcb3c7f3cbf87380e505c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / i_xero2-2.16.0-py3-none-any.whl

Download URL i_xero2-2.16.0-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d616a84bd2aec29d710ea2aa47859b16b5150664cd605726456b77a553ee6e8a
BLAKE2b-256 checksum
How to use checksums
da0e249400341195e3f96e771ee053f00da68e1e12f75696919d3ae61986561c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for i-xero2 2.16.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for i_xero2-2.16.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page