Skip to content

Commit fcd8bbe

Browse files
committed
README paragraph about a API stability
1 parent 4fec3d0 commit fcd8bbe

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,21 @@
22

33
Python ctypes interface for QR code decoding library [libquirc](https://github.com/dlbeer/quirc)
44

5-
# Tests
5+
## Tests
66

77
Run tests with a `python setup.py test` command or look for [Travis build logs](http://travis-ci.org/#!/svartalf/python-quirc).
88

99
[![Build Status](https://secure.travis-ci.org/svartalf/python-quirc.png)](http://travis-ci.org/svartalf/python-quirc)
1010

11-
# Usage
11+
## Versioning and API stability
1212

13-
## Low-level API
13+
API stability isn't guaranteed before 1.0.0 version. Versioning is propagated by [semver.org](http://semver.org).
14+
15+
When version 1.0.0 will be released the API will be frozen, and any changes which aren't backwards compatible will force a major version bump.
16+
17+
## Usage
18+
19+
### Low-level API
1420

1521
Low-level API directly corresponds to the C API:
1622

@@ -63,7 +69,11 @@ Finally, release the allocated memory
6369

6470
quirc.api.destroy(qr)
6571

66-
# Trobleshooting
72+
## Trobleshooting
6773

6874
If library raises an exception `OSError: libquirc.so.1: cannot open shared object file: No such file or directory`,
6975
set environment variable LD_PRELOAD_PATH to `/usr/local/lib/` like this: `$ LD_PRELOAD_PATH=/usr/local/lib/ ./myscript.py`
76+
77+
## Contributing
78+
79+
If you want to contribute, follow the [pep8](http://www.python.org/dev/peps/pep-0008/) guideline, and include the tests.

0 commit comments

Comments
 (0)