Metadata-Version: 2.4
Name: dvr_ftp_tools
Version: 0.1.0
Summary: Ferramentas para listar e baixar arquivos de DVR via FTP
Author: Edilson claudino da silva
Author-email: Seu Nome <seu@email.com>
Project-URL: Homepage, https://github.com/seuusuario/meu_projeto_ftp
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: license-file
Dynamic: requires-python

pip install -e .



pip install build
python -m build

from dvr_ftp.client import get_ftp_files_filtered, download_ftp_files

# Use your credentials
creds = {"host": "192.168.15.60", "user": "dvr", "password": "1"}

# Get file paths from DVR (Depth: Date -> Channel -> Files)
files = get_ftp_files_filtered(**creds, extensions=('.mp4', '.dav'), depth_level=3)

# Download files for processing
download_ftp_files(**creds, path_list=files, target_folder="./raw_footage")
