semvec/pypi-packages huggingface dataset:
cycleenrichr 0.0.9
Cycleenrichr uses PrismEXP predictions to calculate enrichment of gene sets that do not have gene annotations.
Requires Python: >=3.7

### Cycle Enrichr

Enrichment of gene sets with no gene annotations leveraging ARCHS4 and PrismExp gene function prediction.


## Usage

#### Installation
```
pip3 install cycleenrichr
```
#### Download Prediction File
```python
# download precomputed predictions file from PrismExp

import cycleenrichr as cycle
cycle.load.download("predictions.h5")
```

### Run Set Enrichment for Gene Set Library

```python
import cycleenrichr as cycle

# load gene set libary from Enrichr
library = cycle.enrichr.get_library("KEGG_2021_Human")

predictions_path = "predictions.h5"

result = cycle.enrichment.enrich(library, predictions_path)
```
ragasas 1.1.5
A package that can be used to create RAGs with a single line of code.
Keywords: RAG, LLM, Python, OpenAI, ChatGPT

# Ragasas (Retrieval Augmented Generation as Software as a Service)

Example Usage: 
```python
from ragasas import Ragasas

# Data prep
openai_api_key = "YOUR_OPENAI_API_KEY"
data = [
    "Ragasas streamlines the RAG (Retrieval Augmented Generation) development process.",
    "Ragasas is a Python package.",
    "Ragasas was created by Eric Gustin.",
]
retriever_message = "Searches and returns documents regarding Ragasas."
system_message = "You are a helpful chatbot who is tasked with answering questions about Ragasas. Assume all questions are about Ragasas."

# Use Ragasas
ragasas = Ragasas(
    openai_api_key,
    data,
    retriever_message,
    system_message,
    embedding_model="text-embedding-ada-002",
    llm_model="gpt-3.5-turbo",
)
response = ragasas.ask("What is Ragasas?")
print(response["output"])

# Response: Ragasas is a Python package created by Eric Gustin. It streamlines the RAG (Retrieval Augmented Generation) development process.
```
pgsqlx-generator 1.7.4
pgsqlx-generator is a model code generator from tables for PgSqlx.
Requires Python: >=3.5
Keywords: PostgreSQL, PgSqlx, python

Install
'''''''

.. code:: shell

   pip install pgsqlx-generator

Usage Sample
''''''''''''

.. code:: python

       from pgsqlx.generator import Generator

       if __name__ == '__main__':
           coder = Generator(host='127.0.0.1', port='3306', user='xxx', password='xxx', database='test')
           # you can generate a model class for one table
           coder.generate_with_tables(tables='user', path='models.py')
           # you can generate model classes for tables
           coder.generate_with_tables(tables=['user', 'person'], path='models.py')
           # you can generate model classes for all tables from a given schema. default current schema if not given
           coder.generate_with_schema(schema='test', path='models.py')

If you run last code, then generate a file 'models.py' in current
directory like follow:

.. code:: python

       from decimal import Decimal
       from datetime import date, datetime
       from pgsqlx.orm import Model, PkStrategy

       class BaseModel(Model):
           __pk__ = 'id'
           __del_flag__ = 'del_flag'
           __update_by__ = 'update_by'
           __update_time__ = 'update_time'
           __pk_strategy__ = PkStrategy.DB_AUTO_INCREMENT

           def __init__(self, id: int = None, create_by: int = None, create_time: datetime = None, update_by: int = None, update_time: datetime = None,
                   del_flag: int = None):
               self.id = id
               self.create_by = create_by
               self.create_time = create_time
               self.update_by = update_by
               self.update_time = update_time
               self.del_flag = del_flag


       class Person(BaseModel):
           __table__ = 'person'
           __key_seq__ = 'person_id_seq'

           def __init__(self, id: int = None, name: str = None, age: int = None, birth_date: date = None, sex: int = None, grade: float = None,
                   point: float = None, money: Decimal = None, create_by: int = None, create_time: datetime = None, update_by: int = None,
                   update_time: datetime = None, del_flag: int = None):
               super().__init__(id=id, create_by=create_by, create_time=create_time, update_by=update_by, update_time=update_time, del_flag=del_flag)
               self.name = name
               self.age = age
               self.birth_date = birth_date
               self.sex = sex
               self.grade = grade
               self.point = point
               self.money = money


PgSqlx: https://pypi.org/project/pgsqlx