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-1.0.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-1.0.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fmtool-1.0.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-1.0.0.tar.gz
Algorithm Hash digest
SHA256 045397c3f56c6e06fd920b43560e74272f7acc5f9401eaf548158293bbeb28db
MD5 70eb0109833304834ed99babcda67a68
BLAKE2b-256 35530d99a456d01a50c963af99a07287bfd7c0b5129af6a501f5b9eb32958f3b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmtool-1.0.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-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 696c0e965ce37ba33c75de1720fbec91a213c42b03434d19fcc97b35111f6437
MD5 580e4a02e557cee566c5c11f4a91b060
BLAKE2b-256 0dd0539cd421e5a50276bd8376232afa1fa1cf40d91047445c53522290fa7ac8

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