semvec/pypi-packages huggingface dataset:
tinybench 1.0.2
A microbenchmark for Python
Requires Python: >=3.3

# Tinybench [![Build Status](https://travis-ci.com/mickyabir/tinybench.svg?token=WNzddxisBbCMp5mPWrna&branch=master)](https://travis-ci.com/mickyabir/tinybench)

Tinybench is a lightweight package to time, compare, and visualize various functions.  This package was inspired by the R package [microbenchmark](https://cran.r-project.org/web/packages/microbenchmark/index.html)

## Installation

```bash
pip install tinybench
```

## Usage

```python
from tinybench import benchmark, benchmark_env

# create two functions example functions to test
def foo(a):
	test = []
	for i in range(a):
		test.append(i)
	return test

def bar(a, b):
	return a + b

# example input variable
c = 10000

iterations = 100
warmup = 10

# env should be globals(), or use benchmark_env(functions_list)
# functions_list should at least contain all the functions to benchmark
env = benchmark_env([foo, bar])

# instead, using globals() is recommended
env = globals()

b = benchmark(['Foo_Label:foo(c)', 'bar(10, 15)'], iterations, warmup, env)
print(b)
b.plot()

# alternatively, we can benchmark using the process time instead of real time:
b_process = benchmark(['Foo_Label:foo(c)', 'bar(10, 15)'], iterations, warmup, env, process_time = True)

```

## Support

For any help or questions, please open an issue on GitHub.

## License

[MIT](https://github.com/mickyabir/tinybench/blob/master/LICENSE)
pyDataMover 0.0.2
Python wrapper for the Facebook wdt library.

pyDataMover
**************

Move Data fast, perhaps even at warp speed.

pyDataMover is a wrapper and server around the DataMover library, which is a hevaly modified fork of the Facebook WDT library.

The DataMover library is an embeddedable library aiming to
transfer data as fast as possible.

The pyDataMover module aims to provide the following...

- Retain all DataMover performance, minimal Python -> C++ or C++ -> Python calls..
- Low level access to functions and Class'.
- High level helper classes with reasonable default options, with the ability to override all options.
- Optional progress callback.
- Optional logging callback so python handles all logging (Currently in progress)

Installation
============

Comming soon


Documentation
==========================



License
==========================

pyDataMover is provided under a BSD-style license that can be found in the LICENSE file. By using, distributing, or contributing to this project, you agree to the
terms and conditions of this license.

Testing
==========================

```python
import python_example
python_example.add(1, 2)
```