Skip to main content

Cross-platform Python file manager

Project description

🚀 FmTool: Manage Files Easily Across Any OS

PyPI - Version Python License Downloads

🛠️ Version: 1.0.1

FmTool is a modern Python package for managing files and directories, designed to work consistently across all operating systems (Windows, Linux, macOS).

Features

  • List files and directories with filters and search
  • Read and write text and bytes
  • Create, delete, and rename files and directories
  • Zip and unzip directories
  • Inspect file status (size, modification time, permissions)
  • Compute file hashes (SHA256 and other algorithms)
  • Cross-platform and easy to use in scripts and projects

Installation

pip install fmtool

Quick Start

from fmtool import FileManager,Path

fm = FileManager('.')
fm.touch('example.txt')
fm.write_text('example.txt', 'Hello World!')
content = fm.read_text('example.txt')
print(content)


fm=FileManager(base = Path(__file__).parent)

print(fm.resolve('data'))

Links

License

FmTool is released under the MIT License.

👤 About the Author

Abbas Bachari / عباس بچاری – Developer & Maintainer of FmTool

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

fmtool-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

fmtool-0.1.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file fmtool-0.1.0.tar.gz.

File metadata

  • Download URL: fmtool-0.1.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for fmtool-0.1.0.tar.gz
Algorithm Hash digest
SHA256 89ddb3455ae02fdd89af93acdb58cf48ea0721590dba0bb5012582b1885e635d
MD5 fa2a3fbcd9a4a98e54c57e84ba1d384c
BLAKE2b-256 97d6f6dd773dd1175d60d1714d8b0202ab87d80354ff1d979ce9326b8bb607d9

See more details on using hashes here.

File details

Details for the file fmtool-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fmtool-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for fmtool-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 41cf5454879990e44a36eabc7b6f8fae7620f03815ec530efb486920c09ea88d
MD5 92e2b0aef384f49d219b4e7bc7512276
BLAKE2b-256 c595930a258702c395f79df063eee95793a2de41da79d3518f29a3387fb5c07f

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