semvec/pypi-packages huggingface dataset:
cmc-csci046-narula 1.0.0
Fibonacci numbers, Binary Trees, Binary Search Trees, and more
License: MIT

# containers

Build status:

1. [![](https://github.com/dnarula22/containers_week8/workflows/tests-fibonacci/badge.svg)](https://github.com/mikeizbicki/containers/actions?query=workflow%3Atests-fibonacci)
1. [![](https://github.com/dnarula22/containers_week8/workflows/tests-range/badge.svg)](https://github.com/mikeizbicki/containers/actions?query=workflow%3Atests-range)
1. [![](https://github.com/dnarula22/containers_week8/workflows/tests-BinaryTree/badge.svg)](https://github.com/mikeizbicki/containers/actions?query=workflow%3Atests-BinaryTree)
1. [![](https://github.com/dnarula22/containers_week8/workflows/tests-BST/badge.svg)](https://github.com/mikeizbicki/containers/actions?query=workflow%3Atests-BST)
1. [![](https://github.com/dnarula22/containers_week8/workflows/tests-AVLTree/badge.svg)](https://github.com/mikeizbicki/containers/actions?query=workflow%3Atests-AVLTree)
1. [![](https://github.com/dnarula22/containers_week8/workflows/tests-unicode/badge.svg)](https://github.com/mikeizbicki/containers/actions?query=workflow%3Atests-unicode)
1. [![](https://github.com/dnarula22/containers_week8/workflows/tests-Heap/badge.svg)](https://github.com/mikeizbicki/containers/actions?query=workflow%3Atests-Heap)
openapi-annotations 0.1.2
Generate OpenApi with code-first annotations. Use type-hint info and docstrings to document your API. This is an experimental library!
License: MIT
Requires Python: >=3.7,<4.0

# OpenAPI Python annotations

Generate OpenApi with code-first annotations. Use type-hint info and docstrings to document your API. This is an experimental library!

## Getting Started

### Install the package

```
pip install openapi-annotations
```

### Document a model


```python
from openapi_annotations import api_model, api_property, StringFormats


@api_model
class Event:
    """The first model from this API."""

    @property
    def id(self) -> str:
        return self._id

    @id.setter
    @api_property(data_format=StringFormats.Uuid, nullable=True)
    def id(self, value: str):
        """The id of the object."""
        self._id = value

    @property
    def documented_property(self) -> str:
        return self._documented_property

    @documented_property.setter
    @api_property()
    def documented_property(self, value: str):
        """Property documentation."""
        self._documented_property = value
```


### Document a route


```python
from openapi_annotations import api_route, api_response
from http import HTTPStatus
from .models import Event # My custom model


@api_response(HTTPStatus.CREATED, Event)
@api_response(HTTPStatus.BAD_REQUEST)
@api_response(HTTPStatus.INTERNAL_SERVER_ERROR)
@api_route(Methods.Post, f'events/{{eventId}}', Event)
def events_post(body=None):
    """Creates a new event and returns it."""
    result = {}
    return json.dumps(result), 201

```


### View the swagger:

```python
import .controllers # Make sure you import all files containing annotations
from openapi_annotations import get_spec
import json

with open('./openapi.json', 'w') as file:
    file.write(json.dumps(spec, indent=4))
```
rawls 1.1.7
RAW Light Simulation file reader/converter package
License: MIT

RAW Light Simulation reader/converter package
=============================================

![](https://img.shields.io/github/workflow/status/prise-3d/rawls/build?style=flat-square) ![](https://img.shields.io/pypi/v/rawls?style=flat-square) ![](https://img.shields.io/pypi/dm/rawls?style=flat-square)

<p align="center">
    <img src="https://github.com/prise-3d/rawls/blob/master/rawls_logo.png" alt="" width="50%">
</p>

Description
-----------

Global illumination methods based on stochastic techniques provide photo-realistic images. These methods are generally based on path tracing theory in which stochastic paths are generated from the camera point of view through each pixel toward the 3D scene. 

<p align="center">
    <img src="https://github.com/prise-3d/rawls/blob/master/docs/source/_static/path_tracing.png" alt="" width="60%">
</p>


`rawls` is a Python package developed during a thesis project. It enables to manage `.rawls` image file extension. The image extension `.rawls` is used to store all samples values of images obtained during rendering of synthesis images. This output extension is available in a custom version of [pbrt-v3](https://github.com/prise-3d/pbrt-v3) details.

Installation
------------

```bash
pip install rawls
```

How to use ?
------------

To use, simply do:
```python
from rawls.rawls import Rawls
path = 'images/example_1.rawls'
rawls_img = Rawls.load(path)
rawls_img.save('output.png')
```

Classes
-------

This project contains usefull classes.

- **Rawls** : *Manage `.rawls` file date*
- **RawlsStats** : *Enables to merge `.rawls` image files and extract statistics*

All these classes will be enhanced during development of the package. Documentation is available [here](https://prise-3d.github.io/rawls/).

How to contribute
-----------------

Please refer to the [guidelines](CONTRIBUTING.md) file if you want to contribute!

## Contributors

* [jbuisine](https://github.com/jbuisine)

## License

[MIT](LICENSE)