diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..fb34f4741e99a8b366d46acb06c4f7472cd16f1e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: CI +run-name: ${{ github.actor }} +on: [ push ] +jobs: + tests: + runs-on: ubuntu-20.04 + strategy: + matrix: + python-version: [ "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ] + steps: + - uses: actions/checkout@main + - uses: actions/setup-python@main + with: + python-version: ${{ matrix.python-version }} + cache: pip + - name: Install everything + run: | + sudo apt-get update + sudo apt-get install -y python3-setuptools python3-yaml python3-dev + pip install -U pip pytest coverage pytest-cov Cython + - name: Test + run: pytest diff --git a/LICENSE b/LICENSE index ae1214d32ef57e4e5d74b2b89af34311c474b969..6a5437b6b4fc894642243c7fa06fbdc5774eb927 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,7 @@ MIT License Copyright (c) 2021 Dronehub Group sp. z o. o. +Copyright (c) 2024 SMOK sp. z o. o. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/docs/index.rst b/docs/index.rst index c10c272d415a88fc00c9e3ac4386dd7ec6342172..d290051784d6261e70a37520afbd14da0f0dce61 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,8 +1,3 @@ -.. MiniJSON documentation master file, created by - sphinx-quickstart on Wed May 26 13:28:36 2021. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - Welcome to MiniJSON's documentation! ==================================== @@ -26,6 +21,10 @@ You should avoid objects with keys different than strings, since they will alway 4-byte length field. This is to be improved in a future release. Key not being strings is anyway invalid JSON_. +.. warning:: + + Note that the valid mimetype for this is :code:`application/x-minijson`, + although you can use the :code:`application/minijson` in a pinch. .. _JSON: https://www.w3schools.com/js/js_json_objects.asp diff --git a/setup.cfg b/setup.cfg index 819c57b4892c13e54b47c6afde940c2a090a9b3a..4da0e08d1ca93bdaab7abc29dcf9f258ecf43406 100644 --- a/setup.cfg +++ b/setup.cfg @@ -15,13 +15,16 @@ project_urls = Code = https://github.com/Dronehub/minijson Issue tracker = https://github.com/Dronehub/minijson/issues classifier = - Development Status :: 4 - Beta + Development Status :: 5 - Production/Stable Programming Language :: Python Programming Language :: Python :: 3.5 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy Operating System :: OS Independent