Directory content dumping utility
Project description
rootdump
rootdumpは、指定されたルートディレクトリ以下のすべてのファイルを探索し、それらのファイルの内容とパスを単一のファイルにダンプするPythonライブラリです。
インストール
pip install rootdump
使用方法
from rootdump import dump_directory
# ディレクトリの内容をダンプ
dump_directory("/path/to/root", "output.txt")
# バイナリファイルを除外してダンプ
dump_directory("/path/to/root", "output.txt", exclude_binary=True)
# 特定の拡張子のみをダンプ
dump_directory("/path/to/root", "output.txt", include_extensions=[".txt", ".py"])
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
rootdump-0.1.0.tar.gz
(4.3 kB
view details)
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 rootdump-0.1.0.tar.gz.
File metadata
- Download URL: rootdump-0.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1def0a7d02954c21ec5615c1964faf09f0836e33ed3e04f255bc307700ce4ce7
|
|
| MD5 |
89afe87ff597100715a41d7e817354bc
|
|
| BLAKE2b-256 |
a91a30345052dc9bbe57030d58f5a342d84b2b8fdcf620f552888b1d0d66ed9b
|
File details
Details for the file rootdump-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rootdump-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8459d5a6a178db3f3f6e9548415cb329bd4657d97cb0c6cb699cf3743d702fc6
|
|
| MD5 |
3f0552d2fe49f9b7ddc2b3cb022c4a12
|
|
| BLAKE2b-256 |
3e1ba80d880d189c3d58dea5c9292547690d462c7ed5ebc690783591ae72f7c1
|