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
- Host: GitHub
- URL: https://github.com/mimoja/psp-entry-types
- Owner: Mimoja
- Created: 2019-06-06T15:31:58.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-18T16:14:49.000Z (over 5 years ago)
- Last Synced: 2025-10-09T12:32:02.018Z (8 months ago)
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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()
```