Ometria
=======
.. image:: https://badge.fury.io/py/ometria.png
:target: http://badge.fury.io/py/ometria
.. image:: https://travis-ci.org/nwjlyons/ometria.png?branch=master
:target: https://travis-ci.org/nwjlyons/ometria
.. image:: https://pypip.in/d/ometria/badge.png
:target: https://crate.io/packages/ometria?version=latest
Python wrapper for the `Ometria API`_.
Install
=======
::
pip install ometria
Usage
====
::
import ometria
client = ometria.Client(key="...", secret="...")
# GET /products?offset=10&limit=10
r = client.products.get(params={"offset":10, "limit":10})
r.response # Original response object from Python requests library.
r.data # Dictionary from HTTP response body.
# PUT /products/1234
client.products(1234).put(data={"url": "http://example.com",
"title": "T-shirt", "price": 5.99})
# POST /transactions/1234/lineitems
client.transactions(1234).lineitems.post(data={
"product_id": "blue_tshirt", "quantity": 3, "unit_price": 2.31, "subtotal": 14.32, "total": 6.04})
# POST /products/_bulk
client.products._bulk.post(data=[{"id": ""}, {"id": ""}])
.. _Ometria API: http://docs.ometria.com/Developers/
History
-------
1.0.0 (2019-03-14)
++++++++++++++++++
* Switched to v2 API
* Python 3 support (dropped Python 2)
0.1.0 (2014-04-23)
++++++++++++++++++
* First release on PyPI.
Metadata
Release files for ometria 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ometria-1.0.0.tar.gz | 6.1 kB | Without provenance | Details for ometria-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ometria-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for ometria-1.0.0-py3-none-any.whl |
Total release size: 11.5 kB
Release files / ometria-1.0.0.tar.gz
| Download URL | ometria-1.0.0.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62b3152fcb5171a490a99beaaabb99c0438a94bda579a36caee7a2d083706c0b
|
|
BLAKE2b-256 checksum How to use checksums |
00471d7cb872108749fba0bbbbfb5dc6100498e167f1e859cfa98655e4d247de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.6
|
Release files / ometria-1.0.0-py3-none-any.whl
| Download URL | ometria-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5f9a775f6a8603bdd26738a85387533caaea5aeaecbec090361f0c17edabd38
|
|
BLAKE2b-256 checksum How to use checksums |
d8ca3bfcf6bfa42411a086a590c8411f175ca5bf39aacea062e20bac7b6a10c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.6
|
Security for ometria 1.0.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.