Skip to main content

Input/Output File Stream

Project description

iofstream

Input Output File Stream

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!

Project details


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.4.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iofstream-0.0.4-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file iofstream-0.0.4.tar.gz.

File metadata

  • Download URL: iofstream-0.0.4.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for iofstream-0.0.4.tar.gz
Algorithm Hash digest
SHA256 20f23d0351c2304e25b1437c6c1b5eede6327ec5d6d329f75d0d5b54f43d7687
MD5 22aeb220b68192133d795dd6031ccd46
BLAKE2b-256 f27852246c3ccdb41d0d15a4de11bd3e2ed966c4e66f09942ac481d698c41daf

See more details on using hashes here.

File details

Details for the file iofstream-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: iofstream-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for iofstream-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0c42256654573ce8e38909e5234d454bb2a02747125de0ac52bbe257963182a5
MD5 08024cc752b5f4e96629c09a745c51d0
BLAKE2b-256 7d72411a9fa07ef1c57acbd433eedb8da75f02e7551175eb59064504bf0dcf2d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page