package
0.0.0-20241023164445-667b75ed2b22
Repository: https://github.com/zeabur/zbpack.git
Documentation: pkg.go.dev
# Functions
DetermineEntry determines the entry of the Python project.
DetermineFramework determines the framework of the Python project.
DeterminePackageManager determines the package manager of this Python project.
DetermineStaticInfo determines the static path for Nginx to host.
DetermineWsgi determines the WSGI application filepath of a Python project.
GenerateDockerfile generates the Dockerfile for Python projects.
GetMeta returns the metadata of a Python project.
HasDependency checks if the specified dependency is in the project.
HasExplicitDependency checks if the specified dependency is specified explicitly in the project.
NewIdentifier returns a new Python identifier.
NewPacker returns a new Python packer.
# Constants
ConfigPythonEntry is the key for specifying the Python entry explicitly in the project configuration.
ConfigPythonVersion is the key for specifying the Python version explicitly in the project configuration.
ConfigStreamlitEntry is the key for specifying the streamlit entry explicitly in the project configuration.
StaticModeDisabled indicates that no static files should be generated or hosted.
StaticModeDjango indicates that we need to prepare the static assets for a Django project.
StaticModeNginx indicates that we need to host the static files with Nginx.
# Structs
GetMetaOptions is the options for GetMeta.
StaticInfo is the static info of a Python project.
# Type aliases
StaticFlag is the static flag of a Python project.