semvec/pypi-packages huggingface dataset:
tkinter-files-folders 0.11
Some tkinter functions for selecting files/folders
License: MIT
Keywords: tkinter,files,folders


# Some tkinter functions for selecting files/folders 

```python
# Tested with:
# Python 3.9.13
# Windows 10

pip install tkinter-files-folders

from tkinter_files_folders import (
    get_multiple_files_with_tkinter,
    get_file_with_tkinter,
    get_save_file_with_tkinter,
    get_existing_directory_with_tkinter,
    get_not_existing_directory_with_tkinter,
)
get_multiple_files_with_tkinter(filetypes=((".txt", "*.txt"), (".png", "*.png")))
get_file_with_tkinter(filetypes=((".txt", "*.txt"), (".png", "*.png")))
get_save_file_with_tkinter(filetypes=((".txt", "*.txt"), (".png", "*.png")))
get_existing_directory_with_tkinter()
get_not_existing_directory_with_tkinter()

```
execution-time-wrapper 1.0.1
A Python package with some simple wrapper functions to print the execution time of methods
License: MIT
Requires Python: >=3.6
Keywords: time,wrapper,log,print,execution,speed

[![PyPI license](https://img.shields.io/pypi/l/ansicolortags.svg)](https://pypi.org/project/execution-time-wrapper/)
[![PyPI version](https://badge.fury.io/py/execution-time-wrapper.svg)](https://badge.fury.io/py/execution-time-wrapper)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/pybadges.svg)](https://pypi.org/project/execution-time-wrapper/)
[![Downloads](https://pepy.tech/badge/execution-time-wrapper)](https://pepy.tech/project/execution-time-wrapper)

# Execution Time Wrapper

A simple package with a few method to get the execution time of methods through wrapping.

## Usage

Currently, the package contains two methods, one which returns to sdout (print) and one which goes to a logger. The method prints the time in a nice way, i.e. milliseconds, seconds, minutes or hours. For example:

```python
from execution_time_wrapper import get_execution_time_print, get_execution_time_log

@get_execution_time_print
def my_fun():
    print("Hello World!")
```
```python
my_fun()
```
```console
>> Hello World!
>> Computation time for my_fun: 0.02 ms
```
However, if the function takes more time:
```python
from execution_time_wrapper import get_execution_time_print, get_execution_time_log
from time import sleep

@get_execution_time_print
def my_fun():
    sleep(4)
    print("Hello World!")
```
```python
my_fun()
```
```console
>> Hello World!
>> Computation time for my_fun: 4.00 s
```

The same for the other method given, i.e. `get_execution_time_log`.

## TODOs

[ ] Implement logger level

@2022, Leonardo Alchieri

<sub>People-Centered Computing Lab - [Università della Svizzera italiana, Switzerland](https://www.usi.ch/en)</sub>
pyguess 0.2.2
The Python bindings to guess-rs
License: MIT
Requires Python: >=3.10
Keywords: guess_rs

<div align="center">

# pyguess
The Python library to Guess Swiss Streets

</div>

---

### Table of Contents

1.  [Disclaimer](#org00a6381)
2.  [Installation](#org549dfd1)
3.  [Usage](#orgc7de4f4)



<a id="org00a6381"></a>

# Disclaimer

**The library is in the alpha stage**, which means there's a lot of work to do still! So, don't expect too much from it!


<a id="org549dfd1"></a>

# Installation

To install from PyPi, run:

    pip install pyguess


<a id="orgc7de4f4"></a>

# Usage

    import pyguess
    from pyguess import Config, Candidate

    config = Config(
        path_to_streets="../misc/data/streets_data",
    )
    candidate = pyguess.guess_address("Rigistrasse 10", "Pfaffikon", config)

    assert candidate == Candidate("rigistrasse 10", "pfäffikon zh")