client for artlebedev typograf webservice
MIT License
client for artlebedev typograf webservice
<p>«Вы все еще кое-как верстаете в „Ворде“? — Тогда мы идем к вам!»<br />
</p>
# -*- encoding: utf-8 -*-
from typograf import RemoteTypograf
rt = RemoteTypograf(p=True, br=True) # UTF-8
print rt.process_text(u'"Вы все еще кое-как верстаете в "Ворде"? - Тогда мы идем к вам!"')
<p>«Вы все еще кое-как верстаете в „Ворде“? — Тогда мы идем к вам!»<br />
</p>
from typograf import RemoteTypograf
rt = RemoteTypograf(p=True, br=True)
print(rt.process_text('"Вы все еще кое-как верстаете в "Ворде"? - Тогда мы идем к вам!"'))
<p>«Вы все еще кое-как верстаете в „Ворде“? — Тогда мы идем к вам!»<br />
</p>