semvec/pypi-packages huggingface dataset:
sophia-doc 0.1.9
A python package to automatically generate API documents for Python modules.
License: MIT
Requires Python: >=3.9
Keywords: doc, documentation, markdown, pydoc, sophia-doc

# Sophia-doc

**A python package to automatically generate API documents for Python modules.**

## Introduction

Sophia is a python package to automatically generate API documents for Python modules.

It's a lot like sphinx, but it only focuses on generating markdown documentation.

It does not support PEP 224 attribute docstring, because the PEP was rejected, and have to use ast module to support it, which brings additional complexity to this project.

## Install

```sh
pip install sophia-doc
```

## Quickstart

```sh
sophia_doc "sophia_doc" -o ./doc
```

## Usage

Command line:

```txt
usage: sophia_doc [-h] [-o OUTPUT_DIR] [--docstring-style DOCSTRING_STYLE] [--anchor-extend | --no-anchor-extend] [--overwrite | --no-overwrite]
                   [--exclude-module-name | --no-exclude-module-name]
                   module

Sophia_doc is a python package to automatically generate API documents for Python modules

positional arguments:
  module                Python module names.

options:
  -h, --help            show this help message and exit
  -o OUTPUT_DIR, --output-dir OUTPUT_DIR
                        The directory to write document. (default: doc)
  --docstring-style DOCSTRING_STYLE
                        Docstring style the python module used. (default: auto)
  --anchor-extend, --no-anchor-extend
                        Add anchor to markdown title. (default: False)
  --overwrite, --no-overwrite
                        Overwrite any file in output directory. (default: False)
  --exclude-module-name, --no-exclude-module-name
                        Write file to path which exclude module name. (default: False)
```

## License

MIT © st1020
TJPT-java-server-description-mcp 0.1.17
Description MCP - declarative & instructive messages to guide LLMs
License: MIT
Requires Python: >=3.12
Keywords: description, llm, mcp, protocol, server

# MCP Description Server

A description server for MCP that provides declarative & instructive messages to guide LLMs.

## Installation

```bash
pip install czyhandsome-description-mcp
```

## Usage

```bash
# Run the server directly
mcpdescription

# Or using uvx
uvx --from czyhandsome-description-mcp mcpdescription
```
eureka-mcp 0.1.17
Eureka MCP - search Spring Cloud Eureka servers for debugging
License: MIT
Requires Python: >=3.12
Keywords: eureka, mcp, protocol, server, spring-cloud

# MCP Eureka Server

A specialized MCP server that searches Spring Cloud Eureka servers for debugging services.

## Installation

```bash
pip install eureka-mcp
```

## Usage

```bash
# Run the server directly
eureka-mcp

# Or using uvx
uvx eureka-mcp
```
T-BAG 1.1.3
Text-Based Adventure Game source code.
License: MIT
Requires Python: >=3.6

# T-BAG (Text-Based Adventure Game)

T-BAG is a text-based RPG game where the player navigates through different rooms, collects items, and avoids
monsters to reach the garden and win the game.

## Description

In this game, you start in a hall and must navigate through different rooms, collecting items and avoiding monsters.
Your goal is to reach the garden with the key and a potion to win the game.

## Installation

1. install the module:
    ```sh
    pip install --no-cache-dir T-BAG
    ```
2. Run the game:
    ```sh
    python -m T_BAG
    ```
3. Uninstall so you can update it:
    ```sh
    pip uninstall T_BAG
    ```

## Usage

- Use the `go` command to move to a different room. For example:
    ```sh
    go east
    ```
- Use the `get` command to pick up an item. For example:
    ```sh
    get key
    ```
- Use the `quit` command to exit the game. For example:
    ```sh
    quit 5
    ```

## Commands

- `go [direction]`: Move to a different room.
- `get [item]`: Pick up an item from the room.
- `quit [seconds]`: Quit the game after waiting for the specified number of
seconds.
- `help [number]`: Show the list of commands. If a number is provided, show
that many commands; put 0 to print all the commands.
- `drop [item]`: Drop an item into the room you are in.
- `look [anything]`: Look around the room you are currently in. You can enter
anything after the `look` command, but you must enter something, because of
how I handle commands

## Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes. The
rules for contributing are [here](docx/CONTRIBUTING.md).

## License

This project is licensed under the MIT License. See the LICENSE file for details.
datetypes 0.1.0
Typed counterparts for built-in `datetime` module classes
License: MIT
Requires Python: >=3.9

# datetypes

```python
from datetime import date, time, datetime, timezone
from datetypes import Date, Time, DateTime, NaiveDateTime

t = Time(12, 0)
d = Date(2025, 2, 1)
dt = DateTime.combine(d, t)

# at type-checking, timezone info is carried via generics
assert_type(dt, DateTime[None])
# or, using an alias
assert_type(dt, NaiveDateTime)

# detect timezone incompatible comparisons
Time(12, 0, tzinfo=timezone.utc) < t  # mypy error! cannot compare Time[timezone] with Time[None]

# DateTime doesn't subclass Date
def message(d: Date):
    print(f"Hello, date is: {d}")
message(dt) # mypy error! DateTime is not compatible with Date

# at runtime, built-in types are used, zero overhead
type(d) is date
type(t) is time
type(dt) is datetime
```

An effort to provide type annotated and timezone-aware versions of the built-in
`datetime` module, only for static typing. At runtime the built-in classes from
`datetime` will always be used with zero overhead, including when evaluating
type annotations at runtime (e.g. Pydantic, FastAPI, etc.).

Greatly inspired by [`datetype`](https://github.com/glyph/DateType), but
re-imagined to provide no runtime behaviour changes (the typed symbols are
simply aliases over the built-in types) + clean type information subclassing
types from `datetime`, so that typed counterparts can be used in places where
original types are expected (e.g. existing libraries) without having to manually
cast (as compared to `datetype.concrete()`).

## Caveats

Since at runtime the typed versions are simply aliases to the built-in types,
generics don't work when used in runtime contexts! i.e. don't do
`DateTime[ZoneInfo]` in an expression that can be evaluated at runtime, it will
fail without being caught by your type linter (as the type stubs make this use
legit!). I currently don't have any non-invasive workaround for this, but I
expect this library to be mainly used for static type annotations.

## Documentation

WIP, but for examples simply refer to [tests/test_basic.py](tests/test_basic.py)
and other test files.