Skip to main content

A Python package for file handling utilities

Project description

PyFileMaster

A Comprehensive File Handling Utility for Python

About PyFileMaster

PyFileMaster is an open-source Python package designed to simplify file handling tasks. Created by Shubhashish Chakraborty, this package provides a set of powerful and easy-to-use methods for handling files, including reading, writing, and converting between formats such as binary (.dat), CSV (Excel), and text files.

With PyFileMaster, file operations become seamless. Simply provide the file path, and let the library handle the heavy lifting for you — no need for extra code or complex logic!

Features and Functionalities (As of PyPI)

  • Write Binary Files (writeBinFile)
    It creates a Binary file containing Data which is being passed, List of dictionaries to be stored in the file:

    import pyfilemaster as pfm
    
    pfm.writeBinFile("<path_name_of_your_binary_file>" , [
        {
            'name': 'Andrew',
            'language': 'python'
        },
        {
            'name': 'Tristan',
            'language': 'JavaScript'
        }
    ])
    
  • Read Binary Files (readBinFile)
    Effortlessly reads and prints the contents of a binary (.dat) file.

    import pyfilemaster as pfm
    
    fileData = pfm.readBinFile("<path_to_your_binary_file>")
    
    print(fileData)
    
  • Convert Binary to CSV (convertBinToCSV)
    Converts data from a binary (.dat) file to a CSV (Excel) file in just one step.

    import pyfilemaster as pfm
    
    pfm.convertBinToCSV("<path_to_your_binary_file>", "<name_of_the_generated_csv_file>")
    

Installation

Install the Latest Version PyPI

To get started with PyFileMaster, install it via pip:

pip install pyfilemaster

Alternative commands (if pip requires specific environment handling):

pip3 install pyfilemaster
sudo pip install pyfilemaster

Getting Started

  1. Install the package using the installation instructions provided above.
  2. Import the package into your Python script to start using its functionalities:
    import pyfilemaster as pfm
    
  3. Start using the available methods like readBinFile or convertBinToCSV to handle your file operations!

Contributing

We welcome contributions from the community! Here's how you can contribute:

  1. Fork the repository on GitHub.
  2. Make your changes in a separate branch.
  3. Submit a pull request explaining your changes.

Reporting Issues

If you encounter bugs or have feature requests, please open an issue on our GitHub Issues Page.

Future Updates

We are committed to making PyFileMaster a comprehensive file-handling utility. More features and functionalities will be continuously added in future updates to enhance its versatility and meet evolving user needs.
Stay tuned for exciting new capabilities, and feel free to suggest ideas or improvements by opening an issue on our GitHub repository!

License

This project is Licensed under the MIT License
Feel free to use, modify, and distribute this project in your own applications while respecting the terms of the license.

Connect with the Author

Created and maintained by Shubhashish Chakraborty
For any queries, reach out via email at shubhashish147@gmail.com.
PyPi Profile: beingshubh || Shubhashish Chakraborty


Twitter Instagram LinkedIn GitHub

PyPI
GitHub contributors
GitHub stars
GitHub license

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

pyfilemaster-0.1.8.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

pyfilemaster-0.1.8-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file pyfilemaster-0.1.8.tar.gz.

File metadata

  • Download URL: pyfilemaster-0.1.8.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.18

File hashes

Hashes for pyfilemaster-0.1.8.tar.gz
Algorithm Hash digest
SHA256 4a9eec6aca87c63bddfcb48dfc689335170bbbb0f22f7c955d416f3a73e71607
MD5 4b1badf696533c2f70baf54d3008ce0b
BLAKE2b-256 dd4e0b66034bc9bfa99b4ed0dcb5e818c857f288d6741da8e0cad0fabd70cf84

See more details on using hashes here.

File details

Details for the file pyfilemaster-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: pyfilemaster-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.18

File hashes

Hashes for pyfilemaster-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 58137b30f6f38adac2c65dbb5a23b2eaf41bc9b5863793a9a5ea363262b4c697
MD5 b763cbc4e67c51654cbc62a35bafe341
BLAKE2b-256 644a445dc28dd11adb61b83b9e8714e31852b7f29db78dadc24de655c534e7ce

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