semvec/pypi-packages huggingface dataset:
loki-client 0.0.2
A Python client interacting with Grafana Loki.
Requires Python: >=3.6

# loki-client
A Python client interacting with Grafana Loki.

# Quickstart
Install:
```shell
pip install loki-client
```

Usage:
```python
# example.py
from loki_client import LokiClient
from loki_client import SUPPORTED_DIRECTION


loki_url = 'http://localhost:3100'
loki_client = LokiClient(url=loki_url, disable_ssl=True)

# 1 test ready()
loki_ready = loki_client.ready()
if not loki_ready:
    print('Loki is not ready.')
    exit(1)

# 2 test query_range_with_context()
query = r'{host="ubuntu"}|~"error"'
result = loki_client.query_range_with_context(query=query, context_before=5, context_after=3)
if result[0]:
    print(result)

# 3 test post()
label_dic = {'host': 'windows', 'env': 'test'}
logs_lst = ['This is line 1', 'This is line 2', 'This is line 3', 'This is line 4']
result = loki_client.post(label_dic, logs_lst)
if not result[0]:
    print(result[1])

# 4 test labels()
result = loki_client.labels()
print(result)

# 5 test query_range()
query = r'{host="ubuntu"}|~"error"'
result = loki_client.query_range(query, direction=SUPPORTED_DIRECTION[1], limit=10)
print(result)

if result[0]:
    print(result[1]['status'])
    print(result[1]['data']['resultType'])

# 6 test query()
result = loki_client.query(query, direction=SUPPORTED_DIRECTION[1], limit=10)
print(result)
leonhard 1.6.5
A commons library for Project Euler problems.
Requires Python: >=3.6

# Leonhard
A commons library for Project Euler problems.

## Requirements
* Python 3.x

## Installation
`pip install leonhard`

## Usage
```python
>>> from leonhard import leonhard
>>> print(leonhard.get_factors_of_positive_integer(10))
[1, 2, 5, 10]
```

## Functionalities
* `get_factors_of_positive_integer`: Gets the factors of a given positive integer
* `generate_fibonacci_sequence`: Generates a Fibonacci sequence
* `is_prime`: Checks if a number is prime or not
* `is_pythagorean_triplet`: Checks if a^2 + b^2 = c^2 where a < b < c
* `count_digits`: Counts the number of digits of a given number
* `generate_collatz_sequence`: Generates a collatz sequence
* `generate_cyclic_permutation`: Generates the list of cyclic permutation of a given number
* `is_triangle_number()`: Checks if a number is triangular or not

## Samples
Sample files are found in `samples/`
SEO-Analise-UPFI 0.0.1
Pacote para analisar o SEO de uma URL
Requires Python: >=3.5
Keywords: python,first package

# Analise SEO de uma página da internet

Esse pacote tem como objetivo ajudar a analisar o SEO de uma página hmtl, seu funcionamento ainda é limitado para paginas blogspot


### 📋 Pré-requisitos

Precisa do python 3.9 instalado

```
$ apt get-apt install python

```

### 🔧 Instalação

Precisamos instalar 2 dependêcias 

Será instalado da seguinte maneira

```
$ pip install beautifulsoup4
$ pip install html5lib
$ pip install selenium
```

## 🛠️ Construído com

Ferramenta usada para coleta de dados da web:

* [Beautifulsoup](https://www.crummy.com/software/BeautifulSoup/bs4/doc/) - Dependência
* [Selenium](https://selenium-python.readthedocs.io/installation.html#) - Dependência


## ⚙️ URL de teste

https://www.cataimagem.com/2019/03/moderninha-pro-ou-sumup-total-qual-devo.html




## ✒️ Autores

Mencione todos aqueles que ajudaram a levantar o projeto desde o seu início

* **Elievelton** - *Trabalho Inicial* - [Elievelton](https://github.com/elievelton)
* **Bruna** - *Desenvolvimento* - [Bruna](https://github.com/linkParaPerfil)




## 🎁 Obrigado pela sua visita

* Venha participar dete projeto também 📢 
* Obrigado pela sua visita🤓.


---
⌨️ com ❤️ por [Elievelton](https://github.com/elievelton) 😊