├── .github └── workflows │ └── pypi-publish.yaml ├── .gitignore ├── LICENSE ├── README.md ├── examples ├── my_handler.py └── test.py ├── makefile ├── pyproject.toml ├── setup.cfg ├── setup.py └── src └── hf_endpoints_emulator ├── __init__.py ├── cli.py ├── emulator.py └── serializer_deserializer.py /.github/workflows/pypi-publish.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/hf-endpoints-emulator/HEAD/.github/workflows/pypi-publish.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/hf-endpoints-emulator/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/hf-endpoints-emulator/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/hf-endpoints-emulator/HEAD/README.md -------------------------------------------------------------------------------- /examples/my_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/hf-endpoints-emulator/HEAD/examples/my_handler.py -------------------------------------------------------------------------------- /examples/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/hf-endpoints-emulator/HEAD/examples/test.py -------------------------------------------------------------------------------- /makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/hf-endpoints-emulator/HEAD/makefile -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.black] 2 | line-length = 119 3 | target-version = ['py39'] 4 | -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/hf-endpoints-emulator/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/hf-endpoints-emulator/HEAD/setup.py -------------------------------------------------------------------------------- /src/hf_endpoints_emulator/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/hf_endpoints_emulator/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/hf-endpoints-emulator/HEAD/src/hf_endpoints_emulator/cli.py -------------------------------------------------------------------------------- /src/hf_endpoints_emulator/emulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/hf-endpoints-emulator/HEAD/src/hf_endpoints_emulator/emulator.py -------------------------------------------------------------------------------- /src/hf_endpoints_emulator/serializer_deserializer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/hf-endpoints-emulator/HEAD/src/hf_endpoints_emulator/serializer_deserializer.py --------------------------------------------------------------------------------