We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Environment variables can be loaded from a .env file. All env vars are validated using pydantic
.env
pydantic
PyStream supports custom filename to load the env vars. All environment variables are case insensitive.
PyStream can use any file as source for environment variables.
Example
import asyncio import os import pystream os.environ['env_file'] = "custom.txt" if __name__ == '__main__': asyncio.run(pystream.start())