Skip to content

Commit

Permalink
Setting releases to create packages in pypi.org so we can productioni… (
Browse files Browse the repository at this point in the history
#6)

* Setting releases to create packages in pypi.org so we can productionise the code. Adding badges of different integrations.
  • Loading branch information
gguridi authored Sep 7, 2020
1 parent 34761ea commit 67d3fc2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
run: pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/
TWINE_REPOSITORY_URL: https://upload.pypi.org/legacy/
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TESTPYPI_TOKEN }}
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python setup.py clean sdist bdist_wheel
twine upload dist/*
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
# iab-tcf

[![Build Status](https://travis-ci.org/gguridi/iab-tcf.svg?branch=master)](https://travis-ci.org/gguridi/iab-tcf)
[![codecov](https://codecov.io/gh/gguridi/iab-tcf/branch/master/graph/badge.svg)](https://codecov.io/gh/gguridi/iab-tcf)
![Releasing](https://github.com/gguridi/iab-tcf/workflows/Releasing/badge.svg)

A Python implementation of the IAB consent strings (v1.1 and v2)

# Installing

Install and update using pip:

```bash
pip install -U iab-tcf
```

# A Simple Example

In order to decode a v1.1 or v2 consent string automatically we can do:
Expand Down

0 comments on commit 67d3fc2

Please sign in to comment.