xbase-util 0.0.1__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,10 @@
1
+ Metadata-Version: 2.1
2
+ Name: xbase_util
3
+ Version: 0.0.1
4
+ Summary: 网络安全基础工具
5
+ Author: xyt
6
+ Author-email: 2506564278@qq.com
7
+ License: <MIT License>
8
+ Requires-Dist: PyExecJS==1.5.1
9
+
10
+ 包含提取,预测,训练的基础工具
@@ -0,0 +1 @@
1
+ 基础工具
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,16 @@
1
+ from distutils.core import setup
2
+
3
+ from setuptools import find_packages
4
+
5
+ setup(name="xbase_util",
6
+ version="0.0.1",
7
+ description="网络安全基础工具",
8
+ long_description="包含提取,预测,训练的基础工具",
9
+ author="xyt",
10
+ author_email="2506564278@qq.com",
11
+ license="<MIT License>",
12
+ packages=find_packages(),
13
+ install_requires=[
14
+ 'PyExecJS==1.5.1',
15
+ ],
16
+ zip_safe=False)
File without changes
@@ -0,0 +1,10 @@
1
+ import execjs
2
+
3
+
4
+ def parse_expression(expression):
5
+ if expression:
6
+ with open(f"assets/base/arkimeparse.js", "r") as f:
7
+ ctx = execjs.compile(f.read())
8
+ return ctx.call("parse_exp", expression)
9
+ else:
10
+ return None
@@ -0,0 +1,10 @@
1
+ Metadata-Version: 2.1
2
+ Name: xbase-util
3
+ Version: 0.0.1
4
+ Summary: 网络安全基础工具
5
+ Author: xyt
6
+ Author-email: 2506564278@qq.com
7
+ License: <MIT License>
8
+ Requires-Dist: PyExecJS==1.5.1
9
+
10
+ 包含提取,预测,训练的基础工具
@@ -0,0 +1,10 @@
1
+ README.md
2
+ setup.py
3
+ xbase_util/__init__.py
4
+ xbase_util/xbase_util.py
5
+ xbase_util.egg-info/PKG-INFO
6
+ xbase_util.egg-info/SOURCES.txt
7
+ xbase_util.egg-info/dependency_links.txt
8
+ xbase_util.egg-info/not-zip-safe
9
+ xbase_util.egg-info/requires.txt
10
+ xbase_util.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ PyExecJS==1.5.1
@@ -0,0 +1 @@
1
+ xbase_util