tkdialog-wrapper
A wrapper library to use tkinter dialogs easily.
Usage
pip install tkdialog-wrapper
import tkdialog
# make open dialog
filename = tkdialog.open_dialog()
# Extensions can be assigned.
## for numpy savez files
dat = np.load(tkdialog.open_dialog('.npz'))
## for csv files
df = pd.read_csv(tkdialog.open_dialog('.csv'))
# make saveas dialog
filename = tkdialog.open_dialog(ext='pkl')
# open a directory selector
dirname = tkdialog.open_dir_dialog()
# change current working directory with a selector dialog
tkdialog.chdir_with_dialog()
# open a pickled file (*.pkl) with a dialog
obj = tkdialog.load_pickle_with_dialog()
# open a pickled file (*.dat) with a dialog
obj = tkdialog.load_pickle_with_dialog(ext='.dat')
# pickle an object with a dialog
dat = {'x': 100, 'y': '01234'}
tkdialog.dump_pickle_with_dialog(dat)
Change log
[2.1.0]
- add functions:
chdir_with_dialog,open_dir_dialog
[2.0.0]
- breaking changes:
- supported python version >= 3.5
- argument of all functions
- add docstring
- add typehint
[1.x]
Metadata
Release files for tkdialog-wrapper 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tkdialog-wrapper-2.1.0.tar.gz | 5.5 kB | Without provenance | Details for tkdialog-wrapper-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tkdialog_wrapper-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for tkdialog_wrapper-2.1.0-py3-none-any.whl |
Total release size: 9.8 kB
Release files / tkdialog-wrapper-2.1.0.tar.gz
| Download URL | tkdialog-wrapper-2.1.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8becbbb6590c1679add73aa1c28a6f2af9a4ccda3283ef7ae68744f7daa264c5
|
|
BLAKE2b-256 checksum How to use checksums |
f8ce3da903ac41297b91f72019b735ebcd8680874be8224c279f69540bdd5bcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Release files / tkdialog_wrapper-2.1.0-py3-none-any.whl
| Download URL | tkdialog_wrapper-2.1.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2fc241acc7cb23c86de1cd892e20a544600041ce7715331ff7c3b871c1085307
|
|
BLAKE2b-256 checksum How to use checksums |
1a4b2016c945f3527703dbbb022572c43d926268279f3de1cc6f68a7a346b250
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Security for tkdialog-wrapper 2.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.