semvec/pypi-packages huggingface dataset:
TimeManager 1.0.3
A python module which helps you manage time related tasks.

# **TimeManager**
## *TimeManager.stopwatch:*
This package acts like a stopwatch which you can start, pause, gettime, and set the stopwatch.
### TimeManager.stopwatch.Stopwatch.start:
*Starts or unpauses the stopwatch*
**``Example:``**
```python
from TimeManager import stopwatch
s = stopwatch.Stopwatch("Optional arg of starttime can be inputted. <--- type 'float' ")
s.start() # <-- starts the stopwatch
...
```
### TimeManager.stopwatch.Stopwatch.pause:
*Freezes the stopwatch at its current time.*
**``Example:``**
```python
from TimeManager import stopwatch
import time
s = stopwatch.Stopwatch("Optional arg of starttime can be inputted. <--- type 'float' ")
s.start() # <-- starts the stopwatch
time.sleep(5)
s.pause() # <-- pauses the stopwatch
...
```
### TimeManager.stopwatch.Stopwatch.gettime:
*Returns the current time on the stopwatch.*
**``Example:``**
```python
from TimeManager import stopwatch
import time
s = stopwatch.Stopwatch("Optional arg of starttime can be inputted. ")
s.start() # <-- starts the stopwatch
time.sleep(5)
s.pause() # <-- pauses the stopwatch
print(s.gettime())
# Output: 5.(somedecimal)
...
```
### TimeManager.stopwatch.Stopwatch.set:
*Sets the current time on the stopwatch*
**``Example:``**
```python
from TimeManager import stopwatch
import time
s = stopwatch.Stopwatch("Optional arg of starttime can be inputted.")
s.start() # <-- starts the stopwatch
time.sleep(5)
s.pause() # <-- pauses the stopwatch
print(s.gettime())
# Output: 5.(somedecimal)
s.set(5.244) # <-- Sets the current time on the stopwatch.
...
```
mizcore 0.0.4
Mizar Core Library
Requires Python: >=3.6

# mizcore

Mizar Core Library

## Environment

- OS
  - Linux (Tested on Ubuntu 20.04 LTS)
- Compiler
  - GCC (Tested on GCC 9.3.0)

## Build

```bash
sudo apt install build-essential cmake flex bison clang-tidy clang-format
git clone https://github.com/mimosa-project/mizcore.git --recursive
cd mizcore
mkdir build
cd build
cmake ..
make
```
### Build with clang
```
cmake -C ../clang-cmakeinit.cmake ..
make
```
### Cross compile for windows
```bash
docker build -t llvm-mingw ./x86_64-w64-mingw/
docker run --rm -v $(pwd):/mizcore llvm-mingw sh /mizcore/x86_64-w64-mingw/build.sh
```
Note: You need to put `libc++.dll`, `libunwind.dll` in the same directory as the executable. Refer to `/x86_64-w64-mingw/build.sh`
### Cross compile for mac
```bash
docker build -t osxcross ./x86_64-apple-darwin/
docker run --rm -v $(pwd):/mizcore osxcross sh /mizcore/x86_64-apple-darwin/build.sh
```
## Test

```bash
cd build
ctest
```

## build python
```
python setup.py build 
```

## Development

### Installation

All developers are supposed to inspect the source code with clang-tidy and clang-format before committing.

```bash
sudo apt install clang-tidy clang-format
```

It is also recommended that VSCode users install the following extensions for on-the-fly inspection.

- [Clang-Format](https://marketplace.visualstudio.com/items?itemName=xaver.clang-format)
- [Clang-Tidy](https://marketplace.visualstudio.com/items?itemName=notskm.clang-tidy)

## TODO

- Python binding (in another project).
- JavaScript binding (in another project).
- Support GitHub Actions.
SimpleSplit 0.1.1
Split and re-combine large binary files
Requires Python: >=3.9

# SimpleSplit

## Installation

### `NEW` Automatic

SimpleSplit is now on PyPi!

To install, simply run:

```
pip install SimpleSplit
```

### Manual

1. Clone this repository
2. Run the following script:

```
pip3 install -r requirements.txt
```

Note that the installation will not be global. You'll have to manually use `simplesplit.py`. So instead of running `simplesplit split...`, run `python3 simplesplit/main.py split...`.

## Usage

Split a file:

```
simplesplit split --input large_file --output nonexistent_directory
```

Split file with a 1GB chunk size:

```
simplesplit split --input large_file --output nonexistent_directory --chunk 1GB
```

Combine a file:

```
simplesplit combine --input some_directory --output nonexistent_output_file
```

## License

Feel free to bundle this into your software, but please leave the in-code attribution.

Please make it clear if you change this program if you redistribute it.

Please don't license this software under a different license or sublicense it.

This software may be included in commercial software and/or other software as long as this package does not make up a significant portion of the software or is part of the core functionality.

THE LICENSE AND ANY ASSOCIATED SOFTWARE, DOCUMENTATION, OR SERVICES ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. THE ENTIRE RISK ARISING OUT OF THE USE OR PERFORMANCE OF THE LICENSE, SOFTWARE, DOCUMENTATION, OR SERVICES REMAINS WITH THE LICENSEE. IN NO EVENT SHALL THE LICENSOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THE LICENSE, SOFTWARE, DOCUMENTATION, OR SERVICES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.