semvec/pypi-packages huggingface dataset:
streamlit-custom-toggle 0.1.1
A Streamlit custom component to load heart-shaped Toggle Switch
Requires Python: >=3.6

# Streamlit Custom Toggle

A custom component to load heart-shaped Toggle Switch widget

<p align="center">
 <a href="https://pypi.org/project/streamlit-custom-toggle/">
  <img src="https://badge.fury.io/py/streamlit-custom-toggle.svg" />
 </a>
 <a href="https://github.com/ShruAgarwal/streamlit-custom-toggle/blob/main/LICENSE">
  <img src="https://img.shields.io/badge/License-MIT-orange.svg" />
 </a>
 <a href="https://pypi.org/project/streamlit-custom-toggle/">
  <img src="https://img.shields.io/pypi/dm/streamlit-custom-toggle" />
 </a>
</p>


## Installation â¬‡

```
pip install streamlit-custom-toggle
```

## Example Usage

Copy this code snippet

```python
import streamlit as st
from streamlit_custom_toggle import st_custom_toggle

st.header('Music Choices')
col1, col2, col3 = st.columns(3, gap="small")
with col1:
    calm = st_custom_toggle('Calm', active_track_fill="#EAE4E4", active_thumb_color="#EAE4E4", value="true", key="toggle1")  # Disabled toggle switch

with col2:
    fun = st_custom_toggle('Fun', active_track_fill="#57FD6E", active_thumb_color="#EAE4E4", key="toggle2")

with col3:
    music_toggle = st_custom_toggle('Rock', active_track_fill="#FF5733", active_thumb_color="#900C3F", key="toggle3")
    music = st.radio(
    "Select your favorite artist",
    ('The Beatles', 'AC/DC', 'Pink Floyd', 'Elvis Presley', 'MÃ¥neskin'), disabled=music_toggle)

    st.markdown(f"You choose {music}")

# Checking the toggle state
st.code(f"Calm = {calm}, Fun = {fun}, Rock = {music_toggle}")
```

## References

- [React heart-switch](https://github.com/anatoliygatt/heart-switch)
- [Streamlit Components Tutorial by FANILO](https://streamlit-components-tutorial.netlify.app/)
- [Streamlit Component Publish Docs](https://docs.streamlit.io/library/components/publish)
filebit 1.2.2
filebit python library and cli

# Installation
```
pip install filebit
```

## Check Filebit URL & Get Parts
```python
from filebit import api
filebit_url = "https://filebit.net/f/qknI9LX#Ac1A3HJ13aBRn66XHnkktQNlOK1dxItiRqnkAovV82uU";
is_valid = api.is_valid_url(filebit_url)
print(is_valid) # True
parts = api.get_parts(filebit_url)
print(parts) # ('qknI9LX', 'Ac1A3HJ13aBRn66XHnkktQNlOK1dxItiRqnkAovV82uU')
```

## Get Upload Server
```python
from filebit import api
# get a list of usable servers
servers = api.get_upload_servers()
print(servers)

# pick one randomly
random_server = api.get_upload_server()
print(random_server)
```

## Get File Informations
```python
from filebit import api
info = api.get_file_info("https://filebit.net/f/teBKKQ6#Abts8F6i70LmwgoeUrDe_8RWMmuXBtQj5C_BguRzJL-p")
filename = info['filename']
filesize = info['filesize']
print(f'{filename} Filesize: {filesize}')
#Example.zip Filesize: 104857600
```

## Multi File Information(s)
```python
from filebit import api, crypto
urls = [
    "https://filebit.net/f/tlBKQQ6#Abts8F6i70LmwgoeUrDe_1RWMmuXBtQj5C_BguRzJL",
    "https://filebit.net/f/AfAiPEM#AbotIF8zJdU44b6cF_9f9kXIir_U5AmODfRiWE9xDo2U"
] # replace example links with actual links...

infos = api.get_multi_info(urls);

for url in urls:
    parts = api.get_parts(url)
    id = parts[0]
    key = parts[1]
    info = infos[id]
    filename = "n/A"
    size = 0
    if info["state"] == "ONLINE":
        decryptor = crypto.FilebitCipher(key).decryptor()
        filename = crypto.unpad(decryptor.update(crypto.b64dec(info['name'])) + decryptor.finalize()).decode("utf-8")
        size = info['size']
    state = info['state']
    print(f'[{state}] {filename} Filesize: {size}')
```

## Upload
```python
from filebit import upload
u = upload.Upload(path)
u.max_workers = 4 # parallel upload workers
u.start(retries=10) # returns admin code
print(u.get_link())
```

## Download
```python
import os
from filebit import download
from pathlib import Path
d = download.Download("https://filebit.net/f/tlBKQQ6#Abts8F6i70LmwgoeUrDe_1RWMmuXBtQj5C_BguRzJL")
d.prepare()
path = Path(os.getcwd())
if path.is_dir():
    path = path.joinpath(d.filename)
d.start(path)
success = d.validate()
if success:
    print("File download successful")
    print("Stored at:")
    print(d.path)
else:
    print("Download failed.")
```

## CLI Usage
```bash
CLI for filebit. Can upload and download files.
Usage:
    filebit upload <FILE> [-p parallel]
    filebit download <url> [-o OUTPUT] [-l licence_key] [-p parallel] [--overwrite]

Options:
    FILE: path to a file
    -o OUTPUT: path or directory to a place where to store the file
    -l licence_key: valid licence key for premium downloads
    --overwrite: overwrite if file exists
    -p parallel: upload or download multiple chunks at the same time
```
custom-venv 0.5.4
To customize Python venv with extra-Python considerations.
Requires Python: >=3.6

# Projetc custom-venv

<img src="https://s3.dualstack.us-east-2.amazonaws.com/pythondotorg-assets/media/community/logos/python-logo-only.png" alt="Python Logo" title="Python Logo" width="67" height="81" />
<img src="https://modules.readthedocs.io/en/latest/_static/favicon.ico" alt="Environment Module Logo" title="Environment Module Logo" width="81" height="81" />

- [Projetc custom-venv](#projetc-custom-venv)
  - [Description](#description)
  - [License](#license)
  - [Ressources](#ressources)

## Description

This project aims to use Python [virtual environments](https://docs.python.org/fr/3/library/venv.html)
together with [Environment module](https://modules.readthedocs.io/en/latest/) to extend customization
of python virtual environment.

## [License](LICENSE)

## Ressources

- [Environment Module](https://modules.readthedocs.io/en/latest/)
- [packaging-projects](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
- [Github-flavored Markdown](https://guides.github.com/features/mastering-markdown/)