semvec/pypi-packages huggingface dataset:
universal-parser-it-stud-io 1.0.1
An universal parser for various file formats
Requires Python: >=3.8

# universal-parser
An universal parser for various file formats.

## usage
This package can be used to parse and validate data from various file formats like JSON, XML, CSV, YAML.

### install univeral-parser package
```pip install -r universal-parser-it-stud-io```

### create app.py file
``` 
json_data = '{"name": "John", "age": 30}'
json_schema = {
    "type": "object",
    "properties": {
        "name": {"type": "string"},
        "age": {"type": "integer"}
    },
    "required": ["name", "age"]
}

xml_data = '<person><name>John</name><age>30</age></person>'
xml_schema = '''
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="person">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="name" type="xs:string"/>
        <xs:element name="age" type="xs:integer"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>
'''

csv_data = 'name,age\nJohn,30'
csv_schema = {
    "name": str,
    "age": int
}

yaml_data = '''
name: John
age: 30
'''
yaml_schema = {
    "type": "object",
    "properties": {
        "name": {"type": "string"},
        "age": {"type": "integer"}
    },
    "required": ["name", "age"]
}

from universal_parser_it_stud_io import UniversalParser

parser = UniversalParser.UniversalParser(json_data)
print("Detected format: ", parser.get_detected_format())
print(parser.parse())
print(parser.validate(json_schema))

parser = UniversalParser.UniversalParser(xml_data)
print("Detected format: ", parser.get_detected_format())
print(parser.parse())
print(parser.validate(xml_schema))

parser = UniversalParser.UniversalParser(csv_data)
print("Detected format: ", parser.get_detected_format())
print(parser.parse())
print(parser.validate(csv_schema))

parser = UniversalParser.UniversalParser(yaml_data)
print("Detected format: ", parser.get_detected_format())
print(parser.parse())
print(parser.validate(yaml_schema))
```

### run app.py
```python app.py```
ferrous-cat-finance 0.1
A program for recording and reporting on financial transactions, using Qt PySide6 for GUI and SQLite for a database.
Requires Python: >=3.10

# Project Summary:
This is an application for (manually) tracking the user's financial transactions, and generating reports in a manner which makes them easy to declare for taxes.

## Features:
This application supports:
  * A simple GUI, written in Qt for Python.
  * Local storage to an SQLite database.
  * The operating-systems of MacOS and Linux (tested on the Ubuntu22 platform).
  * Well-validated entry of financial transactions, in a manner similar to the use of a checkbook.
  * Generation of printable reports, summarizing the records from a given timespan.
  * Searching of existing records by date, categories, or name.
  * User-definition of transaction-categories, for flexible data-grouping.

This application does *not* support:
  * Cloud-storage.
  * Windows OS.

## Initial Setup On Mac

1. run `python3 -m venv env`
2. run `source env/bin/activate`
3. run `pip install PySide6`
4. Need to select the .venv interpreter in VS code using command-shift-p
5. alternately, you can execute the correct python version with `./env/bin/python`