easyos
Simple Python OS utilities by Tivalsdeveloper.
easyos provides a clean, beginner-friendly interface over Python's standard-library operating-system tools. It has no third-party runtime dependencies, making it suitable for offline installation.
Install
pip install easyos
For a local/offline wheel:
pip install --no-index easyos-1.0.0-py3-none-any.whl
Quick start
from easyos import OS
system = OS()
print(system.cwd())
system.files.create("hello.txt", "Hello from easyos!")
print(system.files.read("hello.txt"))
print(system.info.all())
API
Files
system.files.create("hello.txt", "Hello")
system.files.read("hello.txt")
system.files.write("hello.txt", "New content")
system.files.append("hello.txt", "\nMore")
system.files.copy("hello.txt", "copy.txt")
system.files.move("copy.txt", "archive/copy.txt")
system.files.rename("hello.txt", "greeting.txt")
system.files.delete("greeting.txt")
system.files.info("archive/copy.txt")
Directories
system.directories.create("project/src")
system.directories.list(".")
system.directories.walk(".")
print(system.directories.tree("."))
system.directories.delete("project", recursive=True)
Paths
system.paths.join("src", "main.py")
system.paths.basename("/tmp/main.py")
system.paths.dirname("/tmp/main.py")
system.paths.extension("main.py")
system.paths.absolute("main.py")
Environment
system.env.set("APP_NAME", "Tivelop")
print(system.env.get("APP_NAME"))
print(system.env.has("APP_NAME"))
Commands
result = system.commands.run("python --version")
print(result.stdout)
# Avoid shell parsing when passing separate arguments.
result = system.commands.exec(["python", "--version"])
System information
print(system.info.platform())
print(system.info.python_version())
print(system.info.username())
print(system.info.home())
print(system.info.cpu_count())
print(system.info.all())
Design
OS
├── files
├── directories
├── paths
├── env
├── commands
└── info
Requirements
- Python 3.9+
- No third-party runtime dependencies
- Cross-platform Python implementation
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 tivals_easyos-1.0.0.tar.gz.
File metadata
- Download URL: tivals_easyos-1.0.0.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2bd0cfee4d66784bcaf9c79a3395de88e2018742b9ecc303e7b74a5299daf84
|
|
| MD5 |
8d95bca964a7c4212b9d4637a915ca4b
|
|
| BLAKE2b-256 |
22e12114c89c32b005f4f148a06bab1f302cbc16fbe2dba35499935649a15514
|
Provenance
The following attestation bundles were made for tivals_easyos-1.0.0.tar.gz:
Publisher:
publish.yml on tivalsdeveloper-oss/easyos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tivals_easyos-1.0.0.tar.gz -
Subject digest:
d2bd0cfee4d66784bcaf9c79a3395de88e2018742b9ecc303e7b74a5299daf84 - Sigstore transparency entry: 2432580896
- Sigstore integration time:
-
Permalink:
tivalsdeveloper-oss/easyos@1ad705a0049d11fc5e2d6e77d6d6ee4f00272206 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/tivalsdeveloper-oss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1ad705a0049d11fc5e2d6e77d6d6ee4f00272206 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tivals_easyos-1.0.0-py3-none-any.whl.
File metadata
- Download URL: tivals_easyos-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d02ae8fdb550807e8d95cbc0def3c4fe4c602ad8d6d36fb2a8a7048af3d4ce92
|
|
| MD5 |
49eb37f851d90f903496d1360f6e6def
|
|
| BLAKE2b-256 |
2858398e52b59a921af4b95e838ebae4583b5c8acfcec33bfa2a07ce9cb086d4
|
Provenance
The following attestation bundles were made for tivals_easyos-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on tivalsdeveloper-oss/easyos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tivals_easyos-1.0.0-py3-none-any.whl -
Subject digest:
d02ae8fdb550807e8d95cbc0def3c4fe4c602ad8d6d36fb2a8a7048af3d4ce92 - Sigstore transparency entry: 2432580978
- Sigstore integration time:
-
Permalink:
tivalsdeveloper-oss/easyos@1ad705a0049d11fc5e2d6e77d6d6ee4f00272206 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/tivalsdeveloper-oss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1ad705a0049d11fc5e2d6e77d6d6ee4f00272206 -
Trigger Event:
release
-
Statement type: