semvec/pypi-packages huggingface dataset:
sup-dolphin-memory-lib 0.1.2
A Python library for reading and writing the memory of an emulated game in Dolphin
License: MIT
Requires Python: >=3.8

# dolphin-memory-lib
A Python library for reading and writing the memory of an emulated game in Dolphin.

## Usage
```python
from dolphin.memorylib import Dolphin
if dolphin.hook() is None:
  print('No game is running')

addr = 0x80000000
dolphin.write_uint32(addr, 39)
result = dolphin.read_uint32(0x80000000)
# assert result == 39
```
pytest-data-extractor 0.1.7
A pytest plugin to extract relevant metadata about tests into an external file (currently only json support)
License: MIT

# pytest-data-extractor ![example workflow](https://github.com/Maxim-Mushizky/pytest-data-extractor/actions/workflows/python-app.yml/badge.svg) [![PyPI version](https://badge.fury.io/py/pytest-data-extractor.svg)](https://badge.fury.io/py/pytest-data-extractor)

Pytest plugin intended for extracting test data and metadata and serializing it into a file. 
The plugin currently support json files.

This is a completely open source project so everyone are more than welcome to join and extended it.

## Version 0.1.7
# Use case

pip install the package to your project's virtual environment. Directly from plugin folder:

```bash
pip install -e .
```

or pip install it from Pypi:
```bash
pip install pytest-data-extractor
```

Go to a test file and now simply add upload_manager fixture in order to save a variable (except callable), Like so:

```python
# test_foo.py

def test_bar(upload_manager):
    expected_value = upload_manager(1000)
    assert expected_value == 1000, "assert failed"
```

Activate the plugin with the pytest cli with the command:

```bash
pytest --output_test_data True
```

Now the data passed to upload_manager, as well as the test data that is specified at the TestData container will be
stored in an external file. For a json file output:

```json
[
  {
        "test_input": [
            {
                "test_file_path": "_20220719_21_00_10_806534.csv",
                "file_type": "csv"
            }
        ],
        "expected_result": null,
        "actual_result": null,
        "test_operator": null,
        "test_func": "test_bar",
        "test_status": 1,
        "test_duration": 0.046707000000000054,
        "meta_data": null
    }
]

```
In version 0.1.7 there's no recording of the expected_result, actual_result and test_operator since the test result is a PASS.
Additionally, all objects passed to the upload_manager fixture will be saved as an external file that will be associated by test_file_path param.
<b>There's no garbage collection so be mindful how and where the files are stored.

## Miscellaneous

For order sakes, the plugin will use a test comparison convention of:

    * left- actual result.
    * right- expected result.

## conftest.py hooks and fixtures

In order to change the folder for either cache or output files, use conftest.py with the correct fixtures. example:

```python
# conftest.py
import pytest


@pytest.fixture
def suite_output_dir():
    return "my_files.output"


@pytest.fixture
def suite_cache_dir():
    return "my_files.temp"

@pytest.fixture
def suite_output_file_prefix():
    return "my_special_prefix"

```

## Enumeration
By default there are 3 values for the test values in the data_containers.py file:
```python
class TestStatus(Enum):
    Skip = -1
    Fail = 0
    Pass = 1

```

The default directories will be at the root where the pytest is called.
Supports automatic pipeline
saffire 0.0.0
Saffire
License: MIT
Requires Python: >=3.7,<4.0

# Saffire

[![PyPI](https://img.shields.io/pypi/v/saffire.svg)][pypi status]
[![Status](https://img.shields.io/pypi/status/saffire.svg)][pypi status]
[![Python Version](https://img.shields.io/pypi/pyversions/saffire)][pypi status]
[![License](https://img.shields.io/pypi/l/saffire)][license]

[![Read the documentation at https://saffire.readthedocs.io/](https://img.shields.io/readthedocs/saffire/latest.svg?label=Read%20the%20Docs)][read the docs]
[![Tests](https://github.com/csala/saffire/workflows/Tests/badge.svg)][tests]
[![Codecov](https://codecov.io/gh/csala/saffire/branch/main/graph/badge.svg)][codecov]

[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)][pre-commit]
[![Black](https://img.shields.io/badge/code%20style-black-000000.svg)][black]

[pypi status]: https://pypi.org/project/saffire/
[read the docs]: https://saffire.readthedocs.io/
[tests]: https://github.com/csala/saffire/actions?workflow=Tests
[codecov]: https://app.codecov.io/gh/csala/saffire
[pre-commit]: https://github.com/pre-commit/pre-commit
[black]: https://github.com/psf/black

## Features

- TODO

## Requirements

- TODO

## Installation

You can install _Saffire_ via [pip] from [PyPI]:

```console
$ pip install saffire
```

## Usage

Please see the [Command-line Reference] for details.

## Contributing

Contributions are very welcome.
To learn more, see the [Contributor Guide].

## License

Distributed under the terms of the [MIT license][license],
_Saffire_ is free and open source software.

## Issues

If you encounter any problems,
please [file an issue] along with a detailed description.

## Credits

This project was generated from [@cjolowicz]'s [Hypermodern Python Cookiecutter] template.

[@cjolowicz]: https://github.com/cjolowicz
[pypi]: https://pypi.org/
[hypermodern python cookiecutter]: https://github.com/cjolowicz/cookiecutter-hypermodern-python
[file an issue]: https://github.com/csala/saffire/issues
[pip]: https://pip.pypa.io/

<!-- github-only -->

[license]: https://github.com/csala/saffire/blob/main/LICENSE
[contributor guide]: https://github.com/csala/saffire/blob/main/CONTRIBUTING.md
[command-line reference]: https://saffire.readthedocs.io/en/latest/usage.html