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:
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.
- csv / tsv
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)
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
link
- The link to PyPI is here.
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.
Release files for multipleloader 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| multipleloader-1.0.2.tar.gz | 9.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| multipleloader-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.6 kB
Release files / multipleloader-1.0.2.tar.gz
| Download URL | multipleloader-1.0.2.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9e3f1d56b9ea08a1a3aa37dee96906dfceea2762be64a06ec1a6e7304441fba
|
|
BLAKE2b-256 checksum How to use checksums |
ad03324d67a8f10d005d5194156f48eebee90f563ee3ff3f7153892463d889e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.4
|
Release files / multipleloader-1.0.2-py3-none-any.whl
| Download URL | multipleloader-1.0.2-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76e3e5194b13b45e69c1df5a16325996c407fae64bc92d578e4a748dac9a6f3a
|
|
BLAKE2b-256 checksum How to use checksums |
adea03d898db8759a458d28037be4f3271982b150c65a823f8627170084b5d99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.4
|