
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
A Python package for efficient file and directory management, featuring tools for bulk renaming, data handling, and format conversion
filewise is a Python toolkit designed to simplify file operations and management. It provides a comprehensive set of tools for file handling, directory management, and file system operations, making it easier to work with files in Python applications.
Before installing, please ensure the following dependencies are available on your system:
Required Third-Party Libraries:
pip install PyYAML pandas numpy
Or via Anaconda (recommended channel: conda-forge
):
conda install -c conda-forge pyyaml pandas numpy
Install the package using pip:
pip install filewise
For development purposes, you can install the package in editable mode:
git clone https://github.com/yourusername/filewise.git
cd filewise
pip install -e .
from filewise.operations import FileHandler
from filewise.directory import DirectoryManager
# Create a file handler
handler = FileHandler('data.txt')
handler.write('Hello, World!')
# Manage directories
manager = DirectoryManager('my_project')
manager.create_structure(['data', 'output', 'logs'])
from filewise.filesystem import FileSystem
from filewise.processing import BatchProcessor
# Monitor file system changes
fs = FileSystem('watch_directory')
fs.watch_for_changes(callback=process_changes)
# Process files in batch
processor = BatchProcessor('input_directory')
processor.process_files(
pattern='*.csv',
processor=convert_to_parquet
)
The package is organised into several sub-packages:
filewise/
āāā operations/
ā āāā file_handler.py
ā āāā file_utils.py
āāā directory/
ā āāā manager.py
ā āāā path_utils.py
āāā filesystem/
ā āāā monitor.py
ā āāā matcher.py
āāā processing/
āāā batch.py
āāā converter.py
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or suggestions, please open an issue on GitHub or contact the maintainers.
FAQs
A Python package for efficient file and directory management, featuring tools for bulk renaming, data handling, and format conversion
We found that filewise demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Ā It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.