semvec/pypi-packages huggingface dataset:
recharge 1.0.0
Python API Wrapper for Recharge
License: MIT
Keywords: api recharge

Recharge API Wrapper
====================

This library makes interacting with the Recharge API dead simple.

------------
Installation
------------

.. code-block:: bash

    pip install recharge

-----
Usage
-----

.. code-block:: python

    from recharge import RechargeAPI

    api = RechargeAPI(access_token='XXXXX')

    response = api.Order.list({'status': 'QUEUED', 'limit': '250'})

    for order in response['orders']:
        print(order['id'])


For more details on the content of the reponses, visit the `official recharge API docs <https://developer.rechargepayments.com/>`_.

-------------------
Resources Available
-------------------

::

    api.Address
    api.Charge    
    api.Checkout    
    api.Customer    
    api.Order    
    api.Subscription    

-----------------
Methods Available
-----------------

::

    api.*.create    
    api.*.update    
    api.*.get    
    api.*.list    

    api.Address.apply_discount    
    api.Checkout.charge    
    api.Order.change_date    
    api.Order.delete    
    api.Subscription.cancel    
    api.Subscription.set_next_charge_date
dirtrace 0.0.5
generate chromium's trace event format json file from directory content file size
License: MIT

# dirtrace

`dirtrace` generates chromium's trace event format json file from directory based on file size

![Xcode](/screen.png)

[中文说明](https://everettjf.github.io/2019/10/30/dirtrace/)

## Install

```
pip install dirtrace
```

## Usage

(1) run command

```
Usage: 
dirtrace -d <directory-path>
dirtrace -d <directory-path> -o <output-json-path>

This script generates chromium's trace event format json file from directory content file size.
Visit https://github.com/everettjf/DirTrace for more information.

Options:
  -h, --help         show this help message and exit
  -d DIR, --dir=DIR  which directory do you want to trace
  -o OUT, --out=OUT  output json path
```

(2) display

Open Chrome browser, and drag output json file into Chrome's `chrome://tracing/`

- Directory items start with `D_`
- File items start with `F_`


## Support

python 2.x && 3.x

---

*wish you enjoy :)*