semvec/pypi-packages huggingface dataset:
partnercenterservices 0.1.2
Python SDK for Microsoft Partner Center Services API
License: MIT
Keywords: api,microsoft,partnercenter

# Partner Center Python SDK

[![Build Status](https://travis-ci.com/eduardomourar/partner-center-python.svg?branch=master)](https://travis-ci.com/eduardomourar/partner-center-python)

The Partner Center Python SDK provides an SDK to interact with [Microsoft's Partner Center service](https://apidocs.microsoft.com/services/partnercenterservice). This enables the partners to perform the Partner Center operations programmatically.

## Installing SDK

To install:

```bash
pip install partnercenterservices
```

## Supported Scenarios

To find pointers and code snippets that show how to use the Partner Center Python SDK to manage customers, get analytics, place orders, manage billing and subscriptions, provide support, and manage accounts and profiles, please check out the [supported scenarios](https://docs.microsoft.com/partner-center/develop/scenarios).

## Checking out the Source Code

Use the following command to clone the repository

```bash
git clone https://github.com/eduardomourar/partner-center-python.git
cd partner-center-python
```

### How to Build from Command Line

This was build using [AutoRest](https://github.com/Azure/autorest) and downloading [Partner_Center_Service_SwaggerDocument](https://apidocs.microsoft.com/services/partnercenterservice/SwaggerDocument) from Partner Center:

```bash
autorest --input-file=swagger.json --python --azure-arm=true --payload-flattening-threshold=2 --namespace=microsoft.store.partnercenterservices --package-name=partnercenterservices --package-version=0.1.0
```

## Related Projects

[Partner Center Java SDK](https://github.com/Microsoft/Partner-Center-Java)

[Partner Center .NET SDK Samples](https://github.com/PartnerCenterSamples/Partner-Center-SDK-Samples)
paynowzw 2.0.0
A minimalist python wrapper for the Paynow Payment Gateway.
License: MIT

![Paynowzw Logo](./logo.png)

Simple python API wrapper for Paynow Zimbabwe Online Payment Gateway system.
Check official website for Paynow  [Paynow](http://www.paynow.co.zw)

## Installation

Installing paynowzw is as simple as following the steps belows


```python
pipenv install paynowzw
```


### Dependencies

* request library py [Kenneth Reitz](https://)
* urllib.parse library


## Tutorial

```python

from paynowzw import Paynow

paynow = Paynow()

# send payment to Paynow with reference as str
paynow.send_payment('reference', {'honey':23.345})

or

# create a dictionary of products
products = {'honey':2.34,'sugar':2.33}
response = paynow.send_payment('reference', products)

#check payment status
if response['Status'] == 'Ok':
....# do stuff
else:
    # do something else. status returned an 'Error' if the payment fails

#Use this method to poll status updates about a payment
poll_status = paynow.status_update()

```

## To Do

* Documentation ,Documentation just felt lazy :)
* Create example with a web framework mainly flask
* Create a Flask extension
* Create a test suite 
* Refactoring

### Pull requests are encouraged!


## License

MIT License

Copyright (c) 2018 bevenfx. However this is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any means.