semvec/pypi-packages huggingface dataset:
pikantic 0.1.2
Python library for easy message broker handling using Pydantic
License: MIT
Requires Python: >=3.7,<4.0
Keywords: pika,rabbitmq,amqp,pydantic,fastapi,rabbit,mq

# pikantic

[![PyPI](https://img.shields.io/pypi/v/pikantic)](https://pypi.org/project/pikantic/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pikantic)](https://pypi.org/project/pikantic/)
[![PyPI License](https://img.shields.io/pypi/l/pikantic)](https://pypi.org/project/pikantic/)
[![Code Style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black/)

Python library for easy message broker handling using Pydantic

### Basic Usage

```python
import pikantic
from pydantic import BaseModel

app = pikantic.Pikantic(AMQP_URI)


class PersonModel(BaseModel):
    name: str
    age: int


@app.on_rabbit('test_queue')
async def handle_message(msg: aio_pika.Message, person: PersonModel):
    print(msg.body)
    print(person.age)


if __name__ == '__main__':
    app.run()
```
discordtemplate 1.1.3
🔹 A new and enhanced boilerplate template for discord.py
License: MIT
Requires Python: >=3.5

<h1 align='center'>
  Discord Template
</h1>
<p align='center'>
  🔹 A new and enhanced boilerplate template for discord.py
</p>

<p align="center">
   <a href="https://github.com/znqi">
    <img src="https://img.shields.io/github/followers/znqi?label=Follow&logo=github&style=flat-square"
         alt="GitHub">
     <a href="#License">
     <img src=https://img.shields.io/github/license/znqi/discord_template?color=5087F4&label=License&style=flat-square
          alt="License">
</p>


<p align="center">
  <a href="#about">About</a> | 
  <a href="#installation">Installation</a> | 
  <a href="#usage">Usage</a> | 
  <a href="#contributors">Contributors</a> |
  <a href="#license">License</a>
</p>

     
## About 

**Discord Template** is a Discord CLI used for creating boilerplate for bot developers out there who want to develop bots, easily and fast!
Discord Template offers you a development and deployment system (heroku) (coming soon). It's easy to use and reliable.

     
## Installation
     
Discord Template is available on [PyPi](https://pypi.org)
```
pip install discordtemplate
```
     
     
## Usage
```
discord create bot_name
```
![](https://cdn.discordapp.com/attachments/856819523523837972/856823350402482196/unknown.png)

## Contributors
> For contirbuting, see [CONTRIBUTING.md](https://github.com/znqi/discord_template/blob/main/CONTRIBUTING.md)

Thanks to these contributors who made the project maintained!

| ![](https://github.com/znqi.png?size=50)   |
|:-------------------------------------------:|
| [Zenqi](https://www.github.com/zenqii)     |
     
## License
[MIT]("https://github.com/znqi/discord_template/blob/main/LICENSE")
schedules 1.3
Create non-blocking scheduled tasks.
License: MIT
Keywords: schedule,task,nonblocking,scheduler,non-blocking,schedules

# Schedules - Create non-blocking scheduled tasks.

## Installation

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

```bash
pip install schedules
```

## Usage

### Timer

Here is a simple timer scheduled task example.

After 3 days, 1 hour, 30 minutes and 10 seconds `task` will execute.

```python
import schedules

# example task

def task(argument):
    print(argument)

# initialize a timer

timer = schedules.timer()

# Start the timer.

# "repeat=True" means the task not execute only once,
# it will execute every 3 days, 1 hour, 30 minutes and 10 seconds infinite times.

timer.day(3).hour(1).minute(30).second(10).start(target=task, args=("Example",), repeat=True)
```

If the task is asynchronous, You can do this:

```python
import schedules

# example task

async def task(argument):
    print(argument)

# initialize a timer

timer = schedules.timer()

# Start the timer.

timer.day(3).hour(1).minute(30).second(10).start(target=task, args=("Example",), asynchronous=True)
```

### Every

If you don't want the task to execute at a certain time, you can use `every`.

Every time the minutes are 0 (every new hour), `task` will execute.

```python
import schedules

# example task

def task(argument):
    print(argument)

# initialize "every"

every = schedules.every()

# Start the timer.

# "repeat=True" means the task not execute only once,
# it will execute every time the minutes are 0 (every new hour) infinite times.

every.minute(0).start(target=task, args=("Example",), repeat=True)

# This code will execute the task at 2:30pm and 10 seconds everyday:

every.hour(14).minute(30).second(10).start(target=task, args=("Example",), repeat=True)
```

If the task is asynchronous, You can do this:

```python
import schedules

# example task

async def task(argument):
    print(argument)

# initialize "every"

every = schedules.every()

# Start the timer.

every.hour(14).minute(30).second(10).start(target=task, args=("Example",), asynchronous=True)
```

## 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/)
pvclient 0.0.11
This package allows interacting with Azure Purview's REST API.
License: MIT
Requires Python: >=3.6

# Introduction
This is a HTTP client to [Purview](https://azure.microsoft.com/sv-se/services/purview/) as the complemntary of Python [wrapper](https://github.com/wjohnson/pyapacheatlas) for Appache Atlas.

# Installation

Install the package
```
pip install --upgrade pvclient
```
then it will be uninstalled with
```
pip uninstall pvclient
```

# Authentication

Set the following environment variables:
* TENANT_ID =<Tentant id where Purview accounts are provisioned under>
* CLIENT_ID =<Client id of a service principal which is used to run the program>
* CLIENT_SECRET =<Client secret of a service principal which is used to run the program>
* SUBSCRIPTION_ID =<Subscription id where Purview accounts are provisioned under>
* INTERACTIVEGROUPS=<Id of group(s) who interactively logs into Purview>

# Configurations:

Set the following environment variables:
* RESOURCE_GROUP =<Resource group name>
* LOCATION =<Location>
* PURVIEW_ACCOUNT_NAME=<Purview account to be created/modified >

# Usage:
```
purview [-h] [--create-purview] [--assign-roles] [--delete-purview] [--create-glossary CREATE_GLOSSARY] [--list-terms] [--upload-entities]
                  [--import-terms IMPORT_TERMS] [--delete-term DELETE_TERM] [--delete-all-terms] [--list-term-templates]
                  [--import-term-templates IMPORT_TERM_TEMPLATES] [--delete-term-templates DELETE_TERM_TEMPLATES]

Interaction with Purview

optional arguments:
  -h, --help            show this help message and exit
  --create-purview
  --assign-roles
  --delete-purview
  --create-glossary CREATE_GLOSSARY
                        Create a glossary with name
  --list-terms
  --upload-entities
  --import-terms IMPORT_TERMS
  --delete-term DELETE_TERM
                        Delete a term from the default Glossary
  --delete-all-terms    Delete all terms from the default Glossary
  --list-term-templates
                        List all term templates from the default Glossary
  --import-term-templates IMPORT_TERM_TEMPLATES
                        Import term templates from a file to the default Glossary
  --delete-term-templates DELETE_TERM_TEMPLATES
                        Delete all templates from a file from the default Glossary
```
pg-orm 0.5.1
An ORM for PostgreSQL
License: MIT

## PostgreSQL Python ORM (pg_orm)
_____
Tired by executing raw SQL?  
Fear no more because **pg_orm** is here!
_____
This package is not on pypi you have to download it from github
>  `pip install git+https://github.com/Rashaad1268/PostgreSQL-Python-ORM.git#egg=pg_orm`
____
**Features:**
- Ability to interact with PostgreSQL databases using python
- Create tables, create/delete/get rows with ease
- Asynchronous support  

And much more!  
____
Example synchronous usage:
you need to install psycopg2 for this
```python
from pg_orm import models
from psycopg2 import pool

uri = "postgresql://user:password_1234@127.0.0.1:5432/postgres"
pg_pool = pool.SimpleConnectionPool(1, 10, uri)
Model = models.create_model(pg_pool)

class Post(Model):
    # We are making a post model
    # An id field will be automatically set by the library
    title = models.CharField(max_length=255)
    body = models.TextField()
    date_created = models.DateTimeField(auto_now_add=True) # Now the date_created will be automatically set

pg_pool.closeall() # Close the pool at last
```
For the migrations you need to make a new file called `migrations.py`
```python
# migrations.py
from pg_orm import migrations
from psycopg2 import pool

pg_pool = pool.SimpleConnectionPool(**data)
migrations.apply_migrations(pg_pool)
```
And that's it!.  
Now for getting/saving/deleting data from the database
```python
# We will be using the post model which you created earlier

# Lets create some rows
for i in range(5):
    post = Post(title=f"Test Post {i}", body=f"This is a Test Post {i}") # The date_created will be automatically set
    post.save() # Save the post
# The above code will create 5 rows in the database

# Now we will get the rows in the database
first_post = Post.objects.get(id=1) # Returns the row where the id is 1
print(first_post.body)
#  Output: This is a Test Post 1

# Lets get some rows by other attributes
post = Post.objects.get(title=f"Test Post 3")
print(post.body)
#  Output: This is a Test Post 3

# Now lets delete some rows
# We already have the Post object
post.delete() # Deletes the row from the database
```
Note:  
`Model.objects.get()` only returns one row
If you want multiple rows use `Model.objects.filter()` instead
discord.customs 1.0.3
A small pypi project, that adds more extensions to your discord.py bot.
License: MIT
Keywords: extensions,dpy,discord.py,discord

## discord.customs

Some customized-extensions you can add to your discord.py bot.

# Installation

```shell
python3 -m pip install discord.ext.customs
```

## Example

```python
import discord
from discord.ext.customs import commands

# Enable gateway intents on the developer portal

bot = commands.Bot(intents=discord.Intents.all())

@bot.command(name="some_command")
async def some_command(ctx):
    await ctx.send(f"Hello.")

bot.run("Token Here")
```

NOTE: Some of these extensions already exist in the library, so i've added more functionality to them.
CraftSlicer 2.0
A portal from reality to Minecraft
License: MIT

# CraftSlicer

<p>
<a href="https://github.com/badges/shields/graphs/contributors">
        <img src="https://img.shields.io/badge/version-2.0-brightgreen" alt="version 2.0"/>
        <img src="https://img.shields.io/github/license/ThatAquarel/CraftSlicer" alt="licence MIT"/>
</a>
</p>

CraftSlicer is a pure python application to import 3D objects into your Minecraft world. Models and scans in the .stl
format can be converted into blocks, and then colored using reference images. At the press of a button, they can open in
your game directly, or be converted into a format compatible with
the [Litematica mod](https://github.com/maruohon/litematic).

## Demo

Insert video here

## Installation

The current version (2.0) only supports MS Windows, though macOS and Linux distributions will be in the future.

#### Windows

Download the latest Python interpreter (version 3.9.x) via the [Python website](https://www.python.org/downloads/).
During the installation process, make sure to check the option `Add Python 3.9.x to PATH`. To install and open
CraftSlicer, run the following commands in a command prompt:

```shell
py -3.9 -m pip install CraftSlicer
py -3.9 -m craftslicer
```

For the converted models to open directly in your world, download
the [CraftSlicer Litematica mod](https://github.com/ThatAquarel/litematica/releases/). Then place the .jar file in the
Minecraft mods folder, located by default at `%appdata%/.minecraft/mods/`. Note that this is only
a [Fabric](https://fabricmc.net/) mod for 1.16.4 and 1.16.5.

## Documentation

If you are unsure about the usage of CraftSlicer after installing, refer to this link:

|Index          |Link                                                                                              |
|---------------|--------------------------------------------------------------------------------------------------|
|App user manual| [CraftSlicer/doc/MANUAL.md](https://github.com/ThatAquarel/CraftSlicer/blob/master/doc/MANUAL.md)|