Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: Extremely outdated!

Friendlier Json

Bored of the normal json? Fed up with SQL? Then Friendlier Json will be exactly the right thing for you!

Why should you use it?

  • It was made with ❤️ !
  • It is comparatively fast ⏩ ! (more about this soon)
  • It is easy to understand 🧠 !

Little Example:

from friendlier_json import Reader
reader = Reader()
reader.file = 'path/to/your/json'
reader.select(limit=2)# Limits the number of results to 2 👍

"Advanced" Examples

–––

Inserting ✍️:

from friendlier_json import Reader, Object
reader = Reader()
reader.file = 'path/to/your/json'
person1 = Object(name='Maik', age=15)
#the reader can take both the class and a JSON object or a dict as argument. There are 2 methods
reader.insert(person1) # method 1
reader.insert(person1.to_json()) #method 2

Your .json will look like this:

{
    "1": {
        "name": "Maik",
        "age": 15
    }
}

Selecting 🔭:

from friendlier_json import Reader
reader = Reader()
reader.file = 'path/to/your/json'
result = reader.select(name='Maik', age=15)
print(result)
# this will return a list object

Benchmarks 📊:

Inserting:
Quantity Time required (s)
1 0.000429
10 0.004077
100 0.110214
1000 6.013882
Selecting:
Quantity Time required (s)
1 0.002409
10 0.003234
100 0.00242
1000 0.003081

Release files for friendlier-json 0.0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for friendlier-json 0.0.1.1
File Size Uploaded
friendlier json-0.0.1.1.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for friendlier-json 0.0.1.1
File Interpreter ABI Platform
friendlier_json-0.0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.3 kB

Release files / friendlier json-0.0.1.1.tar.gz

Download URL friendlier json-0.0.1.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4b423a2cc75a623066a8f4bf26e39be73b4afb92976c24d7102e24b82aef0baf
BLAKE2b-256 checksum
How to use checksums
9a2572889c1471f166264b1c781010b1657883bcc73ebbd447794c5c240f1ecc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

Release files / friendlier_json-0.0.1.1-py3-none-any.whl

Download URL friendlier_json-0.0.1.1-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08ebc3be49d2de380643d8e9bba4c1c7f47f6667ae0600619462be97f34adbf0
BLAKE2b-256 checksum
How to use checksums
d8c320406ff7b9644f207162ea4d63437fdccb594d3a2f294196240bd7b5e504
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page