semvec/pypi-packages huggingface dataset:
pyspapi 3.3.1
API wrapper for SP servers written in Python.
License: MIT
Requires Python: <3.15,>=3.12

.. image:: https://raw.githubusercontent.com/deesiigneer/pyspapi/main/assets/repo-banner.png
   :alt: pyspapi

.. image:: https://img.shields.io/discord/850091193190973472?color=5865F2&label=discord
   :target: https://discord.gg/VbyHaKRAaN
   :alt: Discord server invite
.. image:: https://img.shields.io/github/v/release/deesiigneer/pyspapi?include_prereleases&label=github%20release
   :target: https://github.com/deesiigneer/pyspapi/
   :alt: GitHub release (latest by date including pre-releases)
.. image:: https://img.shields.io/pypi/v/pyspapi.svg
   :target: https://pypi.org/project/pyspapi/
   :alt: PyPI downloads info
.. image:: https://img.shields.io/pypi/dm/pyspapi?color=informational&label=pypi%20downloads
   :target: https://pypi.org/project/pyspapi/
   :alt: PyPI version info
.. image:: https://img.shields.io/readthedocs/pyspapi
   :target: https://pyspapi.readthedocs.io/
   :alt: pyspapi documentation

pyspapi
========

`API <https://github.com/sp-worlds/api-docs>`_ wrapper for SP servers written in Python.

Installation
-------------
**Requires Python 3.8 or higher**

*Windows*


.. code:: sh

    pip install pyspapi

*Linux/macOS*

.. code:: sh

    pip3 install pyspapi

Quick example
--------------

Checking the balance
~~~~~~~~~~~~~~~~~~~~~
.. code:: py

    from pyspapi import SPAPI
    from asyncio import get_event_loop

    spapi = SPAPI(card_id='CARD_ID', token='TOKEN')


    async def main():
        print(await spapi.balance)

    loop = get_event_loop()
    loop.run_until_complete(main())

More examples can be found in the `examples <https://github.com/deesiigneer/pyspapi/tree/main/examples>`_

Links
------

- `Discord server <https://discord.gg/VbyHaKRAaN>`_
- `pyspapi documentation <https://pyspapi.readthedocs.io/>`_
- `PyPi <https://pypi.org/project/pyspapi/>`_
- `API documentation for SP sites <https://github.com/sp-worlds/api-docs>`_
i-xero2 2.13.0
Custom connector to Xero
License: MIT
Requires Python: <4.0,>=3.10
Keywords: python, xero

# 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

### Installing

Install the latest package using pip.

```bash
$ 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".
1. Run the app locally.

    ```bash
    $ python app.py
    ```

1. In the browser, navigate to `http://localhost:5000/`
1. Follow the prompts to allow app to access Xero.
1. Read tenants.
1. Copy the `tenantId`.
1. Save the tenant id as an environment variable named `XERO_TENANT_ID`.
1. Run the tests.

    ```bash
    $ python -m pytest
    ```

## Usage

TODO

## Authors

- **Jason Romano** - [Aracnid](https://github.com/aracnid)

See also the list of [contributors](https://github.com/aracnid/i-xero2/contributors) who participated in this project.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details