squareup 41.0.0.20250319
pip install squareup
Released:
Use Square APIs to manage and run business including payment, customer, product, inventory, and employee management.
Navigation
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- Author: Square Developer Platform
- Requires: Python >=3.7
Project description
Square Python SDK
Use this library to integrate Square payments into your app and grow your business with Square APIs including Catalog, Customers, Employees, Inventory, Labor, Locations, and Orders.
Requirements
Use of the Python SDK requires:
- Python 3 version 3.7 or higher
Installation
For more information, see Set Up Your Square SDK for a Python Project.
Quickstart
For more information, see Square Python SDK Quickstart.
Usage
For more information, see Using the Square Python SDK.
Tests
First, clone the repo locally and cd
into the directory.
git clone https://github.com/square/square-python-sdk.git
cd square-python-sdk
Next, install dependencies.
python3 -m pip install .
Before running the tests, find a sandbox token in your Developer Dashboard and set a SQUARE_SANDBOX_TOKEN
environment variable.
export SQUARE_SANDBOX_TOKEN="YOUR SANDBOX TOKEN HERE"
Ensure you have pytest
installed:
python3 -m pip install pytest
And lastly, run the tests.
pytest
SDK Reference
Payments
Terminal
Orders
Subscriptions
Invoices
Items
Customers
Loyalty
Gift Cards
Bookings
Business
Team
Financials
Online
Authorization
Webhook Subscriptions
Deprecated APIs
The following Square APIs are deprecated:
-
Employees - replaced by the Team API. For more information, see Migrate from the Employees API.
-
Transactions - replaced by the Orders and Payments APIs. For more information, see Migrate from the Transactions API.
Project details
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- Author: Square Developer Platform
- Requires: Python >=3.7
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 Distributions
Built Distribution
File details
Details for the file squareup-41.0.0.20250319-py3-none-any.whl
.
File metadata
- Download URL: squareup-41.0.0.20250319-py3-none-any.whl
- Upload date:
- Size: 117.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9798137d1b85ee349fa0c0f565f5da9e9a1394d1823dae01e419cab2f8e5448 |
|
MD5 | 80deb1ff4c11a4bc98babc45b858fff5 |
|
BLAKE2b-256 | 03565a0b44164057f4868ae85ad36be6d541606cda67be57fbe93549a27cf283 |