Skip to content

Commit

Permalink
Merge branch 'fmatch' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
shashank-boyapally authored Jan 15, 2024
2 parents d9451eb + a23066f commit 87528de
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
1 change: 0 additions & 1 deletion fmatch/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
"""This file is the init file of the matcher package
which is used as to match and query data from elastic server"""
from fmatch.matcher import Matcher
2 changes: 2 additions & 0 deletions fmatch/matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@
# pylint: disable=import-error
import pandas as pd


ES_URL = os.getenv("ES_SERVER")


class Matcher:
""" Matcher
"""


def __init__(self, index="perf_scale_ci", level=logging.INFO):
self.index = index
self.es_url = ES_URL
Expand Down
32 changes: 32 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
"""
setup file for fmatch package
"""
from setuptools import setup, find_packages


VERSION = '0.0.1'
DESCRIPTION = 'Common package for matching runs with provided metadata'
# pylint: disable= line-too-long
LONG_DESCRIPTION = "A package that allows to match metadata and get runs and create csv files with queried metrics"

# Setting up
setup(
name="fmatch",
version=VERSION,
author="sboyapal",
author_email="[email protected]",
description=DESCRIPTION,
long_description_content_type="text/x-rst",
long_description=LONG_DESCRIPTION,
packages=find_packages(),
install_requires=['elasticsearch7==7.13.0', 'elasticsearch', 'pyyaml','pandas'],
keywords=['python', 'matching', 'red hat', 'perf-scale', 'matcher', 'orion'],
classifiers=[
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Operating System :: Unix",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
]
)

0 comments on commit 87528de

Please sign in to comment.