Skip to content
This repository was archived by the owner on Sep 14, 2023. It is now read-only.

Commit 3a96b9a

Browse files
committed
First published version 🎉
1 parent 82749f5 commit 3a96b9a

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ nightly: ## Set rust compiler to nightly version
2424
install: nightly dev-packages ## Install hyperjson module into current virtualenv
2525
pipenv run pyo3-pack develop
2626

27+
.PHONY: publish
28+
publish: ## Publish crate on Pypi
29+
pipenv run pyo3-pack publish
30+
2731
.PHONY: clean
2832
clean: ## Clean up build artifacts
2933
pipenv --rm || true

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,18 @@ drop-in replacement for Python's built-in
88
around Rust's [serde-json](https://github.com/serde-rs/json) built with
99
[pyo3](https://github.com/PyO3/pyo3). Compatible with Python 3 and 2 (not officially supported). This is alpha software and there will be bugs, so maybe don't deploy to production *just* yet. :wink:
1010

11+
## Installation
12+
13+
```
14+
pip install hyperjson
15+
```
16+
1117
## Usage
1218

1319
hyperjson is meant as a drop-in replacement for Python's [json
1420
module](https://docs.python.org/3/library/json.html):
1521

22+
1623
```python
1724
>>> import hyperjson
1825
>>> hyperjson.dumps([{"key": "value"}, 81, True])

0 commit comments

Comments
 (0)