JSON/YAML to Apple Pkl Converter
This tool provides a simple command-line interface to convert JSON or YAML files into Apple's Pkl format. It's designed to be easy to use for both developers and system administrators.
Features
- Supports both JSON and YAML input formats.
- Outputs in custom Apple Pkl format.
- Command-line interface for easy integration into scripts and workflows.
Installation
To use this script, you'll need Python installed on your system. This script has been tested with Python 3.8 and above. Additionally, you'll need to install the PyYAML package if you intend to process YAML files.
You can install the required package using pip:
pip install PyYAML
Usage
To convert a file, simply run the script with the input and output file paths as arguments:
python main.py --input /path/to/input.json --output /path/to/output.pkl
Replace /path/to/input.json with the path to your source JSON or YAML file, and /path/to/output.pkl with the desired path for the output Pkl file.
Arguments
--input: Specifies the input file path. This file should be in JSON or YAML format.--output: Specifies the output file path. The output will be in Apple's Pkl format.
Contributing
Contributions to this project are welcome! Please fork the repository and submit a pull request with your changes.
License
This project is licensed under the MIT License
Release files for Picklejuice 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Picklejuice-0.0.1.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Picklejuice-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / Picklejuice-0.0.1.tar.gz
| Download URL | Picklejuice-0.0.1.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20f1ae474a5300443e60c6cec6a53cddc77b9d38c762ea0945183ccc79248c7c
|
|
BLAKE2b-256 checksum How to use checksums |
3b143245d6fd31e1ddc3c0f6b5be746f6c4750e75a807a7d15b7c6bdfe163614
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / Picklejuice-0.0.1-py3-none-any.whl
| Download URL | Picklejuice-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0771364d6fa5fedc60585fdd3b2e4f8373d40911865527497775ef2afbb9d061
|
|
BLAKE2b-256 checksum How to use checksums |
17f65ce904c5d29afc278c5baf2c124cf3bdac84a4227be1d4775d51dd957433
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|