semvec/pypi-packages huggingface dataset:
catencfamily 0.1.19
A class to generate a family of categorical encoders using network analysis
Requires Python: >=3.7

# catencfamily

The module provides a way to encode categorical features in multiple but related ways using network analysis. Together, the family of multiple encodings serve as a numerical vector for every level of a categorical feature. The class transforms a group of categorical features into corresponding numerical features which can then be used either in unsupervised learning or in predictive analytics. To assist in unsupervised learning, it has methods to save a categorical feature as network graphs and plot them. The class has methods to extract unit vectors for every level of a categorical feature to help, for example, in understanding relationshsips between various levels. Extracted numerical vectors can directly be used in plotting, for example, in tensorflow's Embedding Projector. Class provides methods to get categories encoded for large datasets; one can, for example, take a sample of data at a time, have categories encoded, then take another sample and have categories similarly encoded. After a number of iterations, take either a mean or median to get final category-wise vectors. As the encodings are calculated using a group of network analysis operations, the family of encodings is extensible. The class provides one way, but a limited one to extend it.

## Installation

<code>pip install catencfamily</code>

### Requirements
<pre><code>
python >= 3.7
pandas
numpy
networkx
cdlib
scikit-learn
matplotlib
pathlib</code></pre>


## License

_MIT License. Any contribution is welcome!
pydantic-external-settings-v1 0.0.1
provide a class descriptor for pydantic to load settings from external sources.compatible with pydantic 1.x

# pydantic-external-settings-v1

This module provides a way to load settings from any external source, when using pydantic BaseSettings.

## Quickstart

```python
from pydantic_external_settings import ExternalSourceConfig
from pydantic import BaseSettings
from typing import ClassVar


class ApolloSourceConfig(ExternalSourceConfig):
    def __init__(self, validation_alias: str = None, *, default_value=None):
        super().__init__(self.get_from_apollo, validation_alias, default_value=default_value)

    def get_from_apollo(self, key):
        return key + "_***"


class S3Settings(BaseSettings):
    api_key: str = "api_key"
    bucket: ClassVar[str] = ApolloSourceConfig()

    class Config:
        env_file = '.env'


s3_settings = S3Settings()
print(s3_settings.bucket)
```

### `ExternalSourceConfig` Usage

`ExternalSourceConfig`  is a class descriptor, which can be used to load settings from any external source.
Note that the typing annotation is required to be `ClassVar` for the `ExternalSourceConfig` attribute, so that it will
not be considered as a field of the settings class. Currently, the  `ExternalSourceConfig` supports to speacify a
`validation_alias` to override the name of setting field, and a `default_value` to provide a default value when the
settings field is not found both in the external source and the inner source(like .env file and environment variables).

To use a specific external usage, like database, you can create a subclass of `ExternalSourceConfig`
and provide a callable to the `__init__` method, which will be called to get the value of the settings field. Note that
if
the field setting is not found in the external source, the callable should return None, so that the default value can be
used.
DiscUtils 1.8.0
Библиотека для юзер-ботов дискорд
Keywords: discord discum discord.py-self DiscUtils discutils DiscordUtils description

## DiscordUtils

[![DiscUtils - 1.8.0](https://img.shields.io/badge/DiscUtils-1.8.0-2ea44f)](https://)


[![DiscUtils](https://cdn.discordapp.com/attachments/1199732518774124656/1211017807987351652/1708787531801.png?ex=65ecab39&is=65da3639&hm=a880cd2afbc0a9084638379999bfc2ad1658221fe7c4ea9f9a8dc093cd8f9b06&)](https://)

### О библиотеке

 **DiscordUtils - библиотека является полным переосмыслением Discum, discord.py-self без лишнего функционала, более легкая**

### Функциональность:

* Не асинхронная библиотека
* Поддержка embeds
* Легкий gateway
* ~~Поддержка обхода капч~~


### Быстрый старт

```python
import DiscUtils
from DiscUtils import embeds, client

bot = client("TOKEN", prefix="!", onlyone=True)

@bot.ready
def ready(data):
	print("Logged in as: {data['username']}")

@bot.command("oldping")
def oldping(m, args=None):
	bot.send_message(m['channel_id'], "pong!")

@bot.command("ping")
def ping(m, args=None):
	embed = embeds.get_embed(provider_name="Pong", description="PONG", color="2A8B55")
	bot.send_message(m['channel_id'], embed=embed)

@bot.message
def message(m):
	print(f"{m['author']['username']} > {m['content']}")
	
bot.run()
```

### Подробнее
[вся документация тута](https://github.com/mosaiyka/DiscUtils/tree/master/docs)

### ⚠️ Отказ от ответственности ⚠️
  Пользовательские боты нарушают условия использования Discord
  Библиотека создана лишь для демонстрации того, что пользовательские боты возможны

### Change log

1.8.0:
  * * fetch_members - подробнее в документации
  * * Фикс багов

1.7.92:
  * * Релиз
matrixdraw 0.0.1
Allows you to draw beautiful matrices.
Requires Python: >=3.6
Keywords: draw matrix 2d 2d_matrix

# Drawing on a matrix #

## What is this? ##
The module allows you to create a symbolic matrix and draw different lines on it, after which you can convert the drawn lines into a beautiful structure.

## Quick Guide ##

Drawing a simple, beautiful line:

    
    my_picture = РЎanvas_matrix(10,10)
    my_picture.makeline(1, 1, 8, 9)
    my_picture.beautify()
    my_picture.pt()



----------


### Using ###


Using the library is as simple and convenient as possible:

Let's import it first:
First, import everything from the library (use the `from `...` import *` construct).

To start working with the module, you need to create an object with the class `Canvas_matrix`, in this case we are creating a 10 by 10 matrix filled with spaces:

	my_picture = РЎanvas_matrix(10,10," ")

This class has several methods that will help you master this library:

`.pt()` - prints the entire matrix, if pt = True, the garden will be printed after printing for the next print:


	my_picture.pt(pt = False)

`.makeline(x1, y1, x2, y2)` - draws a line at two points, the coordinates start at 1, that is, the coordinate at the upper left point will be `[0,0]`

	my_picture.makeline(1, 1, 8, 9)

`.point(x, y, r)` - draws a point in x, y coordinates with the same width and height r:

	my_picture.point(5, 7, 2)

`.local_draw` - stores the coordinates of the local drawing, you no longer need to count the coordinates from the origin, but only from the beginning of the local coordinates:

	my_picture.local_draw = [x, y]

`.beautify()` - Transforms a boring picture from identical symbols into a beautiful picture with different symbols:

	my_picture.beautify()

an example of drawing a simple picture:

	t = РЎanvas_matrix(10,25)
    t.local_draw = [7,0]
    t.makeline(0, 0, 4, 2)
    t.makeline(20, 2)
    t.makeline(25, -1)
    t.local_draw = [2,4]
    t.point(0,0)
    t.point(10,-1)
    t.beautify()
    t.pt(False)
drawmatrix 0.1
Allows you to draw beautiful matrices.
Requires Python: >=3.6
Keywords: draw matrix 2d 2d_matrix

# Drawing on a matrix #

## What is this? ##
The module allows you to create a symbolic matrix and draw different lines on it, after which you can convert the drawn lines into a beautiful structure.

## Quick Guide ##

Drawing a simple, beautiful line:

    
    my_picture = РЎanvas_matrix(10,10)
    my_picture.makeline(1, 1, 8, 9)
    my_picture.beautify()
    my_picture.pt()



----------


### Using ###


Using the library is as simple and convenient as possible:

Let's import it first:
First, import everything from the library (use the `from `...` import *` construct).

To start working with the module, you need to create an object with the class `Canvas_matrix`, in this case we are creating a 10 by 10 matrix filled with spaces:

	my_picture = РЎanvas_matrix(10,10," ")

This class has several methods that will help you master this library:

`.pt()` - prints the entire matrix, if pt = True, the garden will be printed after printing for the next print:


	my_picture.pt(pt = False)

`.makeline(x1, y1, x2, y2)` - draws a line at two points, the coordinates start at 1, that is, the coordinate at the upper left point will be `[0,0]`

	my_picture.makeline(1, 1, 8, 9)

`.point(x, y, r)` - draws a point in x, y coordinates with the same width and height r:

	my_picture.point(5, 7, 2)

`.local_draw` - stores the coordinates of the local drawing, you no longer need to count the coordinates from the origin, but only from the beginning of the local coordinates:

	my_picture.local_draw = [x, y]

`.beautify()` - Transforms a boring picture from identical symbols into a beautiful picture with different symbols:

	my_picture.beautify()

an example of drawing a simple picture:

	t = РЎanvas_matrix(10,25)
    t.local_draw = [7,0]
    t.makeline(0, 0, 4, 2)
    t.makeline(20, 2)
    t.makeline(25, -1)
    t.local_draw = [2,4]
    t.point(0,0)
    t.point(10,-1)
    t.beautify()
    t.pt(False)
draw-matrix 0.0.1
Allows you to draw beautiful matrices.
Requires Python: >=3.6
Keywords: draw matrix 2d 2d_matrix

# Drawing on a matrix #

## What is this? ##
The module allows you to create a symbolic matrix and draw different lines on it, after which you can convert the drawn lines into a beautiful structure.

## Quick Guide ##

Drawing a simple, beautiful line:

    
    my_picture = РЎanvas_matrix(10,10)
    my_picture.makeline(1, 1, 8, 9)
    my_picture.beautify()
    my_picture.pt()



----------


### Using ###


Using the library is as simple and convenient as possible:

Let's import it first:
First, import everything from the library (use the `from `...` import *` construct).

To start working with the module, you need to create an object with the class `Canvas_matrix`, in this case we are creating a 10 by 10 matrix filled with spaces:

	my_picture = РЎanvas_matrix(10,10," ")

This class has several methods that will help you master this library:

`.pt()` - prints the entire matrix, if pt = True, the garden will be printed after printing for the next print:


	my_picture.pt(pt = False)

`.makeline(x1, y1, x2, y2)` - draws a line at two points, the coordinates start at 1, that is, the coordinate at the upper left point will be `[0,0]`

	my_picture.makeline(1, 1, 8, 9)

`.point(x, y, r)` - draws a point in x, y coordinates with the same width and height r:

	my_picture.point(5, 7, 2)

`.local_draw` - stores the coordinates of the local drawing, you no longer need to count the coordinates from the origin, but only from the beginning of the local coordinates:

	my_picture.local_draw = [x, y]

`.beautify()` - Transforms a boring picture from identical symbols into a beautiful picture with different symbols:

	my_picture.beautify()

an example of drawing a simple picture:

	t = РЎanvas_matrix(10,25)
    t.local_draw = [7,0]
    t.makeline(0, 0, 4, 2)
    t.makeline(20, 2)
    t.makeline(25, -1)
    t.local_draw = [2,4]
    t.point(0,0)
    t.point(10,-1)
    t.beautify()
    t.pt(False)
crypto-exchanges-clients 0.0.2
client for various crypto exchanges

# Crypto Exchanges Clients #
is a library that provides interface to get the timestamp of listing of a token on multiple exchanges. 
At the moment following exchanges are supported:
- Binance
- Bitget
- Bybit
- Coinbase
- Okx

Usage example
```python
from crypto_exchanges_clients import Binance

async def get_listing_ts():
    client = Binance()
    return await client.get_token_listing_timestamp('BTC')
```