Skip to content

Commit

Permalink
bump version to 0.4.0, add numpy ndarray/scalar encoding/decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Sep 4, 2022
1 parent b764979 commit e9b111e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
- Copyright: (C) Qianqian Fang (2020-2022) <q.fang at neu.edu>
- Copyright: (C) Iotic Labs Ltd. (2016-2019) <vilnis.termanis at iotic-labs.com>
- License: Apache License, Version 2.0
- Version: 0.3.4
- Version: 0.4.0
- URL: https://pypi.org/project/bjdata/
- Github: https://github.com/NeuroJSON/pybj
- BJData Spec Version: [V1 Draft 2](https://neurojson.org/bjdata/draft2)
- Acknowledgement: This project is supported by US National Institute of Health (NIH) grant U24-NS124027

[![Build Status](https://travis-ci.com/NeuroJSON/pybj.svg?branch=master)](https://travis-ci.com/NeuroJSON/pybj)

This is a Python v3.2+ (and 2.7+) [Binary JData](http://neurojson.org) based on
the [Draft-2](Binary_JData_Specification.md) specification.
This is a Python v3.2+ (and 2.7+) [Binary JData](https://neurojson.org) encoder
and decoder based on the [Draft-2](Binary_JData_Specification.md) specification.

## Installing / packaging
```shell
Expand All @@ -32,7 +32,7 @@ pip3 install bjdata --user
## To get from PyPI via python
python3 -mpip install bjdata

## To only build extension modules inline (e.g. in repository)
## To only build extension modules in-place (e.g. in repository)
python3 setup.py build_ext -i

## To build & install globally
Expand Down Expand Up @@ -127,6 +127,7 @@ pip install -e .[dev]
- Strongly-typed containers are only supported by the decoder (apart from for
**bytes**/**bytearray**) and not for No-Op.
- Encoder/decoder extensions are not supported at this time.
- Encoder/decoder only support numpy NDarrays and scalars, other numpy types are not supported.


## Acknowledgement
Expand Down
2 changes: 1 addition & 1 deletion bjdata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
from .encoder import EncoderException
from .decoder import DecoderException

__version__ = '0.3.4'
__version__ = '0.4.0'

__all__ = ('EXTENSION_ENABLED', 'dump', 'dumpb', 'EncoderException', 'load', 'loadb', 'DecoderException')
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def build_extension(self, ext):

setup(
name='bjdata',
version='0.3.4',
version='0.4.0',
description='Binary JData and UBJSON encoder/decoder',
long_description=load_description('README.md'),
long_description_content_type='text/markdown',
Expand Down Expand Up @@ -117,6 +117,7 @@ def build_extension(self, ext):
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules'
]
Expand Down

0 comments on commit e9b111e

Please sign in to comment.