tmsgpack 0.1.0__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tmsgpack-0.1.0/tmsgpack.egg-info → tmsgpack-0.1.1}/PKG-INFO +41 -13
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/README.md +40 -12
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/tmsgpack/__init__.py +2 -2
- {tmsgpack-0.1.0 → tmsgpack-0.1.1/tmsgpack.egg-info}/PKG-INFO +41 -13
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/COPYING +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/MANIFEST.in +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/pyproject.toml +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/setup.cfg +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/setup.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/test/contexts_for_tests.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/test/test_buffer.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/test/test_case.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/test/test_except.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/test/test_format.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/test/test_limits.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/test/test_memoryview.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/test/test_newspec.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/test/test_pack.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/test/test_seq.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/test/test_sequnpack.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/test/test_subtype.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/test/test_trace_from_x.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/test/test_typed_objects.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/test/test_unpack.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/tmsgpack/_ctmsgpack.cpp +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/tmsgpack/_ctmsgpack.pyx +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/tmsgpack/_packer.pyx +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/tmsgpack/_unpacker.pyx +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/tmsgpack/buff_converter.h +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/tmsgpack/exceptions.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/tmsgpack/ext.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/tmsgpack/fallback.py +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/tmsgpack/pack.h +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/tmsgpack/pack_template.h +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/tmsgpack/sysdep.h +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/tmsgpack/unpack.h +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/tmsgpack/unpack_define.h +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/tmsgpack/unpack_template.h +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/tmsgpack.egg-info/SOURCES.txt +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/tmsgpack.egg-info/dependency_links.txt +0 -0
- {tmsgpack-0.1.0 → tmsgpack-0.1.1}/tmsgpack.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tmsgpack
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Typed MessagePack serializer (similar but incompatible with msgpack)
|
|
5
5
|
Home-page: https://github.com/Yaakov-Belch/tmsgpack
|
|
6
6
|
Author: Inada Naoki, Yaakov Belch
|
|
@@ -368,14 +368,15 @@ make test
|
|
|
368
368
|
pytest -v test/test_typed_objects.py
|
|
369
369
|
```
|
|
370
370
|
|
|
371
|
-
## Build and publish to PyPI
|
|
371
|
+
## Build, test, and publish to PyPI
|
|
372
372
|
Follow the steps above in "Development": Clone this repository, create and activate
|
|
373
373
|
a virtual environment, upgrade pip, install required dependencies; make test.
|
|
374
374
|
```bash
|
|
375
375
|
cd ~/git/tmsgpack
|
|
376
376
|
source venv/bin/activate
|
|
377
377
|
|
|
378
|
-
pip install build
|
|
378
|
+
pip install build
|
|
379
|
+
rm -rf dist/ # remove old builds
|
|
379
380
|
python -m build # puts results in dist/
|
|
380
381
|
|
|
381
382
|
# Test the new package -- in a fresh test environment:
|
|
@@ -385,21 +386,48 @@ deactivate
|
|
|
385
386
|
python -m venv venv-test
|
|
386
387
|
source venv-test/bin/activate
|
|
387
388
|
pip install --upgrade pip
|
|
388
|
-
pip install dist/tmsgpack
|
|
389
|
-
```
|
|
389
|
+
pip install dist/tmsgpack-*.whl # use the latest whl built.
|
|
390
390
|
|
|
391
|
-
|
|
392
|
-
cd ~/git/tmsgpack
|
|
393
|
-
python -m venv venv
|
|
394
|
-
source venv/bin/activate
|
|
395
|
-
python --version
|
|
391
|
+
pip install pytest
|
|
396
392
|
|
|
393
|
+
# These tests uses the source files:
|
|
394
|
+
pytest -v test/
|
|
395
|
+
TMSGPACK_PUREPYTHON=1 pytest -v test
|
|
396
|
+
python -c "import tmsgpack; print(tmsgpack.__file__)"
|
|
397
397
|
|
|
398
|
-
|
|
398
|
+
# These tests use the installed files:
|
|
399
|
+
cd test
|
|
400
|
+
pytest -v .
|
|
401
|
+
TMSGPACK_PUREPYTHON=1 pytest -v .
|
|
402
|
+
python -c "import tmsgpack; print(tmsgpack.__file__)"
|
|
403
|
+
cd ..
|
|
404
|
+
deactivate
|
|
405
|
+
rm -rf venv-test
|
|
406
|
+
```
|
|
407
|
+
Upload to PyPi:
|
|
408
|
+
```bash
|
|
409
|
+
pip install twine
|
|
410
|
+
|
|
411
|
+
# Register at pypi.org if you haven't
|
|
412
|
+
# Connecting to upload.pypi.org
|
|
413
|
+
# twine upload dist/* # This does not work: Platform incompatible.
|
|
414
|
+
twine upload dist/tmsgpack-*.tar.gz
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
Test in a separate virtual environment
|
|
418
|
+
```bash
|
|
419
|
+
deactivate
|
|
420
|
+
rm -rf ~/test-tmsgpack
|
|
421
|
+
mkdir -p ~/test-tmsgpack
|
|
422
|
+
cd ~/test-tmsgpack
|
|
399
423
|
python -m venv venv-test
|
|
400
424
|
source venv-test/bin/activate
|
|
401
|
-
|
|
402
|
-
|
|
425
|
+
pip install --upgrade pip
|
|
426
|
+
pip install tmsgpack pytest
|
|
427
|
+
python -c "import tmsgpack; print('Version:', tmsgpack.__version__)"
|
|
428
|
+
pytest -v ~/git/tmsgpack/test/
|
|
429
|
+
TMSGPACK_PUREPYTHON=1 pytest -v ~/git/tmsgpack/test/
|
|
430
|
+
```
|
|
403
431
|
|
|
404
432
|
## The tmsgpack format (version 0.1.0)
|
|
405
433
|
The msgpack format defines two types of containers: maps and arrays (dicts and lists).
|
|
@@ -344,14 +344,15 @@ make test
|
|
|
344
344
|
pytest -v test/test_typed_objects.py
|
|
345
345
|
```
|
|
346
346
|
|
|
347
|
-
## Build and publish to PyPI
|
|
347
|
+
## Build, test, and publish to PyPI
|
|
348
348
|
Follow the steps above in "Development": Clone this repository, create and activate
|
|
349
349
|
a virtual environment, upgrade pip, install required dependencies; make test.
|
|
350
350
|
```bash
|
|
351
351
|
cd ~/git/tmsgpack
|
|
352
352
|
source venv/bin/activate
|
|
353
353
|
|
|
354
|
-
pip install build
|
|
354
|
+
pip install build
|
|
355
|
+
rm -rf dist/ # remove old builds
|
|
355
356
|
python -m build # puts results in dist/
|
|
356
357
|
|
|
357
358
|
# Test the new package -- in a fresh test environment:
|
|
@@ -361,21 +362,48 @@ deactivate
|
|
|
361
362
|
python -m venv venv-test
|
|
362
363
|
source venv-test/bin/activate
|
|
363
364
|
pip install --upgrade pip
|
|
364
|
-
pip install dist/tmsgpack
|
|
365
|
-
```
|
|
365
|
+
pip install dist/tmsgpack-*.whl # use the latest whl built.
|
|
366
366
|
|
|
367
|
-
|
|
368
|
-
cd ~/git/tmsgpack
|
|
369
|
-
python -m venv venv
|
|
370
|
-
source venv/bin/activate
|
|
371
|
-
python --version
|
|
367
|
+
pip install pytest
|
|
372
368
|
|
|
369
|
+
# These tests uses the source files:
|
|
370
|
+
pytest -v test/
|
|
371
|
+
TMSGPACK_PUREPYTHON=1 pytest -v test
|
|
372
|
+
python -c "import tmsgpack; print(tmsgpack.__file__)"
|
|
373
373
|
|
|
374
|
-
|
|
374
|
+
# These tests use the installed files:
|
|
375
|
+
cd test
|
|
376
|
+
pytest -v .
|
|
377
|
+
TMSGPACK_PUREPYTHON=1 pytest -v .
|
|
378
|
+
python -c "import tmsgpack; print(tmsgpack.__file__)"
|
|
379
|
+
cd ..
|
|
380
|
+
deactivate
|
|
381
|
+
rm -rf venv-test
|
|
382
|
+
```
|
|
383
|
+
Upload to PyPi:
|
|
384
|
+
```bash
|
|
385
|
+
pip install twine
|
|
386
|
+
|
|
387
|
+
# Register at pypi.org if you haven't
|
|
388
|
+
# Connecting to upload.pypi.org
|
|
389
|
+
# twine upload dist/* # This does not work: Platform incompatible.
|
|
390
|
+
twine upload dist/tmsgpack-*.tar.gz
|
|
391
|
+
```
|
|
392
|
+
|
|
393
|
+
Test in a separate virtual environment
|
|
394
|
+
```bash
|
|
395
|
+
deactivate
|
|
396
|
+
rm -rf ~/test-tmsgpack
|
|
397
|
+
mkdir -p ~/test-tmsgpack
|
|
398
|
+
cd ~/test-tmsgpack
|
|
375
399
|
python -m venv venv-test
|
|
376
400
|
source venv-test/bin/activate
|
|
377
|
-
|
|
378
|
-
|
|
401
|
+
pip install --upgrade pip
|
|
402
|
+
pip install tmsgpack pytest
|
|
403
|
+
python -c "import tmsgpack; print('Version:', tmsgpack.__version__)"
|
|
404
|
+
pytest -v ~/git/tmsgpack/test/
|
|
405
|
+
TMSGPACK_PUREPYTHON=1 pytest -v ~/git/tmsgpack/test/
|
|
406
|
+
```
|
|
379
407
|
|
|
380
408
|
## The tmsgpack format (version 0.1.0)
|
|
381
409
|
The msgpack format defines two types of containers: maps and arrays (dicts and lists).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tmsgpack
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Typed MessagePack serializer (similar but incompatible with msgpack)
|
|
5
5
|
Home-page: https://github.com/Yaakov-Belch/tmsgpack
|
|
6
6
|
Author: Inada Naoki, Yaakov Belch
|
|
@@ -368,14 +368,15 @@ make test
|
|
|
368
368
|
pytest -v test/test_typed_objects.py
|
|
369
369
|
```
|
|
370
370
|
|
|
371
|
-
## Build and publish to PyPI
|
|
371
|
+
## Build, test, and publish to PyPI
|
|
372
372
|
Follow the steps above in "Development": Clone this repository, create and activate
|
|
373
373
|
a virtual environment, upgrade pip, install required dependencies; make test.
|
|
374
374
|
```bash
|
|
375
375
|
cd ~/git/tmsgpack
|
|
376
376
|
source venv/bin/activate
|
|
377
377
|
|
|
378
|
-
pip install build
|
|
378
|
+
pip install build
|
|
379
|
+
rm -rf dist/ # remove old builds
|
|
379
380
|
python -m build # puts results in dist/
|
|
380
381
|
|
|
381
382
|
# Test the new package -- in a fresh test environment:
|
|
@@ -385,21 +386,48 @@ deactivate
|
|
|
385
386
|
python -m venv venv-test
|
|
386
387
|
source venv-test/bin/activate
|
|
387
388
|
pip install --upgrade pip
|
|
388
|
-
pip install dist/tmsgpack
|
|
389
|
-
```
|
|
389
|
+
pip install dist/tmsgpack-*.whl # use the latest whl built.
|
|
390
390
|
|
|
391
|
-
|
|
392
|
-
cd ~/git/tmsgpack
|
|
393
|
-
python -m venv venv
|
|
394
|
-
source venv/bin/activate
|
|
395
|
-
python --version
|
|
391
|
+
pip install pytest
|
|
396
392
|
|
|
393
|
+
# These tests uses the source files:
|
|
394
|
+
pytest -v test/
|
|
395
|
+
TMSGPACK_PUREPYTHON=1 pytest -v test
|
|
396
|
+
python -c "import tmsgpack; print(tmsgpack.__file__)"
|
|
397
397
|
|
|
398
|
-
|
|
398
|
+
# These tests use the installed files:
|
|
399
|
+
cd test
|
|
400
|
+
pytest -v .
|
|
401
|
+
TMSGPACK_PUREPYTHON=1 pytest -v .
|
|
402
|
+
python -c "import tmsgpack; print(tmsgpack.__file__)"
|
|
403
|
+
cd ..
|
|
404
|
+
deactivate
|
|
405
|
+
rm -rf venv-test
|
|
406
|
+
```
|
|
407
|
+
Upload to PyPi:
|
|
408
|
+
```bash
|
|
409
|
+
pip install twine
|
|
410
|
+
|
|
411
|
+
# Register at pypi.org if you haven't
|
|
412
|
+
# Connecting to upload.pypi.org
|
|
413
|
+
# twine upload dist/* # This does not work: Platform incompatible.
|
|
414
|
+
twine upload dist/tmsgpack-*.tar.gz
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
Test in a separate virtual environment
|
|
418
|
+
```bash
|
|
419
|
+
deactivate
|
|
420
|
+
rm -rf ~/test-tmsgpack
|
|
421
|
+
mkdir -p ~/test-tmsgpack
|
|
422
|
+
cd ~/test-tmsgpack
|
|
399
423
|
python -m venv venv-test
|
|
400
424
|
source venv-test/bin/activate
|
|
401
|
-
|
|
402
|
-
|
|
425
|
+
pip install --upgrade pip
|
|
426
|
+
pip install tmsgpack pytest
|
|
427
|
+
python -c "import tmsgpack; print('Version:', tmsgpack.__version__)"
|
|
428
|
+
pytest -v ~/git/tmsgpack/test/
|
|
429
|
+
TMSGPACK_PUREPYTHON=1 pytest -v ~/git/tmsgpack/test/
|
|
430
|
+
```
|
|
403
431
|
|
|
404
432
|
## The tmsgpack format (version 0.1.0)
|
|
405
433
|
The msgpack format defines two types of containers: maps and arrays (dicts and lists).
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|