Catalog PyPI
Back to packageRELEASE DETAILS

0.1.0

PyPI

AidarUtils

Исполняемый пакет для работы с файлами формата txt, json, csv

Published22 Oct 2024
Direct dependencies0
Transitive dependenciesNot calculated

README

Version 0.1.0 documentation

'AidarUtils' is a command-line utility designed to simplify working with CSV, JSON, and TXT files. This versatile tool empowers you to:

• Count the number of characters, lines, and words in a .txt file.

• Merge the contents of two .txt files, finding the intersection of their elements.

• Remove duplicates and sort the results of merging and intersection alphabetically for easier data analysis.

• Filter data within a .json file and then convert it to .csv file.

Installation:

pip install AidarUtils

Usage:

Merge 2 .txt files:

python -m setutils --union list1.txt list2.txt

Intersect 2 .txt files:

python -m setutils --intersect list1.txt list2.txt

Remove duplicates and sort:

python -m setutils --union list1.txt list2.txt --unique --sort

.json to .csv conversion with output file name specification:

python -m json2csv --convert products.json --output products.csv

Filtering products by price in .json before converting to .csv:

python -m json2csv --convert products.json --output products.csv --min 10 --max 100

Filtering data by fields "Category" and "Inventory Status":

python -m json2csv --convert products.json --output products.csv --category electronics --stock

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

2 collected
AidarUtils-0.1.0-py3-none-any.whl

bdist_wheel · 1.66 KB · Python py3

Source file
aidarutils-0.1.0.tar.gz

sdist · 1.64 KB · Python source

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:22 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:382da52abbed45cd521db0709e158c82bce1d80c2adab0a8046bcfb2d31d3d61

Other collected versions

View all collected versions →