semvec/pypi-packages huggingface dataset:
gpt4docs 0.1.2
Python package using AI to generate documentation for your codebase
Requires Python: >=3.10,<4.0

========
gpt4docs
========


.. image:: https://img.shields.io/pypi/v/gpt4docs.svg
        :target: https://pypi.python.org/pypi/gpt4docs

.. image:: https://img.shields.io/travis/simonmoesorensen/gpt4docs.svg
        :target: https://travis-ci.com/simonmoesorensen/gpt4docs

.. image:: https://readthedocs.org/projects/gpt4docs/badge/?version=latest
        :target: https://gpt4docs.readthedocs.io/en/latest/?version=latest
        :alt: Documentation Status




Python package using AI to generate documentation for your codebase


* Free software: MIT license
* Documentation: https://gpt4docs.readthedocs.io.


Features
--------

* TODO

Credits
-------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
cohort-generator 0.3.0
Python wrapper for the OHDSI R packages
Requires Python: >=3.10

# python-ohdsi
[![PyPI Circe](https://badge.fury.io/py/ohdsi-circe.svg)](https://badge.fury.io/py/ohdsi-circe)
[![PyPI DatabaseConnector](https://badge.fury.io/py/ohdsi-database-connector.svg)](https://badge.fury.io/py/ohdsi-database-connector)
[![PyPI FeatureExtraction](https://badge.fury.io/py/ohdsi-feature-extraction.svg)](https://badge.fury.io/py/ohdsi-feature-extraction)
[![PyPI SQLRender](https://badge.fury.io/py/ohdsi-sqlrender.svg)](https://badge.fury.io/py/ohdsi-sqlrender)

Python wrappers for (some) OHDSI tools. This project has been initiated for
supporting OMOP data sources in [vantage6](https://vantage6.ai).

Make sure you have a working R environment with the OHDSI packages installed.

## Installation

### Python binding
Interact with the OMOP database using a python interface.

* Install Java JDK.
* Install R: `sudo apt-get install r-base` (set `R_HOME`)
* Install R packages

```bash
pip install python-ohdsi
```

### API service
Spin up a small webserver next to the OMOP database to allow HTTP requests to
the OMOP database. You can use the prebuild image from dockerhub:

```bash
docker pull ...
docker run ...
```

Or you can build the image yourself:

```bash
docker build -t ohdsi-api .
docker run -p 5000:5000 ohdsi-api
```

Or you can run the API service directly from the source code:

```bash
pip install -r requirements.txt
python api.py
```

## Building documentation
```bash
cd docs
export IGNORE_R_IMPORTS=True
make html
```

```powershell
cd docs
Set-Item -Path Env:IGNORE_R_IMPORTS -Value True
make html
```

or you can use ``make livehtml`` to automatically rebuild the documentation
when a file is changed.

You can set the `IGNORE_R_IMPORTS` environment variable to ignore the R imports
in the documentation. This is useful when you don't have the R packages
installed but want to build the documentation anyway.

## User Documentation
The user documentation can be found at [readthedocs](https://python-ohdsi.readthedocs.io/en/latest/).
pymesh3d 0.0.17
mesh extract and render by python
Requires Python: >=3.6


# PyMesh3D

## Basic Installation

This project for mesh render in data science.

```python
pip install --upgrade pip
pip install pymesh3d
```

If you need mayavi backend.

```python
pip install mayavi
pip install pyqt
```

## Quick Start

```python
import pymesh
import numpy as np
import matplotlib.pyplot as plt
```

Look at the directory example for full example.

```python
##########################################
############ Rotate Mesh Data ############
##########################################

wkdir = "../../Render"

ey = np.load(wkdir + "/Ez.npy")[::2, ::50]

m, n = ey.shape[0], ey.shape[1]
res = np.zeros([m, n, n])
pymesh.rotate(ey, res, ifhalf = False)

fig = plt.figure(figsize=(4, 3))
plt.contourf(res[:, int(n/2), :].T)
cbar = plt.colorbar()
```

![png](https://github.com/zhazhajust/pymesh/blob/main/example/example_files/example_1_0.png?raw=true)

```python
##########################################
############# Save Mesh Data #############
##########################################

mesh = pymesh.get_iso_surf(res, contours_number = 4, cmap = "jet")
color = pymesh.interp_color(mesh.iso_vals, cmap = "jet")
mesh.export(wkdir + "test", "obj")
```

```python
##########################################
############# Load Mesh Data #############
##########################################

mesh = pymesh.Mesh.load(wkdir + "test", "obj")
```

```python
##########################################
############# Plot Mesh Data #############
##########################################
```

```python
from mayavi import mlab

mlab_mesh = pymesh.iso_surface(mesh, colormap = "RdBu")
mlab.colorbar()
mlab.show()
```
![png](https://github.com/zhazhajust/pymesh/blob/main/example/example_files/example_3_0.png?raw=true)

```python
################ plt example #################

surf = mesh.plt_trisurf(cmap = "jet")
plt.colorbar(surf, orientation = 'horizontal')
plt.tight_layout()
```

![png](https://github.com/zhazhajust/pymesh/blob/main/example/example_files/example_2_0.png?raw=true)