description:"Modern, fast web framework for building APIs with Python",
license:"MIT License",
url:"https://github.com/tiangolo/fastapi",
category:"Companion API"
),
LicenseItem(
name:"Uvicorn",
description:"Lightning-fast ASGI server for Python",
license:"BSD License",
url:"https://github.com/encode/uvicorn",
category:"Companion API"
),
LicenseItem(
name:"Mutagen",
description:"Python module to handle audio metadata",
license:"GPL-2.0 License",
url:"https://github.com/quodlibet/mutagen",
category:"Companion API"
),
LicenseItem(
name:"httpx",
description:"Fully featured HTTP client for Python 3",
license:"BSD License",
url:"https://github.com/encode/httpx",
category:"Companion API"
),
LicenseItem(
name:"NumPy",
description:"Fundamental package for scientific computing with Python",
license:"BSD License",
url:"https://github.com/numpy/numpy",
category:"Companion API"
),
LicenseItem(
name:"Pydantic",
description:"Data validation using Python type annotations",
license:"MIT License",
url:"https://github.com/pydantic/pydantic",
category:"Companion API"
),
LicenseItem(
name:"librosa",
description:"Python library for audio and music analysis",
license:"ISC License",
url:"https://github.com/librosa/librosa",
category:"Companion API"
),
]
privatevarappLicenses:[LicenseItem]{
licenses.filter{$0.category=="App"}
}
privatevarcompanionLicenses:[LicenseItem]{
licenses.filter{$0.category=="Companion API"}
}
varbody:someView{
List{
Section{
VStack(alignment:.leading,spacing:6){
Text("NavidromePlayer uses the following open-source libraries. We're grateful to the developers and communities behind these projects.")
.font(.system(size:13))
.foregroundStyle(.secondary)
}
.padding(.vertical,4)
}
Section("App"){
ForEach(appLicenses){itemin
licenseRow(item)
}
}
Section("Companion API"){
ForEach(companionLicenses){itemin
licenseRow(item)
}
}
Section{
VStack(alignment:.leading,spacing:6){
Text("Visualizer")
.font(.system(size:15,weight:.semibold))
Text("The audio visualizer is inspired by Mitsuha, originally created by c0ldra1n for jailbroken iOS. This is an independent reimplementation using Apple frameworks.")