semvec/pypi-packages huggingface dataset:
zpy-database 0.1.1
Pyton database wrapper

# zpy-database v0.1.1

> [Zguillez](https://zguillez.io) | Guillermo de la Iglesia

## Pyton database wrapper

# Getting Started

## Install

```
pip install --upgrade zpy-database
```

# Usage

```
from zpy_database import database as db

db.connect({
    'conn': os.environ['DB_HOST'],
    'database': os.environ['DB_NAME'],
    'user': os.environ['DB_USER'],
    'password': os.environ['DB_PASS']
})
```

```
data = db.sql("SELECT id, name FROM my_table")
print(data[0])
```

```
data = db.dict("SELECT id, name FROM my_table", ['id', 'name'])
print(data[0]['name'])
```

```
db.close()
```

# Contributing and issues

Contributors are welcome, please fork and send pull requests! If you have any ideas on how to make this project better
then please submit an issue or [email](mailto:guillermo@delaiglesia.email) me.

# License

©2023 Zguillez.IO

Original code licensed under [MIT](https://en.wikipedia.org/wiki/MIT_License) Open Source projects used within this
project retain their original licenses.

# Changelog

### v0.1.1 (February 13, 2023)

* Initial commit
xm-gnpu-v100 0.0.5
雄迈工具链
Requires Python: >=3.8
Keywords: tvm,vta,xm-gnpu-v100

# xm-tool

[![PyPI - Version](https://img.shields.io/pypi/v/xm-tool.svg)](https://pypi.org/project/xm-tool)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/xm-tool.svg)](https://pypi.org/project/xm-tool)

-----

**Table of Contents**

- [Installation](#installation)
- [License](#license)

## Installation

```console
pip install xm-tool
```

## License

`xm-tool` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
fortressofsolitude 0.1.0
A client to retrieve new releases of comic books, filterable by publisher and format.
Requires Python: >=3.9,<4.0

# Fortress of Solitude

![](docs/resources/fortress-of-solitude.jpeg)
<!-- TOC -->
* [Fortress of Solitude](#fortress-of-solitude)
  * [Why is this project called the Fortress of Solitude](#why-is-this-project-called-the-fortress-of-solitude)
  * [What is the Fortress of Solitude in Comic Books?](#what-is-the-fortress-of-solitude-in-comic-books)
  * [Requirements](#requirements)
* [Project Expectations](#project-expectations)
  * [How to get started](#how-to-get-started)
    * [Create a virtual environment](#create-a-virtual-environment)
    * [Enter virtual environment](#enter-virtual-environment)
    * [Install Poetry, the package manager for this project](#install-poetry-the-package-manager-for-this-project)
    * [Build distribution of project](#build-distribution-of-project)
    * [Running Unit Tests](#running-unit-tests)
      * [Pytest to run all unit tests in `test/`](#pytest-to-run-all-unit-tests-in-test)
    * [Pytest to run all unit tests and lint code with `Pylama`](#pytest-to-run-all-unit-tests-and-lint-code-with-pylama)
    * [Linting](#linting)
  * [Roadmap](#roadmap)
<!-- TOC -->
## Why is this project called the Fortress of Solitude
Honestly just thought a library like this needs 1. A cool name and 2. Something comic book related

## What is the Fortress of Solitude in Comic Books? 
From the DC Fandom Wiki: 
> The Fortress of Solitude is a home base for Superman and by extension, other heroes in the Superman Family. It is usually located in the one of the poles and uses serves as a place to store weapons and machinery from Krypton.
## Requirements
- Python 3.9 or above
- Virtualenv 20.14.1 or above

# Project Expectations
- Client library to get new releases, or releases for a given date. 
- Client can filter by the format of releases e.g. 'single-issue' or by publisher e.g. 'marvel'
- Client should be straight forward and easy to use by using the KISS model (Keep It Simple Stupid)
- Cache results where possible as not to hit provider with too many requests for the same data

## How to get started
### Create a virtual environment
```bash
virtualenv -p python3.9 venv
```

### Enter virtual environment
```bash
source venv/bin/activate
```

### Install Poetry, the package manager for this project
```bash
pip install poetry
```

### Build distribution of project
```bash
poetry build
```
Build artifacts will be located in `dist/`
### Running Unit Tests
#### Pytest to run all unit tests in `test/`
```bash
pytest
```

### Pytest to run all unit tests and lint code with `Pylama`
```bash
pytest --pylama
```

### Linting
This project strives to keep the code style in line with [PEP8](https://peps.python.org/pep-0008/).
To test the project for compliance with PEP8, I use [Pylama](https://github.com/klen/pylama)
```bash
pip install pylama
```
```bash
pylama fortressofsolitude
```
***
## Roadmap
- [ ] Database to cache results from source
- [ ] Sphinx Automatic Documentation Creation