semvec/pypi-packages huggingface dataset:
reformat-money 0.0.2
A script to fix money references within a codebase.
Requires Python: >=3.6

# Reformat Money

`reformat-money` is a simple command line utility that will attempt to
reformat the usage of [`py-moneyed`][py-moneyed] Money within the application
into a standard string format.

The driver behind this is that usage of money within an application needs to
be consistent and precise.  The main aim of this utility is to stop an
application defining money as `float`, which can lead to unpredictable errors.
In order to keep consistency, where possible all instances of money will have
the amount reformatted to a string.

The following will be reformatted.
```
Money(100.20, "USD") --> Money("100.20", "USD")
Money(200, "USD") --> Money("200.00", "USD")
```

If it is not possible to reformat, the filename will be logged for the user to
inspect manually.

It is advised that you have your code committed to version control before running
`reformat-money` to allow you to roll back changes that you are not happy with.


## Installation

Installation is simple:
```
pip install reformat-money
```

## Usage

This utility can be used by specifying either a single file or directory, for example

```
reformat-money package_name
```


[py-moneyed]: https://github.com/limist/py-moneyed
cryptoconditions-tui 0.0.1
Terminal user interfaces for Komodo CryptoConditions smart-contracts

# GatewaysCC Terminal User Interface

![alt text](https://i.imgur.com/c8DPfpp.png)

This program was created for demonstration and partial automation of Komodo GatewaysCC stack testing. (AssetsCC, OraclesCC, GatewaysCC, oraclesfeed dAPP)

Python3 required for execution:
*  `sudo apt-get install python3.6`
pip packages needed:
* `pip3 install setuptools wheel slick-bitcoinrpc`
* or `pip3 install -r requirements.txt`
Before execution be sure than daemon for needed AC up.

At the moment raw version of manual gateway how-to guide can be found here: https://docs.komodoplatform.com/cc/contracts/gateways/scenarios/tutorial.html I advice to read it before you start use this tool to understand the flow.
lifesospy 0.10.1
Provides an interface to LifeSOS alarm systems.
Requires Python: >=3.5.3

LifeSOSpy
=========

A Python library to communicate with `LifeSOS`_ alarm systems. In some
markets, they may also be labelled under the name of the distributor;
eg. SecurePro in Australia, WeBeHome in northern Europe.

It was written for & tested with the LS-30 model, though it should also
work on the LS-10/LS-20 models.

The base unit must be connected to your network in order for this
library to communicate with it; serial connections are not currently
supported.

Note: This library is intended for developer use. If youâ€™re just looking
to access your LifeSOS alarm system, devices and switches from other
applications, Iâ€™d suggest taking a look at `LifeSOSpy_MQTT`_ instead. It
provides an MQTT Client implementation that easily integrates with
applications that support MQTT (eg. Home Assistant, OpenHAB).

--------------

When using this library in your app there are three main classes to
choose from:

BaseUnit
~~~~~~~~

Provides higher level access to the alarm system, managing the Client /
Server connection for you. It will automatically enumerate all attached
devices on connection, monitor the state of the base unit & devices with
notification when they change, and automatically attempt reconnection
(when running as client).

This class was created to simplify integration into home automation
software.

Client / Server
~~~~~~~~~~~~~~~

These two classes allow you to directly issue commands to the alarm
system, and attach callbacks to handle any events if needed.

Simple Client Examples
''''''''''''''''''''''

Display the current mode


.. code:: python

   from lifesospy.client import Client
   from lifesospy.command import GetOpModeCommand

   client = Client('192.168.1.100', 1680)
   await client.async_open()
   response = await client.async_execute(GetOpModeCommand())
   print("Operation mode is {}".format(str(response.operation_mode)))
   client.close()

..

   Operation mode is Disarm

Arm the system


.. code:: python

   from lifesospy.client import Client
   from lifesospy.command import SetOpModeCommand
   from lifesospy.enums import OperationMode

   client = Client('192.168.1.100', 1680)
   await client.async_open()
   await client.async_execute(SetOpModeCommand(OperationMode.Away))
   client.close()

.. _LifeSOS: http://lifesos.com.tw
.. _LifeSOSpy_MQTT: https://github.com/rorr73/LifeSOSpy_MQTT