Skip to main content

PyCapitalist

Build Status Coverage Status Documentation Status Latest PyPI version

Python client library for Capitalist API.

Installation

PyCapitalist can be obtained with pip:

$ pip install py-capitalist

Usage example

>>> from capitalist import CapitalistClient
>>> capitalist = CapitalistClient(username='user', password='pass')
>>> capitalist.currency_rates()
{'code': 0,
 'data': {'rates': {'buy': [{'amount': 1.15,
     'amountCur': 'USD',
     'target': 'EUR'},
    {'amount': 3874.15, 'amountCur': 'USD', 'target': 'BTC'},
    {'amount': 3262.95, 'amountCur': 'EUR', 'target': 'BTC'},
    {'amount': 228094.87, 'amountCur': 'RUR', 'target': 'BTC'},
    {'amount': 57.32, 'amountCur': 'RUR', 'target': 'USD'},
    {'amount': 67.52, 'amountCur': 'RUR', 'target': 'EUR'}],
   'sell': [{'amount': 1.26, 'amountCur': 'USD', 'target': 'EUR'},
    {'amount': 4070.33, 'amountCur': 'USD', 'target': 'BTC'},
    {'amount': 3428.17, 'amountCur': 'EUR', 'target': 'BTC'},
    {'amount': 239808.15, 'amountCur': 'RUR', 'target': 'BTC'},
    {'amount': 59.11, 'amountCur': 'RUR', 'target': 'USD'},
    {'amount': 70.94, 'amountCur': 'RUR', 'target': 'EUR'}]}},
 'message': ''}

Documentation

You can view the documentation online at:

Or you can look at the docs/ directory in the repository.

Python support

PyCapitalist supports Python 2.7, 3.3, 3.4, 3.5, 3.6.

Metadata

Release files for py-capitalist 0.1

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

Source distribution (sdist)

Source distribution for py-capitalist 0.1
File Size Uploaded Provenance Actions
py-capitalist-0.1.tar.gz 3.2 kB Without provenance Details for py-capitalist-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-capitalist 0.1
File Interpreter ABI Platform Actions
py_capitalist-0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for py_capitalist-0.1-py2.py3-none-any.whl

Total release size: 8.4 kB

Release files / py-capitalist-0.1.tar.gz

Download URL py-capitalist-0.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4403d35fbe6954f7ebed9348c289b3746a25f462fd52471f702f78856fc3c593
BLAKE2b-256 checksum
How to use checksums
b7107cd322903f4913dcbe040fd4ad7532d3812f4793673928fe925da1300cae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / py_capitalist-0.1-py2.py3-none-any.whl

Download URL py_capitalist-0.1-py2.py3-none-any.whl
Size 5.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
18fc863f246d63641bb4ebf5abd0b69f43acd248ae79aa7e9dae7fd7275c0255
BLAKE2b-256 checksum
How to use checksums
c46bd014991ff50dd9136f75205f62374439b4679f44a90cffcf304d7d9e5ad3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for py-capitalist 0.1

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.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

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