Skip to content

Commit

Permalink
Improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
yhoiseth committed May 30, 2019
1 parent bd971c9 commit f7bc3a9
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
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 f7bc3a9

Please sign in to comment.