Skip to content

Mini Library to keep track of all known PSP Entry types

Notifications You must be signed in to change notification settings

Mimoja/PSP-Entry-Types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSP-Entry-Types

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

Use in Go

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

import pspEntries
pspEntries.getEntries()

About

Mini Library to keep track of all known PSP Entry types

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published