OmniFile
OmniFile is designed for programmers who write file manipulation functions. In Python, there are many ways a file can be passed to a function - you can read the file and pass the read data, you can open the file object, or you can pass a filename.
OmniFile’s job is to handle any of these circumstances, based on whichever is convenient for the user of your function.
Functions
OmniRead
omniread(source)
Used when you only need data, OmniRead can accept file names, pre-read file data, and file objects. It will return pure string data.
OmniRSIO
omnirsio(source)
Similar to OmniRead, but returns a file-like StringIO instance instead. This is helpful when you need file-like functionality such as iterating through lines or manipulating the file in place, but aren’t so concerned about whether you have a physical location on disk.
OmniOpen
omniopen(source, mode)
OmniOpen can handle a file’s name or a file that’s already been opened. It can be used when you need a writable file with a physical location.
About
OmniFile is licensed under the terms of the GNU General Public License. Its mission is to make your life easier as a programmer. It was written by Leaf, who can be contacted at LeafStormRush+py@gmail.com.
Metadata
Release files for OmniFile 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 |
|---|---|---|---|---|
| OmniFile-1.0.tar.gz | 2.0 kB | Without provenance | Details for OmniFile-1.0.tar.gz |
Release files / OmniFile-1.0.tar.gz
| Download URL | OmniFile-1.0.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38429ca9babecbd768907b444b116759ab6f8ae74dccab0acf910681b670c168
|
|
BLAKE2b-256 checksum How to use checksums |
691ebc81c7e719504a470e7ffbd77272978adb1f2950dea263874773344e2cfd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for OmniFile 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.