iofstream
Version 0.1.0
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!
Release files for iofstream 0.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 | |
|---|---|---|---|
| iofstream-0.1.0.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iofstream-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:8.6 kB
Release files / iofstream-0.1.0.tar.gz
| Download URL | iofstream-0.1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f4709da95d3f7311d7a9a02dd2f8763cb7ef587705353b5c1034036d2725853
|
|
BLAKE2b-256 checksum How to use checksums |
5c96aa01e595aec82dc47f17389a381854f8c0865ed7dc909498d17512fd05a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / iofstream-0.1.0-py3-none-any.whl
| Download URL | iofstream-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
daef9c9792a6a2f72663103efb59858f0fbc5d443a133166e5f2e490413ed9b0
|
|
BLAKE2b-256 checksum How to use checksums |
d2e4d026354d36c1db24a00fe423dedfc0557051d24274bd3b493f3526fb23d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|