Giter Site home page Giter Site logo

maximilionus / serialix Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 6.6 MB

Powerful and easy to use api for working with various human-readable data serialization formats

Home Page: https://maximilionus.github.io/serialix

License: MIT License

Python 98.59% Makefile 1.41%
api json parsing python3-package serialization toml yaml

serialix's People

Contributors

dependabot[bot] avatar maximilionus avatar

Watchers

 avatar

serialix's Issues

Create project logotype

Would be a nice addition to create logo for this project. It can be used as icon for README, Docs and other things.

.core.BaseLang.refresh(safe=True) does not work as expected

Noticed this issue while working on examples for documentation. .core.BaseLang.refresh(safe=True) does not refresh anything from local file. Probably some issues with recursive merge function .core.recursive_dicts_merge()

Steps to reproduce:

  1. Create local file settings.json with content
{
    "version": 5,
    "app_name": "Super Secret Tool",
    "our_new_key": {
        "type": "msg",
        "id": 34724889325,
        "text": "wassup?"
    }
}
  1. In interpreter, prepare the JSON_Format object
from interform import JSON_Format


config = JSON_Format('settings.json')
  1. Manually add new key to settings.json
{
    "version": 5,
    "app_name": "Super Secret Tool",
    "our_new_key": {
        "type": "msg",
        "id": 34724889325,
        "text": "wassup?"
    },
    "proverka": true
}
  1. Execute refresh method on object and try to get value
config.refresh(safe=True)
config['proverka']

KeyError: 'custom_key'

Docs meta tags

Add meta tags to documentation head with RST built-in feature.

List of tags:
description - short information
encoding - already present in index page head

Outdated test suite

interform's unit tests were designed and coded in early stages of development and were modified a lot of times from that moment. In current state of the project, these tests do not cover all features, and most of them can be compressed due to their uselessness.

CLI toolset standalone package

As the title says - would be nice to deprecate the cli toolset in version 3.0.0 and publish it as a standalone package. Built-in cli is bloating this package because of it's uselessness in most default usage cases.

Option to build docs from directory

When it comes to testing the documentation on local machine it's very inconvenient to do because all changes to project docstrings requires to be commited first to be then used by documentation makefile. Documentation makefile currently supports only build from branch mode without any other options.

There should be an option to use local directory as project source for documentation makefile, available with something like from_dir env. variable. This will allow to use the main project files from another directory, placed somewhere near the documentation immediately after their modification.

Start point for this feature is already created in make.sh, yet no implementation

serialix/make.sh

Lines 45 to 49 in b62deee

else
# TODO realisation of build from dir feature
#echo "[ Obtaining project from '$from_dir' directory ]"
echo "Not implemented yet :("; exit 1
fi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.