semvec/pypi-packages huggingface dataset:
ProcessGuard 0.5.5
Python library for process management, monitoring, and guarding.


# ProcessGuard Library

The **ProcessGuard** library provides a set of functions to manage, monitor, and guard processes on your system.

## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [Functions](#functions)
- [Contributing](#contributing)
- [License](#license)

## Installation

To install the ProcessGuard library, you can use `pip`:

```bash
pip install ProcessGuard
```

## Usage

Import the functions you need from `ProcessGuard` in your Python script:

```python
from ProcessGuard import *

# Use the functions from the library
# ...
```
1. Check if Notepad is running:
   ```python
   if is_running("notepad.exe"):
       print("Notepad is running.")
   else:
       print("Notepad is not running.")
   ```

2. Start a process with arguments (Notepad with a text file):
   ```python
   start_with_arguments("notepad.exe", ["path/to/textfile.txt"])
   ```

3. Monitor a process:
   ```python
   monitored_process = "chrome.exe"
   monitor_process(monitored_process, interval=10)
   ```

4. "Run Always" for a process:
   ```python
   process_name = "notepad.exe"
   process_path = r"C:\Windows\System32\notepad.exe"
   guard(process_name, process_path, True, 0.1)
   ```
## Functions

- `is_running(process_name)`: Check if a process is currently running.
- `start(process_path)`: Start a process.
- `terminate(process_name)`: Terminate a process.
- `guard(process_name, process_path, closetaskmanager, interval)`: Guard and monitor a process.
- `list_running()`: List all currently running processes.
- `get_memory_usage(process_name)`: Get memory usage of a process.
- `get_cpu_usage(process_name)`: Get CPU usage of a process.
- `kill_all(process_name)`: Terminate all instances of a process.
- `restart(process_name, process_path)`: Restart a process.
- `count_running()`: Count the number of running processes.
- `get_process(process_name)`: Get details of a specific process.
- `monitor_process(process_name, interval)`: Monitor the status of a process.
- `start_with_arguments(process_path, arguments)`: Start a process with arguments.


For more examples, check the `examples` directory in this repository.

## Contributing

Contributions to the ProcessGuard library are welcome! Feel free to fork the repository and submit pull requests.

## License

This project is licensed under the [MIT License](LICENSE).

## GitHub Repository
Check out the [GitHub repository](https://github.com/liad07/ProcessGuard/) for more information, documentation, and contributions.
mpcmd 0.0.6
A python-based simulation package using mpcd and md.
Requires Python: >=3.0

# Mpcmd
An extensible hydrodynamic simulation package

# Installation

you can install it with:
```
  $ pip install mpcmd
```
or clone this repository and run:
```
  $ python setup.py install
```

# Requirements

If you are using Lammps for MD simulation, you need to install lammps Python module.
 
You can install this module by following this page: https://docs.lammps.org/Python_module.html,
or just using following commands (recommend):
```
  $ conda install -c conda-forge lammps
```

If you are using Hoomd-blue for MD simulation, you need to install hoomd Python module (<=2.9.7).
 
You can install this module by following this page: https://hoomd-blue.readthedocs.io/en/v2.9.7/installation.html,
or just using this command (recommend):
```
  $ conda install -c conda-forge "hoomd=2.9.7"
```
# Example usage

```Python
# Import Modules
from mpcmd import MPCD
from mpcmd.geometry import Cylinder

# Set fluid geometry
cyl = Cylinder(dim='z', radius=10.0, lo=0, hi=10)
cyl.construct_grid(a=1)

# Setup MPCD system
m = MPCD()
m.set_box(box=[100, 100, 100])
m.set_geometry(cyl)
m.add_fluid(density=10)
m.stream(dt=0.005, period=20)
m.collide(kbt=1.0, alpha=130, period=20)

# Save trajectory
m.logger(period=1000, objects=['fluid'], fnames=['test_fluid.gsd'])

# Run
m.run(1e4, mute=1e3)

# Add force field
m.add_force(a=0.1, direction=[0,0,1])
m.run(1e4, mute=1e3)
```
pyqtclass 0.5.3
PyQt 기반으로 동작하는 객체들의 베이스클래스 모음 패키지
Requires Python: >=3.8

# PyQtClasses
PyQt 기반으로 동작하는 'Worker 객체' 들의 베이스클래스 제공.

WorkerSchedule 테이블 정보를 기반으로 MainApp, SubApp, Worker 의 동작시간을 제어할 수 있음.


### WorkerSchedule 테이블 예시

![Alt text](<Docs/files/WorkerSchedule 테이블 예시.png>)

#### 스키마 설명

    worker: Worker Class Name (string)
    stime: Start Time (string)
    etime: End Time (string)
    interval: Interval Time (seconds)
    env: Python Environment (string)
    batch: 배치 실행 여부 (boolean)
    desc: 상세설명 (string)
demarches-simpy 0.0.18
A simple python wrapper for the demarches-simplifiees.fr API
Requires Python: >=3.9

# Demarches Simpy
![logo](media/logo.png)


A python package to access to Démarches Simplifiées API via OOP objects. 

---

[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)
[![Demarche Simpy Tests](https://github.com/Z3ZEL/demarches-simpy/actions/workflows/test-python.yml/badge.svg)](https://github.com/Z3ZEL/demarches-simpy/actions/workflows/test-python.yml)
[![Coverage Status](https://coveralls.io/repos/github/Z3ZEL/demarches-simpy/badge.svg?branch=master)](https://coveralls.io/github/Z3ZEL/demarches-simpy?branch=master)
---

- [Demarches Simpy](#demarches-simpy)
  - [](#)
  - [Before you start](#before-you-start)
  - [Installation](#installation)
  - [Get the Démarches Simplifiées API token](#get-the-démarches-simplifiées-api-token)
  - [Getting Started](#getting-started)
  - [Contributing](#contributing)
  - [Documentation](#documentation)
  - [License](#license)


---

## Before you start

**This package is not affiliated with Démarches Simplifiées. It is an unofficial package.**

This package is still in development, some features may not work as expected.

> As Démarches Simplifiées is a French website, the documentation is in english and the package functions are in english, but some object names have been kept in french for clarity. So *Dossier* will be used instead of *Field*. And *Demarche* instead of *Process*. As well as Dossier State like *acceptee* instead of *accepted* and others.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install demarches-simpy:

```bash
pip install demarches-simpy
```

The package was developed with **Python 3.11**, using older versions may cause errors.


## Get the Démarches Simplifiées API token

To use the API, you need to get an API token from the [Démarches Simplifiées website](https://www.demarches-simplifiees.fr/).

Then go to -> "See my profile" -> "API identification tokens" -> "Create and display a new token"

> You can choose to assign the token to specific "demarches" or to all demarches.

## Getting Started

To see how to simply use the package, see the [Getting Started](https://demarches-simpy.readthedocs.io/en/latest/contents/simple_program.html) page in the documentation.

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## Documentation

[Documentation](https://demarches-simpy.readthedocs.io/en/latest/)


## License

[MIT](https://choosealicense.com/licenses/mit/)