Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module contains the pypi REST client
Synopsis
- data PypiClient
- withClient :: (PypiClient -> IO ()) -> IO ()
- getProject :: Text -> PypiClient -> IO PypiProject
- data PypiProject = PypiProject {}
- getReleaseSemVer :: PypiProject -> [SemVer]
Client
data PypiClient Source #
The PypiClient record, use withClient
to create
:: (PypiClient -> IO ()) | The callback |
-> IO () | withClient performs the IO |
Create the PypiClient
Api
getProject :: Text -> PypiClient -> IO PypiProject Source #
Get project infos
Main data types
data PypiProject Source #
Instances
getReleaseSemVer :: PypiProject -> [SemVer] Source #