semvec/pypi-packages huggingface dataset:
cap_sc_client 1.0.1
Python client for Cell-Annotation-Platform (CAP) GraphQL API.


# Python client for Cell-Annotation-Platform GraphQL API
[![PyPI version](https://img.shields.io/pypi/v/cap-sc-client)](https://pypi.org/project/cap-sc-client/)

The Python package provides a simple interface to interact with the [Cell Annotation Platform](https://celltype.info/) (CAP) GraphQL API. The package allows to search for datasets, cell labels metadata and get molecular profiles of cell types published on CAP.

## Installation

```bash
pip install -U cap-sc-client
```

## Basic usage

The main goal of this package is to provide an interace to access CAP datasets and cell annotation metadata (including marker genes, synonyms, rationales, etc.) via standard python tooling. The outputs are in the format [pandas DataFrame](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html), which could be converted to other formats (csv, JSON, etc.) if the user desires.


```
>>> from cap_sc_client import CapClient
>>> cp = CapClient()
>>> datasets = cp.search_datasets(limit=5, offset=0, organism=["Homo sapiens"])
>>> datasets.head()
     id                           name  cell_count                        project
0  1427  Skin fibroblasts   - Pan-d...    337376.0  {'id': '613', 'name': 'Pan...
1  1426  Skin fibroblast scRNA-seq ...    153546.0  {'id': '613', 'name': 'Pan...
2  1157  Single cell atlas of the h...     72788.0  {'id': '544', 'name': 'Sin...
3  1156  snRNA-seq of human retina ...   3177310.0  {'id': '544', 'name': 'Sin...
4  1154  snRNA-seq of human retina ...    691008.0  {'id': '544', 'name': 'Sin...
>>> labels = cp.search_cell_labels(limit=10, offset=0)
>>> labels[["full_name", "ontology_term_exists", "marker_genes"]]
             full_name  ontology_term_exists         marker_genes
0  cycling stromal ...                 True   [MKI67, TOP2A, C...
1  alveolar type 1 ...                 True          [PDPN, HOPX]
2    mesoderm 2 (ZEB2)                False                [ZEB2]
3          acinar cell                 True               [PRSS1]
4               neuron                 True               [STMN2]
5   smooth muscle cell                 True   [DES, CNN1, ACTA...
6        ciliated cell                 True               [FOXJ1]
7         Schwann cell                 True                 [MPZ]
8     pancreatic cells                False                [PDX1]
9            club cell                 True             [SCGB1A1]
```

There is also an `MDSession` class that allows users to interact with the molecular profiles of cell types within a specific dataset. However, this class requires users to be familiar with the CAP MD page.

For more examples, please refer to ["examples"](https://github.com/cellannotation/cap-python-client/tree/main/examples) and the [GitHub wiki](https://github.com/cellannotation/cap-python-client/wiki) for detailed documentation.

## Documentation

Detailed documentation is available on [GitHub Wiki](https://github.com/cellannotation/cap-python-client/wiki).
etl-db-tools 0.2.2
tools for moving data
Requires Python: <4.0,>=3.10

# Etl-db-Tools

This package provides some convenience functions for interacting with databases. For instance executing queries, copying a table etc. It uses pyodbc as a the backend. 

### install
```
pip install etl-db-tools
```

## Getting started

#### Set up a connection with a sql server database

``` python
from etl_db_tools.sqlservertools import sqlservertools as sql

cnxn = sql.SQLserverconnection(driver='ODBC Driver 18 for SQL Server', 
                            server='localhost_or_else', 
                            database='TestDB', 
                            uid = 'your_username',
                            pwd = 'your_password', 
                            TrustServerCertificate = 'yes')

```
#### Select data from an active connection
You can use the connect method as a context manager.

``` python
# create an active connection as context manager
with cnxn.connect() as active_cnxn:
    query = """select id, name from dbo.myTable """
    data = cnxn.select_data(query)
```

Select_data() yields a generator. This will return list of dictionaries containing the query results.

#### use the data

``` python
for row in data:
    print(f"id = {row['id']}")
```
gemini-model 0.3.0
Core model library of the GEMINI Digital Twin
Requires Python: <4.0,>=3.11

[![Test workflow status](https://github.com/GEMINI-Digital-Twin/gemini-model/actions/workflows/python_test.yaml/badge.svg)](https://github.com/GEMINI-Digital-Twin/gemini-model/actions/workflows/python_test.yaml)
[![Lint workflow status](https://github.com/GEMINI-Digital-Twin/gemini-model/actions/workflows/python_lint.yaml/badge.svg)](https://github.com/GEMINI-Digital-Twin/gemini-model/actions/workflows/python_lint.yaml)



# gemini-model

This repository is part of the 'Nieuwe Warmte Nu GEMINI Digital Twin' project. 

Model library of the GEMINI Digital Twin


## Bug reports and discussions

If you think you found a bug, feel free to open an [issue](https://github.com/GEMINI-Digital-Twin/gemini-model/issues).
Focused suggestions and requests can also be opened as issues. Before opening a pull request, please start an issue or a discussion on the topic.

## Contribution

If you want to contribute to the package, please read our [CONTRIBUTING.md](https://github.com/GEMINI-Digital-Twin/gemini-model/blob/main/CONTRIBUTING.md) file.

## License

This content is released under the [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.html) License.


## Acknowledgments
This project is sponsored by NWM innovatie: Datagedreven optimalisatie aardwarmtesystemen
(https://nwn.nu/projecten/innovaties/datagedreven-optimalisatie-aardwarmte-systemen)

Organization: TNO, Aardyn, HVC, Well Engineering Partners (WEP), Helin Data
pyph-toolkit 0.1.0
A simple python-based plotter for acid-base logarithmic diagrams visualization
Requires Python: >=3.10

# pypH

The `pypH` library is a simple python-based plotter for acid-base logarithmic diagrams visualization.

The package can be obtained from pip as the `pyph-toolkit` package.

The full documentation can be found at the link: [ppravatto.github.io/pypH/](ppravatto.github.io/pypH/)
reea 0.1.3
# The asas reeaary in Python prints the text written inside it, like the print function.
Requires Python: >=3.6

# The reea library in Python prints the text written inside it, like the print function.  

# Telegram  :  @LAEGER_MO
# The installation method is like this 
pip install reea
#After installation, how to use it 

python```
reea("Hello world ")
```
rree 0.1.3
# The asas rreeary in Python prints the text written inside it, like the print function.
Requires Python: >=3.6

# The rree library in Python prints the text written inside it, like the print function.  

# Telegram  :  @LAEGER_MO
# The installation method is like this 
pip install rree
#After installation, how to use it 

python```
rree("Hello world ")
```
textual-dissect 0.2.0
A tool for dissecting Textual widgets, including default CSS and more
Requires Python: >=3.9

# textual-dissect

A tool for dissecting [Textual](https://github.com/textualize/textual/) widgets,
including default CSS and more.

![screenshot](https://raw.githubusercontent.com/TomJGooding/textual-dissect/main/assets/screenshot.png)

## About

The [Textual documentation](https://textual.textualize.io/) is excellent, but
sometimes you need to dig a bit deeper. I regularly found myself having to dive
into the source code to check the default CSS for widgets.

`textual-dissect` provides quick and easy access to the default CSS and other
inner workings of Textual widgets not covered by the documentation.

## Installation

Install `textual-dissect` using pip:

```
pip install textual-dissect
```

> [!NOTE]
> It is recommended to install `textual-dissect` within your Textual project
> using pip, rather than as a standalone tool with pipx or uvx.
> This ensures that the Textual version in this tool aligns with the version
> in your current project.

## License

Licensed under the [GNU General Public License v3.0](LICENSE).