semvec/pypi-packages huggingface dataset:
dev-tips 1.0.2
CLI version of 97 Things Every Programmer Should Know
Requires Python: >=3.7

Dev Tips
===

*Pearls of wisdom for programmers collected from leading practitioners.*


This is a cli version of the ['97 Things Every Programmer Should Know' project](http://programmer.97things.oreilly.com/wiki/index.php/97_Things_Every_Programmer_Should_Know).

All content is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 3.0 license](http://creativecommons.org/licenses/by-nc-sa/3.0/). Print versions of the book are available on [Amazon.com](http://www.amazon.com/Things-Every-Programmer-Should-Know/dp/0596809484).
overpython 1.1.2a0
A pointless package designed to overcomplicate Python for masochists
Requires Python: >=3.6

# overpython
Overcomplicated Python. Kinda pointless.
I got bored, so I made this pointless project.

Aside from overcomplicating Python, it also adds a few new functions such as newFile() and printnl().
There are a few things that completely defeat the purpose of overcomplicating Python, such as `from overpython import *`
# Installation
There's no official PyPi package right now. So just do the following:
  1. Download overpython as a zip file.
  2. Put overpython.py in a folder.
  3. Type `import overpython` as the first line
  4. Enjoy your abomination!
# Example code
```py
import overpython

overpython.clear()
overpython.println("Sir, can i have your name?")
name = overpython.get("Name: ")
name = overpython.tolower(name)
if overpython.equals(name, "John"):
    overpython.println("Sorry John, you're going to jail son.")
else:
    overpython.println("Thanks, " + overpython.tolower(name))
overpython.pause()
```
Output:
```
Hello my habibi 489
Press the ENTER key to exit...
```
batch-processor 0.0.3
This library is used to enable batch processing by implementing python multiprocessing
Requires Python: >=3.5
Keywords: batch,multiprocessing,performance

# batch_processor

[![CircleCI](https://circleci.com/gh/leon0707/batch_processor.svg?style=svg)](https://circleci.com/gh/leon0707/batch_processor)
[![codecov](https://codecov.io/gh/leon0707/batch_processor/branch/master/graph/badge.svg)](https://codecov.io/gh/leon0707/batch_processor)

## install
```shell
pip install batch_processor
```

## quickstart
```python
from threading import Thread
from batch_processor import BatchProcessor

def batch_func(batch):
    return [v + v for v in batch]

def create_bulk_request(n, processor):
    print(n, processor.process(n))

processor = BatchProcessor(batch_func, worker_num=2, batch_size=32)

threads = []
for i in range(200):
    t = Thread(target=create_bulk_request, args=(i, self.processor))
    t.start()
    threads.append(t)

for t in threads:
    t.join()
```

This piece of code generates discrete 200 incomming requests that can be processed in batches whose size is 32. There are 2 workers processing these requests. They take batches and double each integers in the batch, then return results in batches.

## test
* run test cases
  ```shell
  python tests/test_runner.py
  ```
* generate coverage
  ```shell
  coverage run tests/test_runner.py
  ```
* generate coverage html
  ```shell
  coverage html
  ```

## build
build the distribution
```shell
python setup.py sdist bdist_wheel
```
upload to registry
```shell
python -m twine upload dist/*
```
aero-astro-calc 2020.2.0
A small python library with functions to assist engineers.

# Aero-Astro-Calc

A small python library with functions to assist engineers.

## Getting Started

- Install using pip:

```
pip install aero-astro-calc
```

- Import into your Python project

```python
from aero_astro_calc import PlaneStress
```

## Usage

Make plane stress object:

```python
stress = PlaneStress(80, -40, 25)
```

View the stress on a 2D plane:

```python
stress.plane()
```

![Plane Stress example](images/PlaneStress.png)

View Mohr's circle of the stresses:

```python
stress.mohr()
```

![Mohr's Circle Example](images/MohrsCircle.png)

## Contact

Anson Biggs - [anson@ansonbiggs.com](mailto:anson@ansonbiggs.com) - [@Anson_3D](https://twitter.com/Anson_3D)