Skip to content

Commit

Permalink
Merge f7bc3a9 into bd971c9
Browse files Browse the repository at this point in the history
  • Loading branch information
yhoiseth committed May 30, 2019
2 parents bd971c9 + f7bc3a9 commit b0c3f4b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions README.md
Expand Up @@ -15,7 +15,7 @@ Now, when I put this payment in the _Travel_ category, I'd like all future payme

## Installation

Use [Pipenv](https://docs.pipenv.org/): `pipenv install paytext`
`pip install paytext`

## Usage

Expand All @@ -25,13 +25,9 @@ from paytext import PaymentText
payment_text: PaymentText = PaymentText(
'*4274 25.06 NOK 4101.00 WWW.TICKET.NO Kurs: 1.0000',
)

print(payment_text) # Output: '*4274 25.06 NOK 4101.00 WWW.TICKET.NO Kurs: 1.0000'

print(payment_text) # *4274 25.06 NOK 4101.00 WWW.TICKET.NO Kurs: 1.0000
payment_text.generalize()

print(payment_text) # Output: 'WWW.TICKET.NO'

print(payment_text) # WWW.TICKET.NO
```

## Known limitations
Expand Down

0 comments on commit b0c3f4b

Please sign in to comment.