semvec/pypi-packages huggingface dataset:
redditmon 1.0.1
A simple package for viewing reddit posts
License: MIT
Requires Python: >=3.6

# RedditMon

RedditMon is a dumb and janky little package I threw together so that I could learn how to package a python project.

## Installation

1. `pip install redditmon`
1. ????
1. Profit!!!

## Usage

To use this module (assuming you have it installed), create a config file in your home directory with the name `redditmon.config.ini` that contains the details of your reddit API account. Look at [this example](https://github.com/cummings-chris/redditmon/blob/main/example_redditmon.config.ini) to see how to structure the file. Once you have your config file in place, you can launch the module directly by issuing `redditmon <subredditname>`. Alternatively, you can launch it as a python module using `python3 -m redditmon <subredditname>`. Use `redditmon --help` for more information.
nr.pylang.ast 0.0.5
Package description here.
License: MIT
Requires Python: >=3.4.0,<4.0.0

> Note: This package is in the dangerous land of `0.x.y` versions and may be subject to breaking
> changes with minor version increments.

# nr.pylang.ast

This package provides tools for processing the AST as generated by the Python
`ast` module.

### Module: `dynamic_eval`

This module provides an AST rewriter that takes and Read/Write operations on
global variables and rewrites them to retrieve the variable by a function
instead. Non-global variables are left untouched.

Example:

```python
import os
from os import path

parent_dir = path.dirname(__file__)

def main():
  filename = path.join(parent_dir, 'foo.py')
  print(filename)
```

Will be converted to:

```python
import os; __dict__['os'] = os
from os import path; __dict__['path'] = path

__dict__['parent_dir'] = __dict__['path'].dirname(__dict__['__file__'])

def main():
  filename = __dict__['path'].join(__dict__['parent_dir'], 'foo.py')
  __dict__['print'](filename)
```

---

<p align="center">Copyright &copy; 2020 Niklas Rosenstein</p>
python-dds238 0.0.5
Reads DDS238 meters via modbus
License: MIT
Keywords: dds238 power meter modbus

# python-dds238
This library is very useful when reading the chinese DDS238 (and its variants: DDS238-2, ...)  power meter.

This library supposes that you're using an USB-to-RS485 dongle. It doesn't work yet for modbus-over-TCP
(though if you want to propose an MR, i'd accept it gladly !).

# Installation
To install the library, simply type:
```
$ pip3 install python-dds238
```


# Usage
I'ts very simple:
```python3
>>> from dds238 import DDS238
>>> meter = DDS238(modbus_device='/dev/ttyUSB0', meter_id=20)
>>> meter.voltage
215.4
>>> meter.power
1632
>>> meter.export_energy
1288.2
```

# DOC
```
 |  current
 |      Returns the current in Amperes
 |
 |  export_energy
 |      Returns the exported energy, in kWh
 |
 |  frequency
 |      Returns the frequency in Herz
 |
 |  import_energy
 |      Returns the imported energy, in kWh
 |
 |  power
 |      Returns the power in Watts. Positive is import. Negative power is exported
 |
 |  power_factor
 |      Returns the power factor (0-1 scalar)
 |
 |  reactive_power
 |      Return the reactive power in VAr
 |
 |  voltage
 |      Returns the voltage in Volts
 |
 |  ----------------------------------------------------------------------
 |
 |  change_address(self, address: int, baudrate=9600)
 |      Change the modbus address and the baudrate of the current device. USE AT YOUR OWN RISK !
```