semvec/pypi-packages huggingface dataset:
neomake 0.0.6
A new make script for builds.
Requires Python: >=3.7

# Neomake

基于Python的底层构建系统。

## 示例

项目目录：

```bash
.
├── lib.c
├── main.c
└── nmake.py
```

`nmake.py`

```python
#!/usr/bin/python -B
from neomake import *


def make_main(target, deplist):
    C(deplist, target)

main = Target('main', ['lib.c', 'main.c'], make_main)


start_neomake()

if 'build' in sys.argv:
    main.make()

elif 'clear' in sys.argv:
    main.clear()

end_neomake()
```

构建项目：

```bash
$ ./nmake.py build
gcc lib.c main.c --> main
```

清理生成的额外文件：

```bash
$ ./nmake.py clear
removing main
```
timed-count 2.0.0
timed-count provides an iterator that delays each iteration by a specified time period. It can be used to repeatedly execute code at a precise frequency.
Requires Python: <4.0,>=3.7

# timed-count

**timed-count** provides an iterator that delays each iteration by a specified time period. It can be used to repeatedly  execute code at a precise frequency.

**timed-count** is a good replacement for a loop that contains a call to `time.sleep`. It is precise, does not dependent on the loop execution time, and won't accumulate temporal drift.

## Installation

Install from [PyPI](https://pypi.org/project/timed-count/) via:

```shell
pip install timed-count
```

## Usage

Basic usage is as follows:

```python
from timed_count import timed_count

for count in timed_count(0.5):
    # Prints at exactly every half a second
    print(count)
```

```python
TimedCount(index=0, count=0.0, time=0.000, missed=False)
TimedCount(index=1, count=0.5, time=0.500, missed=False)
TimedCount(index=2, count=1.0, time=1.000, missed=False)
...
```
For all usage examples see [examples/](https://github.com/morefigs/timed-count/tree/main/examples).