New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

multipleloader

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multipleloader

Automatic loading of files with any extension

  • 1.0.2
  • PyPI
  • Socket score

Maintainers
1

multiple_loader Logo

PyPI PyPI - Python Version PyPI - Format PyPI - License Downloads GitHub issues
GitHub followers Twitter


the latest version of 1.0.2🎉

Changes in the new version of 1.0.2

- Release. -


Multiple Loader

multiple loader(hereinafter referred to as EEV xld) is a python library. It is a library that reads the main data file extensions often used by data scientists for data analysis in a "simpler" and "one-line" format.


Description of xld

xld is a python library that automatically loads files in a single line, without the need to specify with statements or modes. Just pass the file path and it will recognize the file extension and load it using the appropriate library.


More about Multiple Loader(xld)

xld is a library that automatically recognizes file extensions and loads files. The extensions supported by the current version(1.0.1) are the following extensions:

  • csv / tsv
  • json
  • npy / npz
  • json
  • pickle / pkl

More extensions will be supported in the future.

The supported libraries are as follows:

Standard features include the following,

  • Basic Usage

    import multipleloader as xld
    load_data = xld.load("test_file.csv")
    

    Simply import the library and pass the file path you wish to load. The actual loading screen will look like this: xld test gif 1

    In addition, the following LIBRARIES are supported for the extensions.

    • csv / tsv
      • csv
      • numpy
      • pandas (default)
    • json
      • json (default)
      • pandas
    • pickle / pkl
      • pickle (default)
      • pandas
      • joblib
    • npy / npz
      • numpy (default)

    You can also specify a library if you wish to load data using a library other than the one configured by default.

    import multipleloader as xld
    load_data = xld.load("test_file.csv", lib="numpy") # Default is pandas
    

    In the sample code above, numpy is specified for library. When specifying library, numpy also supports spelling inconsistencies such as very commonly used abbreviations such as np.

Optional arguments, etc

The list of arguments, etc. that can be used in xld is as follows.

import multipleloader as xld

loaded_data = xld(  # The results will always return with a type of List.
   
   filepath,      # Required argument
      ### List to be used in the target function.

   lib,
      ### Argument to set if you want to use the default library.
   
   encoding
      ### To specify the encoding.
)

Getting Started

Installing

Latest xld via PyPI (pip install)

PyPI Downloads

pip install multipleloader

Install by pip from github

pip install git+https://github.com/Domzou-kun/xld.git

or install via SSH

pip install git+git://github.com:Domzou-kun/xld.git

Authors

Domzou

Version history

If you want to know about past versions, please refer to version history.

LICENSE

xld has a MIT license, as found in the LICENSE file.

Keywords

FAQs


Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc