Skip to main content

Just Read, Just Write, Just Right

Project description

Just Read, Just Write, Just Right

  • Free software: MIT license

JustFile is a Python library that provides a function to either read, write, or append.

It’s pretty straight-foward. No creating a file handle. no with-syntax. Just reading from a path.


>>> from import read
>>> nginx_content = read('/etc/nginx/nginx.conf')
>>> nginx_content
[[ Whatever's in /etc/nginx/nginx.conf ]]

>>> # But what if it doesn't exist?

>>> not_found = read('/file/not/found.txt')
>>> not_found


pip install justfile

You can also install the in-development version with:

pip install


To run the all tests run:

python3 -m nose

Note, to combine the coverage data from all the tox environments run:

set PYTEST_ADDOPTS=--cov-append
PYTEST_ADDOPTS=--cov-append tox

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for justfile, version 0.0.1a0
Filename, size File type Python version Upload date Hashes
Filename, size justfile-0.0.1a0-py2.py3-none-any.whl (3.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size justfile-0.0.1a0.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page