This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
stellar-py
==========

Python client library for Stellar

[![PyPI version](https://badge.fury.io/py/stellar-py.svg)](http://badge.fury.io/py/stellar-py)

# Generating keys

```python
account, secret = generate_keypair(password=None)
```

# Signing and submitting transactions

At the highest level of abstraction there are functions like these,
```python
send_payment(secret, account, destination, amount)
set_regular_key(secret, account, regular_key)
```

Lower down the operations are separated for easy offline usage,
where you create the transaction json object, sign the transaction,
and then submit it as separate steps.
```python
tc_json = get_payment_tx_json(account, destination, amount)
tx_blob = sign_transaction(secret, tx_json)
res, msg = submit_transaction(tx_blob)
```

At an even lower level, you can create your own transaction json object,
and have stellar-py take over from there.

```python
import stellar

tx_json = {
'TransactionType': 'Payment',
'Account': account,
'Amount': amount,
'Destination': dest,
}

stellar.complete_transaction_fields(tx_json)
tx_blob = stellar.sign_transaction(secret, tx_json)
stellar.submit_transaction(tx_blob)
```


# Installation

Only tested on Python 2.7

In most cases, this is enough to install:

$ pip install stellar-py

If not, then you might need these too:

$ apt-get install python-pip
$ apt-get install python-dev
Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
stellar-py-0.1.1.tar.gz (6.5 kB) Copy SHA256 Checksum SHA256 Source Sep 3, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting