semvec/pypi-packages huggingface dataset:
time-server-mcp-ww 0.1.0
A time server tool built with FastMCP that provides current time information
Requires Python: >=3.8

# Time Server MCP

A time server tool built with FastMCP that provides current time information.

## Features

- Get current time with optional timezone support
- Simple command-line interface
- Easy to integrate as a library
- Built with FastMCP for efficient communication

## Installation

You can install Time Server MCP using pip:

```bash
pip install time-server-mcp
```

## Usage

### Command Line Interface

After installation, you can run the time server directly from the command line:

```bash
time-server
```

This will start the FastMCP server, which will be ready to accept requests for current time information.

### As a Library

You can also use the time server functionality in your own Python code:

```python
from time_server import get_current_time

# Get current time in system default timezone
time_now = get_current_time()
print(f"Current time: {time_now}")

# Get current time in a specific timezone
time_shanghai = get_current_time(timezone="Asia/Shanghai")
print(f"Current time in Shanghai: {time_shanghai}")

time_new_york = get_current_time(timezone="America/New_York")
print(f"Current time in New York: {time_new_york}")
```

### API Documentation

#### `get_current_time(timezone: Optional[str] = None) -> str`

Get the current time in a specified timezone.

**Parameters:**
- `timezone`: Optional timezone string, e.g., "Asia/Shanghai", "America/New_York". If not provided, system default timezone will be used.

**Returns:**
- Formatted current time string in the format "YYYY-MM-DD HH:MM:SS.SSSSSS Timezone Name".

**Example:**
```python
time = get_current_time("Europe/London")
# Output: 2023-12-25 15:30:45.123456 GMT
```

## Dependencies

- Python >= 3.8
- pytz >= 2023.3
- mcp-server >= 0.1.0

## License

MIT License

## Project Links

- [Homepage](https://github.com/yourusername/time-server-mcp)
- [Bug Tracker](https://github.com/yourusername/time-server-mcp/issues)
aiutil 0.91.0
A utils Python package for data scientists.
Requires Python: <4,>=3.10
Keywords: AI, Machine Learning, tools, utils

# AI/ML Utils  |  [@GitHub](https://github.com/legendu-net/aiutil)  |  [@PyPI](https://pypi.org/project/aiutil/)

This is a Python pacakage that contains misc utils for AI/ML.

1. Misc enhancement of Python's built-in functionalities.
    - string
    - collections
    - pandas DataFrame
    - datetime
2. Misc other tools
    - `aiutil.filesystem`: misc tools for querying and manipulating filesystems; convenient tools for manipulating text files.
    - `aiutil.url`: URL formatting for HTML, Excel, etc.
    - `aiutil.sql`: SQL formatting
    - `aiutil.cv`: some more tools (in addition to OpenCV) for image processing
    - `aiutil.shell`: parse command-line output to a pandas DataFrame
    - `aiutil.shebang`: auto correct SheBang of scripts
    - `aiutil.pydev`: tools for making it even easier to manage Python project
    - `aiutil.pdf`: easy and flexible extracting of PDF pages
    - `aiutil.memory`: query and consume memory to a specified range
    - `aiutil.notebook`: Jupyter/Lab notebook related tools
    - `aiutil.dockerhub`: managing Docker images on DockerHub in batch mode using Python
    - `aiutil.hadoop`: 
        - A Spark application log analyzing tool for identify root causes of failed Spark applications.
        - Pythonic wrappers to the `hdfs` command.
        - A auto authentication tool for Kerberos.
        - An improved version of `spark_submit`.
        - Other misc PySpark functions. 
    
## Installation

```bash
pip3 install --user -U aiutil
```
Use the following commands if you want to install all components of aiutil. 
Available additional components are `cv`, `docker`, `pdf`, `jupyter`, `admin` and `all`.
```bash
pip3 install --user -U aiutil[all]
```

## Executable Scripts

- snb: Search for content in Jupyter notebooks.
- logf: A Spark application log analyzing tool for identify root causes of failed Spark applications.
- pyspark_submit: Makes it easy to run Scala/Python Spark job.
- pykinit: Make it easier to authenticate users' personal accounts on Hadoop.
- match_memory: Query and consume memory.

You can run those executable scripts using uv 
(so that you don't have to manually install this Python package)
.
For example,

    uvx --from aiutil snb -h
archclean 0.1.13
A CLI tool for safely cleaning Arch Linux systems.
Requires Python: <4.0,>=3.13

# ArchClean

A robust CLI tool for safely cleaning Arch Linux systems. ArchClean helps you maintain a tidy system by automating cache cleaning, removing orphans, and analyzing disk usage, all with safety checks and user confirmation.


## Requirements

*   Python 3.13+ (for now as it actually doesn't require exactly 3.13+)
*   Arch Linux (or derivative)
*   `pacman`
*   `ncdu` (optional, for analysis)


## Features

*   **System Cleaning**:
    *   Clean Pacman cache (`pacman -Sc`).
    *   Clean AUR helper caches (`yay`, `paru`).
    *   Remove orphan packages (`pacman -Qtdq`).
    *   Vacuum systemd journals.
*   **Home Directory**:
    *   Clean thumbnail cache.
    *   Empty Trash.
*   **Language Ecosystems**:
    *   Detects and cleans caches for Python (`pip`), Node.js (`npm`, `yarn`), and Go.
*   **Disk Analysis**:
    *   Integrates with `ncdu` to visualize and clean disk space.
*   **Safety First**:
    *   Interactive prompts for every action (unless `--force` is used).
    *   Checks for binary existence before running commands.

## Installation

### From Source (Poetry)

1.  Clone the repository.
2.  Install dependencies:
    ```bash
    poetry install
    ```
3.  Run the tool:
    ```bash
    poetry run archclean --help
    ```

## Usage

ArchClean uses a command-based interface. The default command `full` runs the entire cleaning wizard.

```bash
# Run the full interactive wizard
archclean full

# Run only system maintenance
archclean system-clean

# Run only home directory cleaning
archclean home-clean

# Run only language cache cleaning
archclean lang-clean

# Run disk analysis (ncdu)
archclean analyze
```

### Options

*   `--force`: Skip confirmation prompts. Note that `sudo` will still ask for a password if required.
    ```bash
    archclean full --force
    ```



## Disclaimer

This tool deletes files. While it aims to be safe by targeting known cache directories and asking for confirmation, **always have backups**. The authors are not responsible for any data loss.