An open API service indexing awesome lists of open source software.

https://github.com/mimoja/psp-entry-types

Mini Library to keep track of all known PSP Entry types
https://github.com/mimoja/psp-entry-types

Last synced: 8 months ago
JSON representation

Mini Library to keep track of all known PSP Entry types

Awesome Lists containing this project

README

          

# PSP-Entry-Types

Mini Library to keep track of all known PSP Entry types. Definitions are stored in `types.csv`

## Use in Go

```golang
import pspentrytype "github.com/Mimoja/PSP-Entry-Types"
import "encoding/json"
import "os"

var AMDPSPDirectoryEntries = pspentrytype.Types()

func main(){
enc := json.NewEncoder(os.stdout)
enc.setIndent("", " ")

for _, knownType := range AMDPSPDirectoryEntries {
enc.Encode(knownType)
}
}
```

## Use in Python

`pip3 install git+https://github.com/Mimoja/PSP-Entry-Types.git@master`

then

```python
import pspEntries
pspEntries.getEntries()
```