semvec/pypi-packages huggingface dataset:
stactools-aster 0.2.1
PROVIDE DESCRIPTION HERE
Keywords: stactools,pystac,catalog,STAC

# stactools-aster

[![PyPI](https://img.shields.io/pypi/v/stactools-aster)](https://pypi.org/project/stactools-aster/)

- Name: aster
- Package: `stactools.aster`
- [stactools-aster on PyPI](https://pypi.org/project/stactools-aster/)
- Owner: @gadomski
- [Dataset homepage](https://terra.nasa.gov/about/terra-instruments/aster)
- STAC extensions used:
  - [proj](https://github.com/stac-extensions/projection/)
- Extra fields: none
- [Browse the example in human-readable form](https://radiantearth.github.io/stac-browser/#/external/raw.githubusercontent.com/stactools-packages/aster/main/examples/collection.json)

stactools package for working with ASTER data.

## STAC Examples

- [Collection](examples/collection.json)
- [Item](examples/item/item.json)

## Installation

```shell
pip install stactools-aster
```

## Command-line Usage

Description of the command line functions

```shell
stac aster create-item source destination
```

Use `stac aster --help` to see all subcommands and options.

## Contributing

We use [pre-commit](https://pre-commit.com/) to check any changes.
To set up your development environment:

```shell
pip install -e .
pip install -r requirements-dev.txt
pre-commit install
```

To check all files:

```shell
pre-commit run --all-files
```

To run the tests:

```shell
pytest
```
tksidebar 0.3.0
Add nice sidebar to tkinter apps
Requires Python: >=3.6

# tk_sidebare
tkinter widgte to add a sidebare to your apps.

## How to install

`pip install tksidebar`


## Screenshot
![screenshot](https://github.com/youssefhoummad/tksidebar/blob/main/img/screenshot.jpg?raw=true)


## How to use
is simple

```
import tkinter as tk
from tksidebar import Sidebook



window =  tk.Tk()
window.geometry('1000x500')

sidebook = Sidebook(window) # you can add some options

frame_1 = tk.Frame(bg='#A75D5D', height=500, width=400)
frame_2 = tk.Frame(bg='#0081B4', height=500, width=400)
frame_3 = tk.Frame(bg='#C780FA', height=500, width=400)
frame_4 = tk.Frame(bg='#FF7B54', height=500, width=400)
frame_5 = tk.Frame(bg='#495579', height=500, width=400)


tabs = [
('split', frame_1, r'img\icons8-cut-24.png', False),
('crop margins', frame_2,r'img\icons8-crop-24.png', False),
('rotate pages', frame_3,r'img\icons8-rotate-24.png', False),
('to images', frame_4,r'img\icons8-picture-24.png', False),
('about', frame_5, r'img\icons8-settings-24.png', True), # this on bottom
]

for name, frame, icon, bottom in tabs:
  sidebook.add(frame, text=name, icon=icon, at_bottom=bottom) # add here any options for pack (fill, expand, padx...)
sidebook.select(0)

sidebook.pack(anchor='nw', fill='both', expand=True)

window.mainloop()
```


## notice
you can change sidebare colors:

```
my_colors = {"accent": 'default', "bg":'#EFF4F8',"hover":'#E8EBF0',"press":'#D6D9DE'}
sidebook = Sidebook(window,colors=my_colors)
```

you can also specific sidebar width
`sidebook = Sidebook(window,sidebar_width=260)`

you can also add header to sidebar.
`sidebook.add_header(widget, padx=10)`
python-docparser 1.1.0
Extract text from your docx document.
Requires Python: >=3.7

# What is docparser?
docparser is python package that extract text form a DOCX document.

## Installation

```bash
pip install python-docparser
```

## Usage

```python
from docparser import parse 

document = parse("your_docx_document")
print(document.content)
```
mjcgraph 0.2.0
Some graph algorithms and visualisations
Requires Python: >=3.7

[![PyPI version](https://badge.fury.io/py/mjcgraph.svg)](https://badge.fury.io/py/mjcgraph)

# mjcgraph
A pypi package with a collection of graph algorithms and visualisations.

![](https://raw.githubusercontent.com/mortenjc/pygraph/main/docs/long.png)


# Documentation

[ReadTheDocs](https://mjcgraph-doc.readthedocs.io/)
tk-sidebare 0.3.0
Add nice sidebar to tkinter apps
Requires Python: >=3.6

# tk_sidebare
tkinter widgte to add a sidebare to your apps.

## How to install

`pip install tksidebar`


## Screenshot
![screenshot](https://github.com/youssefhoummad/tk_sidebare/blob/main/img/screenshot.jpg?raw=true)


## How to use
is simple

```
import tkinter as tk
from tksidebar import Sidebook



window =  tk.Tk()
window.geometry('1000x500')

sidebook = Sidebook(window) # you can add some options

frame_1 = tk.Frame(bg='#A75D5D', height=500, width=400)
frame_2 = tk.Frame(bg='#0081B4', height=500, width=400)
frame_3 = tk.Frame(bg='#C780FA', height=500, width=400)
frame_4 = tk.Frame(bg='#FF7B54', height=500, width=400)
frame_5 = tk.Frame(bg='#495579', height=500, width=400)


tabs = [
('split', frame_1, r'img\icons8-cut-24.png', False),
('crop margins', frame_2,r'img\icons8-crop-24.png', False),
('rotate pages', frame_3,r'img\icons8-rotate-24.png', False),
('to images', frame_4,r'img\icons8-picture-24.png', False),
('about', frame_5, r'img\icons8-settings-24.png', True), # this on bottom
]

for name, frame, icon, bottom in tabs:
  sidebook.add(frame, text=name, icon=icon, at_bottom=bottom) # add here any options for pack (fill, expand, padx...)
sidebook.select(0)

sidebook.pack(anchor='nw', fill='both', expand=True)

window.mainloop()
```


## notice
you can change sidebare colors:

```
my_colors = {"accent": 'default', "bg":'#EFF4F8',"hover":'#E8EBF0',"press":'#D6D9DE'}
sidebook = Sidebook(window,colors=my_colors)
```

you can also specific sidebar width
`sidebook = Sidebook(window,sidebar_width=260)`

you can also add header to sidebar.
`sidebook.add_header(widget, padx=10)`
PyperText 0.0.7
"Package made to script HTML"
Requires Python: >=3.10

# html
python html writer with CSS and custom JS support

USE:<br>
<code>from PyperText.html import Script</code><br>
<code>from PyperText.htmlButton import Button</code><br>
<code>#from PyperText.html{WIDGET} import WIDGET; ex from PyperText.htmlEntry import Entry; variations shared in file</code><br>
<code>myScript=Script("myfile.html")</code><br>
<code>myButton=Button()</code><br>
<code>myButton.setText("This is a button")</code><br>
<code>myScript.addWidget(myButton)</code><br>
<code>myScript.createAndWrite()</code><br>
memoframe 0.1.4
Python project that creates a package that optimize pandas dataframe
Requires Python: >=3.10,<4.0

# 1. What is it ?

memoframe is a Python package that enables to easily optimize memory consumption of pandas dataframe. If you encounter OOM (Out of Memory) errors or slow downs during data analysis or model training.

# 2. Where to get the package ?

Binary installers for the latest released version are available at the Python Package Index (PyPI).

    # PyPI 
    pip install memoframe

# 3. Features 

- Optimize integer memory usage
- Optimize float memory usage
- Optimize object memory usage
- Get an estimation of the memory usage saved

# 4. How to use the library

    from memoframe import memoframe as mf
    
    # dataframe is a pandas DataFram
    optimized_dataframe = mf.downsize_memory(dataframe)

    # Estimates memory usage gains
    mf.get_opti_info(dataframe)
rebapy 0.0.1
Reba Python Client
Requires Python: >=3.9

# Rebapy

Reba Python Client

## Example

```python
from rebapy import RelayClient
client = RelayClient("0xe28a707663e73e2502d835a5b456af43425196013c6e1218cdf76d43e975dc46")
while True:

    tx = client.read_tx()
    print(tx.as_dict())

```
recomb-to-s3 0.1.3
package to save files in s3 in a simple way.
Requires Python: >=3.10,<4.0

# Recomb to S3


Installation
============
Installing from PyPI is as easy as doing:

```bash

  pip install recomb-to-s3

```

create the following environment variables in your settings:

```python

    AWS_ACCESS_KEY_ID="__your_secret_id__"
    AWS_SECRET_ACCESS_KEY="__your_secret_key__"
    AWS_STORAGE_BUCKET_NAME="__your_bucket_name__"
    AWS_S3_SIGNATURE_VERSION="s3v4"
    AWS_S3_REGION_NAME="__your_region_name__"
    AWS_S3_FILE_OVERWRITE=False # true if you want to write over the file in s3
    AWS_DEFAULT_ACL = "public-read" # to have access by the django admin
    DEFAULT_FILE_STORAGE="storages.backends.s3boto3.S3Boto3Storage"

```

add recomb_to_s3 and storages in your installed apps

```python

INSTALLED_APPS = [
    "storages",
    "recomb_to_s3",
]

```
run the migration

```python

python manage.py migrate

```
About
=====

The library aims to facilitate the sending of python dictionaries to an amazon s3 backet, however it is possible to send any type of file, or you can import the AbstractRecombToS3 class and add or remove fields according to your needs.


How To Use
=====

the most basic way to use this package is very simple, just import the "send_dict_to_s3" function and use it as in the example below.

```Python
from recomb_to_s3.contrib import send_dict_to_s3

data = {"test": "test"}

my_model = send_dict_to_s3(data=data, file_name="my_file.json", author=None)

```

Dependencies
=====

```toml
[tool.dependencies]
python = "^3.10"
boto3 = "^1.26.47"
django-storages = "^1.13.2"
django = "^4.1"
```


Contributing
=====


[<img src="https://avatars.githubusercontent.com/u/52933958?v=4" width=40><br><sub>Alexandre Jastrow da Cruz</sub>](https://github.com/alexandrejastrow)