semvec/pypi-packages huggingface dataset:
streamlit-dsfr 0.0.15
VueDsfr components for Streamlit
Requires Python: >=3.7

# streamlit-dsfr

VueDsfr components for Streamlit


## Installation instructions

```sh
pip install streamlit-dsfr
```


## Usage instructions

```python
import streamlit as st
import streamlit_dsfr as stdsfr

# Instead of st.button():
value = stdsfr.button()

# Returns True or False
st.write(value)
```

Available static components:
- `stdsfr.alert`
- `stdsfr.badge`
- `stdsfr.image`

Available interactive components:
- `stdsfr.button`
- `stdsfr.link_button`
- `stdsfr.copy_button`
- `stdsfr.checkbox`
- `stdsfr.radio`
- `stdsfr.text_input`
- `stdsfr.number_input`
- `stdsfr.text_area`
- `stdsfr.slider`
- `stdsfr.file_uploader`
bmlgraphapi 0.5
Pacote para obter tabelas xlsx do SharePoint através de seu link
Requires Python: >=3.8
Keywords: xlsx, sharepoint, tabela, dataframe, dados, graphapi, microsoft

# BMLGRAPHAPI

A biblioteca fornece funcionalidades para interagir com o SharePoint, permitindo o acesso e manipulação de planilhas, identificação de usuários e outras funcionalidades.

# Função obter_planilha()

**Descrição:** Função para retornar uma planilha do SharePoint.\
**Assinatura da função:** obter_planilha(client_id, client_secret, tenant_id, url, aba_sheet=None).\
**Retorno da função:** Dataframe (pd.read_excel()).

# Exemplo de uso: obter_planilha()

```
from main import obter_planilha

client_id = "__TOKEN__"
client_secret = "__TOKEN__"
tenant_id = "__TOKEN__"
planilha_url = "https://xyz.sharepoint.com/sites/${SITE}/${DRIVE}/NOME_DA_TABELA.xlsx"
aba_da_planilha = "__NOME DA ABA__"

planilha = obter_planilha(client_id, client_secret, tenant_id, planilha_url, aba_da_planilha)

print(planilha)
```

# Função obter_workbook()

**Descrição:** Função para retornar um workbook do SharePoint, contendo todas as sheets.\
**Assinatura da função:** obter_workbook(client_id, client_secret, tenant_id, url).\
**Retorno da função:** Workbook (load_workbook(BytesIO(content), read_only = True, data_only = True)).

# Exemplo de uso: obter_workbook()

```
import pandas as pd
from main import obter_planilha

client_id = "__TOKEN__"
client_secret = "__TOKEN__"
tenant_id = "__TOKEN__"
planilha_url = "https://xyz.sharepoint.com/sites/${SITE}/${DRIVE}/NOME_DA_TABELA.xlsx"

workbook = obter_workbook(client_id, client_secret, tenant_id, planilha_url)

aba = "__NOME DA ABA__"

print('Lendo a tabela:', aba)

linhas = workbook[aba].values
colunas = next(linhas)

planilha = pd.DataFrame(linhas, columns=colunas)

print(planilha)
```

# Função obter_id_usuario()

**Descrição:** Função para obter o id do usuário através do email.\
**Assinatura da função:** obter_id_usuario(client_id, client_secret, tenant_id, email).\
**Retorno da função:** id do usuário em formato de string.

# Exemplo de uso: obter_id_usuario()

```
from main import obter_id_usuario

client_id = "__TOKEN__"
client_secret = "__TOKEN__"
tenant_id = "__TOKEN__"
email_do_usuario = "__EMAIL DO USUARIO__"

id_usuario = obter_id_usuario(client_id, client_secret, tenant_id, email_do_usuario)

print(id_usuario)
```
rpi-sx1280 0.0.2
Raspberry Pi LoRa library for SX1280
Requires Python: >=3.8

# rpi-sx1280 - SX1280 Python library for Raspberry Pi

[![Publish Python 🐍 distribution 📦 to PyPI and TestPyPI](https://github.com/enthusiastics-ltd/rpi-sx1280/actions/workflows/hatch-publish.yml/badge.svg)](https://github.com/enthusiastics-ltd/rpi-sx1280/actions/workflows/hatch-publish.yml)

Easy to install and use, this library provides an essential API for any SX1280 LoRa module connected to your Raspberry Pi via the SPI interface.

## Getting started

In order to use this library install it first:

```shell
pip install rpi-sx1280
```

Now you can use it within your code.

### Basic module initialisation

```python
import RPi.GPIO as GPIO

from rpi_sx1280.sx1280 import SX1280


GPIO.setmode(GPIO.BCM)

spi_idx = 0
spi_cs = 1
busy_gpio_idx = 22
reset_gpio_idx = 17

lora = SX1280(spi_idx, spi_cs, busy_gpio_idx, reset_gpio_idx)
```

## Developers guide

If you'd like to work on the library itself here are a few things you should know.

### Requirements

This library by default uses the following tools, frameworks, etc.:

- `Python 3` - main supported language
- `hatch` - used as project management tool for Python
- `GitHub` - used as version control, issue tracking, docs

#### Setup environment

1. Install python locally with pip. On Linux you can do this via: `sudo apt install python3-dev python3-pip`.
2. Now install `pipx` as it is usually better to install `hatch` in this way to use it globally. `sudo apt install pipx && pipx ensurepath` and re-init the shell session.
3. Ready to start, setup local environment with `hatch env create`.

#### Running tests

#### Building project

#### Updating version 

This library follows the semver principles. You can use `hatch` to update the version with necessary information.

To bump the version use `hatch version <segment>`.

Here you can find the supported segments docs: [hatch.io > supported segments](https://hatch.pypa.io/latest/version/#supported-segments)

#### Publishing

In order to publish the current state of the library you need to create a new tag and push it to the repository.

```shell
git tag -a 0.1.0 -m "Initial release"
git push origin 0.1.0
```

And the GitHub Actions will take care of the rest.
km3astro 0.17.0
Astronomical utilities for KM3NeT
Requires Python: >=3.5

km3astro
========

.. image:: https://git.km3net.de/km3py/km3astro/badges/master/pipeline.svg
    :target: https://git.km3net.de/km3py/km3astro/pipelines

.. image:: https://git.km3net.de/km3py/km3astro/badges/master/coverage.svg
    :target: https://km3py.pages.km3net.de/km3astro/coverage

.. image:: https://git.km3net.de/examples/km3badges/-/raw/master/docs-latest-brightgreen.svg
    :target: https://km3py.pages.km3net.de/km3astro

About
-----

KM3Astro is a collection astronomy utils, like coordinate transformations.

Install
-------

This is developed on python >=3.5. Lower versions (especially py2)
might or might not work. Use ``pip`` to install the latest
version::

  pip install km3astro


Install the latest development version
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To get the latest and greatest stable development version, use ``pip``
and the URL to the repository::

  pip install git+http://git.km3net.de/km3py/km3astro.git

or just clone the git repository and install via ``pip install .``
typeinc-mini 1.0.0
Typeinc-mini, a miniature version of Typeinc, an ncurses based tool, is your goto terminal tool to play around with your typing speed with various difficulty levels.
Requires Python: >=3.11
Keywords: terminal, typing speed test, typing, CLI


# Typeinc-mini

Tyepinc-mini, a miniature version of Typeinc, an ncurses based tool, is your goto terminal tool to play around with your typing speed with various difficulty levels.
You get an amazing UI for typing keyboard giving you a feel of both typewriters and keyboards.
Get your Tyepinc score and boast to your pals of your speed. Dream to achieve a Granddtypaa!

# Features

- Typing Speed Test where you can test your typing speed.
- Set your own difficulty level and test the abilities of your typing skills.
- Get your grade and Tyepinc score and boast to your pals of your speed.
- A user-friendly interface to make your typing experience more fun and interactive.
- View top 5 highscores(local) for each difficulty level.

# Installation
To install Typeinc-mini, please fulfill the dependicies and run the following command:
```bash
pip install typeinc-mini
```
To run the command, run the following command:
```bash
typeinc-mini
```
And you are good to go!

## Dependencies
- Python 3.11 or higher
- ncurses library
- Other python libraries which will be installed automatically

Visit the Github Repository for more details: https://github.com/AnirudhG07/Typeinc-mini
To Download the original Typeinc, visit: https://github.com/AnirudhG07/Typeinc

# Version
1.0.0

# Note:
1) The tool is developed using Python and ncurses library.
2) This tools is crossplatform for MacOS, Linux, Windows, etc.
wlkc 0.1.2
A simple flask app for wlkc
Requires Python: >=3.7

### Copyright (c) 2024 RUOYI_ADMIN_PYTHON

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.