Input/Output File Stream
Project description
iofstream
Version 0.0.6
Input Output FileStream
Under Experimentation, Not Fully Developed As Of 2022
Developed by ST 2022
Installation
pip install iofstream
How To Use - [Alpha Version]
Using The File Functions
from iofstream import <function_name>
function_name('<file_name.txt>', '<filetext>', '<other_parameters>')
# And ... Done!
An Example
from iofstream import write_file
write_file('myfile.txt', 'mytextstring!')
# And ... Done!
The Logger - [Extreme Alpha Version]
from iofstream import Log
# Create Instance/Log
log = Log('<log_name>', '<log_message>', '<log_level>', '<log_file>', True)
# The Boolean Is Whether It Should Print The Log Message Onto The Screen Or Not
# And ... Done!
An Example
from iofstream import Log
# Create Instance/Log
servercrash = Log('VaultLog', 'Server Crashed!', 'CRITICAL', 'servercrashes.log', False)
# There Is A 'default' Parameter For The Log File; It Will Create A Log File With The Current Date
# And ... Done!
Logger Class
from iofstream import Logger
logger = Logger('<logger_name>')
logger.<level>('<message>', '<filename>', True)
# The Boolean Is Whether It Should Print The Log Message Onto The Screen Or Not
# And ... Done!
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
iofstream-0.0.9.tar.gz
(3.8 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 iofstream-0.0.9.tar.gz.
File metadata
- Download URL: iofstream-0.0.9.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0c0a6b21ad6c0dd899f35c279fa28264ed2b9698d3bdff1d104af8223fe9fc9
|
|
| MD5 |
57d59cdbd33cdc599f76e2581fb09659
|
|
| BLAKE2b-256 |
853547e2e5a119cb5827fcaa91475c60c92feae98b13a6fd610b03320ec9ed94
|
File details
Details for the file iofstream-0.0.9-py3-none-any.whl.
File metadata
- Download URL: iofstream-0.0.9-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef488da1a00de64b9813e4c4c1d9f76fbccc6e93c41a2aeee2238c0af6852c15
|
|
| MD5 |
dcf4240046314f1560f07815e1ba474e
|
|
| BLAKE2b-256 |
5e4023ad1ea42b256e6c0e2b19cd44062dcf80a2d7cb93c919eb4db5f5d8043e
|