INNER CODE UNIT · Python

get_requirements

permitio/fastapi_websocket_pubsub · setup.py:4

def get_requirements(env=""):
    if env:
        env = "-{}".format(env)
    with open("requirements{}.txt".format(env)) as fp:
        return [x.strip() for x in fp.read().split("\n") if not x.startswith("#")]


with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()

setup(
    name="fastapi_websocket_pubsub",
    version="0.3.9",
    author="Or Weis",
    author_email="or@permit.io",
    description="A fast and durable PubSub channel over Websockets (using fastapi-websockets-rpc).",
    long_description_content_type="text/markdown",
    long_description=long_description,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…