semvec/pypi-packages huggingface dataset:
process-decorator 0.7.1
make func async and execute in other process
Requires Python: >=3.7.0

## process_decorator

If you write async code, you now that all code work on one processor (tnx GIL), but we can resolve this problem
with execution code in other process.

ATTENTION, we get profit only if function work more than 0.1 sec or if you need make async function.
AND don't work global variable, because func work in other process
```python
from process_decorator import async_process
import asyncio

@async_process()
def test():
    return 2*500000000

if __name__ == '__main__':
    asyncio.run(test())
```
this code creates other process where will be executed. 

**async_process** get argument exit_process_timer, witch cache process on time executed.
If you call this function every time, this parameter will up speed of execution
```python
from process_decorator import async_process
import asyncio

@async_process(exit_process_timer=10)
def test():
    return 2*50000000

if __name__ == '__main__':
    for _ in range(30):
        asyncio.run(test())
```
```text
where:

exit_process_timer - is time in second when process close if wont call
```
pyhalofit 1.0.18
pyhalofit package
Keywords: cosmology,large scale structure,halofit

=====================================
pyhalofit
=====================================

Description
=====================================

pyhalofit is a pure python code of nonlinear matter power spectrum of large scale structure. 
The fitting formula is calibrated with N-body simulation in Takahashi et al., 2012,  
`DOI:10.1088/0004-637X/761/2/152 <https://arxiv.org/ct?url=https%3A%2F%2Fdx.doi.org%2F10.1088%2F0004-637X%2F761%2F2%2F152&v=9fcbea96>`_ 
(`preprint <https://arxiv.org/abs/1208.2701>`_ ).

To install the pyhalofit on your computer run::

    pip install pyhalofit [--user]

The --user is optional and only required if you don't have write permission to your main python installation.

Dependencies
============
- scipy
- astropy
PyCPP 0.0.6
PyCPP is a simple tool for wrapping and using C++ functions and libraries.
Requires Python: >=3.6

<p align=center>

  <img height="128px" src="https://user-images.githubusercontent.com/45269106/103140882-5d82a000-46ec-11eb-8728-bbde13d2b244.png"/>

  <br>
  <span>PyCPP is a simple tool for wrapping and using <a href="https://github.com/topics/cpp">C++</a> functions and libraries.</span>
  <br>
  <a target="_blank" href="https://www.python.org/downloads/" title="Python version"><img src="https://img.shields.io/badge/python-%3E=_3.6-green.svg"></a>
  <a target="_blank" href="LICENSE" title="License: MIT"><img src="https://img.shields.io/github/license/commander07/PyCPP"></a>
  <!-- <a target="_blank" href="https://sokobot.cf"><img alt="Website" src="https://img.shields.io/website?down_color=red&down_message=DOWN&style=flate&up_color=green&up_message=UP&url=https%3A%2F%2Fsokobot.cf"></a> -->

</p>

<p align="center">
  <a href="#installation">Installation</a>
  &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
  <a href="#resources">Resources</a>
  &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
  <a href="#contributing">Contributing</a>
</p>

## Installation

```console
# install via pypi
$ pip3 install PyCPP
```

## Usage

```console
# call pycpp.py and create python package in the output folder which includes the wrapped dll
$ python3 -m pycpp <DLL Name> <Output>
```

## Resources

- [Online Documentation](about:blank) for official documentation.
- [PyPi](https://pypi.org/project/PyCPP/) Package release page.

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Feel free to create a fork and use the code.