semvec/pypi-packages huggingface dataset:
masonite-fixtures 0.0.5
Package provides utilities for managing fixture data python applications. It offers a convenient way to populate database tables with predefined data.
Requires Python: >=3.9

# Masonite Fixtures

The `masonite-fixtures` package provides utilities for managing fixture data in python applications. It offers a convenient way to populate database tables with predefined data.

## Installation

You can install `masonite-fixtures` via pip:

```bash
pip install masonite-fixtures
```

## Features

- Initialize fixture data for database tables effortlessly.
- Automatically create database tables based on the schema of the fixture model.
- Populate database tables with data defined in the fixture model using either `get_rows` method or `rows` property.
- Enable query logging for debugging and monitoring database interactions.

## Usage

To use the `masonite-fixtures` package, follow these steps:

1. Import your model class that implements the `FixtureMixin`.
2. Mix the `FixtureMixin` into your model class.
####
That's it. 
3. Optionally, set the `__log_queries__` attribute to `True` to enable query logging.

Example:

```python
from typing import Any
from masoniteorm.models import Model
from masonite_fixtures import FixtureMixin


# Example using get_rows method:
class User(Model, FixtureMixin):
    def get_rows(self) -> list[dict[str, Any]]:
        return [
            {"name": "John", "age": 30},
            {"name": "Alice", "age": 25},
            # Add more rows as needed
        ]
    
# Example using rows attribute:
class User(Model, FixtureMixin):
    rows: list[dict[str, Any]] = [
            {"name": "John", "age": 30},
            {"name": "Alice", "age": 25},
            # Add more rows as needed
        ]    

```
#### Thats it. You can now use the model as you would any other masoniteorm model. 

## Important
If the number of rows defined in the `rows` attribute or `get_rows` property of the fixture model class exceeds the number of rows stored in the actual database cache for the fixture, the fixture will reset the database table and reseed the fixture data.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
```
electr-x 1.16.0
Electrumx-Server
Requires Python: >=3.8

.. image:: https://travis-ci.org/spesmilo/electrumx.svg?branch=master
    :target: https://travis-ci.org/spesmilo/electrumx
.. image:: https://coveralls.io/repos/github/spesmilo/electrumx/badge.svg
    :target: https://coveralls.io/github/spesmilo/electrumx

===============================================
ElectrumX - Reimplementation of electrum-server
===============================================

  :Licence: MIT
  :Language: Python (>= 3.7)
  :Original Author: Neil Booth

This project is a fork of `kyuupichan/electrumx <https://github.com/kyuupichan/electrumx>`_.
The original author dropped support for Bitcoin, which we intend to keep.

ElectrumX allows users to run their own Electrum server. It connects to your
full node and indexes the blockchain, allowing efficient querying of history of
arbitrary addresses. The server can be exposed publicly, and joined to the public network
of servers via peer discovery. As of May 2020, a significant chunk of the public
Electrum server network runs ElectrumX.

Documentation
=============

See `readthedocs <https://electrumx-spesmilo.readthedocs.io/>`_.
my-notebook-app 0.1.5
notebook

# My Notebook App

My Notebook App is a simple notebook application where you can take and organize your notes.

## Features

- Create new notes
- Edit existing notes
- Organize notes into categories
- Search for notes
- User-friendly interface

## Installation

Clone the repository:

```
git clone https://github.com/hw010101/my_notebook_app.git
```
You can install My Notebook App using the following command:

```bash
cd my_notebook_app  
pip install my-notebook-app
```


To start My Notebook App, run the following command:

```
python3 my_notebook_app.py
eltr-x 1.16.0
Electrumx-Server
Requires Python: >=3.8

.. image:: https://travis-ci.org/spesmilo/electrumx.svg?branch=master
    :target: https://travis-ci.org/spesmilo/electrumx
.. image:: https://coveralls.io/repos/github/spesmilo/electrumx/badge.svg
    :target: https://coveralls.io/github/spesmilo/electrumx

===============================================
ElectrumX - Reimplementation of electrum-server
===============================================

  :Licence: MIT
  :Language: Python (>= 3.7)
  :Original Author: Neil Booth

This project is a fork of `kyuupichan/electrumx <https://github.com/kyuupichan/electrumx>`_.
The original author dropped support for Bitcoin, which we intend to keep.

ElectrumX allows users to run their own Electrum server. It connects to your
full node and indexes the blockchain, allowing efficient querying of history of
arbitrary addresses. The server can be exposed publicly, and joined to the public network
of servers via peer discovery. As of May 2020, a significant chunk of the public
Electrum server network runs ElectrumX.

Documentation
=============

See `readthedocs <https://electrumx-spesmilo.readthedocs.io/>`_.