Skip to main content

Package for .pyson data format support

Project description

PYSON

Maintained by: OmegaGodzilla66, ComputingSquid, CoolSchnoodle, and nmd102

GitHub Repo stars GitHub Actions Workflow Status GitHub commit activity GitHub last commit GitHub Release GitHub commits since latest release PyPI - Downloads

Overview

The purpose of this project is to provide a python-based alternative to JSON. This is a (almost) fully functional JSON-inspired data management system!

How to Use

This is a pip package, so to use this in python you can just pip install pyson-data. From there, you can just import pyson_data as pyson. Support for other languages may come soon.

Quickstart

Refer to the project wiki here

Documentation

Documentation has also been moved to the project wiki here to decrease clutter in the README.

Supported Types

There are 4 supported types: int, float, str, and list

  • An int is a whole number
  • A str is some text
  • A list is a list of values, which currently have to all be strings. List items are seperated by the (*) seperator. Currently there is no escaping support. I don't really know why you would use (*) normally in a list.
  • A float is a decimal number, that can be any value representable by a 64-bit floating point number.
    More supported types may be added at some point in the future.

Changelog

  • v0.2.0: Full rewrite, code is now much more organized. Not all convenience features are back yet but it is overall much more usable
  • v0.1.3: Added getDict function
  • v0.1.2: Refactored pyson.py
  • v0.1.1: Added writeMultiple function, various bug fixes
  • v0.1.0-alpha: package & release deployed to pypi, merged code to main, and resolved all merge conflicts! truly a cause for celebration 🎉
  • v0.0.9: coolSchnoodle and nmd102 made code fixes and README fixes
  • v0.0.8: Added updateData function
  • v0.0.7: Fixed errors, refactored bad code
  • v0.0.6: Added floats
  • v0.0.5: Updated naming system, ported to github!
  • v0.0.4: Added a function that checks if a file is compatible with .pyson file format. Fixed a bug in the write. Other general bug fixes.
  • v0.0.3: Added a write function! This is now (technically) fully functional!
  • v0.0.2: Added a read function for the whole file. Returns a list of all contents.
  • v0.0.1: Initial launch! Basic reading features for a .cnf (renamed almost immediately to pyson) file. Current compatible types are string, int, and list.

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

pyson_data-0.2.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

pyson_data-0.2.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file pyson_data-0.2.0.tar.gz.

File metadata

  • Download URL: pyson_data-0.2.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for pyson_data-0.2.0.tar.gz
Algorithm Hash digest
SHA256 601efc94ac18145469038b0ad8b18cf3545f33ead16475de1781b5ec95ddea29
MD5 0b17cfcb9d23408b80c8f6d51dffde70
BLAKE2b-256 6d44a2950ed262dfd0c0168ccd0bcde40319f3b3b98aec95a84ac338d5bd5801

See more details on using hashes here.

File details

Details for the file pyson_data-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pyson_data-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for pyson_data-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 220ac03b2acfc688a496e703f877fc50dd1267a5713b79fbc841249b14f392cf
MD5 48242d38061a31e5e6cf815dbc829f32
BLAKE2b-256 153b8f88d26202f076e04841bb698da160447f926eb157c853a0e3c2cf0c68c7

See more details on using hashes here.

Supported by

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