Initialize Project (#1)

This commit is contained in:
Jared Zhao
2022-04-23 14:08:14 -07:00
committed by GitHub
parent 85b7258090
commit 7da9033535
8 changed files with 42 additions and 2 deletions

View File

@@ -1,2 +1,22 @@
# mocha
Python performance profiling in production that doesn't suck
<p align="center">
<br><br><br>
<a href="https://github.com/mocha-dev/mocha"><img src="https://github.com/mocha-dev/mocha/blob/main/assets/_static/mocha.png?raw=true" alt="Mocha logo: Mocha is the Python Performance Profiler for Production" width="200px"></a>
<br><br>
</p>
<p align="center">
<b>Python Performance Profiling for Production</b><br>
<b>~ It's About Time ~</b>
</p>
# Mocha
Mocha is a Python performance profiler that can monitor your entire deployment in production, and makes results easy to aggregate and search through.
Bad code performance is often a result of lack of visibility, with [real world consequences](https://uxplanet.org/how-page-speed-affects-web-user-experience-83b6d6b1d7d7).
## Install
```bash
pip install mocha-time
```

BIN
assets/mocha.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 KiB

1
python/mocha/__init__.py Normal file
View File

@@ -0,0 +1 @@
print("successfully installed")

14
python/setup.py Normal file
View File

@@ -0,0 +1,14 @@
import setuptools
setuptools.setup(
name="mocha-time",
version="0.0.5",
author="Jared Zhao",
description="Python Performance Profiling for Production",
long_description=open("../README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/mocha-dev/mocha",
license="Apache 2.0",
python_requires=">=3.6",
packages=["mocha"],
)

3
requirements.txt Normal file
View File

@@ -0,0 +1,3 @@
click==8.1.2
black==22.3.0
mypy==0.942

1
server/Dockerfile Normal file
View File

@@ -0,0 +1 @@
FROM python:3.9

0
server/__init__.py Normal file
View File

1
server/requirements.txt Normal file
View File

@@ -0,0 +1 @@
fastapi==0.75.2