514 B
514 B
Usage
Each class and function in the API section can either be imported or accessed straight from the module. The following two code blocks do the same thing.
import aputils
from pathlib import Path
= aputils.Signer(Path('privkey.pem'), 'https://social.example.com/users/cheese_wedge#main-key') signer
from aputils import Signer
from pathlib import Path
= Signer(Path('privkey.pem'), 'https://social.example.com/users/cheese_wedge#main-key') signer