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.8.tar.gz (23.6 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.8-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jsonpycraft-0.1.8.tar.gz
  • Upload date:
  • Size: 23.6 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.8.tar.gz
Algorithm Hash digest
SHA256 de246d5179ec07171593fc610b1e72d25caf5513eb31ca988da33488e8452666
MD5 fd6d653bc16fd3f196cafe67ffb2c591
BLAKE2b-256 9c594c7936e2bf1dfa182b39788d18e3ca64a583e5524c7f0ea1af43673da92a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jsonpycraft-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 27.7 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 671dde74d52cce96c03d0715e43054fcc60639d8025019b0dfc49b1b76efc507
MD5 87c812947c138e4d7bb8f72060a7aa21
BLAKE2b-256 0814c5699826c44f489e90d69d6019afd224e4842f9537f35a79e6cc87d3bfce

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