Skip to main content

JsonPyCraft is a specialized Python toolkit designed for efficient and structured JSON management.

Project description

JSONPyCraft

JsonPyCraft Artwork Image

JsonPyCraft - A Fusion of Python and JSON, symbolizing the toolkit's capability to manage intricate JSON data structures.

Description

JsonPyCraft is a specialized Python toolkit designed for efficient and structured JSON management. This toolkit offers a range of functionalities from basic JSON file handling to advanced operations, making it ideal for developers looking to manage JSON data in Python applications with precision and ease.

Features

  • Robust JSON file handling (load, save, backup).
  • Advanced JSON structure manipulation (mapping and list templates).
  • Nested JSON data management.
  • Pythonic, easy-to-use interface with detailed documentation.

JSONPyCraft Documentation

Welcome to the JSONPyCraft documentation! Explore detailed documentation on key aspects of JSONPyCraft:

  • Core Components: Learn about custom error handling, the Singleton pattern, core types, and more.

  • JSON Templates: Understand JSON templates, I/O operations, list templates, and map templates.

  • Managers: Discover the ConfigurationManager class for managing configuration data.

  • PlantUML Diagrams: Visual representations of key components.

For more detailed information, check out the full documentation index.

OpenAI GPT Support

JsonPyCraft supports integration with OpenAI GPT if you have an OpenAI Plus subscription. You can chat with JSONPyCraft for more information.

Installation

You can install JsonPyCraft using either pip or poetry. Follow the instructions below based on your preferred method.

Using pip:

  1. Create a virtual environment (optional but recommended for isolation):
virtualenv .venv
  1. Activate the virtual environment:
source .venv/bin/activate
  1. Install JSONPyCraft using PyPI:
pip install jsonpycraft

Using poetry:

  1. Initialize a new Poetry project. If you haven't already installed Poetry, you can do so with pip:
pip install poetry
  1. Navigate to your project directory and run:
poetry init

Follow the prompts and add any necessary packages to your project.

  1. Activate the Poetry shell:
poetry shell
  1. Add JsonPyCraft to your project using the following command, specifying the URL to the wheel file:
poetry add jsonpycraft

Usage

Here's a quick start guide to using JsonPyCraft:

from jsonpycraft import JSONMapTemplate, JSONListTemplate

# Example of using JSONMapTemplate
map_template = JSONMapTemplate('map_data.json')
map_template.create('key', 'value')

# Example of using JSONListTemplate
list_template = JSONListTemplate('list_data.json')
list_template.append({'id': 1, 'name': 'JsonPyCraft'})

Contributing, Support, and Contact

For support, feature requests, or contributions, feel free to open an issue or pull request.

License

  • LICENSE: JsonPyCraft is released under the GNU Affero General Public License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jsonpycraft-0.1.6.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jsonpycraft-0.1.6-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

Details for the file jsonpycraft-0.1.6.tar.gz.

File metadata

  • Download URL: jsonpycraft-0.1.6.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.3 Linux/6.12.30-1-lts

File hashes

Hashes for jsonpycraft-0.1.6.tar.gz
Algorithm Hash digest
SHA256 5ba491bb193d7f6e96149639ba3744d163b58b8d594d3a6956b9ed2e9bc29a6d
MD5 e55c707455453a02b81a598a7587686f
BLAKE2b-256 e080f810a4edb111a55e682f42564ae9acc36c436ee5e7e46ddd785a8d5350af

See more details on using hashes here.

File details

Details for the file jsonpycraft-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: jsonpycraft-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 27.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.3 Linux/6.12.30-1-lts

File hashes

Hashes for jsonpycraft-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 23e9c0579ddfd4ca7d71afbfedf544f3a0d75e268b3d52b8a4aa9cbb17c92faa
MD5 0d85b47aa421cd1e122cf4e1e90f271c
BLAKE2b-256 d7e5a360bd0d5ba2922f976d7a915dd4ee34260692f0bc079659cec1b25829e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page