semvec/pypi-packages huggingface dataset:
griffe-warnings-deprecated 1.1.1
Griffe extension for `@warnings.deprecated` (PEP 702).
Requires Python: >=3.10

# griffe-warnings-deprecated

[![ci](https://github.com/mkdocstrings/griffe-warnings-deprecated/workflows/ci/badge.svg)](https://github.com/mkdocstrings/griffe-warnings-deprecated/actions?query=workflow%3Aci)
[![documentation](https://img.shields.io/badge/docs-zensical-FF9100.svg?style=flat)](https://mkdocstrings.github.io/griffe-warnings-deprecated/)
[![pypi version](https://img.shields.io/pypi/v/griffe-warnings-deprecated.svg)](https://pypi.org/project/griffe-warnings-deprecated/)
[![gitter](https://img.shields.io/badge/matrix-chat-4DB798.svg?style=flat)](https://app.gitter.im/#/room/#griffe-warnings-deprecated:gitter.im)

Griffe extension for `@warnings.deprecated`
([PEP 702](https://peps.python.org/pep-0702/)).

## Installation

```bash
pip install griffe-warnings-deprecated
```

## Usage

The option values in the following examples are the default ones,
you can omit them if you like the defaults.

### Command-line

```bash
griffe dump mypackage -e griffe_warnings_deprecated
```

See [command-line usage in Griffe's documentation](https://mkdocstrings.github.io/griffe/extensions/#on-the-command-line).

### Python

```python
import griffe

griffe.load(
    "mypackage",
    extensions=griffe.load_extensions(
        [{"griffe_warnings_deprecated": {
            "kind": "danger",
            "title": "Deprecated",
            "label": "deprecated"
        }}]
    )
)
```

See [programmatic usage in Griffe's documentation](https://mkdocstrings.github.io/griffe/extensions/#programmatically).

### MkDocs

```yaml title="mkdocs.yml"
plugins:
- mkdocstrings:
    handlers:
      python:
        options:
          extensions:
          - griffe_warnings_deprecated:
              kind: danger
              title: Deprecated
```

See [MkDocs usage in Griffe's documentation](https://mkdocstrings.github.io/griffe/extensions/#in-mkdocs).

---

Options:

- `kind`: The admonition kind (default: danger).
- `title`: The admonition title (default: Deprecated).
    Can be set to null to use the message as title.
- `label`: The label added to deprecated objects (default: deprecated).
    Can be set to null.

## Sponsors

<!-- sponsors-start -->
<!-- sponsors-end -->
griffe-typingdoc 0.3.1
Griffe extension for PEP 727 – Documentation Metadata in Typing.
Requires Python: >=3.10

# Griffe TypingDoc

[![ci](https://github.com/mkdocstrings/griffe-typingdoc/workflows/ci/badge.svg)](https://github.com/mkdocstrings/griffe-typingdoc/actions?query=workflow%3Aci)
[![documentation](https://img.shields.io/badge/docs-zensical-FF9100.svg?style=flat)](https://mkdocstrings.github.io/griffe-typingdoc/)
[![pypi version](https://img.shields.io/pypi/v/griffe-typingdoc.svg)](https://pypi.org/project/griffe-typingdoc/)
[![gitter](https://img.shields.io/badge/matrix-chat-4DB798.svg?style=flat)](https://app.gitter.im/#/room/#griffe-typingdoc:gitter.im)

Griffe extension for [`annotated-doc`](https://pypi.org/project/annotated-doc/) (originally [PEP 727](https://peps.python.org/pep-0727/)):

> Document parameters, class attributes, return types, and variables inline, with Annotated.

## Installation

```bash
pip install griffe-typingdoc
```

To use the extension in a MkDocs project, use this configuration:

```yaml
# mkdocs.yml
plugins:
- mkdocstrings:
    handlers:
      python:
        options:
          extensions:
          - griffe_typingdoc
```

## Sponsors

<!-- sponsors-start -->
<!-- sponsors-end -->
griffe-inherited-docstrings 1.1.3
Griffe extension for inheriting docstrings.
Requires Python: >=3.10

# Griffe Inherited Docstrings

[![ci](https://github.com/mkdocstrings/griffe-inherited-docstrings/workflows/ci/badge.svg)](https://github.com/mkdocstrings/griffe-inherited-docstrings/actions?query=workflow%3Aci)
[![documentation](https://img.shields.io/badge/docs-zensical-FF9100.svg?style=flat)](https://mkdocstrings.github.io/griffe-inherited-docstrings/)
[![pypi version](https://img.shields.io/pypi/v/griffe-inherited-docstrings.svg)](https://pypi.org/project/griffe-inherited-docstrings/)
[![gitter](https://img.shields.io/badge/matrix-chat-4DB798.svg?style=flat)](https://app.gitter.im/#/room/#griffe-inherited-docstrings:gitter.im)

Griffe extension for inheriting docstrings.

## Installation

```bash
pip install griffe-inherited-docstrings
```

## Usage

With Python:

```python
import griffe

griffe.load("...", extensions=griffe.load_extensions(["griffe_inherited_docstrings"]))
```

With MkDocs and mkdocstrings:

```yaml
plugins:
- mkdocstrings:
    handlers:
      python:
        options:
          extensions:
          - griffe_inherited_docstrings
```

The extension will iterate on every class and their members
to set docstrings from parent classes when they are not already defined.

The extension accepts a `merge` option, that when set to true
will actually merge all parent docstrings in the class hierarchy
to the child docstring, if any.

```yaml
plugins:
- mkdocstrings:
    handlers:
      python:
        options:
          extensions:
          - griffe_inherited_docstrings:
              merge: true
```

```python
class A:
    def method(self):
        """Method in A."""

class B(A):
    def method(self):
        ...

class C(B):
    ...

class D(C):
    def method(self):
        """Method in D."""

class E(D):
    def method(self):
        """Method in E."""
```

With the code above, docstrings will be merged like following:

Class | Method docstring
----- | ----------------
`A`   | Method in A.
`B`   | Method in A.
`C`   | Method in A.
`D`   | Method in A.<br><br>Method in D.
`E`   | Method in A.<br><br>Method in D.<br><br>Method in E.

WARNING: **Limitation**
This extension runs once on whole packages. There is no way to toggle merging or simple inheritance for specifc objects.

## Sponsors

<!-- sponsors-start -->
<!-- sponsors-end -->
weather-scanner 0.1.7
Check weather
Requires Python: >=3.8

# Weather Scanner (Tester Package)

![PyPI - Version](https://img.shields.io)
![License](https://img.shields.io)

**DISCLAIMER: This is a tester package.**
This project is created for educational purposes to learn how to distribute Python libraries via PyPI. Features are limited and not intended for production use.

## Description
A simple Python library to check current temperatures for major cities in Indonesia using the Open-Meteo free API.


```py
from weather_scanner import InfoCuaca

app = InfoCuaca()
print(app.checkweather("jakarta"))
```