• Stars
    star
    654
  • Rank 68,404 (Top 2 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created almost 2 years ago
  • Updated 11 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The `systempath` is a library designed for Python developers, providing intuitive and powerful APIs that simplify file and directory management tasks, allowing developers to focus more on core business logic.

LOGO Release Python Versions License Downloads

systempath

(OOP) Operating system paths and files.
Let Python operating system paths and files become Simple, Simpler, Simplest, Humanization, Unification, Flawless.

pip3 install systempath

>>> from systempath import SystemPath, Directory, File

>>> root = SystemPath('/')

>>> home: Directory = root['home']['gqylpy']
>>> home
/home/gqylpy

>>> file: File = home['alpha.txt']
>>> file
/home/gqylpy/alpha.txt

>>> file.open.rb().read()
b'GQYLPY \xe6\x94\xb9\xe5\x8f\x98\xe4\xb8\x96\xe7\x95\x8c'