Skip to main content

Утилиты для работы с файловой системой

Project description

vebfs logo

vebfs

Удобная библиотека Python для работы с файловой системой: копирование, перемещение, удаление, резервное копирование и поиск по шаблону.

Установка

Установка из исходников (локально):

git clone https://github.com/your-username/vebfs.git
cd vebfs
pip install -e .

Использование

from vebfs import (
    copy_file, move_file, delete_file, delete_directory,
    create_backup, get_file_size, list_all_files,
    ensure_directory_exists, find_files, find_directories
)
# Копирование
copy_file("example.txt", "copy_example.txt")
# Перемещение
move_file("copy_example.txt", "moved_example.txt")
# Бэкап
create_backup("moved_example.txt", "backup.txt")
# Удаление
delete_file("moved_example.txt")
delete_directory("old_folder", recursive=True)
# Проверка папки
ensure_directory_exists("logs")
# Поиск
print(find_files(".", "*.txt"))
print(find_directories(".", "log*"))

Тестирование

python -m unittest discover tests

Лицензия

BSD 2-Clause License

Copyright (c) 2025, veb-bet

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

vebfs-0.1.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

vebfs-0.1.1-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file vebfs-0.1.1.tar.gz.

File metadata

  • Download URL: vebfs-0.1.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for vebfs-0.1.1.tar.gz
Algorithm Hash digest
SHA256 60981c88268dfe649efecc6927c0839996d8a6a6a4c37da964d7d3b8ace26cf3
MD5 c9839c99e0537539b8b5c3098eeb6c7f
BLAKE2b-256 49a8047c31baf8eee087860c61d0c5fe0765b46ef1cbf06d0576b372349019d4

See more details on using hashes here.

File details

Details for the file vebfs-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: vebfs-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for vebfs-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9f151d70fd309c792b438d86feecea633cf476b5cc95ac37e4db9d2cb949d5ec
MD5 7a0046b3d34164a4618b9aaf5c539759
BLAKE2b-256 87a1fd62cdf5629548e57c4b13f3e704f37721672d0c28bf72fc62185b35cd99

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