A few ready-to use python tools for machine learning
Project description
FlashPythonToolbox
A few ready-to use python tools for machine learning
Logger (to file)
For every print function, we print a copy to file without changing the whole file.
Logger(filepath = "./log.txt", mode = "w", stdout = None)
filepath: output path. Default: "./log.txt"mode: write mode, e.g., w,w+,a,a+. Default: "w"stdout: capture which print source. Default: "sys.stdout"
Example:
from flashtool import Logger
import sys
sys.stdout = Logger("path/to/log/file/log.txt")
sys.stdout = Logger("path/to/log/file/log.txt","w")
sys.stdout = Logger("path/to/log/file/log.txt","w", sys.stdout)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flashtool-0.0.1.tar.gz
(1.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flashtool-0.0.1.tar.gz.
File metadata
- Download URL: flashtool-0.0.1.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3383f2835b031777a099c7a6cda70e437feba11f3a8bb03867c9f2942a185029
|
|
| MD5 |
4d911af10b9f73d0d47be9e4ce52934a
|
|
| BLAKE2b-256 |
d61278736270dab4152e982178caaeefe67dcd35cabbedd83b37a4463b89101b
|
File details
Details for the file flashtool-0.0.1-py3-none-any.whl.
File metadata
- Download URL: flashtool-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7b5201fae71e2d0d985ffc01587af1134b04bf58bd3376849dbabaf35cd8f74
|
|
| MD5 |
51fd254eb5d855ee6e6d84b387ea4b38
|
|
| BLAKE2b-256 |
5dbd1d4612becaad3cb2b1262d1c6d117b771454ca2d0a63d87f10db76220ccf
|