semvec/pypi-packages huggingface dataset:
frida-definitions-generator 0.3.0
Generate TypeScript definition files for use with Frida
License: MIT
Requires Python: >=3.8
Keywords: frida,java,android,generation

Frida Definitions Generator
===========================

Generate TypeScript definitions for a given APK file or unpacked APK directory.
The installation is simple through pip:

    $ python3 -m pip install frida-definitions-generator

After you've installed the program you should have an executable named
`frida-definitions-generator` that you can run like this:

    $ frida-definitions-generator --type java /path/to/apk > app.d.ts

This will output all the classes from the APK as Frida TypeScript definitions
into the piped file. You can also pass a directory of the unzipped APK instead
of the APK itself.
opencv-compare 0.0.3
A simple image comparison tool, in OpenCV
License: MIT

# OpenCV Compare
A simple image comparison tool, in OpenCV

## Installation
```bash
pip install opencv-compare
```

## Usage
```
python -m opencv_compare path/to/images/
```

```python
import cv2
from opencv_compare import compare

image1 = cv2.imread("image1.png")
image2 = cv2.imread("image2.png")
image3 = cv2.imread("image3.png")

compare([image1, image2, image3])
```

## Commands
| Key Input | Action                 |
| --------- | ---------------------- |
| ESC       | exit                   |
| C         | capture cropped images |
| A         | decrease the crop size |
| S         | increase the crop size |
| Z         | decrease the zoom size |
| X         | increase the zoom size |

### License
MIT
pkgs-test 0.2.0
test pkgs 
License: MIT
Requires Python: >=3.9,<4.0

# pkgs_test

test pkgs 

## Installation

```bash
$ pip install pkgs_test
```

## Usage

`pkgs_test` can be used to count words in a text file and plot results
as follows:

```python
from pkgs_test.pkgs_test import count_words
from pkgs_test.plotting import plot_words
import matplotlib.pyplot as plt

file_path = "test.txt"  # path to your file
counts = count_words(file_path)
fig = plot_words(counts, n=10)
plt.show()
```

## Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

## License

`pkgs_test` was created by Matthias Heng. It is licensed under the terms of the MIT license.

## Credits

`pkgs_test` was created with [`cookiecutter`](https://cookiecutter.readthedocs.io/en/latest/) and the `py-pkgs-cookiecutter` [template](https://github.com/py-pkgs/py-pkgs-cookiecutter).
flask-classful-apispec 0.2.0
Auto docs generation from marshmallow schema for flask classfy
License: MIT
Requires Python: >=3.6
Keywords: flask-classfull,flask-classful-swagger,apispec,swagger,openapi,specification,documentation,spec,rest,api,web,flask,frameworks

Flask classful apispec
======================

A pluggable API specification generator generator for `Flask classful <https://flask-classful.teracy.org/>`_ based on `apispec <https://apispec.readthedocs.io/en/latest/>`_

Features
========
- Utilities for parsing flask classful docstrings
- Support for `marshmallow <https://marshmallow.readthedocs.io/>`_

Installation
============

::

    $ pip install flask-classful-apispec

Usage
===================

.. code-block:: python

    import json
    from flask import Flask
    from flask_classful import FlaskView
    from flask_classful_apispec import APISpec
    from marshmallow import Schema, fields

    app = Flask(__name__)

    app.config["DOC_TITLE"] = "Swagger petstore"
    app.config["DOC_VERSION"] = "0.1.1"
    app.config["DOC_OPEN_API_VERSION"] = "3.0.2"

    spec = APISpec(app)

    pets = [
        {'id': 0, 'name': 'Kitty', 'category': 'cat'},
        {'id': 1, 'name': 'Coco', 'category': 'dog'}
    ]

    class PetSchema(Schema):
        id = fields.Integer()
        name = fields.String()
        category = fields.String()

    class PetView(FlaskView):
        def index(self):
            """A pet api endpoint.
            ---
            description: Get a list of pets
            responses:
              200:
                schema: PetSchema
            """
            return PetSchema(many=True).dumps(pets)

    PetView.register(app)
    spec.paths(PetView)

    print(json.dumps(spec.to_dict(), indent=2))

    if __name__ == "__main__":
        app.run()

Generated OpenAPI Spec
=====================
.. code-block:: json

    {
      "paths": {
        "/pet/": {
          "get": {
            "description": "Get a list of pets",
            "responses": {
              "200": {
                "schema": {
                  "$ref": "#/components/schemas/Pet"
                }
              }
            }
          }
        }
      },
      "info": {
        "title": "Swagger petstore",
        "version": "0.1.1"
      },
      "openapi": "3.0.2",
      "components": {
        "schemas": {
          "Pet": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "id": {
                "type": "integer"
              },
              "category": {
                "type": "string"
              }
            }
          }
        }
      }
    }

Documentation
=============
- For apispec see  `apispec <https://apispec.readthedocs.io/en/latest/>`_
- For Flask Clasful view see  `Flask classful <https://flask-classful.teracy.org/>`_
- For Schema see `marshmallow <https://marshmallow.readthedocs.io/>`_

License
=======

MIT licensed. See the bundled `LICENSE <https://github.com/dev-rijan/flask-classful-apispec/blob/master/LICENSE>`_ file for more details.