
commit
8f279d7fd3
57 changed files with 66233 additions and 0 deletions
@ -0,0 +1,14 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<module type="PYTHON_MODULE" version="4"> |
|||
<component name="Flask"> |
|||
<option name="enabled" value="true" /> |
|||
</component> |
|||
<component name="NewModuleRootManager"> |
|||
<content url="file://$MODULE_DIR$" /> |
|||
<orderEntry type="jdk" jdkName="Remote Python 3.9.16 (sftp://majiahui@104.244.90.248:28385/home/majiahui/miniconda3/envs/chatgpt/bin/python)" jdkType="Python SDK" /> |
|||
<orderEntry type="sourceFolder" forTests="false" /> |
|||
</component> |
|||
<component name="TemplatesService"> |
|||
<option name="TEMPLATE_CONFIGURATION" value="Jinja2" /> |
|||
</component> |
|||
</module> |
@ -0,0 +1,22 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<project version="4"> |
|||
<component name="PublishConfigData" autoUpload="Always" serverName="majiahui@104.244.90.248:28385" remoteFilesAllowedToDisappearOnAutoupload="false"> |
|||
<serverData> |
|||
<paths name="chat"> |
|||
<serverdata> |
|||
<mappings> |
|||
<mapping local="$PROJECT_DIR$" web="/" /> |
|||
</mappings> |
|||
</serverdata> |
|||
</paths> |
|||
<paths name="majiahui@104.244.90.248:28385"> |
|||
<serverdata> |
|||
<mappings> |
|||
<mapping deploy="/home/majiahui/ChatGPT_Sever" local="$PROJECT_DIR$" /> |
|||
</mappings> |
|||
</serverdata> |
|||
</paths> |
|||
</serverData> |
|||
<option name="myAutoUpload" value="ALWAYS" /> |
|||
</component> |
|||
</project> |
@ -0,0 +1,61 @@ |
|||
<component name="InspectionProjectProfileManager"> |
|||
<profile version="1.0"> |
|||
<option name="myName" value="Project Default" /> |
|||
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true"> |
|||
<option name="ignoredPackages"> |
|||
<value> |
|||
<list size="41"> |
|||
<item index="0" class="java.lang.String" itemvalue="pandas" /> |
|||
<item index="1" class="java.lang.String" itemvalue="tqdm" /> |
|||
<item index="2" class="java.lang.String" itemvalue="transformers" /> |
|||
<item index="3" class="java.lang.String" itemvalue="requests" /> |
|||
<item index="4" class="java.lang.String" itemvalue="uvicorn" /> |
|||
<item index="5" class="java.lang.String" itemvalue="loguru" /> |
|||
<item index="6" class="java.lang.String" itemvalue="absl-py" /> |
|||
<item index="7" class="java.lang.String" itemvalue="protobuf" /> |
|||
<item index="8" class="java.lang.String" itemvalue="tensorflow-estimator" /> |
|||
<item index="9" class="java.lang.String" itemvalue="opt-einsum" /> |
|||
<item index="10" class="java.lang.String" itemvalue="python-dateutil" /> |
|||
<item index="11" class="java.lang.String" itemvalue="gast" /> |
|||
<item index="12" class="java.lang.String" itemvalue="mkl-random" /> |
|||
<item index="13" class="java.lang.String" itemvalue="numpy" /> |
|||
<item index="14" class="java.lang.String" itemvalue="torchvision" /> |
|||
<item index="15" class="java.lang.String" itemvalue="importlib-metadata" /> |
|||
<item index="16" class="java.lang.String" itemvalue="mkl-fft" /> |
|||
<item index="17" class="java.lang.String" itemvalue="tensorflow" /> |
|||
<item index="18" class="java.lang.String" itemvalue="sentencepiece" /> |
|||
<item index="19" class="java.lang.String" itemvalue="zipp" /> |
|||
<item index="20" class="java.lang.String" itemvalue="certifi" /> |
|||
<item index="21" class="java.lang.String" itemvalue="urllib3" /> |
|||
<item index="22" class="java.lang.String" itemvalue="Markdown" /> |
|||
<item index="23" class="java.lang.String" itemvalue="sacremoses" /> |
|||
<item index="24" class="java.lang.String" itemvalue="botocore" /> |
|||
<item index="25" class="java.lang.String" itemvalue="Werkzeug" /> |
|||
<item index="26" class="java.lang.String" itemvalue="wrapt" /> |
|||
<item index="27" class="java.lang.String" itemvalue="torch" /> |
|||
<item index="28" class="java.lang.String" itemvalue="click" /> |
|||
<item index="29" class="java.lang.String" itemvalue="chardet" /> |
|||
<item index="30" class="java.lang.String" itemvalue="boto3" /> |
|||
<item index="31" class="java.lang.String" itemvalue="pytorch-crf" /> |
|||
<item index="32" class="java.lang.String" itemvalue="regex" /> |
|||
<item index="33" class="java.lang.String" itemvalue="s3transfer" /> |
|||
<item index="34" class="java.lang.String" itemvalue="tensorboard" /> |
|||
<item index="35" class="java.lang.String" itemvalue="grpcio" /> |
|||
<item index="36" class="java.lang.String" itemvalue="olefile" /> |
|||
<item index="37" class="java.lang.String" itemvalue="idna" /> |
|||
<item index="38" class="java.lang.String" itemvalue="mkl-service" /> |
|||
<item index="39" class="java.lang.String" itemvalue="pytorch-pretrained-bert" /> |
|||
<item index="40" class="java.lang.String" itemvalue="scikit-learn" /> |
|||
</list> |
|||
</value> |
|||
</option> |
|||
</inspection_tool> |
|||
<inspection_tool class="PyUnresolvedReferencesInspection" enabled="true" level="WARNING" enabled_by_default="true"> |
|||
<option name="ignoredIdentifiers"> |
|||
<list> |
|||
<option value="dict.__getitem__" /> |
|||
</list> |
|||
</option> |
|||
</inspection_tool> |
|||
</profile> |
|||
</component> |
@ -0,0 +1,6 @@ |
|||
<component name="InspectionProjectProfileManager"> |
|||
<settings> |
|||
<option name="USE_PROJECT_PROFILE" value="false" /> |
|||
<version value="1.0" /> |
|||
</settings> |
|||
</component> |
@ -0,0 +1,4 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<project version="4"> |
|||
<component name="ProjectRootManager" version="2" project-jdk-name="Remote Python 3.9.16 (sftp://majiahui@104.244.90.248:28385/home/majiahui/miniconda3/envs/chatgpt/bin/python)" project-jdk-type="Python SDK" /> |
|||
</project> |
@ -0,0 +1,8 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<project version="4"> |
|||
<component name="ProjectModuleManager"> |
|||
<modules> |
|||
<module fileurl="file://$PROJECT_DIR$/.idea/ChatGPT_Sever.iml" filepath="$PROJECT_DIR$/.idea/ChatGPT_Sever.iml" /> |
|||
</modules> |
|||
</component> |
|||
</project> |
@ -0,0 +1,8 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<project version="4"> |
|||
<component name="SshConfigs"> |
|||
<configs> |
|||
<sshConfig authType="PASSWORD" host="104.244.90.248" id="88e52b8d-a70e-4743-9a44-06aaefa0048a" port="28385" nameFormat="DESCRIPTIVE" username="majiahui" useOpenSSHConfig="true" /> |
|||
</configs> |
|||
</component> |
|||
</project> |
@ -0,0 +1,6 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<project version="4"> |
|||
<component name="VcsDirectoryMappings"> |
|||
<mapping directory="$PROJECT_DIR$" vcs="Git" /> |
|||
</component> |
|||
</project> |
@ -0,0 +1,14 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<project version="4"> |
|||
<component name="WebServers"> |
|||
<option name="servers"> |
|||
<webServer id="c2e40908-9bb6-423b-a163-c99a15eb604c" name="chat"> |
|||
<fileTransfer rootFolder="/home/majiahui/ChatGPT_Sever" accessType="SFTP" host="104.244.90.248" port="28385" sshConfigId="88e52b8d-a70e-4743-9a44-06aaefa0048a" sshConfig="majiahui@104.244.90.248:28385 password"> |
|||
<advancedOptions> |
|||
<advancedOptions dataProtectionLevel="Private" keepAliveTimeout="0" passiveMode="true" shareSSLContext="true" /> |
|||
</advancedOptions> |
|||
</fileTransfer> |
|||
</webServer> |
|||
</option> |
|||
</component> |
|||
</project> |
@ -0,0 +1,585 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<project version="4"> |
|||
<component name="ChangeListManager"> |
|||
<list default="true" id="5dac27f6-2de9-4ccf-bf99-64c76347d9c5" name="Changes" comment="" /> |
|||
<option name="SHOW_DIALOG" value="false" /> |
|||
<option name="HIGHLIGHT_CONFLICTS" value="true" /> |
|||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> |
|||
<option name="LAST_RESOLUTION" value="IGNORE" /> |
|||
</component> |
|||
<component name="FileTemplateManagerImpl"> |
|||
<option name="RECENT_TEMPLATES"> |
|||
<list> |
|||
<option value="Python Script" /> |
|||
</list> |
|||
</option> |
|||
</component> |
|||
<component name="FlaskConsoleOptions" custom-start-script="import sys sys.path.extend([WORKING_DIR_AND_PYTHON_PATHS]) from flask.cli import ScriptInfo locals().update(ScriptInfo(create_app=None).load_app().make_shell_context()) print("Python %s on %s\nApp: %s [%s]\nInstance: %s" % (sys.version, sys.platform, app.import_name, app.env, app.instance_path))"> |
|||
<envs> |
|||
<env key="FLASK_APP" value="app" /> |
|||
</envs> |
|||
<option name="myCustomStartScript" value="import sys sys.path.extend([WORKING_DIR_AND_PYTHON_PATHS]) from flask.cli import ScriptInfo locals().update(ScriptInfo(create_app=None).load_app().make_shell_context()) print("Python %s on %s\nApp: %s [%s]\nInstance: %s" % (sys.version, sys.platform, app.import_name, app.env, app.instance_path))" /> |
|||
<option name="myEnvs"> |
|||
<map> |
|||
<entry key="FLASK_APP" value="app" /> |
|||
</map> |
|||
</option> |
|||
</component> |
|||
<component name="Git.Settings"> |
|||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> |
|||
</component> |
|||
<component name="MarkdownSettingsMigration"> |
|||
<option name="stateVersion" value="1" /> |
|||
</component> |
|||
<component name="ProjectId" id="2Njn2dOxJODubwxaMv6NVZgeQYH" /> |
|||
<component name="ProjectViewState"> |
|||
<option name="hideEmptyMiddlePackages" value="true" /> |
|||
<option name="showLibraryContents" value="true" /> |
|||
</component> |
|||
<component name="PropertiesComponent">{ |
|||
"keyToString": { |
|||
"RunOnceActivity.OpenProjectViewOnStart": "true", |
|||
"RunOnceActivity.ShowReadmeOnStart": "true", |
|||
"WebServerToolWindowFactoryState": "false", |
|||
"settings.editor.selected.configurable": "editor.preferences.fonts.default" |
|||
} |
|||
}</component> |
|||
<component name="RunManager" selected="Python.ceshisuo"> |
|||
<configuration name="ChatGPT_Sever" type="PythonConfigurationType" factoryName="Python"> |
|||
<module name="ChatGPT_Sever" /> |
|||
<option name="INTERPRETER_OPTIONS" value="" /> |
|||
<option name="PARENT_ENVS" value="true" /> |
|||
<envs> |
|||
<env name="PYTHONUNBUFFERED" value="1" /> |
|||
</envs> |
|||
<option name="SDK_HOME" value="sftp://majiahui@104.244.90.248:28385/home/majiahui/miniconda3/envs/chatgpt/bin/python" /> |
|||
<option name="WORKING_DIRECTORY" value="" /> |
|||
<option name="IS_MODULE_SDK" value="false" /> |
|||
<option name="ADD_CONTENT_ROOTS" value="true" /> |
|||
<option name="ADD_SOURCE_ROOTS" value="true" /> |
|||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> |
|||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/ceshi.py" /> |
|||
<option name="PARAMETERS" value="" /> |
|||
<option name="SHOW_COMMAND_LINE" value="false" /> |
|||
<option name="EMULATE_TERMINAL" value="false" /> |
|||
<option name="MODULE_MODE" value="false" /> |
|||
<option name="REDIRECT_INPUT" value="false" /> |
|||
<option name="INPUT_FILE" value="" /> |
|||
<method v="2" /> |
|||
</configuration> |
|||
<configuration name="GPT_service" type="PythonConfigurationType" factoryName="Python" nameIsGenerated="true"> |
|||
<module name="ChatGPT_Sever" /> |
|||
<option name="INTERPRETER_OPTIONS" value="" /> |
|||
<option name="PARENT_ENVS" value="true" /> |
|||
<envs> |
|||
<env name="PYTHONUNBUFFERED" value="1" /> |
|||
</envs> |
|||
<option name="SDK_HOME" value="sftp://majiahui@104.244.90.248:28385/home/majiahui/miniconda3/envs/chatgpt/bin/python" /> |
|||
<option name="WORKING_DIRECTORY" value="" /> |
|||
<option name="IS_MODULE_SDK" value="false" /> |
|||
<option name="ADD_CONTENT_ROOTS" value="true" /> |
|||
<option name="ADD_SOURCE_ROOTS" value="true" /> |
|||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> |
|||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/GPT_service.py" /> |
|||
<option name="PARAMETERS" value="" /> |
|||
<option name="SHOW_COMMAND_LINE" value="false" /> |
|||
<option name="EMULATE_TERMINAL" value="false" /> |
|||
<option name="MODULE_MODE" value="false" /> |
|||
<option name="REDIRECT_INPUT" value="false" /> |
|||
<option name="INPUT_FILE" value="" /> |
|||
<method v="2" /> |
|||
</configuration> |
|||
<configuration name="ceshiduojincheng" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> |
|||
<module name="ChatGPT_Sever" /> |
|||
<option name="INTERPRETER_OPTIONS" value="" /> |
|||
<option name="PARENT_ENVS" value="true" /> |
|||
<envs> |
|||
<env name="PYTHONUNBUFFERED" value="1" /> |
|||
</envs> |
|||
<option name="SDK_HOME" value="" /> |
|||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> |
|||
<option name="IS_MODULE_SDK" value="true" /> |
|||
<option name="ADD_CONTENT_ROOTS" value="true" /> |
|||
<option name="ADD_SOURCE_ROOTS" value="true" /> |
|||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> |
|||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/ceshiduojincheng.py" /> |
|||
<option name="PARAMETERS" value="" /> |
|||
<option name="SHOW_COMMAND_LINE" value="false" /> |
|||
<option name="EMULATE_TERMINAL" value="false" /> |
|||
<option name="MODULE_MODE" value="false" /> |
|||
<option name="REDIRECT_INPUT" value="false" /> |
|||
<option name="INPUT_FILE" value="" /> |
|||
<method v="2" /> |
|||
</configuration> |
|||
<configuration name="ceshiflask" type="PythonConfigurationType" factoryName="Python" nameIsGenerated="true"> |
|||
<module name="ChatGPT_Sever" /> |
|||
<option name="INTERPRETER_OPTIONS" value="" /> |
|||
<option name="PARENT_ENVS" value="true" /> |
|||
<envs> |
|||
<env name="PYTHONUNBUFFERED" value="1" /> |
|||
</envs> |
|||
<option name="SDK_HOME" value="sftp://majiahui@104.244.90.248:28385/home/majiahui/miniconda3/envs/chatgpt/bin/python" /> |
|||
<option name="WORKING_DIRECTORY" value="" /> |
|||
<option name="IS_MODULE_SDK" value="false" /> |
|||
<option name="ADD_CONTENT_ROOTS" value="true" /> |
|||
<option name="ADD_SOURCE_ROOTS" value="true" /> |
|||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> |
|||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/ceshiflask.py" /> |
|||
<option name="PARAMETERS" value="" /> |
|||
<option name="SHOW_COMMAND_LINE" value="false" /> |
|||
<option name="EMULATE_TERMINAL" value="false" /> |
|||
<option name="MODULE_MODE" value="false" /> |
|||
<option name="REDIRECT_INPUT" value="false" /> |
|||
<option name="INPUT_FILE" value="" /> |
|||
<method v="2" /> |
|||
</configuration> |
|||
<configuration name="ceshisuo" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> |
|||
<module name="ChatGPT_Sever" /> |
|||
<option name="INTERPRETER_OPTIONS" value="" /> |
|||
<option name="PARENT_ENVS" value="true" /> |
|||
<envs> |
|||
<env name="PYTHONUNBUFFERED" value="1" /> |
|||
</envs> |
|||
<option name="SDK_HOME" value="" /> |
|||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> |
|||
<option name="IS_MODULE_SDK" value="true" /> |
|||
<option name="ADD_CONTENT_ROOTS" value="true" /> |
|||
<option name="ADD_SOURCE_ROOTS" value="true" /> |
|||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> |
|||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/ceshisuo.py" /> |
|||
<option name="PARAMETERS" value="" /> |
|||
<option name="SHOW_COMMAND_LINE" value="false" /> |
|||
<option name="EMULATE_TERMINAL" value="false" /> |
|||
<option name="MODULE_MODE" value="false" /> |
|||
<option name="REDIRECT_INPUT" value="false" /> |
|||
<option name="INPUT_FILE" value="" /> |
|||
<method v="2" /> |
|||
</configuration> |
|||
<configuration name="cewshi" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> |
|||
<module name="ChatGPT_Sever" /> |
|||
<option name="INTERPRETER_OPTIONS" value="" /> |
|||
<option name="PARENT_ENVS" value="true" /> |
|||
<envs> |
|||
<env name="PYTHONUNBUFFERED" value="1" /> |
|||
</envs> |
|||
<option name="SDK_HOME" value="" /> |
|||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> |
|||
<option name="IS_MODULE_SDK" value="true" /> |
|||
<option name="ADD_CONTENT_ROOTS" value="true" /> |
|||
<option name="ADD_SOURCE_ROOTS" value="true" /> |
|||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> |
|||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/cewshi.py" /> |
|||
<option name="PARAMETERS" value="" /> |
|||
<option name="SHOW_COMMAND_LINE" value="false" /> |
|||
<option name="EMULATE_TERMINAL" value="false" /> |
|||
<option name="MODULE_MODE" value="false" /> |
|||
<option name="REDIRECT_INPUT" value="false" /> |
|||
<option name="INPUT_FILE" value="" /> |
|||
<method v="2" /> |
|||
</configuration> |
|||
<configuration name="flask_serves" type="PythonConfigurationType" factoryName="Python" nameIsGenerated="true"> |
|||
<module name="ChatGPT_Sever" /> |
|||
<option name="INTERPRETER_OPTIONS" value="" /> |
|||
<option name="PARENT_ENVS" value="true" /> |
|||
<envs> |
|||
<env name="PYTHONUNBUFFERED" value="1" /> |
|||
</envs> |
|||
<option name="SDK_HOME" value="sftp://majiahui@104.244.90.248:28385/home/majiahui/miniconda3/envs/chatgpt/bin/python" /> |
|||
<option name="WORKING_DIRECTORY" value="" /> |
|||
<option name="IS_MODULE_SDK" value="false" /> |
|||
<option name="ADD_CONTENT_ROOTS" value="true" /> |
|||
<option name="ADD_SOURCE_ROOTS" value="true" /> |
|||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> |
|||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/flask_serves.py" /> |
|||
<option name="PARAMETERS" value="" /> |
|||
<option name="SHOW_COMMAND_LINE" value="false" /> |
|||
<option name="EMULATE_TERMINAL" value="false" /> |
|||
<option name="MODULE_MODE" value="false" /> |
|||
<option name="REDIRECT_INPUT" value="false" /> |
|||
<option name="INPUT_FILE" value="" /> |
|||
<method v="2" /> |
|||
</configuration> |
|||
<configuration name="lock_flask" type="PythonConfigurationType" factoryName="Python" nameIsGenerated="true"> |
|||
<module name="ChatGPT_Sever" /> |
|||
<option name="INTERPRETER_OPTIONS" value="" /> |
|||
<option name="PARENT_ENVS" value="true" /> |
|||
<envs> |
|||
<env name="PYTHONUNBUFFERED" value="1" /> |
|||
</envs> |
|||
<option name="SDK_HOME" value="sftp://majiahui@104.244.90.248:28385/home/majiahui/miniconda3/envs/chatgpt/bin/python" /> |
|||
<option name="WORKING_DIRECTORY" value="" /> |
|||
<option name="IS_MODULE_SDK" value="false" /> |
|||
<option name="ADD_CONTENT_ROOTS" value="true" /> |
|||
<option name="ADD_SOURCE_ROOTS" value="true" /> |
|||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> |
|||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/lock_flask.py" /> |
|||
<option name="PARAMETERS" value="" /> |
|||
<option name="SHOW_COMMAND_LINE" value="false" /> |
|||
<option name="EMULATE_TERMINAL" value="false" /> |
|||
<option name="MODULE_MODE" value="false" /> |
|||
<option name="REDIRECT_INPUT" value="false" /> |
|||
<option name="INPUT_FILE" value="" /> |
|||
<method v="2" /> |
|||
</configuration> |
|||
<configuration name="测试生成uuid" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> |
|||
<module name="ChatGPT_Sever" /> |
|||
<option name="INTERPRETER_OPTIONS" value="" /> |
|||
<option name="PARENT_ENVS" value="true" /> |
|||
<envs> |
|||
<env name="PYTHONUNBUFFERED" value="1" /> |
|||
</envs> |
|||
<option name="SDK_HOME" value="" /> |
|||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> |
|||
<option name="IS_MODULE_SDK" value="true" /> |
|||
<option name="ADD_CONTENT_ROOTS" value="true" /> |
|||
<option name="ADD_SOURCE_ROOTS" value="true" /> |
|||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> |
|||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/测试生成uuid.py" /> |
|||
<option name="PARAMETERS" value="" /> |
|||
<option name="SHOW_COMMAND_LINE" value="false" /> |
|||
<option name="EMULATE_TERMINAL" value="false" /> |
|||
<option name="MODULE_MODE" value="false" /> |
|||
<option name="REDIRECT_INPUT" value="false" /> |
|||
<option name="INPUT_FILE" value="" /> |
|||
<method v="2" /> |
|||
</configuration> |
|||
<configuration name="查询uuid" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> |
|||
<module name="ChatGPT_Sever" /> |
|||
<option name="INTERPRETER_OPTIONS" value="" /> |
|||
<option name="PARENT_ENVS" value="true" /> |
|||
<envs> |
|||
<env name="PYTHONUNBUFFERED" value="1" /> |
|||
</envs> |
|||
<option name="SDK_HOME" value="" /> |
|||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> |
|||
<option name="IS_MODULE_SDK" value="true" /> |
|||
<option name="ADD_CONTENT_ROOTS" value="true" /> |
|||
<option name="ADD_SOURCE_ROOTS" value="true" /> |
|||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> |
|||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/查询uuid.py" /> |
|||
<option name="PARAMETERS" value="" /> |
|||
<option name="SHOW_COMMAND_LINE" value="false" /> |
|||
<option name="EMULATE_TERMINAL" value="false" /> |
|||
<option name="MODULE_MODE" value="false" /> |
|||
<option name="REDIRECT_INPUT" value="false" /> |
|||
<option name="INPUT_FILE" value="" /> |
|||
<method v="2" /> |
|||
</configuration> |
|||
<configuration name="查询uuid" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> |
|||
<module name="ChatGPT_Sever" /> |
|||
<option name="INTERPRETER_OPTIONS" value="" /> |
|||
<option name="PARENT_ENVS" value="true" /> |
|||
<envs> |
|||
<env name="PYTHONUNBUFFERED" value="1" /> |
|||
</envs> |
|||
<option name="SDK_HOME" value="" /> |
|||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> |
|||
<option name="IS_MODULE_SDK" value="true" /> |
|||
<option name="ADD_CONTENT_ROOTS" value="true" /> |
|||
<option name="ADD_SOURCE_ROOTS" value="true" /> |
|||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> |
|||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/查询uuid.py" /> |
|||
<option name="PARAMETERS" value="" /> |
|||
<option name="SHOW_COMMAND_LINE" value="false" /> |
|||
<option name="EMULATE_TERMINAL" value="false" /> |
|||
<option name="MODULE_MODE" value="false" /> |
|||
<option name="REDIRECT_INPUT" value="false" /> |
|||
<option name="INPUT_FILE" value="" /> |
|||
<method v="2" /> |
|||
</configuration> |
|||
<configuration name="查询uuid" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> |
|||
<module name="ChatGPT_Sever" /> |
|||
<option name="INTERPRETER_OPTIONS" value="" /> |
|||
<option name="PARENT_ENVS" value="true" /> |
|||
<envs> |
|||
<env name="PYTHONUNBUFFERED" value="1" /> |
|||
</envs> |
|||
<option name="SDK_HOME" value="" /> |
|||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> |
|||
<option name="IS_MODULE_SDK" value="true" /> |
|||
<option name="ADD_CONTENT_ROOTS" value="true" /> |
|||
<option name="ADD_SOURCE_ROOTS" value="true" /> |
|||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> |
|||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/查询uuid.py" /> |
|||
<option name="PARAMETERS" value="" /> |
|||
<option name="SHOW_COMMAND_LINE" value="false" /> |
|||
<option name="EMULATE_TERMINAL" value="false" /> |
|||
<option name="MODULE_MODE" value="false" /> |
|||
<option name="REDIRECT_INPUT" value="false" /> |
|||
<option name="INPUT_FILE" value="" /> |
|||
<method v="2" /> |
|||
</configuration> |
|||
<configuration name="查询uuid" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> |
|||
<module name="ChatGPT_Sever" /> |
|||
<option name="INTERPRETER_OPTIONS" value="" /> |
|||
<option name="PARENT_ENVS" value="true" /> |
|||
<envs> |
|||
<env name="PYTHONUNBUFFERED" value="1" /> |
|||
</envs> |
|||
<option name="SDK_HOME" value="" /> |
|||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> |
|||
<option name="IS_MODULE_SDK" value="true" /> |
|||
<option name="ADD_CONTENT_ROOTS" value="true" /> |
|||
<option name="ADD_SOURCE_ROOTS" value="true" /> |
|||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> |
|||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/查询uuid.py" /> |
|||
<option name="PARAMETERS" value="" /> |
|||
<option name="SHOW_COMMAND_LINE" value="false" /> |
|||
<option name="EMULATE_TERMINAL" value="false" /> |
|||
<option name="MODULE_MODE" value="false" /> |
|||
<option name="REDIRECT_INPUT" value="false" /> |
|||
<option name="INPUT_FILE" value="" /> |
|||
<method v="2" /> |
|||
</configuration> |
|||
<configuration name="查询uuid" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> |
|||
<module name="ChatGPT_Sever" /> |
|||
<option name="INTERPRETER_OPTIONS" value="" /> |
|||
<option name="PARENT_ENVS" value="true" /> |
|||
<envs> |
|||
<env name="PYTHONUNBUFFERED" value="1" /> |
|||
</envs> |
|||
<option name="SDK_HOME" value="" /> |
|||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> |
|||
<option name="IS_MODULE_SDK" value="true" /> |
|||
<option name="ADD_CONTENT_ROOTS" value="true" /> |
|||
<option name="ADD_SOURCE_ROOTS" value="true" /> |
|||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> |
|||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/查询uuid.py" /> |
|||
<option name="PARAMETERS" value="" /> |
|||
<option name="SHOW_COMMAND_LINE" value="false" /> |
|||
<option name="EMULATE_TERMINAL" value="false" /> |
|||
<option name="MODULE_MODE" value="false" /> |
|||
<option name="REDIRECT_INPUT" value="false" /> |
|||
<option name="INPUT_FILE" value="" /> |
|||
<method v="2" /> |
|||
</configuration> |
|||
<configuration name="查询uuid" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> |
|||
<module name="ChatGPT_Sever" /> |
|||
<option name="INTERPRETER_OPTIONS" value="" /> |
|||
<option name="PARENT_ENVS" value="true" /> |
|||
<envs> |
|||
<env name="PYTHONUNBUFFERED" value="1" /> |
|||
</envs> |
|||
<option name="SDK_HOME" value="" /> |
|||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> |
|||
<option name="IS_MODULE_SDK" value="true" /> |
|||
<option name="ADD_CONTENT_ROOTS" value="true" /> |
|||
<option name="ADD_SOURCE_ROOTS" value="true" /> |
|||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> |
|||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/查询uuid.py" /> |
|||
<option name="PARAMETERS" value="" /> |
|||
<option name="SHOW_COMMAND_LINE" value="false" /> |
|||
<option name="EMULATE_TERMINAL" value="false" /> |
|||
<option name="MODULE_MODE" value="false" /> |
|||
<option name="REDIRECT_INPUT" value="false" /> |
|||
<option name="INPUT_FILE" value="" /> |
|||
<method v="2" /> |
|||
</configuration> |
|||
<configuration name="查询uuid" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> |
|||
<module name="ChatGPT_Sever" /> |
|||
<option name="INTERPRETER_OPTIONS" value="" /> |
|||
<option name="PARENT_ENVS" value="true" /> |
|||
<envs> |
|||
<env name="PYTHONUNBUFFERED" value="1" /> |
|||
</envs> |
|||
<option name="SDK_HOME" value="" /> |
|||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> |
|||
<option name="IS_MODULE_SDK" value="true" /> |
|||
<option name="ADD_CONTENT_ROOTS" value="true" /> |
|||
<option name="ADD_SOURCE_ROOTS" value="true" /> |
|||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> |
|||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/查询uuid.py" /> |
|||
<option name="PARAMETERS" value="" /> |
|||
<option name="SHOW_COMMAND_LINE" value="false" /> |
|||
<option name="EMULATE_TERMINAL" value="false" /> |
|||
<option name="MODULE_MODE" value="false" /> |
|||
<option name="REDIRECT_INPUT" value="false" /> |
|||
<option name="INPUT_FILE" value="" /> |
|||
<method v="2" /> |
|||
</configuration> |
|||
<list> |
|||
<item itemvalue="Python.lock_flask" /> |
|||
<item itemvalue="Python.ceshiflask" /> |
|||
<item itemvalue="Python.GPT_service" /> |
|||
<item itemvalue="Python.ChatGPT_Sever" /> |
|||
<item itemvalue="Python.flask_serves" /> |
|||
<item itemvalue="Python.ceshiduojincheng" /> |
|||
<item itemvalue="Python.cewshi" /> |
|||
<item itemvalue="Python.ceshisuo" /> |
|||
<item itemvalue="Python.测试生成uuid" /> |
|||
</list> |
|||
<recent_temporary> |
|||
<list> |
|||
<item itemvalue="Python.ceshisuo" /> |
|||
<item itemvalue="Python.cewshi" /> |
|||
<item itemvalue="Python.测试生成uuid" /> |
|||
<item itemvalue="Python.ceshiduojincheng" /> |
|||
</list> |
|||
</recent_temporary> |
|||
</component> |
|||
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" /> |
|||
<component name="TaskManager"> |
|||
<task active="true" id="Default" summary="Default task"> |
|||
<changelist id="5dac27f6-2de9-4ccf-bf99-64c76347d9c5" name="Changes" comment="" /> |
|||
<created>1680186154635</created> |
|||
<option name="number" value="Default" /> |
|||
<option name="presentableId" value="Default" /> |
|||
<updated>1680186154635</updated> |
|||
<workItem from="1680186155960" duration="44000" /> |
|||
<workItem from="1680186252682" duration="76000" /> |
|||
<workItem from="1680187011247" duration="2860000" /> |
|||
<workItem from="1680190470839" duration="1571000" /> |
|||
<workItem from="1680192068556" duration="26925000" /> |
|||
<workItem from="1680255743971" duration="1828000" /> |
|||
<workItem from="1680257608620" duration="2800000" /> |
|||
<workItem from="1680324547348" duration="831000" /> |
|||
<workItem from="1680332482179" duration="4581000" /> |
|||
<workItem from="1680366200395" duration="1500000" /> |
|||
<workItem from="1680409042412" duration="4429000" /> |
|||
<workItem from="1680421437562" duration="496000" /> |
|||
<workItem from="1680438141204" duration="21342000" /> |
|||
<workItem from="1680510884151" duration="586000" /> |
|||
</task> |
|||
<servers /> |
|||
</component> |
|||
<component name="TypeScriptGeneratedFilesManager"> |
|||
<option name="version" value="3" /> |
|||
</component> |
|||
<component name="XDebuggerManager"> |
|||
<breakpoint-manager> |
|||
<breakpoints> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>301</line> |
|||
<option name="timeStamp" value="2" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>79</line> |
|||
<option name="timeStamp" value="5" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>114</line> |
|||
<option name="timeStamp" value="6" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>204</line> |
|||
<option name="timeStamp" value="8" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>206</line> |
|||
<option name="timeStamp" value="9" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>122</line> |
|||
<option name="timeStamp" value="10" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>208</line> |
|||
<option name="timeStamp" value="12" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>209</line> |
|||
<option name="timeStamp" value="13" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>197</line> |
|||
<option name="timeStamp" value="14" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>112</line> |
|||
<option name="timeStamp" value="16" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>111</line> |
|||
<option name="timeStamp" value="17" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>199</line> |
|||
<option name="timeStamp" value="19" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>318</line> |
|||
<option name="timeStamp" value="20" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>317</line> |
|||
<option name="timeStamp" value="21" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>316</line> |
|||
<option name="timeStamp" value="22" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>312</line> |
|||
<option name="timeStamp" value="23" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>320</line> |
|||
<option name="timeStamp" value="24" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>321</line> |
|||
<option name="timeStamp" value="25" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>322</line> |
|||
<option name="timeStamp" value="26" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>323</line> |
|||
<option name="timeStamp" value="27" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>324</line> |
|||
<option name="timeStamp" value="28" /> |
|||
</line-breakpoint> |
|||
<line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
|||
<url>file://$PROJECT_DIR$/flask_serves.py</url> |
|||
<line>143</line> |
|||
<option name="timeStamp" value="36" /> |
|||
</line-breakpoint> |
|||
</breakpoints> |
|||
</breakpoint-manager> |
|||
</component> |
|||
<component name="com.intellij.coverage.CoverageDataManagerImpl"> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$.coverage" NAME="下载文件 Coverage Results" MODIFIED="1680334642118" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" /> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$uuid.coverage" NAME="查询uuid Coverage Results" MODIFIED="1680506852264" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" /> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$ceshi.coverage" NAME="ceshi正则 Coverage Results" MODIFIED="1680245547162" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" /> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$lock_flask.coverage" NAME="lock_flask Coverage Results" MODIFIED="1680504278301" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="" /> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$Flask__flask_serves_py_.coverage" NAME="Flask (flask_serves.py) Coverage Results" MODIFIED="1680224653637" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="" /> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$diaoyong_gpt_3.coverage" NAME="diaoyong_gpt-3 Coverage Results" MODIFIED="1680413670454" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" /> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$Flask__GPT_service_py_.coverage" NAME="Flask (GPT_service.py) Coverage Results" MODIFIED="1680191382503" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="" /> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$GPT_service.coverage" NAME="GPT_service Coverage Results" MODIFIED="1680439068329" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="" /> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$jar_bagk.coverage" NAME="jar_bagk Coverage Results" MODIFIED="1680256965020" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" /> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$Flask__ceshiflask_py_.coverage" NAME="Flask (ceshiflask.py) Coverage Results" MODIFIED="1680334430007" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="" /> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$flask_serves.coverage" NAME="flask_serves Coverage Results" MODIFIED="1680492218263" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="" /> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$ceshishengcehngpath.coverage" NAME="ceshishengcehngpath Coverage Results" MODIFIED="1680236688849" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" /> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$cewshi.coverage" NAME="cewshi Coverage Results" MODIFIED="1680509846740" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" /> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$Flask__lock_flask_py_.coverage" NAME="Flask (lock_flask.py) Coverage Results" MODIFIED="1680494176187" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="" /> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$ceshiflask.coverage" NAME="ceshiflask Coverage Results" MODIFIED="1680336319266" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="" /> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$ceshibianma.coverage" NAME="ceshibianma Coverage Results" MODIFIED="1680255589158" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" /> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$ceshi_chat.coverage" NAME="ceshi_chat Coverage Results" MODIFIED="1680439193947" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" /> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$ceshiduojincheng.coverage" NAME="ceshiduojincheng Coverage Results" MODIFIED="1680502039974" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" /> |
|||
<SUITE FILE_PATH="coverage/ChatGPT_Sever$ceshisuo.coverage" NAME="ceshisuo Coverage Results" MODIFIED="1680511457852" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" /> |
|||
</component> |
|||
</project> |
@ -0,0 +1,57 @@ |
|||
#!/usr/bin/env python |
|||
# -*- coding: utf-8 -*- |
|||
''' |
|||
@Time : 2023/3/26 18:38 |
|||
@Author : ZhangYuPeng |
|||
@Email : zhangyupeng@bonc.com.cn |
|||
@File : GPT_service.py |
|||
@Software: PyCharm |
|||
|
|||
''' |
|||
import openai |
|||
from flask import Flask |
|||
from flask import request, jsonify |
|||
|
|||
# openai.api_key = "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" |
|||
openai.api_key = "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" |
|||
|
|||
# def chat_drop(): |
|||
# openai.api_key = "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" |
|||
# res = openai.ChatCompletion.create( |
|||
# model="gpt-3.5-turbo", |
|||
# messages=[ |
|||
# {"role": "user", "content": "请帮我改写这句话:在城市发展进程当中,逐渐呈现出一些综合性的大型建筑群。"}, |
|||
# {"role": "assistant", "content": "随着城市的发展,综合性大型建筑群正在逐渐出现。"}, |
|||
# {"role": "user", "content": "这句话我不满意,再改一下帮我"} |
|||
# ], |
|||
# temperature=0.5, |
|||
# top_p=1, |
|||
# ) |
|||
# print(res.choices[0].message.content) |
|||
|
|||
|
|||
|
|||
app = Flask(__name__) |
|||
|
|||
|
|||
@app.route("/chatgpt", methods=['POST', 'GET']) |
|||
def index(): |
|||
print(request.remote_addr, request.remote_user) |
|||
prompt = request.json["prompt"] |
|||
|
|||
response = openai.ChatCompletion.create( |
|||
model="gpt-3.5-turbo", |
|||
messages=[ |
|||
{"role": "user", "content": "请帮我改写这句话:在城市发展进程当中,逐渐呈现出一些综合性的大型建筑群。"}, |
|||
{"role": "assistant", "content": "随着城市的发展,综合性大型建筑群正在逐渐出现。"}, |
|||
{"role": "user", "content": prompt} |
|||
], |
|||
) |
|||
message = response.choices[0].message.content |
|||
return message |
|||
|
|||
|
|||
if __name__ == '__main__': |
|||
app.run('0.0.0.0', port=9999, debug=True) |
|||
|
|||
|
@ -0,0 +1,2 @@ |
|||
Files in this folder are to enhance backwards compatibility of anaconda software with older compilers. |
|||
See: https://github.com/conda/conda/issues/6030 for more information. |
Binary file not shown.
@ -0,0 +1,31 @@ |
|||
{ |
|||
"build": "main", |
|||
"build_number": 0, |
|||
"channel": "https://repo.anaconda.com/pkgs/main/linux-64", |
|||
"constrains": [], |
|||
"depends": [], |
|||
"extracted_package_dir": "/home/majiahui/miniconda3/pkgs/_libgcc_mutex-0.1-main", |
|||
"features": "", |
|||
"files": [], |
|||
"fn": "_libgcc_mutex-0.1-main.conda", |
|||
"legacy_bz2_md5": "013d3f22cd3b87f71224bd936765bcad", |
|||
"link": { |
|||
"source": "/home/majiahui/miniconda3/pkgs/_libgcc_mutex-0.1-main", |
|||
"type": 1 |
|||
}, |
|||
"md5": "c3473ff8bdb3d124ed5ff11ec380d6f9", |
|||
"name": "_libgcc_mutex", |
|||
"package_tarball_full_path": "/home/majiahui/miniconda3/pkgs/_libgcc_mutex-0.1-main.conda", |
|||
"paths_data": { |
|||
"paths": [], |
|||
"paths_version": 1 |
|||
}, |
|||
"requested_spec": "None", |
|||
"sha256": "476626712f60e5ef0fe04c354727152b1ee5285d57ccd3575c7be930122bd051", |
|||
"size": 3473, |
|||
"subdir": "linux-64", |
|||
"timestamp": 1562011674792, |
|||
"track_features": "", |
|||
"url": "https://repo.anaconda.com/pkgs/main/linux-64/_libgcc_mutex-0.1-main.conda", |
|||
"version": "0.1" |
|||
} |
@ -0,0 +1,46 @@ |
|||
{ |
|||
"build": "1_gnu", |
|||
"build_number": 0, |
|||
"channel": "https://repo.anaconda.com/pkgs/main/linux-64", |
|||
"constrains": [ |
|||
"openmp_impl 9999" |
|||
], |
|||
"depends": [ |
|||
"_libgcc_mutex 0.1 main", |
|||
"libgomp >=7.5.0" |
|||
], |
|||
"extracted_package_dir": "/home/majiahui/miniconda3/pkgs/_openmp_mutex-5.1-1_gnu", |
|||
"features": "", |
|||
"files": [ |
|||
"lib/libgomp.so.1" |
|||
], |
|||
"fn": "_openmp_mutex-5.1-1_gnu.conda", |
|||
"legacy_bz2_md5": "613805add1c05b538ff06d217252feb7", |
|||
"license": "BSD-3-Clause", |
|||
"link": { |
|||
"source": "/home/majiahui/miniconda3/pkgs/_openmp_mutex-5.1-1_gnu", |
|||
"type": 1 |
|||
}, |
|||
"md5": "71d281e9c2192cb3fa425655a8defb85", |
|||
"name": "_openmp_mutex", |
|||
"package_tarball_full_path": "/home/majiahui/miniconda3/pkgs/_openmp_mutex-5.1-1_gnu.conda", |
|||
"paths_data": { |
|||
"paths": [ |
|||
{ |
|||
"_path": "lib/libgomp.so.1", |
|||
"path_type": "softlink", |
|||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", |
|||
"size_in_bytes": 0 |
|||
} |
|||
], |
|||
"paths_version": 1 |
|||
}, |
|||
"requested_spec": "None", |
|||
"sha256": "576011048d23f2e03372263493c5529f802286ff53e8426df99a5b11cc2572f3", |
|||
"size": 21315, |
|||
"subdir": "linux-64", |
|||
"timestamp": 1652859733309, |
|||
"track_features": "", |
|||
"url": "https://repo.anaconda.com/pkgs/main/linux-64/_openmp_mutex-5.1-1_gnu.conda", |
|||
"version": "5.1" |
|||
} |
@ -0,0 +1,50 @@ |
|||
{ |
|||
"build": "h06a4308_0", |
|||
"build_number": 0, |
|||
"channel": "https://repo.anaconda.com/pkgs/main/linux-64", |
|||
"constrains": [], |
|||
"depends": [], |
|||
"extracted_package_dir": "/home/majiahui/miniconda3/pkgs/ca-certificates-2023.01.10-h06a4308_0", |
|||
"features": "", |
|||
"files": [ |
|||
"ssl/cacert.pem", |
|||
"ssl/cert.pem" |
|||
], |
|||
"fn": "ca-certificates-2023.01.10-h06a4308_0.conda", |
|||
"legacy_bz2_md5": "5cc97953b9c0731a4e4624761f93b255", |
|||
"license": "MPL-2.0", |
|||
"license_family": "Other", |
|||
"link": { |
|||
"source": "/home/majiahui/miniconda3/pkgs/ca-certificates-2023.01.10-h06a4308_0", |
|||
"type": 1 |
|||
}, |
|||
"md5": "7704989a2ccf6c1f5a50c985509841c4", |
|||
"name": "ca-certificates", |
|||
"package_tarball_full_path": "/home/majiahui/miniconda3/pkgs/ca-certificates-2023.01.10-h06a4308_0.conda", |
|||
"paths_data": { |
|||
"paths": [ |
|||
{ |
|||
"_path": "ssl/cacert.pem", |
|||
"path_type": "hardlink", |
|||
"sha256": "fb1ecd641d0a02c01bc9036d513cb658bbda62a75e246bedbc01764560a639f0", |
|||
"sha256_in_prefix": "fb1ecd641d0a02c01bc9036d513cb658bbda62a75e246bedbc01764560a639f0", |
|||
"size_in_bytes": 216583 |
|||
}, |
|||
{ |
|||
"_path": "ssl/cert.pem", |
|||
"path_type": "softlink", |
|||
"sha256": "fb1ecd641d0a02c01bc9036d513cb658bbda62a75e246bedbc01764560a639f0", |
|||
"size_in_bytes": 216583 |
|||
} |
|||
], |
|||
"paths_version": 1 |
|||
}, |
|||
"requested_spec": "None", |
|||
"sha256": "55b0c8de2a7a4a0d82b8f4a27d0ef60ba4bed5bf7c907090442f1b42279149e9", |
|||
"size": 122761, |
|||
"subdir": "linux-64", |
|||
"timestamp": 1674218473994, |
|||
"track_features": "", |
|||
"url": "https://repo.anaconda.com/pkgs/main/linux-64/ca-certificates-2023.01.10-h06a4308_0.conda", |
|||
"version": "2023.01.10" |
|||
} |
@ -0,0 +1,165 @@ |
|||
{ |
|||
"build": "py39h06a4308_0", |
|||
"build_number": 0, |
|||
"channel": "https://repo.anaconda.com/pkgs/main/linux-64", |
|||
"constrains": [], |
|||
"depends": [ |
|||
"python >=3.9,<3.10.0a0" |
|||
], |
|||
"extracted_package_dir": "/home/majiahui/miniconda3/pkgs/certifi-2022.12.7-py39h06a4308_0", |
|||
"features": "", |
|||
"files": [ |
|||
"lib/python3.9/site-packages/certifi-2022.12.7.dist-info/INSTALLER", |
|||
"lib/python3.9/site-packages/certifi-2022.12.7.dist-info/LICENSE", |
|||
"lib/python3.9/site-packages/certifi-2022.12.7.dist-info/METADATA", |
|||
"lib/python3.9/site-packages/certifi-2022.12.7.dist-info/RECORD", |
|||
"lib/python3.9/site-packages/certifi-2022.12.7.dist-info/REQUESTED", |
|||
"lib/python3.9/site-packages/certifi-2022.12.7.dist-info/WHEEL", |
|||
"lib/python3.9/site-packages/certifi-2022.12.7.dist-info/direct_url.json", |
|||
"lib/python3.9/site-packages/certifi-2022.12.7.dist-info/top_level.txt", |
|||
"lib/python3.9/site-packages/certifi/__init__.py", |
|||
"lib/python3.9/site-packages/certifi/__main__.py", |
|||
"lib/python3.9/site-packages/certifi/__pycache__/__init__.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/certifi/__pycache__/__main__.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/certifi/__pycache__/core.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/certifi/cacert.pem", |
|||
"lib/python3.9/site-packages/certifi/core.py", |
|||
"lib/python3.9/site-packages/certifi/py.typed" |
|||
], |
|||
"fn": "certifi-2022.12.7-py39h06a4308_0.conda", |
|||
"legacy_bz2_md5": "ceb351da30f1d170f7d8d719fc53bbea", |
|||
"license": "MPL-2.0", |
|||
"license_family": "Other", |
|||
"link": { |
|||
"source": "/home/majiahui/miniconda3/pkgs/certifi-2022.12.7-py39h06a4308_0", |
|||
"type": 1 |
|||
}, |
|||
"md5": "b4238d910e43d09651eebe8db79b5c68", |
|||
"name": "certifi", |
|||
"package_tarball_full_path": "/home/majiahui/miniconda3/pkgs/certifi-2022.12.7-py39h06a4308_0.conda", |
|||
"paths_data": { |
|||
"paths": [ |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/certifi-2022.12.7.dist-info/INSTALLER", |
|||
"path_type": "hardlink", |
|||
"sha256": "d0edee15f91b406f3f99726e44eb990be6e34fd0345b52b910c568e0eef6a2a8", |
|||
"sha256_in_prefix": "d0edee15f91b406f3f99726e44eb990be6e34fd0345b52b910c568e0eef6a2a8", |
|||
"size_in_bytes": 5 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/certifi-2022.12.7.dist-info/LICENSE", |
|||
"path_type": "hardlink", |
|||
"sha256": "a02f6c638f9fb84d06f7764c3ab085d8af7eda5b93c166da54312479077c6fb0", |
|||
"sha256_in_prefix": "a02f6c638f9fb84d06f7764c3ab085d8af7eda5b93c166da54312479077c6fb0", |
|||
"size_in_bytes": 1052 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/certifi-2022.12.7.dist-info/METADATA", |
|||
"path_type": "hardlink", |
|||
"sha256": "7ff1bb9aeb83b81690f4fffffa4b08decbc07715f9963929fb23485f4f0f3952", |
|||
"sha256_in_prefix": "7ff1bb9aeb83b81690f4fffffa4b08decbc07715f9963929fb23485f4f0f3952", |
|||
"size_in_bytes": 2889 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/certifi-2022.12.7.dist-info/RECORD", |
|||
"path_type": "hardlink", |
|||
"sha256": "b3214d6fde7fbc56638808279a1840a47355259dbd308afdb64e1458c534e54a", |
|||
"sha256_in_prefix": "b3214d6fde7fbc56638808279a1840a47355259dbd308afdb64e1458c534e54a", |
|||
"size_in_bytes": 1203 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/certifi-2022.12.7.dist-info/REQUESTED", |
|||
"path_type": "hardlink", |
|||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", |
|||
"sha256_in_prefix": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", |
|||
"size_in_bytes": 0 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/certifi-2022.12.7.dist-info/WHEEL", |
|||
"path_type": "hardlink", |
|||
"sha256": "1b5e87e00dc87a84269cead8578b9e6462928e18a95f1f3373c9eef451a5bcc0", |
|||
"sha256_in_prefix": "1b5e87e00dc87a84269cead8578b9e6462928e18a95f1f3373c9eef451a5bcc0", |
|||
"size_in_bytes": 92 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/certifi-2022.12.7.dist-info/direct_url.json", |
|||
"path_type": "hardlink", |
|||
"sha256": "fcbc46bcade341756288dff3ca1a824ea5eb17969d57c6d4615c0c06eb62454b", |
|||
"sha256_in_prefix": "fcbc46bcade341756288dff3ca1a824ea5eb17969d57c6d4615c0c06eb62454b", |
|||
"size_in_bytes": 75 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/certifi-2022.12.7.dist-info/top_level.txt", |
|||
"path_type": "hardlink", |
|||
"sha256": "28cbb8bd409fb232eb90f6d235d81d7a44bea552730402453bffe723c345ebe5", |
|||
"sha256_in_prefix": "28cbb8bd409fb232eb90f6d235d81d7a44bea552730402453bffe723c345ebe5", |
|||
"size_in_bytes": 8 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/certifi/__init__.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "6cafe79bd6cb27336f599736a197624f08362960f81d23c158668cd33503bccc", |
|||
"sha256_in_prefix": "6cafe79bd6cb27336f599736a197624f08362960f81d23c158668cd33503bccc", |
|||
"size_in_bytes": 94 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/certifi/__main__.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "c410688fdd394d45812d118034e71fee88ba7beddd30fe1c1281bd3b232cd758", |
|||
"sha256_in_prefix": "c410688fdd394d45812d118034e71fee88ba7beddd30fe1c1281bd3b232cd758", |
|||
"size_in_bytes": 243 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/certifi/__pycache__/__init__.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "53e57a77cb8d8b48a7afb25f3b378a0fee7b3ee9cb3696a27cacf3a6dbc621d5", |
|||
"sha256_in_prefix": "53e57a77cb8d8b48a7afb25f3b378a0fee7b3ee9cb3696a27cacf3a6dbc621d5", |
|||
"size_in_bytes": 251 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/certifi/__pycache__/__main__.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "5905979b2a3d346d3c68e78959459d2eb53f84b5dc58defb499e393028e0c165", |
|||
"sha256_in_prefix": "5905979b2a3d346d3c68e78959459d2eb53f84b5dc58defb499e393028e0c165", |
|||
"size_in_bytes": 387 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/certifi/__pycache__/core.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "750f70dd2b545e2cd547c14112e6f5b97e0d679a7832332083539eb46f147051", |
|||
"sha256_in_prefix": "750f70dd2b545e2cd547c14112e6f5b97e0d679a7832332083539eb46f147051", |
|||
"size_in_bytes": 1858 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/certifi/cacert.pem", |
|||
"path_type": "hardlink", |
|||
"sha256": "2c11c3ce08ffc40d390319c72bc10d4f908e9c634494d65ed2cbc550731fd524", |
|||
"sha256_in_prefix": "2c11c3ce08ffc40d390319c72bc10d4f908e9c634494d65ed2cbc550731fd524", |
|||
"size_in_bytes": 275233 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/certifi/core.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "9617b0cf4cc56f66f850bb10bab1259a5a18c10a1e7235b33ea63aecff13ee23", |
|||
"sha256_in_prefix": "9617b0cf4cc56f66f850bb10bab1259a5a18c10a1e7235b33ea63aecff13ee23", |
|||
"size_in_bytes": 4219 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/certifi/py.typed", |
|||
"path_type": "hardlink", |
|||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", |
|||
"sha256_in_prefix": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", |
|||
"size_in_bytes": 0 |
|||
} |
|||
], |
|||
"paths_version": 1 |
|||
}, |
|||
"requested_spec": "None", |
|||
"sha256": "ba656c279d0c733ceb5fa1201f4a02ca525e73b7e963b6709f9f878e5bc8ede5", |
|||
"size": 153500, |
|||
"subdir": "linux-64", |
|||
"timestamp": 1671487870106, |
|||
"track_features": "", |
|||
"url": "https://repo.anaconda.com/pkgs/main/linux-64/certifi-2022.12.7-py39h06a4308_0.conda", |
|||
"version": "2022.12.7" |
|||
} |
@ -0,0 +1,25 @@ |
|||
==> 2023-03-30 17:29:05 <== |
|||
# cmd: /home/majiahui/miniconda3/bin/conda create --name chatgpt python=3.9 |
|||
# conda version: 23.1.0 |
|||
+defaults/linux-64::_libgcc_mutex-0.1-main |
|||
+defaults/linux-64::_openmp_mutex-5.1-1_gnu |
|||
+defaults/linux-64::ca-certificates-2023.01.10-h06a4308_0 |
|||
+defaults/linux-64::certifi-2022.12.7-py39h06a4308_0 |
|||
+defaults/linux-64::ld_impl_linux-64-2.38-h1181459_1 |
|||
+defaults/linux-64::libffi-3.4.2-h6a678d5_6 |
|||
+defaults/linux-64::libgcc-ng-11.2.0-h1234567_1 |
|||
+defaults/linux-64::libgomp-11.2.0-h1234567_1 |
|||
+defaults/linux-64::libstdcxx-ng-11.2.0-h1234567_1 |
|||
+defaults/linux-64::ncurses-6.4-h6a678d5_0 |
|||
+defaults/linux-64::openssl-1.1.1t-h7f8727e_0 |
|||
+defaults/linux-64::pip-23.0.1-py39h06a4308_0 |
|||
+defaults/linux-64::python-3.9.16-h7a1cb2a_2 |
|||
+defaults/linux-64::readline-8.2-h5eee18b_0 |
|||
+defaults/linux-64::setuptools-65.6.3-py39h06a4308_0 |
|||
+defaults/linux-64::sqlite-3.41.1-h5eee18b_0 |
|||
+defaults/linux-64::tk-8.6.12-h1ccaba5_0 |
|||
+defaults/linux-64::wheel-0.38.4-py39h06a4308_0 |
|||
+defaults/linux-64::xz-5.2.10-h5eee18b_1 |
|||
+defaults/linux-64::zlib-1.2.13-h5eee18b_0 |
|||
+defaults/noarch::tzdata-2022g-h04d1e81_0 |
|||
# update specs: ['python=3.9'] |
@ -0,0 +1,65 @@ |
|||
{ |
|||
"build": "h1181459_1", |
|||
"build_number": 1, |
|||
"channel": "https://repo.anaconda.com/pkgs/main/linux-64", |
|||
"constrains": [ |
|||
"binutils_impl_linux-64 2.38" |
|||
], |
|||
"depends": [], |
|||
"extracted_package_dir": "/home/majiahui/miniconda3/pkgs/ld_impl_linux-64-2.38-h1181459_1", |
|||
"features": "", |
|||
"files": [ |
|||
"bin/x86_64-conda-linux-gnu-ld", |
|||
"bin/x86_64-conda_cos7-linux-gnu-ld", |
|||
"x86_64-conda-linux-gnu/bin/ld", |
|||
"x86_64-conda_cos7-linux-gnu/bin/ld" |
|||
], |
|||
"fn": "ld_impl_linux-64-2.38-h1181459_1.conda", |
|||
"legacy_bz2_md5": "9508af80612e4fa1b5d1abb43ca7e63c", |
|||
"license": "GPL-3.0-only", |
|||
"link": { |
|||
"source": "/home/majiahui/miniconda3/pkgs/ld_impl_linux-64-2.38-h1181459_1", |
|||
"type": 1 |
|||
}, |
|||
"md5": "68eedfd9c06f2b0e6888d8db345b7f5b", |
|||
"name": "ld_impl_linux-64", |
|||
"package_tarball_full_path": "/home/majiahui/miniconda3/pkgs/ld_impl_linux-64-2.38-h1181459_1.conda", |
|||
"paths_data": { |
|||
"paths": [ |
|||
{ |
|||
"_path": "bin/x86_64-conda-linux-gnu-ld", |
|||
"path_type": "hardlink", |
|||
"sha256": "5ee6f1d4cd891404d3c81e7048e1885eeb0ebb2f697e8e1ec21984b4592617a7", |
|||
"sha256_in_prefix": "5ee6f1d4cd891404d3c81e7048e1885eeb0ebb2f697e8e1ec21984b4592617a7", |
|||
"size_in_bytes": 2777592 |
|||
}, |
|||
{ |
|||
"_path": "bin/x86_64-conda_cos7-linux-gnu-ld", |
|||
"path_type": "softlink", |
|||
"sha256": "5ee6f1d4cd891404d3c81e7048e1885eeb0ebb2f697e8e1ec21984b4592617a7", |
|||
"size_in_bytes": 2777592 |
|||
}, |
|||
{ |
|||
"_path": "x86_64-conda-linux-gnu/bin/ld", |
|||
"path_type": "softlink", |
|||
"sha256": "5ee6f1d4cd891404d3c81e7048e1885eeb0ebb2f697e8e1ec21984b4592617a7", |
|||
"size_in_bytes": 2777592 |
|||
}, |
|||
{ |
|||
"_path": "x86_64-conda_cos7-linux-gnu/bin/ld", |
|||
"path_type": "softlink", |
|||
"sha256": "5ee6f1d4cd891404d3c81e7048e1885eeb0ebb2f697e8e1ec21984b4592617a7", |
|||
"size_in_bytes": 2777592 |
|||
} |
|||
], |
|||
"paths_version": 1 |
|||
}, |
|||
"requested_spec": "None", |
|||
"sha256": "0c7a6f340f4a9e15cc99b3c7e11f07c7670a9b881161739edd77753e5530fe31", |
|||
"size": 669201, |
|||
"subdir": "linux-64", |
|||
"timestamp": 1652971360657, |
|||
"track_features": "", |
|||
"url": "https://repo.anaconda.com/pkgs/main/linux-64/ld_impl_linux-64-2.38-h1181459_1.conda", |
|||
"version": "2.38" |
|||
} |
@ -0,0 +1,155 @@ |
|||
{ |
|||
"build": "h6a678d5_6", |
|||
"build_number": 6, |
|||
"channel": "https://repo.anaconda.com/pkgs/main/linux-64", |
|||
"constrains": [], |
|||
"depends": [ |
|||
"libgcc-ng >=11.2.0", |
|||
"libstdcxx-ng >=11.2.0" |
|||
], |
|||
"extracted_package_dir": "/home/majiahui/miniconda3/pkgs/libffi-3.4.2-h6a678d5_6", |
|||
"features": "", |
|||
"files": [ |
|||
"include/ffi.h", |
|||
"include/ffitarget.h", |
|||
"lib/libffi.7.so", |
|||
"lib/libffi.8.so", |
|||
"lib/libffi.a", |
|||
"lib/libffi.so", |
|||
"lib/libffi.so.7", |
|||
"lib/libffi.so.8", |
|||
"lib/libffi.so.8.1.0", |
|||
"lib/pkgconfig/libffi.pc", |
|||
"share/info/libffi.info", |
|||
"share/man/man3/ffi.3", |
|||
"share/man/man3/ffi_call.3", |
|||
"share/man/man3/ffi_prep_cif.3", |
|||
"share/man/man3/ffi_prep_cif_var.3" |
|||
], |
|||
"fn": "libffi-3.4.2-h6a678d5_6.conda", |
|||
"legacy_bz2_md5": "e87570b45df1cd10db6ad9c2c79a3b30", |
|||
"license": "MIT", |
|||
"license_family": "MIT", |
|||
"link": { |
|||
"source": "/home/majiahui/miniconda3/pkgs/libffi-3.4.2-h6a678d5_6", |
|||
"type": 1 |
|||
}, |
|||
"md5": "6d65e299b535d3b3613b6d4bce901834", |
|||
"name": "libffi", |
|||
"package_tarball_full_path": "/home/majiahui/miniconda3/pkgs/libffi-3.4.2-h6a678d5_6.conda", |
|||
"paths_data": { |
|||
"paths": [ |
|||
{ |
|||
"_path": "include/ffi.h", |
|||
"path_type": "hardlink", |
|||
"sha256": "1094b4bb327862f5b1336995187813dd46d0273b9de0712eb6f26866c90ac1e3", |
|||
"sha256_in_prefix": "1094b4bb327862f5b1336995187813dd46d0273b9de0712eb6f26866c90ac1e3", |
|||
"size_in_bytes": 14209 |
|||
}, |
|||
{ |
|||
"_path": "include/ffitarget.h", |
|||
"path_type": "hardlink", |
|||
"sha256": "c83585125f3b244a1fe4551366f464734b97c11139ce2e2b5b4141183ba7ebb2", |
|||
"sha256_in_prefix": "c83585125f3b244a1fe4551366f464734b97c11139ce2e2b5b4141183ba7ebb2", |
|||
"size_in_bytes": 4741 |
|||
}, |
|||
{ |
|||
"_path": "lib/libffi.7.so", |
|||
"path_type": "softlink", |
|||
"sha256": "fe7e99cfc754160ac06f0e1491f13a6a8f817bc78ba39c8bc3fbd0a47519ed19", |
|||
"size_in_bytes": 72152 |
|||
}, |
|||
{ |
|||
"_path": "lib/libffi.8.so", |
|||
"path_type": "softlink", |
|||
"sha256": "fe7e99cfc754160ac06f0e1491f13a6a8f817bc78ba39c8bc3fbd0a47519ed19", |
|||
"size_in_bytes": 72152 |
|||
}, |
|||
{ |
|||
"_path": "lib/libffi.a", |
|||
"path_type": "hardlink", |
|||
"sha256": "b9b47bc15c111a1369fe9a66177fec956d405a8acd1b9c458bff9e75bde8d6f4", |
|||
"sha256_in_prefix": "b9b47bc15c111a1369fe9a66177fec956d405a8acd1b9c458bff9e75bde8d6f4", |
|||
"size_in_bytes": 96886 |
|||
}, |
|||
{ |
|||
"_path": "lib/libffi.so", |
|||
"path_type": "softlink", |
|||
"sha256": "fe7e99cfc754160ac06f0e1491f13a6a8f817bc78ba39c8bc3fbd0a47519ed19", |
|||
"size_in_bytes": 72152 |
|||
}, |
|||
{ |
|||
"_path": "lib/libffi.so.7", |
|||
"path_type": "softlink", |
|||
"sha256": "fe7e99cfc754160ac06f0e1491f13a6a8f817bc78ba39c8bc3fbd0a47519ed19", |
|||
"size_in_bytes": 72152 |
|||
}, |
|||
{ |
|||
"_path": "lib/libffi.so.8", |
|||
"path_type": "softlink", |
|||
"sha256": "fe7e99cfc754160ac06f0e1491f13a6a8f817bc78ba39c8bc3fbd0a47519ed19", |
|||
"size_in_bytes": 72152 |
|||
}, |
|||
{ |
|||
"_path": "lib/libffi.so.8.1.0", |
|||
"path_type": "hardlink", |
|||
"sha256": "fe7e99cfc754160ac06f0e1491f13a6a8f817bc78ba39c8bc3fbd0a47519ed19", |
|||
"sha256_in_prefix": "fe7e99cfc754160ac06f0e1491f13a6a8f817bc78ba39c8bc3fbd0a47519ed19", |
|||
"size_in_bytes": 72152 |
|||
}, |
|||
{ |
|||
"_path": "lib/pkgconfig/libffi.pc", |
|||
"file_mode": "text", |
|||
"path_type": "hardlink", |
|||
"prefix_placeholder": "/croot/libffi_1669126591380/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_", |
|||
"sha256": "585da33ea92c5b7da314a7d5641ab0359be0ef1e6ada5e8d46a1eca9d0e398b3", |
|||
"sha256_in_prefix": "6f950bf127e5fd2c1646eccfe36af6ca9c0d7dd244e727f68a1a1cfccdb5f49d", |
|||
"size_in_bytes": 756 |
|||
}, |
|||
{ |
|||
"_path": "share/info/libffi.info", |
|||
"path_type": "hardlink", |
|||
"sha256": "59d293758be54f369906d16de77f96aea2be15f1bfb690016068f2f42e4eb445", |
|||
"sha256_in_prefix": "59d293758be54f369906d16de77f96aea2be15f1bfb690016068f2f42e4eb445", |
|||
"size_in_bytes": 38369 |
|||
}, |
|||
{ |
|||
"_path": "share/man/man3/ffi.3", |
|||
"path_type": "hardlink", |
|||
"sha256": "aa4730e114c305943a2226a524ed8447dc6b66a184523999868e5433c2c9de74", |
|||
"sha256_in_prefix": "aa4730e114c305943a2226a524ed8447dc6b66a184523999868e5433c2c9de74", |
|||
"size_in_bytes": 850 |
|||
}, |
|||
{ |
|||
"_path": "share/man/man3/ffi_call.3", |
|||
"path_type": "hardlink", |
|||
"sha256": "2817ce7b78cb737d7b85b18b45899470f5f565f990d056d3d8cfabf6d779477f", |
|||
"sha256_in_prefix": "2817ce7b78cb737d7b85b18b45899470f5f565f990d056d3d8cfabf6d779477f", |
|||
"size_in_bytes": 2333 |
|||
}, |
|||
{ |
|||
"_path": "share/man/man3/ffi_prep_cif.3", |
|||
"path_type": "hardlink", |
|||
"sha256": "f60c5bb9d04b55988da13511a2c3edfa0f39fb6f51abfb8ac24d0b161c4169c0", |
|||
"sha256_in_prefix": "f60c5bb9d04b55988da13511a2c3edfa0f39fb6f51abfb8ac24d0b161c4169c0", |
|||
"size_in_bytes": 1158 |
|||
}, |
|||
{ |
|||
"_path": "share/man/man3/ffi_prep_cif_var.3", |
|||
"path_type": "hardlink", |
|||
"sha256": "9365685252f33f13627c9303bc01883b764227132069260c19e94100ff442a51", |
|||
"sha256_in_prefix": "9365685252f33f13627c9303bc01883b764227132069260c19e94100ff442a51", |
|||
"size_in_bytes": 1321 |
|||
} |
|||
], |
|||
"paths_version": 1 |
|||
}, |
|||
"requested_spec": "None", |
|||
"sha256": "31ae5d8823804e741958a6e04704dd951d140bcf3032a07b7b5e940bc516b829", |
|||
"size": 139609, |
|||
"subdir": "linux-64", |
|||
"timestamp": 1669126632561, |
|||
"track_features": "", |
|||
"url": "https://repo.anaconda.com/pkgs/main/linux-64/libffi-3.4.2-h6a678d5_6.conda", |
|||
"version": "3.4.2" |
|||
} |
@ -0,0 +1,237 @@ |
|||
{ |
|||
"build": "h1234567_1", |
|||
"build_number": 1, |
|||
"channel": "https://repo.anaconda.com/pkgs/main/linux-64", |
|||
"constrains": [ |
|||
"_libgcc_mutex 0.1 main", |
|||
"_openmp_mutex", |
|||
"libgomp 11.2.0 h1234567_1" |
|||
], |
|||
"depends": [ |
|||
"_libgcc_mutex 0.1 main", |
|||
"_openmp_mutex", |
|||
"_libgcc_mutex * main", |
|||
"__glibc >=2.17" |
|||
], |
|||
"extracted_package_dir": "/home/majiahui/miniconda3/pkgs/libgcc-ng-11.2.0-h1234567_1", |
|||
"features": "", |
|||
"files": [ |
|||
"lib/libasan.so", |
|||
"lib/libasan.so.6", |
|||
"lib/libasan.so.6.0.0", |
|||
"lib/libatomic.so", |
|||
"lib/libatomic.so.1", |
|||
"lib/libatomic.so.1.2.0", |
|||
"lib/libgcc_s.so", |
|||
"lib/libgcc_s.so.1", |
|||
"lib/libitm.so", |
|||
"lib/libitm.so.1", |
|||
"lib/libitm.so.1.0.0", |
|||
"lib/liblsan.so", |
|||
"lib/liblsan.so.0", |
|||
"lib/liblsan.so.0.0.0", |
|||
"lib/libquadmath.so", |
|||
"lib/libquadmath.so.0", |
|||
"lib/libquadmath.so.0.0.0", |
|||
"lib/libtsan.so", |
|||
"lib/libtsan.so.0", |
|||
"lib/libtsan.so.0.0.0", |
|||
"lib/libubsan.so", |
|||
"lib/libubsan.so.1", |
|||
"lib/libubsan.so.1.0.0", |
|||
"share/info/libgomp.info", |
|||
"share/info/libquadmath.info", |
|||
"share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION" |
|||
], |
|||
"fn": "libgcc-ng-11.2.0-h1234567_1.conda", |
|||
"legacy_bz2_md5": "641e72e5067bd6d5454405879e1cd2a7", |
|||
"license": "GPL-3.0-only WITH GCC-exception-3.1", |
|||
"link": { |
|||
"source": "/home/majiahui/miniconda3/pkgs/libgcc-ng-11.2.0-h1234567_1", |
|||
"type": 1 |
|||
}, |
|||
"md5": "a87728dabf3151fb9cfa990bd2eb0464", |
|||
"name": "libgcc-ng", |
|||
"package_tarball_full_path": "/home/majiahui/miniconda3/pkgs/libgcc-ng-11.2.0-h1234567_1.conda", |
|||
"paths_data": { |
|||
"paths": [ |
|||
{ |
|||
"_path": "lib/libasan.so", |
|||
"path_type": "softlink", |
|||
"sha256": "2a8a7995a4d84a8817af8d1604bef621e99d0622df4eda14f6fe5245735a952e", |
|||
"size_in_bytes": 7575272 |
|||
}, |
|||
{ |
|||
"_path": "lib/libasan.so.6", |
|||
"path_type": "softlink", |
|||
"sha256": "2a8a7995a4d84a8817af8d1604bef621e99d0622df4eda14f6fe5245735a952e", |
|||
"size_in_bytes": 7575272 |
|||
}, |
|||
{ |
|||
"_path": "lib/libasan.so.6.0.0", |
|||
"path_type": "hardlink", |
|||
"sha256": "2a8a7995a4d84a8817af8d1604bef621e99d0622df4eda14f6fe5245735a952e", |
|||
"sha256_in_prefix": "2a8a7995a4d84a8817af8d1604bef621e99d0622df4eda14f6fe5245735a952e", |
|||
"size_in_bytes": 7575272 |
|||
}, |
|||
{ |
|||
"_path": "lib/libatomic.so", |
|||
"path_type": "softlink", |
|||
"sha256": "2f1a92c18f01c13c9a89908fb86a7309ae5b89a882db9914114957bc4b6fed92", |
|||
"size_in_bytes": 143648 |
|||
}, |
|||
{ |
|||
"_path": "lib/libatomic.so.1", |
|||
"path_type": "softlink", |
|||
"sha256": "2f1a92c18f01c13c9a89908fb86a7309ae5b89a882db9914114957bc4b6fed92", |
|||
"size_in_bytes": 143648 |
|||
}, |
|||
{ |
|||
"_path": "lib/libatomic.so.1.2.0", |
|||
"path_type": "hardlink", |
|||
"sha256": "2f1a92c18f01c13c9a89908fb86a7309ae5b89a882db9914114957bc4b6fed92", |
|||
"sha256_in_prefix": "2f1a92c18f01c13c9a89908fb86a7309ae5b89a882db9914114957bc4b6fed92", |
|||
"size_in_bytes": 143648 |
|||
}, |
|||
{ |
|||
"_path": "lib/libgcc_s.so", |
|||
"path_type": "hardlink", |
|||
"sha256": "69a56a9993b7729b29b274e65016031c81f2397f176ed5ad44d59bd50425e0bd", |
|||
"sha256_in_prefix": "69a56a9993b7729b29b274e65016031c81f2397f176ed5ad44d59bd50425e0bd", |
|||
"size_in_bytes": 132 |
|||
}, |
|||
{ |
|||
"_path": "lib/libgcc_s.so.1", |
|||
"path_type": "hardlink", |
|||
"sha256": "d912bad5e511194c15b506fe7eafe4454bc2dc4073a0fdebc60e86af59a0f2bc", |
|||
"sha256_in_prefix": "d912bad5e511194c15b506fe7eafe4454bc2dc4073a0fdebc60e86af59a0f2bc", |
|||
"size_in_bytes": 475272 |
|||
}, |
|||
{ |
|||
"_path": "lib/libitm.so", |
|||
"path_type": "softlink", |
|||
"sha256": "70a7a1a8352b39da726e026874f1854096cdd1c60e80ea5cf97a4e38055ea7c1", |
|||
"size_in_bytes": 1018904 |
|||
}, |
|||
{ |
|||
"_path": "lib/libitm.so.1", |
|||
"path_type": "softlink", |
|||
"sha256": "70a7a1a8352b39da726e026874f1854096cdd1c60e80ea5cf97a4e38055ea7c1", |
|||
"size_in_bytes": 1018904 |
|||
}, |
|||
{ |
|||
"_path": "lib/libitm.so.1.0.0", |
|||
"path_type": "hardlink", |
|||
"sha256": "70a7a1a8352b39da726e026874f1854096cdd1c60e80ea5cf97a4e38055ea7c1", |
|||
"sha256_in_prefix": "70a7a1a8352b39da726e026874f1854096cdd1c60e80ea5cf97a4e38055ea7c1", |
|||
"size_in_bytes": 1018904 |
|||
}, |
|||
{ |
|||
"_path": "lib/liblsan.so", |
|||
"path_type": "softlink", |
|||
"sha256": "3b898a178573c3ec5feb7246182ac8ebc2664197e35bf08040e6ca2ee4719757", |
|||
"size_in_bytes": 2691440 |
|||
}, |
|||
{ |
|||
"_path": "lib/liblsan.so.0", |
|||
"path_type": "softlink", |
|||
"sha256": "3b898a178573c3ec5feb7246182ac8ebc2664197e35bf08040e6ca2ee4719757", |
|||
"size_in_bytes": 2691440 |
|||
}, |
|||
{ |
|||
"_path": "lib/liblsan.so.0.0.0", |
|||
"path_type": "hardlink", |
|||
"sha256": "3b898a178573c3ec5feb7246182ac8ebc2664197e35bf08040e6ca2ee4719757", |
|||
"sha256_in_prefix": "3b898a178573c3ec5feb7246182ac8ebc2664197e35bf08040e6ca2ee4719757", |
|||
"size_in_bytes": 2691440 |
|||
}, |
|||
{ |
|||
"_path": "lib/libquadmath.so", |
|||
"path_type": "softlink", |
|||
"sha256": "10c6fadba4c2f6d77e836a50aadbd92e95b137a85eb01b1ca183b50d8f39a2c6", |
|||
"size_in_bytes": 1009408 |
|||
}, |
|||
{ |
|||
"_path": "lib/libquadmath.so.0", |
|||
"path_type": "softlink", |
|||
"sha256": "10c6fadba4c2f6d77e836a50aadbd92e95b137a85eb01b1ca183b50d8f39a2c6", |
|||
"size_in_bytes": 1009408 |
|||
}, |
|||
{ |
|||
"_path": "lib/libquadmath.so.0.0.0", |
|||
"path_type": "hardlink", |
|||
"sha256": "10c6fadba4c2f6d77e836a50aadbd92e95b137a85eb01b1ca183b50d8f39a2c6", |
|||
"sha256_in_prefix": "10c6fadba4c2f6d77e836a50aadbd92e95b137a85eb01b1ca183b50d8f39a2c6", |
|||
"size_in_bytes": 1009408 |
|||
}, |
|||
{ |
|||
"_path": "lib/libtsan.so", |
|||
"path_type": "softlink", |
|||
"sha256": "1b44b74e273d4eb90811b3d6da8b68cb05066d3d8b4e17e8ccf90ada3ecdfdeb", |
|||
"size_in_bytes": 7298936 |
|||
}, |
|||
{ |
|||
"_path": "lib/libtsan.so.0", |
|||
"path_type": "softlink", |
|||
"sha256": "1b44b74e273d4eb90811b3d6da8b68cb05066d3d8b4e17e8ccf90ada3ecdfdeb", |
|||
"size_in_bytes": 7298936 |
|||
}, |
|||
{ |
|||
"_path": "lib/libtsan.so.0.0.0", |
|||
"path_type": "hardlink", |
|||
"sha256": "1b44b74e273d4eb90811b3d6da8b68cb05066d3d8b4e17e8ccf90ada3ecdfdeb", |
|||
"sha256_in_prefix": "1b44b74e273d4eb90811b3d6da8b68cb05066d3d8b4e17e8ccf90ada3ecdfdeb", |
|||
"size_in_bytes": 7298936 |
|||
}, |
|||
{ |
|||
"_path": "lib/libubsan.so", |
|||
"path_type": "softlink", |
|||
"sha256": "4de75afd77639cabf1c2c4d37b04b4cbbbd257c75aae184ae5e0ea92930cf4d9", |
|||
"size_in_bytes": 2525984 |
|||
}, |
|||
{ |
|||
"_path": "lib/libubsan.so.1", |
|||
"path_type": "softlink", |
|||
"sha256": "4de75afd77639cabf1c2c4d37b04b4cbbbd257c75aae184ae5e0ea92930cf4d9", |
|||
"size_in_bytes": 2525984 |
|||
}, |
|||
{ |
|||
"_path": "lib/libubsan.so.1.0.0", |
|||
"path_type": "hardlink", |
|||
"sha256": "4de75afd77639cabf1c2c4d37b04b4cbbbd257c75aae184ae5e0ea92930cf4d9", |
|||
"sha256_in_prefix": "4de75afd77639cabf1c2c4d37b04b4cbbbd257c75aae184ae5e0ea92930cf4d9", |
|||
"size_in_bytes": 2525984 |
|||
}, |
|||
{ |
|||
"_path": "share/info/libgomp.info", |
|||
"path_type": "hardlink", |
|||
"sha256": "73a2b15ea66725e333c5bf9106e90cdf33a85eaed78a0f178e50e02f7087c4c7", |
|||
"sha256_in_prefix": "73a2b15ea66725e333c5bf9106e90cdf33a85eaed78a0f178e50e02f7087c4c7", |
|||
"size_in_bytes": 216513 |
|||
}, |
|||
{ |
|||
"_path": "share/info/libquadmath.info", |
|||
"path_type": "hardlink", |
|||
"sha256": "d9c38989bdaa543f02c7d0639d9869bb99056d35f56181a00c9d665977a9fa18", |
|||
"sha256_in_prefix": "d9c38989bdaa543f02c7d0639d9869bb99056d35f56181a00c9d665977a9fa18", |
|||
"size_in_bytes": 36614 |
|||
}, |
|||
{ |
|||
"_path": "share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION", |
|||
"path_type": "hardlink", |
|||
"sha256": "9d6b43ce4d8de0c878bf16b54d8e7a10d9bd42b75178153e3af6a815bdc90f74", |
|||
"sha256_in_prefix": "9d6b43ce4d8de0c878bf16b54d8e7a10d9bd42b75178153e3af6a815bdc90f74", |
|||
"size_in_bytes": 3324 |
|||
} |
|||
], |
|||
"paths_version": 1 |
|||
}, |
|||
"requested_spec": "None", |
|||
"sha256": "cdcce11f1c6ca57ba686ab92f3a5c122efe1e0630e00c6ad275624ce79008aa7", |
|||
"size": 5602184, |
|||
"subdir": "linux-64", |
|||
"timestamp": 1654090827491, |
|||
"track_features": "", |
|||
"url": "https://repo.anaconda.com/pkgs/main/linux-64/libgcc-ng-11.2.0-h1234567_1.conda", |
|||
"version": "11.2.0" |
|||
} |
@ -0,0 +1,59 @@ |
|||
{ |
|||
"build": "h1234567_1", |
|||
"build_number": 1, |
|||
"channel": "https://repo.anaconda.com/pkgs/main/linux-64", |
|||
"constrains": [], |
|||
"depends": [ |
|||
"_libgcc_mutex 0.1 main" |
|||
], |
|||
"extracted_package_dir": "/home/majiahui/miniconda3/pkgs/libgomp-11.2.0-h1234567_1", |
|||
"features": "", |
|||
"files": [ |
|||
"lib/libgomp.so", |
|||
"lib/libgomp.so.1.0.0", |
|||
"share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION.gomp_copy" |
|||
], |
|||
"fn": "libgomp-11.2.0-h1234567_1.conda", |
|||
"legacy_bz2_md5": "3080c2813e6e1d0f8a100a38b5b3456d", |
|||
"license": "GPL-3.0-only WITH GCC-exception-3.1", |
|||
"link": { |
|||
"source": "/home/majiahui/miniconda3/pkgs/libgomp-11.2.0-h1234567_1", |
|||
"type": 1 |
|||
}, |
|||
"md5": "b372c0eea9b60732fdae4b817a63c8cd", |
|||
"name": "libgomp", |
|||
"package_tarball_full_path": "/home/majiahui/miniconda3/pkgs/libgomp-11.2.0-h1234567_1.conda", |
|||
"paths_data": { |
|||
"paths": [ |
|||
{ |
|||
"_path": "lib/libgomp.so", |
|||
"path_type": "softlink", |
|||
"sha256": "e3b68c5f37afb7b70bd12273b69706ab33a397714e8336910f0e47f8f1cf6854", |
|||
"size_in_bytes": 1265616 |
|||
}, |
|||
{ |
|||
"_path": "lib/libgomp.so.1.0.0", |
|||
"path_type": "hardlink", |
|||
"sha256": "e3b68c5f37afb7b70bd12273b69706ab33a397714e8336910f0e47f8f1cf6854", |
|||
"sha256_in_prefix": "e3b68c5f37afb7b70bd12273b69706ab33a397714e8336910f0e47f8f1cf6854", |
|||
"size_in_bytes": 1265616 |
|||
}, |
|||
{ |
|||
"_path": "share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION.gomp_copy", |
|||
"path_type": "hardlink", |
|||
"sha256": "9d6b43ce4d8de0c878bf16b54d8e7a10d9bd42b75178153e3af6a815bdc90f74", |
|||
"sha256_in_prefix": "9d6b43ce4d8de0c878bf16b54d8e7a10d9bd42b75178153e3af6a815bdc90f74", |
|||
"size_in_bytes": 3324 |
|||
} |
|||
], |
|||
"paths_version": 1 |
|||
}, |
|||
"requested_spec": "None", |
|||
"sha256": "a1c6e599df45e116af81c36ec4c9efb1793fa3a0b854dd90dd6c8813cd476e90", |
|||
"size": 485145, |
|||
"subdir": "linux-64", |
|||
"timestamp": 1654090775721, |
|||
"track_features": "", |
|||
"url": "https://repo.anaconda.com/pkgs/main/linux-64/libgomp-11.2.0-h1234567_1.conda", |
|||
"version": "11.2.0" |
|||
} |
@ -0,0 +1,66 @@ |
|||
{ |
|||
"build": "h1234567_1", |
|||
"build_number": 1, |
|||
"channel": "https://repo.anaconda.com/pkgs/main/linux-64", |
|||
"constrains": [], |
|||
"depends": [ |
|||
"__glibc >=2.17" |
|||
], |
|||
"extracted_package_dir": "/home/majiahui/miniconda3/pkgs/libstdcxx-ng-11.2.0-h1234567_1", |
|||
"features": "", |
|||
"files": [ |
|||
"lib/libstdc++.so", |
|||
"lib/libstdc++.so.6", |
|||
"lib/libstdc++.so.6.0.29", |
|||
"share/licenses/libstdc++/RUNTIME.LIBRARY.EXCEPTION" |
|||
], |
|||
"fn": "libstdcxx-ng-11.2.0-h1234567_1.conda", |
|||
"legacy_bz2_md5": "8c195584a5f5471b600ee180e4052773", |
|||
"license": "GPL-3.0-only WITH GCC-exception-3.1", |
|||
"link": { |
|||
"source": "/home/majiahui/miniconda3/pkgs/libstdcxx-ng-11.2.0-h1234567_1", |
|||
"type": 1 |
|||
}, |
|||
"md5": "57623d10a70e09e1d048c2b2b6f4e2dd", |
|||
"name": "libstdcxx-ng", |
|||
"package_tarball_full_path": "/home/majiahui/miniconda3/pkgs/libstdcxx-ng-11.2.0-h1234567_1.conda", |
|||
"paths_data": { |
|||
"paths": [ |
|||
{ |
|||
"_path": "lib/libstdc++.so", |
|||
"path_type": "softlink", |
|||
"sha256": "4f045231ff3a95c2fbfde450575f0ef45d23e95be15193c8729b521fc363ece4", |
|||
"size_in_bytes": 17981480 |
|||
}, |
|||
{ |
|||
"_path": "lib/libstdc++.so.6", |
|||
"path_type": "softlink", |
|||
"sha256": "4f045231ff3a95c2fbfde450575f0ef45d23e95be15193c8729b521fc363ece4", |
|||
"size_in_bytes": 17981480 |
|||
}, |
|||
{ |
|||
"_path": "lib/libstdc++.so.6.0.29", |
|||
"path_type": "hardlink", |
|||
"sha256": "4f045231ff3a95c2fbfde450575f0ef45d23e95be15193c8729b521fc363ece4", |
|||
"sha256_in_prefix": "4f045231ff3a95c2fbfde450575f0ef45d23e95be15193c8729b521fc363ece4", |
|||
"size_in_bytes": 17981480 |
|||
}, |
|||
{ |
|||
"_path": "share/licenses/libstdc++/RUNTIME.LIBRARY.EXCEPTION", |
|||
"path_type": "hardlink", |
|||
"sha256": "9d6b43ce4d8de0c878bf16b54d8e7a10d9bd42b75178153e3af6a815bdc90f74", |
|||
"sha256_in_prefix": "9d6b43ce4d8de0c878bf16b54d8e7a10d9bd42b75178153e3af6a815bdc90f74", |
|||
"size_in_bytes": 3324 |
|||
} |
|||
], |
|||
"paths_version": 1 |
|||
}, |
|||
"requested_spec": "None", |
|||
"sha256": "4da22842de544990e623ed38dfd9b468cc26cc592a102e41bcf45c91bcce9aa2", |
|||
"size": 4919942, |
|||
"subdir": "linux-64", |
|||
"timestamp": 1654090800863, |
|||
"track_features": "", |
|||
"url": "https://repo.anaconda.com/pkgs/main/linux-64/libstdcxx-ng-11.2.0-h1234567_1.conda", |
|||
"version": "11.2.0" |
|||
} |
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
@ -0,0 +1,246 @@ |
|||
{ |
|||
"build": "h5eee18b_0", |
|||
"build_number": 0, |
|||
"channel": "https://repo.anaconda.com/pkgs/main/linux-64", |
|||
"constrains": [], |
|||
"depends": [ |
|||
"libgcc-ng >=11.2.0", |
|||
"ncurses >=6.3,<7.0a0" |
|||
], |
|||
"extracted_package_dir": "/home/majiahui/miniconda3/pkgs/readline-8.2-h5eee18b_0", |
|||
"features": "", |
|||
"files": [ |
|||
"include/readline/chardefs.h", |
|||
"include/readline/history.h", |
|||
"include/readline/keymaps.h", |
|||
"include/readline/readline.h", |
|||
"include/readline/rlconf.h", |
|||
"include/readline/rlstdc.h", |
|||
"include/readline/rltypedefs.h", |
|||
"include/readline/tilde.h", |
|||
"lib/libhistory.a", |
|||
"lib/libhistory.so", |
|||
"lib/libhistory.so.8", |
|||
"lib/libhistory.so.8.2", |
|||
"lib/libreadline.a", |
|||
"lib/libreadline.so", |
|||
"lib/libreadline.so.8", |
|||
"lib/libreadline.so.8.2", |
|||
"lib/pkgconfig/history.pc", |
|||
"lib/pkgconfig/readline.pc", |
|||
"share/doc/readline/CHANGES", |
|||
"share/doc/readline/INSTALL", |
|||
"share/doc/readline/README", |
|||
"share/info/history.info", |
|||
"share/info/readline.info", |
|||
"share/info/rluserman.info", |
|||
"share/man/man3/history.3", |
|||
"share/man/man3/readline.3" |
|||
], |
|||
"fn": "readline-8.2-h5eee18b_0.conda", |
|||
"legacy_bz2_md5": "960bf00d81e7bbdeff2c7d01ed78eaeb", |
|||
"license": "GPL-3.0-only", |
|||
"license_family": "GPL", |
|||
"link": { |
|||
"source": "/home/majiahui/miniconda3/pkgs/readline-8.2-h5eee18b_0", |
|||
"type": 1 |
|||
}, |
|||
"md5": "be42180685cce6e6b0329201d9f48efb", |
|||
"name": "readline", |
|||
"package_tarball_full_path": "/home/majiahui/miniconda3/pkgs/readline-8.2-h5eee18b_0.conda", |
|||
"paths_data": { |
|||
"paths": [ |
|||
{ |
|||
"_path": "include/readline/chardefs.h", |
|||
"path_type": "hardlink", |
|||
"sha256": "928fdcd4204b361a8a922085f12497181606981a70ae52c67d39118ae5fab640", |
|||
"sha256_in_prefix": "928fdcd4204b361a8a922085f12497181606981a70ae52c67d39118ae5fab640", |
|||
"size_in_bytes": 4694 |
|||
}, |
|||
{ |
|||
"_path": "include/readline/history.h", |
|||
"path_type": "hardlink", |
|||
"sha256": "f33fed4d7598d513fdf223eea7853fde5452da0d7fd5b951865aef5553caf02b", |
|||
"sha256_in_prefix": "f33fed4d7598d513fdf223eea7853fde5452da0d7fd5b951865aef5553caf02b", |
|||
"size_in_bytes": 10663 |
|||
}, |
|||
{ |
|||
"_path": "include/readline/keymaps.h", |
|||
"path_type": "hardlink", |
|||
"sha256": "4c42c3c5d2bb3aba10c7e7f27dd79841f30857fde61c6c85bf67f4f2ac1befc4", |
|||
"sha256_in_prefix": "4c42c3c5d2bb3aba10c7e7f27dd79841f30857fde61c6c85bf67f4f2ac1befc4", |
|||
"size_in_bytes": 3201 |
|||
}, |
|||
{ |
|||
"_path": "include/readline/readline.h", |
|||
"path_type": "hardlink", |
|||
"sha256": "5c4d149f5609cd5771f2d1bd4c1557e7b7822cf4dbd415041490cee2c018b58d", |
|||
"sha256_in_prefix": "5c4d149f5609cd5771f2d1bd4c1557e7b7822cf4dbd415041490cee2c018b58d", |
|||
"size_in_bytes": 38147 |
|||
}, |
|||
{ |
|||
"_path": "include/readline/rlconf.h", |
|||
"path_type": "hardlink", |
|||
"sha256": "b599f6bc28df4c0cb0143c5747233aeadc191b3c4f8bb9128509c4c68e946da6", |
|||
"sha256_in_prefix": "b599f6bc28df4c0cb0143c5747233aeadc191b3c4f8bb9128509c4c68e946da6", |
|||
"size_in_bytes": 2829 |
|||
}, |
|||
{ |
|||
"_path": "include/readline/rlstdc.h", |
|||
"path_type": "hardlink", |
|||
"sha256": "77c9d0203d571a576ec2aabbfbdfbdd18802d6fcfe6e890d33fbab3536f3317a", |
|||
"sha256_in_prefix": "77c9d0203d571a576ec2aabbfbdfbdd18802d6fcfe6e890d33fbab3536f3317a", |
|||
"size_in_bytes": 1835 |
|||
}, |
|||
{ |
|||
"_path": "include/readline/rltypedefs.h", |
|||
"path_type": "hardlink", |
|||
"sha256": "ed7e4063f9b73fa0071b2e202c4f939189fc883917aa931c5192d3652fac0914", |
|||
"sha256_in_prefix": "ed7e4063f9b73fa0071b2e202c4f939189fc883917aa931c5192d3652fac0914", |
|||
"size_in_bytes": 3021 |
|||
}, |
|||
{ |
|||
"_path": "include/readline/tilde.h", |
|||
"path_type": "hardlink", |
|||
"sha256": "76ea2566b9045468f1ae1a0a97e62d765edcd642a2d1f12a62a6af1b4dfe9729", |
|||
"sha256_in_prefix": "76ea2566b9045468f1ae1a0a97e62d765edcd642a2d1f12a62a6af1b4dfe9729", |
|||
"size_in_bytes": 2652 |
|||
}, |
|||
{ |
|||
"_path": "lib/libhistory.a", |
|||
"path_type": "hardlink", |
|||
"sha256": "567fc4fab7b1b7393e5c62e307301256d390d2032be9c259138681d2f7ae7461", |
|||
"sha256_in_prefix": "567fc4fab7b1b7393e5c62e307301256d390d2032be9c259138681d2f7ae7461", |
|||
"size_in_bytes": 78892 |
|||
}, |
|||
{ |
|||
"_path": "lib/libhistory.so", |
|||
"path_type": "softlink", |
|||
"sha256": "d9fce146d1cb84fbdddb3843f01a28ff4705b3a45c7073cb2c318f24b6ee0ce6", |
|||
"size_in_bytes": 58520 |
|||
}, |
|||
{ |
|||
"_path": "lib/libhistory.so.8", |
|||
"path_type": "softlink", |
|||
"sha256": "d9fce146d1cb84fbdddb3843f01a28ff4705b3a45c7073cb2c318f24b6ee0ce6", |
|||
"size_in_bytes": 58520 |
|||
}, |
|||
{ |
|||
"_path": "lib/libhistory.so.8.2", |
|||
"path_type": "hardlink", |
|||
"sha256": "d9fce146d1cb84fbdddb3843f01a28ff4705b3a45c7073cb2c318f24b6ee0ce6", |
|||
"sha256_in_prefix": "d9fce146d1cb84fbdddb3843f01a28ff4705b3a45c7073cb2c318f24b6ee0ce6", |
|||
"size_in_bytes": 58520 |
|||
}, |
|||
{ |
|||
"_path": "lib/libreadline.a", |
|||
"path_type": "hardlink", |
|||
"sha256": "34edb0aaf24f86fa37e869bb46389534179d560e141a744b15d854497148663a", |
|||
"sha256_in_prefix": "34edb0aaf24f86fa37e869bb46389534179d560e141a744b15d854497148663a", |
|||
"size_in_bytes": 749782 |
|||
}, |
|||
{ |
|||
"_path": "lib/libreadline.so", |
|||
"path_type": "softlink", |
|||
"sha256": "0b6a9d66a73115c872272bb479c8f29df1bf7d9b16e5913e083d64b7753ce1c6", |
|||
"size_in_bytes": 411464 |
|||
}, |
|||
{ |
|||
"_path": "lib/libreadline.so.8", |
|||
"path_type": "softlink", |
|||
"sha256": "0b6a9d66a73115c872272bb479c8f29df1bf7d9b16e5913e083d64b7753ce1c6", |
|||
"size_in_bytes": 411464 |
|||
}, |
|||
{ |
|||
"_path": "lib/libreadline.so.8.2", |
|||
"path_type": "hardlink", |
|||
"sha256": "0b6a9d66a73115c872272bb479c8f29df1bf7d9b16e5913e083d64b7753ce1c6", |
|||
"sha256_in_prefix": "0b6a9d66a73115c872272bb479c8f29df1bf7d9b16e5913e083d64b7753ce1c6", |
|||
"size_in_bytes": 411464 |
|||
}, |
|||
{ |
|||
"_path": "lib/pkgconfig/history.pc", |
|||
"file_mode": "text", |
|||
"path_type": "hardlink", |
|||
"prefix_placeholder": "/croot/readline_1666648016169/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol", |
|||
"sha256": "450ab807f966299a9f71160deed14aa40e56a56de9595f11db4e640557a57a9b", |
|||
"sha256_in_prefix": "11677e2b20cfd77ec7052690086a98a44c1fb459843645faea9a941b6538399e", |
|||
"size_in_bytes": 548 |
|||
}, |
|||
{ |
|||
"_path": "lib/pkgconfig/readline.pc", |
|||
"file_mode": "text", |
|||
"path_type": "hardlink", |
|||
"prefix_placeholder": "/croot/readline_1666648016169/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol", |
|||
"sha256": "72a89f8c5c4eca0ee90e99bd903a4e967b599ced760e528ec8beeacd226f8517", |
|||
"sha256_in_prefix": "d87aa69253f4383909fd611d31e539920346908e0591d3fc91376d3c4817117f", |
|||
"size_in_bytes": 562 |
|||
}, |
|||
{ |
|||
"_path": "share/doc/readline/CHANGES", |
|||
"path_type": "hardlink", |
|||
"sha256": "f526ca246cec4c4fa535a792c04735fb7b06d318d9b4f61f6a0f64152fa39a43", |
|||
"sha256_in_prefix": "f526ca246cec4c4fa535a792c04735fb7b06d318d9b4f61f6a0f64152fa39a43", |
|||
"size_in_bytes": 81365 |
|||
}, |
|||
{ |
|||
"_path": "share/doc/readline/INSTALL", |
|||
"path_type": "hardlink", |
|||
"sha256": "b7bbbc2908a61f0594277fb03b1a11c18f9ffbd8737a804f9a886454d0894967", |
|||
"sha256_in_prefix": "b7bbbc2908a61f0594277fb03b1a11c18f9ffbd8737a804f9a886454d0894967", |
|||
"size_in_bytes": 13357 |
|||
}, |
|||
{ |
|||
"_path": "share/doc/readline/README", |
|||
"path_type": "hardlink", |
|||
"sha256": "680abe0d4e5866d49304863c1b5ef6f96055942da178f061a41a0dce9e3d89a9", |
|||
"sha256_in_prefix": "680abe0d4e5866d49304863c1b5ef6f96055942da178f061a41a0dce9e3d89a9", |
|||
"size_in_bytes": 8029 |
|||
}, |
|||
{ |
|||
"_path": "share/info/history.info", |
|||
"path_type": "hardlink", |
|||
"sha256": "8b5ada1697abc91d4ebd07b70c383e34acab67d33c84855ec11f3a5e44a0711f", |
|||
"sha256_in_prefix": "8b5ada1697abc91d4ebd07b70c383e34acab67d33c84855ec11f3a5e44a0711f", |
|||
"size_in_bytes": 63497 |
|||
}, |
|||
{ |
|||
"_path": "share/info/readline.info", |
|||
"path_type": "hardlink", |
|||
"sha256": "fe2b54b34a356a3fe82aa61f76c43e3a8a1ebe9173ba8b5640fe091b9331a5bc", |
|||
"sha256_in_prefix": "fe2b54b34a356a3fe82aa61f76c43e3a8a1ebe9173ba8b5640fe091b9331a5bc", |
|||
"size_in_bytes": 243177 |
|||
}, |
|||
{ |
|||
"_path": "share/info/rluserman.info", |
|||
"path_type": "hardlink", |
|||
"sha256": "6d64db954627199edad6bf6cea65a026455a9dd72a342c3ce7e071d482ab4bf0", |
|||
"sha256_in_prefix": "6d64db954627199edad6bf6cea65a026455a9dd72a342c3ce7e071d482ab4bf0", |
|||
"size_in_bytes": 93405 |
|||
}, |
|||
{ |
|||
"_path": "share/man/man3/history.3", |
|||
"path_type": "hardlink", |
|||
"sha256": "a8a01fea0adaac18e6aca4c71004d5dc61cdff363df44b76e2dc54ec721bafb8", |
|||
"sha256_in_prefix": "a8a01fea0adaac18e6aca4c71004d5dc61cdff363df44b76e2dc54ec721bafb8", |
|||
"size_in_bytes": 23204 |
|||
}, |
|||
{ |
|||
"_path": "share/man/man3/readline.3", |
|||
"path_type": "hardlink", |
|||
"sha256": "dee2f232395d0381454b9d90eceed03c5027a5f43f32e6c514d56c2d12170965", |
|||
"sha256_in_prefix": "dee2f232395d0381454b9d90eceed03c5027a5f43f32e6c514d56c2d12170965", |
|||
"size_in_bytes": 52342 |
|||
} |
|||
], |
|||
"paths_version": 1 |
|||
}, |
|||
"requested_spec": "None", |
|||
"sha256": "3bf83c138bf0843b2fdacc5fe6b0956813b11107540d0233c148b97682e894fb", |
|||
"size": 365188, |
|||
"subdir": "linux-64", |
|||
"timestamp": 1666648052561, |
|||
"track_features": "", |
|||
"url": "https://repo.anaconda.com/pkgs/main/linux-64/readline-8.2-h5eee18b_0.conda", |
|||
"version": "8.2" |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,105 @@ |
|||
{ |
|||
"build": "h5eee18b_0", |
|||
"build_number": 0, |
|||
"channel": "https://repo.anaconda.com/pkgs/main/linux-64", |
|||
"constrains": [], |
|||
"depends": [ |
|||
"libgcc-ng >=11.2.0", |
|||
"ncurses >=6.4,<7.0a0", |
|||
"readline >=8.0,<9.0a0", |
|||
"zlib >=1.2.13,<1.3.0a0", |
|||
"zlib >=1.2.13,<2.0a0" |
|||
], |
|||
"extracted_package_dir": "/home/majiahui/miniconda3/pkgs/sqlite-3.41.1-h5eee18b_0", |
|||
"features": "", |
|||
"files": [ |
|||
"bin/sqlite3", |
|||
"include/sqlite3.h", |
|||
"include/sqlite3ext.h", |
|||
"lib/libsqlite3.so", |
|||
"lib/libsqlite3.so.0", |
|||
"lib/libsqlite3.so.0.8.6", |
|||
"lib/pkgconfig/sqlite3.pc", |
|||
"share/man/man1/sqlite3.1" |
|||
], |
|||
"fn": "sqlite-3.41.1-h5eee18b_0.conda", |
|||
"legacy_bz2_md5": "3517a8025e55aa6dfb4c8fbea03b8cbc", |
|||
"license": "blessing", |
|||
"license_family": "Other", |
|||
"link": { |
|||
"source": "/home/majiahui/miniconda3/pkgs/sqlite-3.41.1-h5eee18b_0", |
|||
"type": 1 |
|||
}, |
|||
"md5": "709601b06aa55f41f299ef6d374a3eef", |
|||
"name": "sqlite", |
|||
"package_tarball_full_path": "/home/majiahui/miniconda3/pkgs/sqlite-3.41.1-h5eee18b_0.conda", |
|||
"paths_data": { |
|||
"paths": [ |
|||
{ |
|||
"_path": "bin/sqlite3", |
|||
"path_type": "hardlink", |
|||
"sha256": "bf2078a4351303cd8fcaea1796bdbc24a01e451cf04956a3fb50ebd69639f0ca", |
|||
"sha256_in_prefix": "bf2078a4351303cd8fcaea1796bdbc24a01e451cf04956a3fb50ebd69639f0ca", |
|||
"size_in_bytes": 1692008 |
|||
}, |
|||
{ |
|||
"_path": "include/sqlite3.h", |
|||
"path_type": "hardlink", |
|||
"sha256": "2b119eb6d2819d2b9e7d8fb36df27f56e0f2931e51681b31fcfed0ff18673a0c", |
|||
"sha256_in_prefix": "2b119eb6d2819d2b9e7d8fb36df27f56e0f2931e51681b31fcfed0ff18673a0c", |
|||
"size_in_bytes": 620239 |
|||
}, |
|||
{ |
|||
"_path": "include/sqlite3ext.h", |
|||
"path_type": "hardlink", |
|||
"sha256": "cf9785762f8801049b841f873cdeecfa2780b0f6465e2b76f72d2c10384cf7ce", |
|||
"sha256_in_prefix": "cf9785762f8801049b841f873cdeecfa2780b0f6465e2b76f72d2c10384cf7ce", |
|||
"size_in_bytes": 37660 |
|||
}, |
|||
{ |
|||
"_path": "lib/libsqlite3.so", |
|||
"path_type": "softlink", |
|||
"sha256": "8d4c22e83eee8d90a55f76682a999b28a07f43f718c7fcf299dace3cda9171ea", |
|||
"size_in_bytes": 1469104 |
|||
}, |
|||
{ |
|||
"_path": "lib/libsqlite3.so.0", |
|||
"path_type": "softlink", |
|||
"sha256": "8d4c22e83eee8d90a55f76682a999b28a07f43f718c7fcf299dace3cda9171ea", |
|||
"size_in_bytes": 1469104 |
|||
}, |
|||
{ |
|||
"_path": "lib/libsqlite3.so.0.8.6", |
|||
"path_type": "hardlink", |
|||
"sha256": "8d4c22e83eee8d90a55f76682a999b28a07f43f718c7fcf299dace3cda9171ea", |
|||
"sha256_in_prefix": "8d4c22e83eee8d90a55f76682a999b28a07f43f718c7fcf299dace3cda9171ea", |
|||
"size_in_bytes": 1469104 |
|||
}, |
|||
{ |
|||
"_path": "lib/pkgconfig/sqlite3.pc", |
|||
"file_mode": "text", |
|||
"path_type": "hardlink", |
|||
"prefix_placeholder": "/croot/sqlite_1678877946105/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_", |
|||
"sha256": "53b10296e566afe1773c92006dcf799665e9d09e0a994c4c122aedbec0d2b251", |
|||
"sha256_in_prefix": "18ea7650cb66e33a234f9a3204ac384f91f3bf7f1c260e6a979a77e1ddf26758", |
|||
"size_in_bytes": 531 |
|||
}, |
|||
{ |
|||
"_path": "share/man/man1/sqlite3.1", |
|||
"path_type": "hardlink", |
|||
"sha256": "fb3333f3a5deabad321ca7c332e059cbf3b8bb1a39f24d95700876c2ddd26c86", |
|||
"sha256_in_prefix": "fb3333f3a5deabad321ca7c332e059cbf3b8bb1a39f24d95700876c2ddd26c86", |
|||
"size_in_bytes": 8928 |
|||
} |
|||
], |
|||
"paths_version": 1 |
|||
}, |
|||
"requested_spec": "None", |
|||
"sha256": "833e392bf6f3350e9dd754d85a9995e19cd5dff2c8aed9f25746ae4c2b9d2960", |
|||
"size": 1232384, |
|||
"subdir": "linux-64", |
|||
"timestamp": 1678878009316, |
|||
"track_features": "", |
|||
"url": "https://repo.anaconda.com/pkgs/main/linux-64/sqlite-3.41.1-h5eee18b_0.conda", |
|||
"version": "3.41.1" |
|||
} |
File diff suppressed because it is too large
File diff suppressed because it is too large
@ -0,0 +1,375 @@ |
|||
{ |
|||
"build": "py39h06a4308_0", |
|||
"build_number": 0, |
|||
"channel": "https://repo.anaconda.com/pkgs/main/linux-64", |
|||
"constrains": [], |
|||
"depends": [ |
|||
"python >=3.9,<3.10.0a0" |
|||
], |
|||
"extracted_package_dir": "/home/majiahui/miniconda3/pkgs/wheel-0.38.4-py39h06a4308_0", |
|||
"features": "", |
|||
"files": [ |
|||
"bin/wheel", |
|||
"lib/python3.9/site-packages/wheel-0.38.4-py3.9.egg-info/PKG-INFO", |
|||
"lib/python3.9/site-packages/wheel-0.38.4-py3.9.egg-info/SOURCES.txt", |
|||
"lib/python3.9/site-packages/wheel-0.38.4-py3.9.egg-info/dependency_links.txt", |
|||
"lib/python3.9/site-packages/wheel-0.38.4-py3.9.egg-info/entry_points.txt", |
|||
"lib/python3.9/site-packages/wheel-0.38.4-py3.9.egg-info/not-zip-safe", |
|||
"lib/python3.9/site-packages/wheel-0.38.4-py3.9.egg-info/requires.txt", |
|||
"lib/python3.9/site-packages/wheel-0.38.4-py3.9.egg-info/top_level.txt", |
|||
"lib/python3.9/site-packages/wheel/__init__.py", |
|||
"lib/python3.9/site-packages/wheel/__main__.py", |
|||
"lib/python3.9/site-packages/wheel/__pycache__/__init__.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/wheel/__pycache__/__main__.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/wheel/__pycache__/_setuptools_logging.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/wheel/__pycache__/bdist_wheel.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/wheel/__pycache__/macosx_libfile.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/wheel/__pycache__/metadata.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/wheel/__pycache__/util.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/wheel/__pycache__/wheelfile.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/wheel/_setuptools_logging.py", |
|||
"lib/python3.9/site-packages/wheel/bdist_wheel.py", |
|||
"lib/python3.9/site-packages/wheel/cli/__init__.py", |
|||
"lib/python3.9/site-packages/wheel/cli/__pycache__/__init__.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/wheel/cli/__pycache__/convert.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/wheel/cli/__pycache__/pack.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/wheel/cli/__pycache__/unpack.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/wheel/cli/convert.py", |
|||
"lib/python3.9/site-packages/wheel/cli/pack.py", |
|||
"lib/python3.9/site-packages/wheel/cli/unpack.py", |
|||
"lib/python3.9/site-packages/wheel/macosx_libfile.py", |
|||
"lib/python3.9/site-packages/wheel/metadata.py", |
|||
"lib/python3.9/site-packages/wheel/util.py", |
|||
"lib/python3.9/site-packages/wheel/vendored/__init__.py", |
|||
"lib/python3.9/site-packages/wheel/vendored/__pycache__/__init__.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/wheel/vendored/packaging/__init__.py", |
|||
"lib/python3.9/site-packages/wheel/vendored/packaging/__pycache__/__init__.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/wheel/vendored/packaging/__pycache__/_manylinux.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/wheel/vendored/packaging/__pycache__/_musllinux.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/wheel/vendored/packaging/__pycache__/tags.cpython-39.pyc", |
|||
"lib/python3.9/site-packages/wheel/vendored/packaging/_manylinux.py", |
|||
"lib/python3.9/site-packages/wheel/vendored/packaging/_musllinux.py", |
|||
"lib/python3.9/site-packages/wheel/vendored/packaging/tags.py", |
|||
"lib/python3.9/site-packages/wheel/wheelfile.py" |
|||
], |
|||
"fn": "wheel-0.38.4-py39h06a4308_0.conda", |
|||
"legacy_bz2_md5": "bbc6bc964d74a4e07bad3174da128e05", |
|||
"license": "MIT", |
|||
"license_family": "MIT", |
|||
"link": { |
|||
"source": "/home/majiahui/miniconda3/pkgs/wheel-0.38.4-py39h06a4308_0", |
|||
"type": 1 |
|||
}, |
|||
"md5": "83e731cfecb3797a0f2865615177f433", |
|||
"name": "wheel", |
|||
"package_tarball_full_path": "/home/majiahui/miniconda3/pkgs/wheel-0.38.4-py39h06a4308_0.conda", |
|||
"paths_data": { |
|||
"paths": [ |
|||
{ |
|||
"_path": "bin/wheel", |
|||
"file_mode": "text", |
|||
"path_type": "hardlink", |
|||
"prefix_placeholder": "/croot/wheel_1676621818208/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p", |
|||
"sha256": "fcacc076795168a88ce8281f4318851d464bb46769beb7bfcabdc80760710dc3", |
|||
"sha256_in_prefix": "52a3a4c7857301c8231c2e474599c482696a361c4f1beeafe6901c6a6cbb826a", |
|||
"size_in_bytes": 462 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel-0.38.4-py3.9.egg-info/PKG-INFO", |
|||
"path_type": "hardlink", |
|||
"sha256": "552ac9fb5272cf729a7fcd2c6f77b546d93a8f69206ad247611bfd2485978557", |
|||
"sha256_in_prefix": "552ac9fb5272cf729a7fcd2c6f77b546d93a8f69206ad247611bfd2485978557", |
|||
"size_in_bytes": 2060 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel-0.38.4-py3.9.egg-info/SOURCES.txt", |
|||
"path_type": "hardlink", |
|||
"sha256": "5082fd55d385b979d4d1c28683b4d0b0f76c32f2d18dd0f260fb5e0a348bb589", |
|||
"sha256_in_prefix": "5082fd55d385b979d4d1c28683b4d0b0f76c32f2d18dd0f260fb5e0a348bb589", |
|||
"size_in_bytes": 2373 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel-0.38.4-py3.9.egg-info/dependency_links.txt", |
|||
"path_type": "hardlink", |
|||
"sha256": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b", |
|||
"sha256_in_prefix": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b", |
|||
"size_in_bytes": 1 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel-0.38.4-py3.9.egg-info/entry_points.txt", |
|||
"path_type": "hardlink", |
|||
"sha256": "92b83e88729e7e7b24d6abcd2c39193f7fb802adc9d05ff325a6ad861b742412", |
|||
"sha256_in_prefix": "92b83e88729e7e7b24d6abcd2c39193f7fb802adc9d05ff325a6ad861b742412", |
|||
"size_in_bytes": 107 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel-0.38.4-py3.9.egg-info/not-zip-safe", |
|||
"path_type": "hardlink", |
|||
"sha256": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b", |
|||
"sha256_in_prefix": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b", |
|||
"size_in_bytes": 1 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel-0.38.4-py3.9.egg-info/requires.txt", |
|||
"path_type": "hardlink", |
|||
"sha256": "56693d2a4c6ad40f15f029c092c0fd76abbfe8a08d45948f2b199e6dce39ce2b", |
|||
"sha256_in_prefix": "56693d2a4c6ad40f15f029c092c0fd76abbfe8a08d45948f2b199e6dce39ce2b", |
|||
"size_in_bytes": 22 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel-0.38.4-py3.9.egg-info/top_level.txt", |
|||
"path_type": "hardlink", |
|||
"sha256": "1f148121b804b2d30f7b87856b0840eba32af90607328a5756802771f8dbff57", |
|||
"sha256_in_prefix": "1f148121b804b2d30f7b87856b0840eba32af90607328a5756802771f8dbff57", |
|||
"size_in_bytes": 6 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/__init__.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "db026b83eb702551c86d55ef7998f1c8cb718de9593957dff5b9e14c1b7779e7", |
|||
"sha256_in_prefix": "db026b83eb702551c86d55ef7998f1c8cb718de9593957dff5b9e14c1b7779e7", |
|||
"size_in_bytes": 59 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/__main__.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "3643149ee4c219c3a4818d0804b8010950bf04619c58e471d8af236064b5d941", |
|||
"sha256_in_prefix": "3643149ee4c219c3a4818d0804b8010950bf04619c58e471d8af236064b5d941", |
|||
"size_in_bytes": 455 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/__pycache__/__init__.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "55ac8f2cf6098df18fc67d071d0f6d8f69f0dc8d33b5da727019eaebd7293b9e", |
|||
"sha256_in_prefix": "55ac8f2cf6098df18fc67d071d0f6d8f69f0dc8d33b5da727019eaebd7293b9e", |
|||
"size_in_bytes": 209 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/__pycache__/__main__.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "61c285e980957b03b0aeda09f80e1af371d4705eec61ed850045decc89528fb6", |
|||
"sha256_in_prefix": "61c285e980957b03b0aeda09f80e1af371d4705eec61ed850045decc89528fb6", |
|||
"size_in_bytes": 601 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/__pycache__/_setuptools_logging.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "8333dac8671102f8ebbed67d19d165405f677a92826db2376047ee8697ddc527", |
|||
"sha256_in_prefix": "8333dac8671102f8ebbed67d19d165405f677a92826db2376047ee8697ddc527", |
|||
"size_in_bytes": 913 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/__pycache__/bdist_wheel.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "0d24c797727f161ed30149a1ad18633ee2c89f1e6e971357bcac7912a9a2bcd2", |
|||
"sha256_in_prefix": "0d24c797727f161ed30149a1ad18633ee2c89f1e6e971357bcac7912a9a2bcd2", |
|||
"size_in_bytes": 13114 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/__pycache__/macosx_libfile.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "fd764320b147b3e217bdbe581b7010f954d700829c488efd4b8ce051050de0ac", |
|||
"sha256_in_prefix": "fd764320b147b3e217bdbe581b7010f954d700829c488efd4b8ce051050de0ac", |
|||
"size_in_bytes": 10032 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/__pycache__/metadata.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "e9d8ea6eaaf17fc048c636056da8cf347085d1c4b8e80b2654d09e48c579a48f", |
|||
"sha256_in_prefix": "e9d8ea6eaaf17fc048c636056da8cf347085d1c4b8e80b2654d09e48c579a48f", |
|||
"size_in_bytes": 3299 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/__pycache__/util.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "769be60c9f4a251241e2de9e3acdf39ddece464503e73a61fe79891be33ccc13", |
|||
"sha256_in_prefix": "769be60c9f4a251241e2de9e3acdf39ddece464503e73a61fe79891be33ccc13", |
|||
"size_in_bytes": 835 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/__pycache__/wheelfile.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "4af2863d4433202a02aa22c4a17f549761592cad4874c5116c3b21f76ae6cfd3", |
|||
"sha256_in_prefix": "4af2863d4433202a02aa22c4a17f549761592cad4874c5116c3b21f76ae6cfd3", |
|||
"size_in_bytes": 5600 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/_setuptools_logging.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "3680a78c9e03144678e44a3ed817572ec5890b01a46a2b75b69ff5ee96a5795c", |
|||
"sha256_in_prefix": "3680a78c9e03144678e44a3ed817572ec5890b01a46a2b75b69ff5ee96a5795c", |
|||
"size_in_bytes": 746 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/bdist_wheel.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "93f81e7b6c98e137c3aff7513837320aca3a22da627532e3e8965f6ef67ddea9", |
|||
"sha256_in_prefix": "93f81e7b6c98e137c3aff7513837320aca3a22da627532e3e8965f6ef67ddea9", |
|||
"size_in_bytes": 19293 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/cli/__init__.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "35587cc7bf501b26f06692f954c42042ffb3c1283feae2ac6155db215464a50e", |
|||
"sha256_in_prefix": "35587cc7bf501b26f06692f954c42042ffb3c1283feae2ac6155db215464a50e", |
|||
"size_in_bytes": 2384 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/cli/__pycache__/__init__.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "723b2d0d9abf01ab625064e95cb5f32fda8f42362ed66218f97332efefa8f394", |
|||
"sha256_in_prefix": "723b2d0d9abf01ab625064e95cb5f32fda8f42362ed66218f97332efefa8f394", |
|||
"size_in_bytes": 2779 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/cli/__pycache__/convert.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "8717636bce03eec5ed7c6257c1d58c323824172c046151e3d692fc18c843a80d", |
|||
"sha256_in_prefix": "8717636bce03eec5ed7c6257c1d58c323824172c046151e3d692fc18c843a80d", |
|||
"size_in_bytes": 6280 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/cli/__pycache__/pack.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "4d6d220e66540efc97bbdabedda17317368ee872c6082e80fb631620285570a2", |
|||
"sha256_in_prefix": "4d6d220e66540efc97bbdabedda17317368ee872c6082e80fb631620285570a2", |
|||
"size_in_bytes": 2916 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/cli/__pycache__/unpack.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "ee16bcecfe53e0807fd70c475cde87dd9ce4f4d837e7df4a82dae5277fcd7aff", |
|||
"sha256_in_prefix": "ee16bcecfe53e0807fd70c475cde87dd9ce4f4d837e7df4a82dae5277fcd7aff", |
|||
"size_in_bytes": 922 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/cli/convert.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "b2451fe13b99724b2a1bbe49fbf2949055dd9980f14c9a4fdf5d4ed7a70d279d", |
|||
"sha256_in_prefix": "b2451fe13b99724b2a1bbe49fbf2949055dd9980f14c9a4fdf5d4ed7a70d279d", |
|||
"size_in_bytes": 9427 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/cli/pack.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "cd0d73989a2e37c63cea1089de54da2a1ea0ed26ea800d8cb8a3f5c18faf8dfc", |
|||
"sha256_in_prefix": "cd0d73989a2e37c63cea1089de54da2a1ea0ed26ea800d8cb8a3f5c18faf8dfc", |
|||
"size_in_bytes": 3383 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/cli/unpack.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "414fce54c0af616b6b8d06b5f19e5929a67018122602a248cd0a2462ddaeddb2", |
|||
"sha256_in_prefix": "414fce54c0af616b6b8d06b5f19e5929a67018122602a248cd0a2462ddaeddb2", |
|||
"size_in_bytes": 659 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/macosx_libfile.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "39733a393c753bf0022c6044d90f69ac81e3e3bb969194994ae33fef9e96f3d4", |
|||
"sha256_in_prefix": "39733a393c753bf0022c6044d90f69ac81e3e3bb969194994ae33fef9e96f3d4", |
|||
"size_in_bytes": 16145 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/metadata.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "fba9f5fa11fc62d99457ccecad17f6d3a8973c9256c84f6daa5a99bf95c6a528", |
|||
"sha256_in_prefix": "fba9f5fa11fc62d99457ccecad17f6d3a8973c9256c84f6daa5a99bf95c6a528", |
|||
"size_in_bytes": 3727 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/util.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "7b48e99ec6db33d42169a312c9aa7efd9814c5cc70a722c393a44772b76e3cb8", |
|||
"sha256_in_prefix": "7b48e99ec6db33d42169a312c9aa7efd9814c5cc70a722c393a44772b76e3cb8", |
|||
"size_in_bytes": 621 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/vendored/__init__.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", |
|||
"sha256_in_prefix": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", |
|||
"size_in_bytes": 0 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/vendored/__pycache__/__init__.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "c60b0323e7773adc1fbb4d17bc477836ef9cc56ee4fd3a0b8c69682c6d9610f4", |
|||
"sha256_in_prefix": "c60b0323e7773adc1fbb4d17bc477836ef9cc56ee4fd3a0b8c69682c6d9610f4", |
|||
"size_in_bytes": 145 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/vendored/packaging/__init__.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", |
|||
"sha256_in_prefix": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", |
|||
"size_in_bytes": 0 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/vendored/packaging/__pycache__/__init__.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "5c2b9bf6a93069c85c52dd984c5ebe3c2afa81f0e3df32c4fe52630cb8a03fa4", |
|||
"sha256_in_prefix": "5c2b9bf6a93069c85c52dd984c5ebe3c2afa81f0e3df32c4fe52630cb8a03fa4", |
|||
"size_in_bytes": 155 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/vendored/packaging/__pycache__/_manylinux.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "aeba77063f17ebba454bcfbdd276cf96b4e94f99b5f3dcab9bb2913d58699d00", |
|||
"sha256_in_prefix": "aeba77063f17ebba454bcfbdd276cf96b4e94f99b5f3dcab9bb2913d58699d00", |
|||
"size_in_bytes": 7287 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/vendored/packaging/__pycache__/_musllinux.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "392475677401c5a7947efde7766632543469fcdf79b9a651430770f210adb732", |
|||
"sha256_in_prefix": "392475677401c5a7947efde7766632543469fcdf79b9a651430770f210adb732", |
|||
"size_in_bytes": 4597 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/vendored/packaging/__pycache__/tags.cpython-39.pyc", |
|||
"path_type": "hardlink", |
|||
"sha256": "484772830223a556a296594d0dfa2acc3750a5b4e17ad52cf6ae08f451a173a7", |
|||
"sha256_in_prefix": "484772830223a556a296594d0dfa2acc3750a5b4e17ad52cf6ae08f451a173a7", |
|||
"size_in_bytes": 12183 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/vendored/packaging/_manylinux.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "d4e58a003eb1b604e038654486e8c55aa177e495aa32f40bc59119d9094723d8", |
|||
"sha256_in_prefix": "d4e58a003eb1b604e038654486e8c55aa177e495aa32f40bc59119d9094723d8", |
|||
"size_in_bytes": 11489 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/vendored/packaging/_musllinux.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "93dbd98f8b66c7412517edb2f21ee06f3d3dcc27e112367d6506de66be6c55db", |
|||
"sha256_in_prefix": "93dbd98f8b66c7412517edb2f21ee06f3d3dcc27e112367d6506de66be6c55db", |
|||
"size_in_bytes": 4374 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/vendored/packaging/tags.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "33f0d0238cc69cfab786c455f505987f94a830998107dd60aaa1bd26dcaffa6f", |
|||
"sha256_in_prefix": "33f0d0238cc69cfab786c455f505987f94a830998107dd60aaa1bd26dcaffa6f", |
|||
"size_in_bytes": 15612 |
|||
}, |
|||
{ |
|||
"_path": "lib/python3.9/site-packages/wheel/wheelfile.py", |
|||
"path_type": "hardlink", |
|||
"sha256": "f6259639672f5574b1dba61d7caf50a6d440d4e1de4518ea128ecf11beb7d662", |
|||
"sha256_in_prefix": "f6259639672f5574b1dba61d7caf50a6d440d4e1de4518ea128ecf11beb7d662", |
|||
"size_in_bytes": 7536 |
|||
} |
|||
], |
|||
"paths_version": 1 |
|||
}, |
|||
"requested_spec": "None", |
|||
"sha256": "9fea62266ddb82be6d8d0465d2841a6271444efc514bbf572cf4ae7b5c6beab8", |
|||
"size": 65087, |
|||
"subdir": "linux-64", |
|||
"timestamp": 1676621870595, |
|||
"track_features": "", |
|||
"url": "https://repo.anaconda.com/pkgs/main/linux-64/wheel-0.38.4-py39h06a4308_0.conda", |
|||
"version": "0.38.4" |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,93 @@ |
|||
{ |
|||
"build": "h5eee18b_0", |
|||
"build_number": 0, |
|||
"channel": "https://repo.anaconda.com/pkgs/main/linux-64", |
|||
"constrains": [], |
|||
"depends": [ |
|||
"libgcc-ng >=11.2.0" |
|||
], |
|||
"extracted_package_dir": "/home/majiahui/miniconda3/pkgs/zlib-1.2.13-h5eee18b_0", |
|||
"features": "", |
|||
"files": [ |
|||
"include/zconf.h", |
|||
"include/zlib.h", |
|||
"lib/libz.a", |
|||
"lib/libz.so", |
|||
"lib/libz.so.1", |
|||
"lib/libz.so.1.2.13", |
|||
"lib/pkgconfig/zlib.pc" |
|||
], |
|||
"fn": "zlib-1.2.13-h5eee18b_0.conda", |
|||
"legacy_bz2_md5": "4f315d7551f4bbeb06b6fc28342a9aa5", |
|||
"license": "Zlib", |
|||
"license_family": "Other", |
|||
"link": { |
|||
"source": "/home/majiahui/miniconda3/pkgs/zlib-1.2.13-h5eee18b_0", |
|||
"type": 1 |
|||
}, |
|||
"md5": "333e31fbfbb5057c92fa845ad6adef93", |
|||
"name": "zlib", |
|||
"package_tarball_full_path": "/home/majiahui/miniconda3/pkgs/zlib-1.2.13-h5eee18b_0.conda", |
|||
"paths_data": { |
|||
"paths": [ |
|||
{ |
|||
"_path": "include/zconf.h", |
|||
"path_type": "hardlink", |
|||
"sha256": "e5a9079e37fa799583634fcd6905b53f1c20fd1d98e6bae942674c3c419b9fab", |
|||
"sha256_in_prefix": "e5a9079e37fa799583634fcd6905b53f1c20fd1d98e6bae942674c3c419b9fab", |
|||
"size_in_bytes": 16671 |
|||
}, |
|||
{ |
|||
"_path": "include/zlib.h", |
|||
"path_type": "hardlink", |
|||
"sha256": "a980a0d104198a53cc220c51ab5856e5be901bec8a2d02e0ee79a8754219dfed", |
|||
"sha256_in_prefix": "a980a0d104198a53cc220c51ab5856e5be901bec8a2d02e0ee79a8754219dfed", |
|||
"size_in_bytes": 97323 |
|||
}, |
|||
{ |
|||
"_path": "lib/libz.a", |
|||
"path_type": "hardlink", |
|||
"sha256": "adc88690bcc3b1bfde01a3375879a78677c72e5cc331566627f47343313881a9", |
|||
"sha256_in_prefix": "adc88690bcc3b1bfde01a3375879a78677c72e5cc331566627f47343313881a9", |
|||
"size_in_bytes": 165662 |
|||
}, |
|||
{ |
|||
"_path": "lib/libz.so", |
|||
"path_type": "softlink", |
|||
"sha256": "0b0e682a9dc7fd4895a6783288f851b793dc89633f28714027974fa4d66f3914", |
|||
"size_in_bytes": 124744 |
|||
}, |
|||
{ |
|||
"_path": "lib/libz.so.1", |
|||
"path_type": "softlink", |
|||
"sha256": "0b0e682a9dc7fd4895a6783288f851b793dc89633f28714027974fa4d66f3914", |
|||
"size_in_bytes": 124744 |
|||
}, |
|||
{ |
|||
"_path": "lib/libz.so.1.2.13", |
|||
"path_type": "hardlink", |
|||
"sha256": "0b0e682a9dc7fd4895a6783288f851b793dc89633f28714027974fa4d66f3914", |
|||
"sha256_in_prefix": "0b0e682a9dc7fd4895a6783288f851b793dc89633f28714027974fa4d66f3914", |
|||
"size_in_bytes": 124744 |
|||
}, |
|||
{ |
|||
"_path": "lib/pkgconfig/zlib.pc", |
|||
"file_mode": "text", |
|||
"path_type": "hardlink", |
|||
"prefix_placeholder": "/croot/zlib_1666594980945/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl", |
|||
"sha256": "11202b5c550c2d9b391a82e4c02e1f4a5647684b657d35d0422a179a668f1cce", |
|||
"sha256_in_prefix": "dbbce8c765504cdaa574c5f9a5877b636bfdc234da6bdbdce9124e0f483ae0bf", |
|||
"size_in_bytes": 1487 |
|||
} |
|||
], |
|||
"paths_version": 1 |
|||
}, |
|||
"requested_spec": "None", |
|||
"sha256": "4b69b6752e384459b1fc47dfc078598d5b687b3ccffe21591676b640481fb794", |
|||
"size": 105851, |
|||
"subdir": "linux-64", |
|||
"timestamp": 1666595012798, |
|||
"track_features": "", |
|||
"url": "https://repo.anaconda.com/pkgs/main/linux-64/zlib-1.2.13-h5eee18b_0.conda", |
|||
"version": "1.2.13" |
|||
} |
@ -0,0 +1,200 @@ |
|||
#!/croot/openssl_1676330466875/_build_env/bin/perl |
|||
# Copyright 2002-2018 The OpenSSL Project Authors. All Rights Reserved. |
|||
# Copyright (c) 2002 The OpenTSA Project. All rights reserved. |
|||
# |
|||
# Licensed under the OpenSSL license (the "License"). You may not use |
|||
# this file except in compliance with the License. You can obtain a copy |
|||
# in the file LICENSE in the source distribution or at |
|||
# https://www.openssl.org/source/license.html |
|||
|
|||
use strict; |
|||
use IO::Handle; |
|||
use Getopt::Std; |
|||
use File::Basename; |
|||
use WWW::Curl::Easy; |
|||
|
|||
use vars qw(%options); |
|||
|
|||
# Callback for reading the body. |
|||
sub read_body { |
|||
my ($maxlength, $state) = @_; |
|||
my $return_data = ""; |
|||
my $data_len = length ${$state->{data}}; |
|||
if ($state->{bytes} < $data_len) { |
|||
$data_len = $data_len - $state->{bytes}; |
|||
$data_len = $maxlength if $data_len > $maxlength; |
|||
$return_data = substr ${$state->{data}}, $state->{bytes}, $data_len; |
|||
$state->{bytes} += $data_len; |
|||
} |
|||
return $return_data; |
|||
} |
|||
|
|||
# Callback for writing the body into a variable. |
|||
sub write_body { |
|||
my ($data, $pointer) = @_; |
|||
${$pointer} .= $data; |
|||
return length($data); |
|||
} |
|||
|
|||
# Initialise a new Curl object. |
|||
sub create_curl { |
|||
my $url = shift; |
|||
|
|||
# Create Curl object. |
|||
my $curl = WWW::Curl::Easy::new(); |
|||
|
|||
# Error-handling related options. |
|||
$curl->setopt(CURLOPT_VERBOSE, 1) if $options{d}; |
|||
$curl->setopt(CURLOPT_FAILONERROR, 1); |
|||
$curl->setopt(CURLOPT_USERAGENT, |
|||
"OpenTSA tsget.pl/openssl-1.1.1t"); |
|||
|
|||
# Options for POST method. |
|||
$curl->setopt(CURLOPT_UPLOAD, 1); |
|||
$curl->setopt(CURLOPT_CUSTOMREQUEST, "POST"); |
|||
$curl->setopt(CURLOPT_HTTPHEADER, |
|||
["Content-Type: application/timestamp-query", |
|||
"Accept: application/timestamp-reply,application/timestamp-response"]); |
|||
$curl->setopt(CURLOPT_READFUNCTION, \&read_body); |
|||
$curl->setopt(CURLOPT_HEADERFUNCTION, sub { return length($_[0]); }); |
|||
|
|||
# Options for getting the result. |
|||
$curl->setopt(CURLOPT_WRITEFUNCTION, \&write_body); |
|||
|
|||
# SSL related options. |
|||
$curl->setopt(CURLOPT_SSLKEYTYPE, "PEM"); |
|||
$curl->setopt(CURLOPT_SSL_VERIFYPEER, 1); # Verify server's certificate. |
|||
$curl->setopt(CURLOPT_SSL_VERIFYHOST, 2); # Check server's CN. |
|||
$curl->setopt(CURLOPT_SSLKEY, $options{k}) if defined($options{k}); |
|||
$curl->setopt(CURLOPT_SSLKEYPASSWD, $options{p}) if defined($options{p}); |
|||
$curl->setopt(CURLOPT_SSLCERT, $options{c}) if defined($options{c}); |
|||
$curl->setopt(CURLOPT_CAINFO, $options{C}) if defined($options{C}); |
|||
$curl->setopt(CURLOPT_CAPATH, $options{P}) if defined($options{P}); |
|||
$curl->setopt(CURLOPT_RANDOM_FILE, $options{r}) if defined($options{r}); |
|||
$curl->setopt(CURLOPT_EGDSOCKET, $options{g}) if defined($options{g}); |
|||
|
|||
# Setting destination. |
|||
$curl->setopt(CURLOPT_URL, $url); |
|||
|
|||
return $curl; |
|||
} |
|||
|
|||
# Send a request and returns the body back. |
|||
sub get_timestamp { |
|||
my $curl = shift; |
|||
my $body = shift; |
|||
my $ts_body; |
|||
local $::error_buf; |
|||
|
|||
# Error-handling related options. |
|||
$curl->setopt(CURLOPT_ERRORBUFFER, "::error_buf"); |
|||
|
|||
# Options for POST method. |
|||
$curl->setopt(CURLOPT_INFILE, {data => $body, bytes => 0}); |
|||
$curl->setopt(CURLOPT_INFILESIZE, length(${$body})); |
|||
|
|||
# Options for getting the result. |
|||
$curl->setopt(CURLOPT_FILE, \$ts_body); |
|||
|
|||
# Send the request... |
|||
my $error_code = $curl->perform(); |
|||
my $error_string; |
|||
if ($error_code != 0) { |
|||
my $http_code = $curl->getinfo(CURLINFO_HTTP_CODE); |
|||
$error_string = "could not get timestamp"; |
|||
$error_string .= ", http code: $http_code" unless $http_code == 0; |
|||
$error_string .= ", curl code: $error_code"; |
|||
$error_string .= " ($::error_buf)" if defined($::error_buf); |
|||
} else { |
|||
my $ct = $curl->getinfo(CURLINFO_CONTENT_TYPE); |
|||
if (lc($ct) ne "application/timestamp-reply" |
|||
&& lc($ct) ne "application/timestamp-response") { |
|||
$error_string = "unexpected content type returned: $ct"; |
|||
} |
|||
} |
|||
return ($ts_body, $error_string); |
|||
|
|||
} |
|||
|
|||
# Print usage information and exists. |
|||
sub usage { |
|||
|
|||
print STDERR "usage: $0 -h <server_url> [-e <extension>] [-o <output>] "; |
|||
print STDERR "[-v] [-d] [-k <private_key.pem>] [-p <key_password>] "; |
|||
print STDERR "[-c <client_cert.pem>] [-C <CA_certs.pem>] [-P <CA_path>] "; |
|||
print STDERR "[-r <file:file...>] [-g <EGD_socket>] [<request>]...\n"; |
|||
exit 1; |
|||
} |
|||
|
|||
# ---------------------------------------------------------------------- |
|||
# Main program |
|||
# ---------------------------------------------------------------------- |
|||
|
|||
# Getting command-line options (default comes from TSGET environment variable). |
|||
my $getopt_arg = "h:e:o:vdk:p:c:C:P:r:g:"; |
|||
if (exists $ENV{TSGET}) { |
|||
my @old_argv = @ARGV; |
|||
@ARGV = split /\s+/, $ENV{TSGET}; |
|||
getopts($getopt_arg, \%options) or usage; |
|||
@ARGV = @old_argv; |
|||
} |
|||
getopts($getopt_arg, \%options) or usage; |
|||
|
|||
# Checking argument consistency. |
|||
if (!exists($options{h}) || (@ARGV == 0 && !exists($options{o})) |
|||
|| (@ARGV > 1 && exists($options{o}))) { |
|||
print STDERR "Inconsistent command line options.\n"; |
|||
usage; |
|||
} |
|||
# Setting defaults. |
|||
@ARGV = ("-") unless @ARGV != 0; |
|||
$options{e} = ".tsr" unless defined($options{e}); |
|||
|
|||
# Processing requests. |
|||
my $curl = create_curl $options{h}; |
|||
undef $/; # For reading whole files. |
|||
REQUEST: foreach (@ARGV) { |
|||
my $input = $_; |
|||
my ($base, $path) = fileparse($input, '\.[^.]*'); |
|||
my $output_base = $base . $options{e}; |
|||
my $output = defined($options{o}) ? $options{o} : $path . $output_base; |
|||
|
|||
STDERR->printflush("$input: ") if $options{v}; |
|||
# Read request. |
|||
my $body; |
|||
if ($input eq "-") { |
|||
# Read the request from STDIN; |
|||
$body = <STDIN>; |
|||
} else { |
|||
# Read the request from file. |
|||
open INPUT, "<" . $input |
|||
or warn("$input: could not open input file: $!\n"), next REQUEST; |
|||
$body = <INPUT>; |
|||
close INPUT |
|||
or warn("$input: could not close input file: $!\n"), next REQUEST; |
|||
} |
|||
|
|||
# Send request. |
|||
STDERR->printflush("sending request") if $options{v}; |
|||
|
|||
my ($ts_body, $error) = get_timestamp $curl, \$body; |
|||
if (defined($error)) { |
|||
die "$input: fatal error: $error\n"; |
|||
} |
|||
STDERR->printflush(", reply received") if $options{v}; |
|||
|
|||
# Write response. |
|||
if ($output eq "-") { |
|||
# Write to STDOUT. |
|||
print $ts_body; |
|||
} else { |
|||
# Write to file. |
|||
open OUTPUT, ">", $output |
|||
or warn("$output: could not open output file: $!\n"), next REQUEST; |
|||
print OUTPUT $ts_body; |
|||
close OUTPUT |
|||
or warn("$output: could not close output file: $!\n"), next REQUEST; |
|||
} |
|||
STDERR->printflush(", $output written.\n") if $options{v}; |
|||
} |
|||
$curl->cleanup(); |
Binary file not shown.
Binary file not shown.
@ -0,0 +1,40 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
""" |
|||
@Time : 2023/3/30 14:16 |
|||
@Author : |
|||
@FileName: |
|||
@Software: |
|||
@Describe: |
|||
""" |
|||
from flask import send_file, send_from_directory |
|||
from flask import Flask, jsonify |
|||
import os |
|||
from flask import request |
|||
from flask import make_response |
|||
|
|||
app = Flask(__name__) |
|||
app.config["JSON_AS_ASCII"] = False |
|||
|
|||
|
|||
# @app.route('/download', methods=["GET", "POST"]) |
|||
# def download(): |
|||
# path = './new_data_txt/大型商业建筑人员疏散设计研究(1).docx' |
|||
# return send_file(path, |
|||
# as_attachment=True, |
|||
# download_name="大型商业建筑人员疏散设计研究(1).docx") |
|||
# |
|||
# # rv.headers['Content-Disposition'] += "; filename*=utf-8''{}".format(filename) |
|||
|
|||
|
|||
@app.route("/download/<filename>", methods=['GET']) |
|||
def download_file(filename): |
|||
# 需要知道2个参数, 第1个参数是本地目录的path, 第2个参数是文件名(带扩展名) |
|||
directory = './new_data_txt/' # 假设在当前目录 |
|||
|
|||
response = make_response(send_from_directory(directory, filename, as_attachment=True)) |
|||
response.headers["Content-Disposition"] = "attachment; filename={}".format(filename.encode().decode('latin-1')) |
|||
return response |
|||
|
|||
if __name__ == "__main__": |
|||
app.run(host="0.0.0.0", port=14009, threaded=True, debug=False) |
@ -0,0 +1,385 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
""" |
|||
@Time : 2023/3/29 14:27 |
|||
@Author : |
|||
@FileName: |
|||
@Software: |
|||
@Describe: |
|||
""" |
|||
|
|||
import os |
|||
from flask import Flask, jsonify, Response |
|||
from flask import request |
|||
import redis |
|||
import uuid |
|||
import json |
|||
import time |
|||
import threading |
|||
from threading import Thread |
|||
from flask import send_file, send_from_directory |
|||
import os |
|||
from flask import make_response |
|||
import openai |
|||
import base64 |
|||
import re |
|||
import urllib.parse as pa |
|||
|
|||
|
|||
pool = redis.ConnectionPool(host='localhost', port=6379, max_connections=50, db=1) |
|||
redis_ = redis.Redis(connection_pool=pool, decode_responses=True) |
|||
|
|||
db_key_query = 'query' |
|||
db_key_querying = 'querying' |
|||
batch_size = 32 |
|||
|
|||
app = Flask(__name__) |
|||
app.config["JSON_AS_ASCII"] = False |
|||
|
|||
import logging |
|||
lock = threading.RLock() |
|||
|
|||
mulu_prompt = "请帮我根据题目为“{}”生成一个论文目录" |
|||
first_title_prompt = "论文题目是“{}”,目录是“{}”,请把其中的大标题“{}”的内容续写完整,保证续写内容不少于1000字" |
|||
small_title_prompt = "论文题目是“{}”,目录是“{}”,请把其中的小标题“{}”的内容续写完整,保证续写内容不少于1000字" |
|||
references_prompt = "论文题目是“{}”,目录是“{}”,请为这篇论文生成中文的{}" |
|||
thank_prompt = "论文题目是“{}”,目录是“{}”,请把其中的{}部分续写完整" |
|||
kaitibaogao_prompt = "请以《{}》为题目生成研究的主要的内容、背景、目的、意义,要求不少于1500字" |
|||
|
|||
dabiaoti = ["二","三","四","五","六","七","八","九"] |
|||
|
|||
# 正则 |
|||
pantten_second_biaoti = '[2二ⅡⅠ][、.]\s{0,}?[\u4e00-\u9fa5]+' |
|||
pantten_other_biaoti = '[2-9二三四五六七八九ⅡⅢⅣⅤⅥⅦⅧⅨ][、.]\s{0,}?[\u4e00-\u9fa5]+' |
|||
|
|||
project_data_txt_path = "/home/majiahui/ChatGPT_Sever/new_data_txt" |
|||
|
|||
api_key_list = ["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", |
|||
"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", |
|||
"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", |
|||
"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"] |
|||
|
|||
def chat_title(title, api_key): |
|||
global lock |
|||
# time.sleep(5) |
|||
# return [str(i) for i in range(20)] |
|||
openai.api_key = api_key |
|||
res = openai.ChatCompletion.create( |
|||
model="gpt-3.5-turbo", |
|||
messages=[ |
|||
{"role": "user", "content": mulu_prompt.format(title)}, |
|||
], |
|||
temperature=0.5 |
|||
) |
|||
lock.acquire() |
|||
api_key_list.append(api_key) |
|||
lock.release() |
|||
mulu = res.choices[0].message.content |
|||
mulu_list = str(mulu).split("\n") |
|||
mulu_list = [i.strip() for i in mulu_list if i != ""] |
|||
return mulu, mulu_list |
|||
|
|||
|
|||
def chat_kaitibaogao(title, api_key, uuid_path): |
|||
global lock |
|||
openai.api_key = api_key |
|||
res = openai.ChatCompletion.create( |
|||
model="gpt-3.5-turbo", |
|||
messages=[ |
|||
{"role": "user", "content": kaitibaogao_prompt.format(title)}, |
|||
], |
|||
temperature=0.5 |
|||
) |
|||
kaitibaogao = res.choices[0].message.content |
|||
kaitibaogao_path = os.path.join(uuid_path, "kaitibaogao.txt") |
|||
with open(kaitibaogao_path, 'w', encoding='utf8') as f_kaitibaogao: |
|||
f_kaitibaogao.write(kaitibaogao) |
|||
lock.acquire() |
|||
api_key_list.append(api_key) |
|||
lock.release() |
|||
|
|||
|
|||
class GeneratePaper: |
|||
def __init__(self, mulu, table): |
|||
self.mulu = mulu |
|||
self.paper = [""] * len(table) |
|||
|
|||
def chat_content_(self,api_key, mulu_title_id, title, mulu, subtitle, prompt): |
|||
global lock |
|||
# time.sleep(5) |
|||
# api_key_list.append(api_key) |
|||
# self.paper[mulu_title_id] = subtitle |
|||
if subtitle[:2] == "@@": |
|||
self.paper[mulu_title_id] = subtitle[2:] |
|||
else: |
|||
openai.api_key = api_key |
|||
res = openai.ChatCompletion.create( |
|||
model="gpt-3.5-turbo", |
|||
messages=[ |
|||
{"role": "user", "content": prompt.format(title, mulu, subtitle)}, |
|||
], |
|||
temperature=0.5 |
|||
) |
|||
self.paper[mulu_title_id] = res.choices[0].message.content |
|||
lock.acquire() |
|||
api_key_list.append(api_key) |
|||
lock.release() |
|||
# return res.choices[0].message.content |
|||
|
|||
|
|||
def classify(): # 调用模型,设置最大batch_size |
|||
while True: |
|||
if redis_.llen(db_key_query) == 0: # 若队列中没有元素就继续获取 |
|||
time.sleep(3) |
|||
continue |
|||
thread_list = [] |
|||
query = redis_.lpop(db_key_query).decode('UTF-8') # 获取query的text |
|||
data_dict_path = json.loads(query) |
|||
query_id = data_dict_path['id'] |
|||
title = data_dict_path['title'] |
|||
# project_data_txt_path = os.path.abspath("new_data_txt") |
|||
# uuid_path = "new_data_txt/{}/".format(query_id) |
|||
|
|||
# uuid路径 |
|||
uuid_path = os.path.join(project_data_txt_path, query_id) |
|||
print("uuid",query_id) |
|||
os.makedirs(uuid_path) |
|||
print("uuid_path", os.path.exists(uuid_path)) |
|||
|
|||
# 生成开题报告 |
|||
# title, api_key, uuid_path |
|||
api_key = api_key_list.pop() |
|||
t = Thread(target=chat_kaitibaogao, args=(title, |
|||
api_key, |
|||
uuid_path, |
|||
)) |
|||
t.start() |
|||
thread_list.append(t) |
|||
|
|||
# 生成目录 |
|||
while True: |
|||
if api_key_list != []: |
|||
api_key = api_key_list.pop() |
|||
break |
|||
else: |
|||
time.sleep(3) |
|||
|
|||
|
|||
mulu, mulu_list = chat_title(title, api_key) |
|||
|
|||
|
|||
# mulu_base64 = base64.b64encode(mulu.encode('utf-8')) |
|||
# mulu_path = os.path.join(uuid_path, "mulu.txt") |
|||
# with open(mulu_path, 'wb', encoding='utf8') as f2: |
|||
# f2.write(mulu_base64) |
|||
|
|||
|
|||
index = 0 |
|||
print(mulu_list) |
|||
|
|||
cun_bool = False |
|||
table_of_contents = [mulu_list[0]] |
|||
|
|||
for i in mulu_list[1:]: |
|||
result_second_biaoti_list = re.findall(pantten_second_biaoti, i) |
|||
result_other_biaoti_list = re.findall(pantten_other_biaoti, i) |
|||
if result_second_biaoti_list != []: |
|||
table_of_contents.append("@@" + i) |
|||
cun_bool = True |
|||
continue |
|||
if cun_bool == False: |
|||
continue |
|||
else: |
|||
if result_other_biaoti_list != []: |
|||
table_of_contents.append("@@" + i) |
|||
else: |
|||
table_of_contents.append(i) |
|||
|
|||
print(table_of_contents) |
|||
# table_of_contents = table_of_contents[:3] + table_of_contents[-1:] |
|||
# print(table_of_contents) |
|||
chat_class = GeneratePaper(mulu_list, table_of_contents) |
|||
print(len(table_of_contents)) |
|||
############################################################ |
|||
while True: |
|||
if api_key_list == []: |
|||
continue |
|||
if index == len(table_of_contents): |
|||
break |
|||
api_key = api_key_list.pop() |
|||
subtitle = table_of_contents[index] |
|||
if index == 0: |
|||
prompt = first_title_prompt |
|||
elif subtitle == "参考文献": |
|||
prompt = references_prompt |
|||
elif subtitle == "致谢": |
|||
prompt = thank_prompt |
|||
else: |
|||
prompt = first_title_prompt |
|||
print("请求的所有参数", api_key, |
|||
index, |
|||
title, |
|||
mulu_list, |
|||
subtitle, |
|||
prompt) |
|||
|
|||
t = Thread(target=chat_class.chat_content_, args=(api_key, |
|||
index, |
|||
title, |
|||
mulu_list, |
|||
subtitle, |
|||
prompt)) |
|||
t.start() |
|||
thread_list.append(t) |
|||
lock.acquire() |
|||
index += 1 |
|||
lock.release() |
|||
|
|||
for thread in thread_list: |
|||
thread.join() |
|||
|
|||
|
|||
print(chat_class.paper) |
|||
paper = "\n".join(chat_class.paper) |
|||
print(paper) |
|||
|
|||
content_path = os.path.join(uuid_path, "content.txt") |
|||
with open(content_path, 'w', encoding='utf8') as f_content: |
|||
f_content.write(paper) |
|||
|
|||
mulu_path = os.path.join(uuid_path, "mulu.txt") |
|||
with open(mulu_path, 'w', encoding='utf8') as f_mulu: |
|||
f_mulu.write(mulu) |
|||
|
|||
kaitibaogao_txt_path = os.path.join(uuid_path, "kaitibaogao.txt") |
|||
|
|||
# word保存路径 |
|||
|
|||
save_word_paper = os.path.join(uuid_path, "paper.docx") |
|||
save_word_paper_start = os.path.join(uuid_path, "paper_start.docx".format(title)) |
|||
|
|||
# content_base64 = base64.b64encode(paper.encode('utf-8')) |
|||
# content_path = os.path.join(uuid_path, "content.txt") |
|||
# with open(content_path, 'wb', encoding='utf8') as f2: |
|||
# f2.write(content_base64) |
|||
|
|||
# 拼接成word |
|||
title = pa.quote(title) |
|||
mulu_path = mulu_path |
|||
content_path = content_path |
|||
|
|||
# 调用jar包 |
|||
print("java_path", mulu_path, content_path, title, save_word_paper) |
|||
os.system( |
|||
"java -Dfile.encoding=UTF-8 -jar '/home/majiahui/ChatGPT_Sever/createAiXieZuoWord.jar' '{}' '{}' '{}' '{}'".format( |
|||
mulu_path, content_path, title, save_word_paper)) |
|||
|
|||
print("jaba_kaitibaogao", kaitibaogao_txt_path, save_word_paper_start) |
|||
os.system("java -Dfile.encoding=UTF-8 -jar '/home/majiahui/ChatGPT_Sever/createAiXieZuoKaitiWord.jar' '{}' '{}'".format( |
|||
kaitibaogao_txt_path, save_word_paper_start)) |
|||
|
|||
url_path_paper = "http://104.244.90.248:14000/download?filename_path={}/paper.docx".format(query_id) |
|||
url_path_kaiti = "http://104.244.90.248:14000/download?filename_path={}/paper_start.docx".format(query_id) |
|||
# content_path = os.path.join(uuid_path, "content.txt") |
|||
# load_result_path = res_path.format(query_id) |
|||
# load_result_path = os.path.abspath(load_result_path) |
|||
# with open(load_result_path, 'w', encoding='utf8') as f2: |
|||
# f2.write(paper) |
|||
|
|||
return_text = str({"id":query_id, |
|||
"content_url_path": url_path_paper, |
|||
"content_report_url_path": url_path_kaiti, |
|||
"probabilities": None, |
|||
"status_code": 200}) |
|||
redis_.srem(db_key_querying, query_id) |
|||
redis_.set(query_id, return_text, 28800) |
|||
|
|||
|
|||
@app.route("/chat", methods=["POST"]) |
|||
def chat(): |
|||
print(request.remote_addr) |
|||
title = request.json["title"] |
|||
id_ = str(uuid.uuid1()) |
|||
|
|||
redis_.rpush(db_key_query, json.dumps({"id":id_, "title": title})) # 加入redis |
|||
return_text = {"texts": {'id': id_,}, "probabilities": None, "status_code": 200} |
|||
print("ok") |
|||
redis_.sadd(db_key_querying, id_) |
|||
|
|||
return jsonify(return_text) # 返回结果 |
|||
|
|||
|
|||
@app.route("/download", methods=['GET']) |
|||
def download_file(): |
|||
# 需要知道2个参数, 第1个参数是本地目录的path, 第2个参数是文件名(带扩展名) |
|||
# directory = os.path.join(project_data_txt_path, filename) # 假设在当前目录 |
|||
|
|||
# uuid_path, word_name = str(filename).split("/") |
|||
# word_path_root = os.path.join(project_data_txt_path, uuid_path) |
|||
# response = make_response(send_from_directory(word_path_root, word_name, as_attachment=True)) |
|||
# response.headers["Content-Disposition"] = "attachment; filename={}".format(filename.encode().decode('latin-1')) |
|||
filename_path = request.args.get('filename_path', '') |
|||
filename = filename_path.split("/")[1] |
|||
path_name = os.path.join(project_data_txt_path, filename_path) |
|||
with open(path_name, 'rb') as f: |
|||
stream = f.read() |
|||
response = Response(stream, content_type='application/octet-stream') |
|||
response.headers['Content-disposition'] = 'attachment; filename={}'.format(filename) |
|||
|
|||
return response |
|||
|
|||
|
|||
@app.route("/search", methods=["POST"]) |
|||
def search(): |
|||
id_ = request.json['id'] # 获取用户query中的文本 例如"I love you" |
|||
result = redis_.get(id_) # 获取该query的模型结果 |
|||
if result is not None: |
|||
# redis_.delete(id_) |
|||
# result_dict = result.decode('UTF-8') |
|||
|
|||
result_dict = eval(result) |
|||
# return_text = {"id":query_id, "load_result_path": load_result_path, "probabilities": None, "status_code": 200} |
|||
query_id = result_dict["id"] |
|||
# "content_url_path": url_path_paper, |
|||
# "content_report_url_path": url_path_kaiti, |
|||
content_url_path = result_dict["content_url_path"] |
|||
content_report_url_path = result_dict["content_report_url_path"] |
|||
probabilities = result_dict["probabilities"] |
|||
result_text = {'code': 200, |
|||
'content_url_path': content_url_path, |
|||
'content_report_url_path': content_report_url_path, |
|||
'probabilities': probabilities} |
|||
else: |
|||
querying_list = list(redis_.smembers("querying")) |
|||
querying_set = set() |
|||
for i in querying_list: |
|||
querying_set.add(i.decode()) |
|||
|
|||
querying_bool = False |
|||
if id_ in querying_set: |
|||
querying_bool = True |
|||
|
|||
query_list_json = redis_.lrange(db_key_query, 0, -1) |
|||
query_set_ids = set() |
|||
for i in query_list_json: |
|||
data_dict = json.loads(i) |
|||
query_id = data_dict['id'] |
|||
query_set_ids.add(query_id) |
|||
|
|||
query_bool = False |
|||
if id_ in query_set_ids: |
|||
query_bool = True |
|||
|
|||
if querying_bool == True and query_bool == True: |
|||
result_text = {'code': "201", 'text': "", 'probabilities': None} |
|||
elif querying_bool == True and query_bool == False: |
|||
result_text = {'code': "202", 'text': "", 'probabilities': None} |
|||
else: |
|||
result_text = {'code': "203", 'text': "", 'probabilities': None} |
|||
return jsonify(result_text) # 返回结果 |
|||
|
|||
t = Thread(target=classify) |
|||
t.start() |
|||
|
|||
if __name__ == "__main__": |
|||
app.run(host="0.0.0.0", port=14000, threaded=True, debug=False) |
@ -0,0 +1,28 @@ |
|||
import os |
|||
|
|||
|
|||
import os |
|||
import urllib.parse as pa |
|||
|
|||
os.system('df -h') |
|||
|
|||
mulu = "/home/majiahui/ChatGPT_Sever/new_data_txt/c799722c-cfaf-11ed-8ad4-aaaa001aad2e/mulu.txt" |
|||
content = "/home/majiahui/ChatGPT_Sever/new_data_txt/c799722c-cfaf-11ed-8ad4-aaaa001aad2e/content.txt" |
|||
kaitibaogao = "/home/majiahui/ChatGPT_Sever/new_data_txt/c799722c-cfaf-11ed-8ad4-aaaa001aad2e/kaitibaogao.txt" |
|||
title = pa.quote("大型商业建筑人员疏散设计研究") |
|||
save_word = "/home/majiahui/ChatGPT_Sever/new_data_txt/c799722c-cfaf-11ed-8ad4-aaaa001aad2e/paper.docx" |
|||
save_word_kaiti = "/home/majiahui/ChatGPT_Sever/new_data_txt/c799722c-cfaf-11ed-8ad4-aaaa001aad2e/paper_kaiti.docx" |
|||
|
|||
print("java -Dfile.encoding=UTF-8 -jar '/home/majiahui/ChatGPT_Sever/createAiXieZuoWord.jar' '{}' '{}' '{}' '{}'".format(mulu, |
|||
content, |
|||
title, |
|||
save_word)) |
|||
os.system("java -Dfile.encoding=UTF-8 -jar '/home/majiahui/ChatGPT_Sever/createAiXieZuoWord.jar' '{}' '{}' '{}' '{}'".format(mulu, content, title, save_word)) |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
os.system("java -Dfile.encoding=UTF-8 -jar '/home/majiahui/ChatGPT_Sever/createAiXieZuoKaitiWord.jar' '{}' '{}'".format(kaitibaogao, |
|||
save_word_kaiti)) |
@ -0,0 +1,385 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
""" |
|||
@Time : 2023/3/29 14:27 |
|||
@Author : |
|||
@FileName: |
|||
@Software: |
|||
@Describe: |
|||
""" |
|||
|
|||
import os |
|||
from flask import Flask, jsonify, Response |
|||
from flask import request |
|||
import redis |
|||
import uuid |
|||
import json |
|||
import time |
|||
import threading |
|||
from threading import Thread |
|||
from flask import send_file, send_from_directory |
|||
import os |
|||
from flask import make_response |
|||
import openai |
|||
import base64 |
|||
import re |
|||
import urllib.parse as pa |
|||
|
|||
|
|||
pool = redis.ConnectionPool(host='localhost', port=6379, max_connections=50, db=2) |
|||
redis_ = redis.Redis(connection_pool=pool, decode_responses=True) |
|||
|
|||
db_key_query = 'query' |
|||
db_key_querying = 'querying' |
|||
batch_size = 32 |
|||
|
|||
app = Flask(__name__) |
|||
app.config["JSON_AS_ASCII"] = False |
|||
|
|||
import logging |
|||
lock = threading.RLock() |
|||
|
|||
mulu_prompt = "请帮我根据题目为“{}”生成一个论文目录" |
|||
first_title_prompt = "论文题目是“{}”,目录是“{}”,请把其中的大标题“{}”的内容续写完整,保证续写内容不少于1000字" |
|||
small_title_prompt = "论文题目是“{}”,目录是“{}”,请把其中的小标题“{}”的内容续写完整,保证续写内容不少于1000字" |
|||
references_prompt = "论文题目是“{}”,目录是“{}”,请为这篇论文生成中文的{}" |
|||
thank_prompt = "论文题目是“{}”,目录是“{}”,请把其中的{}部分续写完整" |
|||
kaitibaogao_prompt = "请以《{}》为题目生成研究的主要的内容、背景、目的、意义,要求不少于1500字" |
|||
|
|||
dabiaoti = ["二","三","四","五","六","七","八","九"] |
|||
|
|||
# 正则 |
|||
pantten_second_biaoti = '[2二ⅡⅠ][、.]\s{0,}?[\u4e00-\u9fa5]+' |
|||
pantten_other_biaoti = '[2-9二三四五六七八九ⅡⅢⅣⅤⅥⅦⅧⅨ][、.]\s{0,}?[\u4e00-\u9fa5]+' |
|||
|
|||
project_data_txt_path = "/home/majiahui/ChatGPT_Sever/new_data_txt" |
|||
|
|||
api_key_list = ["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", |
|||
"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", |
|||
"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", |
|||
"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"] |
|||
|
|||
def chat_title(title, api_key): |
|||
global lock |
|||
# time.sleep(5) |
|||
# return [str(i) for i in range(20)] |
|||
openai.api_key = api_key |
|||
res = openai.ChatCompletion.create( |
|||
model="gpt-3.5-turbo", |
|||
messages=[ |
|||
{"role": "user", "content": mulu_prompt.format(title)}, |
|||
], |
|||
temperature=0.5 |
|||
) |
|||
lock.acquire() |
|||
api_key_list.append(api_key) |
|||
lock.release() |
|||
mulu = res.choices[0].message.content |
|||
mulu_list = str(mulu).split("\n") |
|||
mulu_list = [i.strip() for i in mulu_list if i != ""] |
|||
return mulu, mulu_list |
|||
|
|||
|
|||
def chat_kaitibaogao(title, api_key, uuid_path): |
|||
global lock |
|||
openai.api_key = api_key |
|||
res = openai.ChatCompletion.create( |
|||
model="gpt-3.5-turbo", |
|||
messages=[ |
|||
{"role": "user", "content": kaitibaogao_prompt.format(title)}, |
|||
], |
|||
temperature=0.5 |
|||
) |
|||
kaitibaogao = res.choices[0].message.content |
|||
kaitibaogao_path = os.path.join(uuid_path, "kaitibaogao.txt") |
|||
with open(kaitibaogao_path, 'w', encoding='utf8') as f_kaitibaogao: |
|||
f_kaitibaogao.write(kaitibaogao) |
|||
lock.acquire() |
|||
api_key_list.append(api_key) |
|||
lock.release() |
|||
|
|||
|
|||
class GeneratePaper: |
|||
def __init__(self, mulu, table): |
|||
self.mulu = mulu |
|||
self.paper = [""] * len(table) |
|||
|
|||
def chat_content_(self,api_key, mulu_title_id, title, mulu, subtitle, prompt): |
|||
global lock |
|||
# time.sleep(5) |
|||
# api_key_list.append(api_key) |
|||
# self.paper[mulu_title_id] = subtitle |
|||
if subtitle[:2] == "@@": |
|||
self.paper[mulu_title_id] = subtitle[2:] |
|||
else: |
|||
openai.api_key = api_key |
|||
res = openai.ChatCompletion.create( |
|||
model="gpt-3.5-turbo", |
|||
messages=[ |
|||
{"role": "user", "content": prompt.format(title, mulu, subtitle)}, |
|||
], |
|||
temperature=0.5 |
|||
) |
|||
self.paper[mulu_title_id] = res.choices[0].message.content |
|||
lock.acquire() |
|||
api_key_list.append(api_key) |
|||
lock.release() |
|||
# return res.choices[0].message.content |
|||
|
|||
|
|||
def classify(): # 调用模型,设置最大batch_size |
|||
while True: |
|||
if redis_.llen(db_key_query) == 0: # 若队列中没有元素就继续获取 |
|||
time.sleep(3) |
|||
continue |
|||
thread_list = [] |
|||
query = redis_.lpop(db_key_query).decode('UTF-8') # 获取query的text |
|||
data_dict_path = json.loads(query) |
|||
query_id = data_dict_path['id'] |
|||
title = data_dict_path['title'] |
|||
# project_data_txt_path = os.path.abspath("new_data_txt") |
|||
# uuid_path = "new_data_txt/{}/".format(query_id) |
|||
|
|||
# uuid路径 |
|||
uuid_path = os.path.join(project_data_txt_path, query_id) |
|||
print("uuid",query_id) |
|||
os.makedirs(uuid_path) |
|||
print("uuid_path", os.path.exists(uuid_path)) |
|||
|
|||
# 生成开题报告 |
|||
# title, api_key, uuid_path |
|||
api_key = api_key_list.pop() |
|||
t = Thread(target=chat_kaitibaogao, args=(title, |
|||
api_key, |
|||
uuid_path, |
|||
)) |
|||
t.start() |
|||
thread_list.append(t) |
|||
|
|||
# 生成目录 |
|||
while True: |
|||
if api_key_list != []: |
|||
api_key = api_key_list.pop() |
|||
break |
|||
else: |
|||
time.sleep(3) |
|||
|
|||
|
|||
mulu, mulu_list = chat_title(title, api_key) |
|||
|
|||
|
|||
# mulu_base64 = base64.b64encode(mulu.encode('utf-8')) |
|||
# mulu_path = os.path.join(uuid_path, "mulu.txt") |
|||
# with open(mulu_path, 'wb', encoding='utf8') as f2: |
|||
# f2.write(mulu_base64) |
|||
|
|||
|
|||
index = 0 |
|||
print(mulu_list) |
|||
|
|||
cun_bool = False |
|||
table_of_contents = [mulu_list[0]] |
|||
|
|||
for i in mulu_list[1:]: |
|||
result_second_biaoti_list = re.findall(pantten_second_biaoti, i) |
|||
result_other_biaoti_list = re.findall(pantten_other_biaoti, i) |
|||
if result_second_biaoti_list != []: |
|||
table_of_contents.append("@@" + i) |
|||
cun_bool = True |
|||
continue |
|||
if cun_bool == False: |
|||
continue |
|||
else: |
|||
if result_other_biaoti_list != []: |
|||
table_of_contents.append("@@" + i) |
|||
else: |
|||
table_of_contents.append(i) |
|||
|
|||
print(table_of_contents) |
|||
# table_of_contents = table_of_contents[:3] + table_of_contents[-1:] |
|||
# print(table_of_contents) |
|||
chat_class = GeneratePaper(mulu_list, table_of_contents) |
|||
print(len(table_of_contents)) |
|||
############################################################ |
|||
while True: |
|||
if api_key_list == []: |
|||
continue |
|||
if index == len(table_of_contents): |
|||
break |
|||
api_key = api_key_list.pop() |
|||
subtitle = table_of_contents[index] |
|||
if index == 0: |
|||
prompt = first_title_prompt |
|||
elif subtitle == "参考文献": |
|||
prompt = references_prompt |
|||
elif subtitle == "致谢": |
|||
prompt = thank_prompt |
|||
else: |
|||
prompt = first_title_prompt |
|||
print("请求的所有参数", api_key, |
|||
index, |
|||
title, |
|||
mulu_list, |
|||
subtitle, |
|||
prompt) |
|||
|
|||
t = Thread(target=chat_class.chat_content_, args=(api_key, |
|||
index, |
|||
title, |
|||
mulu_list, |
|||
subtitle, |
|||
prompt)) |
|||
t.start() |
|||
thread_list.append(t) |
|||
lock.acquire() |
|||
index += 1 |
|||
lock.release() |
|||
|
|||
for thread in thread_list: |
|||
thread.join() |
|||
|
|||
|
|||
print(chat_class.paper) |
|||
paper = "\n".join(chat_class.paper) |
|||
print(paper) |
|||
|
|||
content_path = os.path.join(uuid_path, "content.txt") |
|||
with open(content_path, 'w', encoding='utf8') as f_content: |
|||
f_content.write(paper) |
|||
|
|||
mulu_path = os.path.join(uuid_path, "mulu.txt") |
|||
with open(mulu_path, 'w', encoding='utf8') as f_mulu: |
|||
f_mulu.write(mulu) |
|||
|
|||
kaitibaogao_txt_path = os.path.join(uuid_path, "kaitibaogao.txt") |
|||
|
|||
# word保存路径 |
|||
|
|||
save_word_paper = os.path.join(uuid_path, "paper.docx") |
|||
save_word_paper_start = os.path.join(uuid_path, "paper_start.docx".format(title)) |
|||
|
|||
# content_base64 = base64.b64encode(paper.encode('utf-8')) |
|||
# content_path = os.path.join(uuid_path, "content.txt") |
|||
# with open(content_path, 'wb', encoding='utf8') as f2: |
|||
# f2.write(content_base64) |
|||
|
|||
# 拼接成word |
|||
title = pa.quote(title) |
|||
mulu_path = mulu_path |
|||
content_path = content_path |
|||
|
|||
# 调用jar包 |
|||
print("java_path", mulu_path, content_path, title, save_word_paper) |
|||
os.system( |
|||
"java -Dfile.encoding=UTF-8 -jar '/home/majiahui/ChatGPT_Sever/createAiXieZuoWord.jar' '{}' '{}' '{}' '{}'".format( |
|||
mulu_path, content_path, title, save_word_paper)) |
|||
|
|||
print("jaba_kaitibaogao", kaitibaogao_txt_path, save_word_paper_start) |
|||
os.system("java -Dfile.encoding=UTF-8 -jar '/home/majiahui/ChatGPT_Sever/createAiXieZuoKaitiWord.jar' '{}' '{}'".format( |
|||
kaitibaogao_txt_path, save_word_paper_start)) |
|||
|
|||
url_path_paper = "http://104.244.90.248:14000/download?filename_path={}/paper.docx".format(query_id) |
|||
url_path_kaiti = "http://104.244.90.248:14000/download?filename_path={}/paper_start.docx".format(query_id) |
|||
# content_path = os.path.join(uuid_path, "content.txt") |
|||
# load_result_path = res_path.format(query_id) |
|||
# load_result_path = os.path.abspath(load_result_path) |
|||
# with open(load_result_path, 'w', encoding='utf8') as f2: |
|||
# f2.write(paper) |
|||
|
|||
return_text = str({"id":query_id, |
|||
"content_url_path": url_path_paper, |
|||
"content_report_url_path": url_path_kaiti, |
|||
"probabilities": None, |
|||
"status_code": 200}) |
|||
redis_.srem(db_key_querying, query_id) |
|||
redis_.set(query_id, return_text, 28800) |
|||
|
|||
|
|||
@app.route("/chat", methods=["POST"]) |
|||
def chat(): |
|||
print(request.remote_addr) |
|||
title = request.json["title"] |
|||
id_ = str(uuid.uuid1()) |
|||
|
|||
redis_.rpush(db_key_query, json.dumps({"id":id_, "title": title})) # 加入redis |
|||
return_text = {"texts": {'id': id_,}, "probabilities": None, "status_code": 200} |
|||
print("ok") |
|||
redis_.sadd(db_key_querying, id_) |
|||
|
|||
return jsonify(return_text) # 返回结果 |
|||
|
|||
|
|||
@app.route("/download", methods=['GET']) |
|||
def download_file(): |
|||
# 需要知道2个参数, 第1个参数是本地目录的path, 第2个参数是文件名(带扩展名) |
|||
# directory = os.path.join(project_data_txt_path, filename) # 假设在当前目录 |
|||
|
|||
# uuid_path, word_name = str(filename).split("/") |
|||
# word_path_root = os.path.join(project_data_txt_path, uuid_path) |
|||
# response = make_response(send_from_directory(word_path_root, word_name, as_attachment=True)) |
|||
# response.headers["Content-Disposition"] = "attachment; filename={}".format(filename.encode().decode('latin-1')) |
|||
filename_path = request.args.get('filename_path', '') |
|||
filename = filename_path.split("/")[1] |
|||
path_name = os.path.join(project_data_txt_path, filename_path) |
|||
with open(path_name, 'rb') as f: |
|||
stream = f.read() |
|||
response = Response(stream, content_type='application/octet-stream') |
|||
response.headers['Content-disposition'] = 'attachment; filename={}'.format(filename) |
|||
|
|||
return response |
|||
|
|||
|
|||
@app.route("/search", methods=["POST"]) |
|||
def search(): |
|||
id_ = request.json['id'] # 获取用户query中的文本 例如"I love you" |
|||
result = redis_.get(id_) # 获取该query的模型结果 |
|||
if result is not None: |
|||
# redis_.delete(id_) |
|||
# result_dict = result.decode('UTF-8') |
|||
|
|||
result_dict = eval(result) |
|||
# return_text = {"id":query_id, "load_result_path": load_result_path, "probabilities": None, "status_code": 200} |
|||
query_id = result_dict["id"] |
|||
# "content_url_path": url_path_paper, |
|||
# "content_report_url_path": url_path_kaiti, |
|||
content_url_path = result_dict["content_url_path"] |
|||
content_report_url_path = result_dict["content_report_url_path"] |
|||
probabilities = result_dict["probabilities"] |
|||
result_text = {'code': 200, |
|||
'content_url_path': content_url_path, |
|||
'content_report_url_path': content_report_url_path, |
|||
'probabilities': probabilities} |
|||
else: |
|||
querying_list = list(redis_.smembers("querying")) |
|||
querying_set = set() |
|||
for i in querying_list: |
|||
querying_set.add(i.decode()) |
|||
|
|||
querying_bool = False |
|||
if id_ in querying_set: |
|||
querying_bool = True |
|||
|
|||
query_list_json = redis_.lrange(db_key_query, 0, -1) |
|||
query_set_ids = set() |
|||
for i in query_list_json: |
|||
data_dict = json.loads(i) |
|||
query_id = data_dict['id'] |
|||
query_set_ids.add(query_id) |
|||
|
|||
query_bool = False |
|||
if id_ in query_set_ids: |
|||
query_bool = True |
|||
|
|||
if querying_bool == True and query_bool == True: |
|||
result_text = {'code': "201", 'text': "", 'probabilities': None} |
|||
elif querying_bool == True and query_bool == False: |
|||
result_text = {'code': "202", 'text': "", 'probabilities': None} |
|||
else: |
|||
result_text = {'code': "203", 'text': "", 'probabilities': None} |
|||
return jsonify(result_text) # 返回结果 |
|||
|
|||
t1 = Thread(target=classify) |
|||
t1.start() |
|||
|
|||
if __name__ == "__main__": |
|||
app.run(host="0.0.0.0", port=14002, threaded=True, debug=False) |
@ -0,0 +1,71 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
""" |
|||
@Time : 2023/3/30 9:11 |
|||
@Author : |
|||
@FileName: |
|||
@Software: |
|||
@Describe: |
|||
""" |
|||
|
|||
import flask |
|||
import redis |
|||
import uuid |
|||
import json |
|||
from threading import Thread |
|||
import time |
|||
|
|||
app = flask.Flask(__name__) |
|||
pool = redis.ConnectionPool(host='localhost', port=6379, max_connections=50, db=1) |
|||
redis_ = redis.Redis(connection_pool=pool, decode_responses=True) |
|||
|
|||
db_key_query = 'query' |
|||
db_key_querying = 'querying' |
|||
|
|||
@app.route("/search", methods=["POST"]) |
|||
def handle_query(): |
|||
id_ = flask.request.json['id'] # 获取用户query中的文本 例如"I love you" |
|||
result = redis_.get(id_) # 获取该query的模型结果 |
|||
if result is not None: |
|||
# redis_.delete(id_) |
|||
# result_dict = result.decode('UTF-8') |
|||
|
|||
result_dict = eval(result) |
|||
# return_text = {"id":query_id, "load_result_path": load_result_path, "probabilities": None, "status_code": 200} |
|||
query_id = result_dict["id"] |
|||
url_path = result_dict["url_path"] |
|||
probabilities = result_dict["probabilities"] |
|||
result_text = {'code': 200, 'url_path': url_path, 'probabilities': probabilities} |
|||
else: |
|||
querying_list = list(redis_.smembers("querying")) |
|||
querying_set = set() |
|||
for i in querying_list: |
|||
querying_set.add(i.decode()) |
|||
|
|||
querying_bool = False |
|||
if id_ in querying_set: |
|||
querying_bool = True |
|||
|
|||
query_list_json = redis_.lrange(db_key_query, 0, -1) |
|||
query_set_ids = set() |
|||
for i in query_list_json: |
|||
data_dict = json.loads(i) |
|||
query_id = data_dict['id'] |
|||
query_set_ids.add(query_id) |
|||
|
|||
query_bool = False |
|||
if id_ in query_set_ids: |
|||
query_bool = True |
|||
|
|||
if querying_bool == True and query_bool == True: |
|||
result_text = {'code': "201", 'text': "", 'probabilities': None} |
|||
elif querying_bool == True and query_bool == False: |
|||
result_text = {'code': "202", 'text': "", 'probabilities': None} |
|||
else: |
|||
result_text = {'code': "203", 'text': "", 'probabilities': None} |
|||
return flask.jsonify(result_text) # 返回结果 |
|||
|
|||
|
|||
if __name__ == "__main__": |
|||
app.run(debug=True, host='0.0.0.0', port=14002) |
|||
|
@ -0,0 +1,6 @@ |
|||
import requests |
|||
import time |
|||
|
|||
res = requests.get(url='http//104.244.90.248:14000/download?filename_path=03f68fd0-d05e-11ed-a1b6-aaaa001aad2e/paper.docx') |
|||
|
|||
print() |
@ -0,0 +1,13 @@ |
|||
import requests |
|||
import time |
|||
|
|||
data = {"id": "58abde1c-d1ef-11ed-a2cd-aaaa001aad2e"} |
|||
|
|||
start = time.time() |
|||
|
|||
res = requests.post('http://104.244.90.248:14000/search', json=data) |
|||
end = time.time() |
|||
print(end - start) |
|||
|
|||
|
|||
print(res.text) |
@ -0,0 +1,38 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
""" |
|||
@Time : 2023/3/27 11:51 |
|||
@Author : |
|||
@FileName: |
|||
@Software: |
|||
@Describe: |
|||
""" |
|||
import requests |
|||
import time |
|||
|
|||
# data = { |
|||
# 'prompt': "请帮我写一篇论文,题目", |
|||
# 'text': "大型商业建筑人员疏散设计研究" |
|||
# } |
|||
# |
|||
# |
|||
# res = requests.post('http://98.142.138.229:9999/chatgpt', data=data) |
|||
# |
|||
# |
|||
# print(res.json()['res']) |
|||
# # a = pre_data_list = [""] * 5 |
|||
# # print(a) |
|||
|
|||
|
|||
import requests |
|||
import time |
|||
|
|||
data = {"prompt": "请帮帮我在改写一下句子"} |
|||
|
|||
start = time.time() |
|||
|
|||
res = requests.post('http://104.244.90.248:9999/chat', json=data) |
|||
end = time.time() |
|||
print(end - start) |
|||
|
|||
print(res.text) |
@ -0,0 +1,25 @@ |
|||
import openai |
|||
|
|||
# 替换为您的API密钥 |
|||
openai.api_key = "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" |
|||
|
|||
# 设置GPT-3 API参数 |
|||
prompt = "输入您的提示文字" |
|||
model = "text-davinci-003" # 选择您想使用的模型,例如:"text-davinci-003",这是GPT-3的Davinci模型 |
|||
temperature = 0.8 |
|||
max_tokens = 100 |
|||
|
|||
# 调用GPT-3 API |
|||
response = openai.Completion.create( |
|||
engine=model, |
|||
prompt=prompt, |
|||
temperature=temperature, |
|||
max_tokens=max_tokens, |
|||
n=1, |
|||
stop=None, |
|||
echo=False |
|||
) |
|||
|
|||
# 输出结果 |
|||
generated_text = response.choices[0].text.strip() |
|||
print(generated_text) |
@ -0,0 +1,27 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
""" |
|||
@Time : 2023/3/30 18:04 |
|||
@Author : |
|||
@FileName: |
|||
@Software: |
|||
@Describe: |
|||
""" |
|||
import openai |
|||
import flask |
|||
|
|||
def chat_drop(): |
|||
openai.api_key = "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" |
|||
res = openai.ChatCompletion.create( |
|||
model="gpt-3.5-turbo", |
|||
messages=[ |
|||
{"role": "user", "content": "请帮我改写这句话:在城市发展进程当中,逐渐呈现出一些综合性的大型建筑群。"}, |
|||
{"role": "assistant", "content": "随着城市的发展,综合性大型建筑群正在逐渐出现。"}, |
|||
{"role": "user", "content": "这句话我不满意,再改一下帮我"} |
|||
], |
|||
temperature=0.5, |
|||
top_p=1, |
|||
) |
|||
print(res.choices[0].message.content) |
|||
|
|||
chat_drop() |
@ -0,0 +1,42 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
""" |
|||
@Time : 2023/3/29 16:00 |
|||
@Author : |
|||
@FileName: |
|||
@Software: |
|||
@Describe: |
|||
""" |
|||
import time |
|||
from threading import Thread |
|||
|
|||
c_list = [1,1.1,1.2] |
|||
b_list = [1,2,3,4,5,6,7,8,9,10,11,12,13,14] |
|||
|
|||
d_list = [] |
|||
|
|||
def func(a,b): |
|||
time.sleep(5) |
|||
r = a * b |
|||
c_list.append(b) |
|||
d_list.append(r) |
|||
print(r) |
|||
return r |
|||
|
|||
run_list = [] |
|||
index = 0 |
|||
start = time.time() |
|||
while True: |
|||
if c_list == []: |
|||
continue |
|||
if index == len(b_list): |
|||
break |
|||
num = c_list.pop() |
|||
t = Thread(target=func, args=(num, b_list[index])) |
|||
t.start() |
|||
index += 1 |
|||
|
|||
end = time.time() |
|||
print(end-start) |
|||
time.sleep(10) |
|||
print(d_list) |
@ -0,0 +1,29 @@ |
|||
import threading |
|||
|
|||
num = 0 |
|||
lock = threading.Lock() |
|||
|
|||
|
|||
def add(): |
|||
global num |
|||
lock.acquire() |
|||
num += 1 |
|||
lock.release() |
|||
|
|||
|
|||
def sub(): |
|||
global num |
|||
lock.acquire() |
|||
num -= 1 |
|||
lock.release() |
|||
|
|||
for i in range(1000): |
|||
t1 = threading.Thread(target=add, ) |
|||
t2 = threading.Thread(target=sub, ) |
|||
t1.start() |
|||
t2.start() |
|||
t1.join() |
|||
t2.join() |
|||
print(num) |
|||
|
|||
|
@ -0,0 +1,21 @@ |
|||
import multiprocessing as mp |
|||
import time |
|||
from threading import Thread |
|||
|
|||
|
|||
|
|||
api_key_list = ["1","1","1","1","1","1","1","1",] |
|||
|
|||
def job(a): |
|||
time.sleep(2) |
|||
return a |
|||
|
|||
|
|||
if __name__ == '__main__': |
|||
pool = mp.Pool() |
|||
a_list = [] |
|||
for i in range(10): |
|||
res = pool.apply_async(job,(i,)) |
|||
a_list.append(res) |
|||
for i in a_list: |
|||
print(i.get()) |
@ -0,0 +1,23 @@ |
|||
import re |
|||
|
|||
|
|||
pantten_zhang = "第[0-9一二三四五六七八九]章" |
|||
pantten_biaoti = '[1一Ⅰ][、.]\s{0,}?[\u4e00-\u9fa5a-zA-Z]+' |
|||
pantten_zhang_name = "[^0-9.]+" |
|||
pantten_other_biaoti = '[2-9二三四五六七八九ⅡⅢⅣⅤⅥⅦⅧⅨ][、.]\s{0,}?[\u4e00-\u9fa5a-zA-Z]+' |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
biaoti_list = [] |
|||
|
|||
|
|||
|
|||
text = "1.aaa绪论" |
|||
text_2 = "1.1绪论" |
|||
text_3 = "Ⅶ. asa大标题" |
|||
text_4 = "1.1绪论" |
|||
result_biaoti_list = re.findall(pantten_other_biaoti, text_3) |
|||
print(result_biaoti_list) |
@ -0,0 +1,13 @@ |
|||
import requests |
|||
import time |
|||
|
|||
data = {"title": "大型商业建筑人员疏散设计研究"} |
|||
|
|||
start = time.time() |
|||
|
|||
res = requests.post('http://104.244.90.248:14000/chat', json=data) |
|||
end = time.time() |
|||
print(end - start) |
|||
|
|||
|
|||
print(res.text) |
@ -0,0 +1,5 @@ |
|||
import os |
|||
print(os.path.abspath("new_data_txt")) |
|||
|
|||
uuid_path = "./new_data_txt/{}/".format("1111") |
|||
os.makedirs(uuid_path) |
@ -0,0 +1,12 @@ |
|||
from flask import Flask |
|||
|
|||
app = Flask(__name__) |
|||
|
|||
|
|||
@app.route("/aa") |
|||
def index(): |
|||
return "Hello world!" |
|||
|
|||
|
|||
if __name__ == "__main__": |
|||
app.run('0.0.0.0', port=11000, debug=True) |
Loading…
Reference in new issue