semvec/pypi-packages huggingface dataset:
fastapi-skywalking-trace 0.0.1
Fastapi Middleware to work with skywalking
Requires Python: >=3.6

# Wrapper para trabalhar com a API do Cloud Logging

## Procedimento para upload no Pypi

### Pré requisitos
Instalar pacotes python
`python3 -m pip install --upgrade setuptools build wheel twine`

### Build e enviar ao PYPI

`python3 -m build`

`python3 -m twine upload dist/*`


### Instalar o pacote no projeto

`pip install fastapi-skywalking-trace`


## Utilização da biblioteca

Essa biblioteca espera que você passe o schema dos dados da tabela

Aconselho criar um arquivo de schema.py ou model.py onde seja definido a estrutura de dados da tabela.

### Instanciar o Middleware

Com o schema definido, você deve instanciar um classe

```python
from starlette.middleware import Middleware
from fastapi_skywalking_trace.middleware import SkywalkingMiddleware
middlewares = [
    Middleware(
        SkywalkingMiddleware,
        service_name='extractor',
        collector_address='35.266.138.244:15870',
        protocol = 'http'
    )
]

app = FastAPI(
    title='Iris Typification', 
    openapi_url="/api/v1/openapi.json",
    middleware=middlewares
    )

```
bbx 1.1.2
Simple bounding box operations
Requires Python: >=3.6
Keywords: bounding box,non maxima suppression

# Package *bbx*

Simple operations over bounding boxes.
The package provides a class `Boxes` encapsulating a set of bounding boxes. Internally, the boxes are represented in an Nx4 matrix with x1,y1,x2,y2 coordinates. Instances of `Boxes` support arbitraty user-defined fields which can hold other properties of boxes like e.g. score.

```python
import bbx

B = bbx.Boxes([0,0,10,10])  # New instance
B.set_field("score", [1])  # Set the field
B.width()  # [10]
C = bbx.resize(B, 2)  # Resize and make new instance
C.get() # [[-5,-5,15,15]]
C.get_field("score")  # [1]
C.area()  # [400]
```

# But why?

... for the glory of s... But seriously, I use bounding boxes in every other project and there is no decent small package for this. Yes I can use TF obj detection api (and I did for a while, this pkg have similar interface to it) or structures from imgaug or others. I did not find anything that suits my needs (if you know about something just let me know). You either install a big non-standard package with tons of functionality you do not need or you implement it by yourself. So I decided to make a very small package that does precisely what I need and nothing more, is portable (just numpy needed, and you already have it!).

Yes, I just implemented a non-standard package, so I so not need to use other non-standard packages... yes, I know...

# Installation

The package is in PyPI so just use `pip`
```
pip install bbx
```

# Contribute

Feelin' brave? Contribute with code! You can also submit an issue if something is broken.

# License

This code is published under [MIT License](LICENSE)