Skip to main content

RootKit custom tool Lib

Project description

rkt_tool_lib

Cross-platform file system utilities.

Features

  • Path Normalization: Automatically formats paths (/ vs \) based on the operating system (Windows/Linux).
  • Recursive Search: Utilities to find directories deeply nested in the file system.
  • Singleton Pattern: (Optional usage via Singleton metaclass provided).

Usage

from tool import Tool

t = Tool()

# Get current working directory formatted for OS
cwd = t.get_cwd()

# Find a directory named 'logs' recursively
log_path = t.get_dir("logs")

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

rkt_tool_lib-2.0.3.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

rkt_tool_lib-2.0.3-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file rkt_tool_lib-2.0.3.tar.gz.

File metadata

  • Download URL: rkt_tool_lib-2.0.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for rkt_tool_lib-2.0.3.tar.gz
Algorithm Hash digest
SHA256 bee86f7586ff2961726fd6021b10237e8bc37e611eb02d6dd93e46eece6f399c
MD5 654f648fe117102beb948e5631ab923c
BLAKE2b-256 ca8a0808e2f45c51a0ce874d20f086fe34a00876d1c5b5fadec76bf42a863452

See more details on using hashes here.

File details

Details for the file rkt_tool_lib-2.0.3-py3-none-any.whl.

File metadata

  • Download URL: rkt_tool_lib-2.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for rkt_tool_lib-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7841c0dc416124c398b62ecd387ba43a9c443889ed027d79d1602d81acef3185
MD5 b6d04301c7f29d88c37cadf2fd0ad937
BLAKE2b-256 9e8080b8d63d40bf54fbe9676efb27cdb2f3d57246fe9c2d97d08c303021badd

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