Skip to content

Commit

Permalink
add moudle
Browse files Browse the repository at this point in the history
  • Loading branch information
rafa0128 committed Sep 19, 2023
1 parent 54d8f11 commit 848841e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
setuptools.setup(
install_requires=['fastapi','uvicorn', 'requests', 'loguru', 'fire','pyfiglet','psutil',
'pyyaml','python-multipart','sqlalchemy'],
version='1.0.8',
version='1.0.9',
long_description=long_description,
long_description_content_type="text/markdown",
description="WebMeter - A web api-performance tool based on jmeter.",
Expand Down
3 changes: 2 additions & 1 deletion webmeter/core/plan.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import os
import shutil
from loguru import logger
from webmeter.core.utils import Common, JMX
from fastapi import UploadFile
from webmeter.core.utils import Common, JMX


class Base(object):

Expand Down
2 changes: 1 addition & 1 deletion webmeter/core/sqlhandle/crud.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from webmeter.core.sqlhandle import models, schemas, database
from typing import Optional
from loguru import logger
import os, shutil, datetime
from webmeter.core.sqlhandle import models, schemas, database
from webmeter.core.plan import TestPlan

def create_task(tasks: dict):
Expand Down
2 changes: 1 addition & 1 deletion webmeter/core/task.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from loguru import logger
import json, os
from core.utils import Common
from typing import Optional
from webmeter.core.utils import Common
from webmeter.core.sqlhandle import crud


Expand Down
4 changes: 2 additions & 2 deletions webmeter/web.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import uvicorn
from fastapi import FastAPI
from webmeter.view import page,api
from webmeter.core.utils import Common
import requests
import webbrowser
import multiprocessing
import os
from webmeter.view import page,api
from webmeter.core.utils import Common

app = FastAPI(debug=False)
app.include_router(page.router)
Expand Down

0 comments on commit 848841e

Please sign in to comment.