semvec/pypi-packages huggingface dataset:
pySTLtools 0.0.1
A Python package for mathematical tools like in STL of C++
License: MIT

# pySTLtools

pySTLtools is a Python package with mathematical tools that could come handy.
Aimed at becoming an equivalent to STL in C++.

## Installation

Run the following to install:
```python
pip install pySTLtools
```

## Usage

Currently has 3 functions. 
One for returning primes until a given limit using Sieve of Atkin.
Another for counting number of setbits in binary representation of an integer.
And the other is for checking if a bit is set in the binary representation of an integer. 

```python

pySTLtools.primes_till_(15)
```
Output: [2, 3, 5, 7, 11, 13]

```python
pySTLtools.is_bit_set(7,1)
```
Output: True

```python
pySTLtools.count_set_bits(9)
```
Output: 2


# Developing pySTL

Contributions/Collaborations to/on this project are very welcomed! Any small help is appreciated :)
I belive the tools that could be developed on this project could be endless
nrgmodbus 0.3.1
library for making modbus connections to NRG Systems devices.
License: MIT
Requires Python: >=3.0
Keywords: nrg systems symphoniepro ipackaccess wind modbus spidar

# ![NRGPy](https://www.gravatar.com/avatar/6282094b092c756acc9f7552b164edfe?s=24) nrgmodbus

**nrgmodbus** is a Python package for making modbus connections to NRG devices.

## Requirements

### SymphoniePRO/iPackACCESS

- Logger FW version 3.2.3 / iPackACCESS FW version 2.2.0 (or higher)

## Installation

```python
pip install nrgmodbus
```

## Examples

### iPackACCESS

```python
In [1]: from nrgmodbus.ipackaccess import ipackaccess

In [2]: poller = ipackaccess(ip='192.168.178.168')

In [3]: poller.connect()
Connecting to 192.168.178.168...                [OK]

In [4]: poller.return_diag_readings()

In [5]: poller.hr.diag['12v_bat']['value']
Out[5]: 14.09000015258789

In [6]: poller.hr.diag['temp']['value']
Out[6]: 22.739999771118164

In [7]: poller.return_channel_data(1)

In [8]: poller.hr.data_ch[1]
Out[8]: {'avg': {'reg': [2506, 2], 'value': 6.4},
         'sd': {'reg': [2508, 2], 'value': 2.1},
         'max': {'reg': [2510, 2], 'value': 9.1},
         'min': {'reg': [2512, 2], 'value': 4.6},
         'gust': {'reg': [2514, 2], 'value': 9.0},
         'samp': {'reg': [1506, 2], 'value': 6.2}}
```

## spidar

```python
In [1]: from nrgmodbus.spidar import spidar_v1

In [2]: poller = spidar_v1(ip="192.168.1.1", connect=True)
Connecting to 192.168.1.1...                [OK]

In [3]: poller.return_rt_data_readings()

In [4]: poller.hr.met_data
Out[4]: ...

In [5]: poller.hr.data_ch
Out[5]: ...

```
zappa-env 0.252
Run Zappa commands with Python virtual environments.
License: MIT
Requires Python: >=3.6.0


# Zappa Env

Zappa-env is a simple package that allows you to call Zappa commands from a custom virtualenv for build purposes

## Installing & Usage

Install zappa
`pip install zappa-env`

Run your Zappa commands with `zappa-env` followed by your virtualenv and Zappa command
`zappa-env my-virtual-env zappa update prod`

## Requirements

Zappa-env currently assumes that your virtualenvs are installed with the `virtualenvwrapper` package and located in `$HOME/.virtualenvs/`. Currently this is unable to be changed unless you modify the source code.

## Why?

The reason I made this project was because I was getting annoyed activating a special deployment virtualenv just to deploy or package my Zappa repo. This small project combines the `workon virtualenv` and zappa commands so I can run my Zappa commands in just one line.

## Contributions

Submit an issue or pull request and I'll do my best to merge the PR or help with the issue.

## To-do

- [ ] Support running zappa commands with a requirements.txt file (eliminates need for virtualenvs)
- [ ] Support Anaconda
- [ ] Support stock Python virtualenvs