semvec/pypi-packages huggingface dataset:
pylocaldatabase 1.2.4
A package to simplify the use of json as a way to store data in Python.
Requires Python: >=3.0

# Python Local Database
![Logo Python Local Database](https://raw.githubusercontent.com/fortmea/python-local-database/main/images/logo.png)

A python package made to simplify the use of json as a mean to organize and store data in python.
[![Upload Python Package](https://github.com/fortmea/python-local-database/actions/workflows/release.yml/badge.svg)](https://github.com/fortmea/python-local-database/actions/workflows/release.yml)
----------

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install Python Local Database.

### Linux/macOS:
```bash
pip install pylocaldatabase
```

### Windows:
```bash
py -m pip install pylocaldatabase
```

Release history and file downloads can be found [on the project's pypi page](https://pypi.org/project/pylocaldatabase/).

----

## Usage

```python

# import library
from pylocaldatabase import pylocaldatabase

# define database file and assign databasecontroller instance to var dbcontroll
dbcontroll = pylocaldatabase.databasecontroller(path="file.json")

# load data from file
dbcontroll.load()

# create database file 'file.json'
dbcontroll.makeDatabase()

# creating document 
dbcontroll.insertDocument({}, "documentName")

# assigning document to a var
document = dbcontroll.getDocument("documentName")

# inserting Item in the document
document.insertItem("ItemName", {"Property":"Property Value"})

# reading Item data
itemData = document.getItem("ItemName").get()

# assigning item to var
item = document.getItem("ItemName")

# inserting new property in Item
item.insertProperty("Property Name", "Property Value")

# removing property from item
item.removeProperty("Property Name")

# removing item from document 

document.removeItem("ItemName")

# save data 
dbcontroll.save()
```
## Examples
Examples can be found [here](https://github.com/fortmea/python-local-database/tree/main/examples).

## Cryptography
An example on how to use the built-in Cryptography functions, you can refer to [Example 2.](https://github.com/fortmea/python-local-database/blob/main/examples/example2.py)

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License
[MIT](https://choosealicense.com/licenses/mit/)
gguf-llama 0.0.18
Wrapper for simplified use of Llama2 GGUF quantized models.
Keywords: llama,gguf,quantized models,llama gguf,cpu inference

# gguf_llama

Provides a LlamaAI class with Python interface for generating text using Llama models.

## Features

- Load Llama models and tokenizers automatically from gguf file
- Generate text completions for prompts
- Automatically adjust model size to fit longer prompts up to a specific limit
- Convenient methods for tokenizing and untokenizing text  
- Fix text formatting issues before generating

## Usage

```python
from llama_ai import LlamaAI

ai = LlamaAI("my_model.gguf", max_tokens=500, max_input_tokens=100)"
```
Generate text by calling infer():
```python
text = ai.infer("Once upon a time")  
print(text)"
```
## Installation

```python
pip install gguf_llama
``` 

## Documentation

See the [API documentation](https://laelhalawani.github.io/gguf_llama) for full details on classes and methods. 

## Contributing

Contributions are welcome! Open an issue or PR to improve gguf_llama.
ModularBuildingPy 0.2
A python module to create linear or nonlinear numerical models for volumetric modular steel buildings using the finite element method (OpenSeesPy).

|python| |MIT| |black|

.. |python| image:: https://img.shields.io/badge/python-3.11-blue.svg
   :target: https://github.com/mbbatukan/ModularBuildingPy/
   :alt: Python

.. |MIT| image:: https://img.shields.io/badge/License-MIT-yellow.svg
   :target: https://opensource.org/licenses/MIT
   :alt: MIT

.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg?style=flat
   :target: https://github.com/psf/black
   :alt: Black

ModularBuildingPy
=================

ModularBuildingPy is a Python module designed to create linear or nonlinear numerical models for volumetric modular steel buildings using the finite element method. It leverages the power of OpenSeesPy, a Python library for the Open System for Earthquake Engineering Simulation (OpenSees).

Features
--------

- **Linear and Nonlinear Models**: Create both linear and nonlinear numerical models based on your specific requirements.
- **Volumetric Modular Steel Buildings**: Specifically designed for creating models of volumetric modular steel buildings.
- **Finite Element Method**: Uses the finite element method for creating numerical models, providing accurate and reliable results.
- **OpenSeesPy Integration**: Fully integrated with OpenSeesPy, allowing for advanced earthquake engineering simulations.

Installation
------------

You can install ModularBuildingPy using pip:

.. code-block:: bash

   pip install modularbuildingpy

Usage
-----

After installing the module, you can import it in your Python scripts as follows:

.. code-block:: python

   import modularbuildingpy as mbp

Code Style
----------

This project uses the `Black <https://black.readthedocs.io/en/stable/>`_ code formatter. To ensure consistency in code style, please run Black on any changes before committing:

.. code-block:: bash

   black .


Contributing
------------

Contributions are welcome! Please read the contributing guidelines first.

License
-------

ModularBuildingPy is licensed under the MIT License. See LICENSE for more information.