github_mongoDB_dataprocess/test_neo4j_data.py

76 lines
2.8 KiB
Python

# from neo4j import GraphDatabase
#
# driver = GraphDatabase.driver("bolt://localhost:7687", auth=("neo4j", "12345678"))
# session = driver.session()
#
# # results1 = session.run("MATCH (a:relation) return a")
# results2 = session.run("MATCH (b:repository) return count(b)")
# print(results2.single())
# # for res in results2:
# # print(res.values())
# # names = set()
# # for res in results2:
# # names.add(res.get('b')._properties['name'])
# #
# # for res in results1:
# #
# # if res.get('a')._properties['from'] not in names:
# # print(res.get('a')._properties['from'],res.get('a')._properties['to'])
# # if res.get('a')._properties['to'] not in names:
# # print(res.get('a')._properties['to'],res.get('a')._properties['from'])
# driver.close()
"""
Refina123_toolkit actions_toolkit
alirezahamami_airflow apache_airflow
apache_arrow-datafusion liukun4515_arrow-datafusion
mkniewallner_ruff astral-sh_ruff
vexy_vincoin bitcoin_bitcoin
dpowcore-project_dpowcoin bitcoin_bitcoin
ebellumat_infinitydrive commaai_openpilot
hardcoded-fp_openpilot commaai_openpilot
Nathann03_conda conda_conda
hummuscience_DeepLabCut DeepLabCut_DeepLabCut
krithika-trk_homeassistant-core home-assistant_core
kamioon-bot_core home-assistant_core
AlesavigoSoftware_python-for-android-production-fork kivy_python-for-android
bloomberg_clang-p2996 llvm_llvm-project
leadpogrommer_llvm-project-cdm llvm_llvm-project
joycebrum_llvm-project-upgrade-cryptography llvm_llvm-project
zpzigi754_llvm-project llvm_llvm-project
afuetterer_BERTopic MaartenGr_BERTopic
cdb-boop_ComfyUI-Bringing-Old-Photos-Back-to-Life microsoft_Bringing-Old-Photos-Back-to-Life
wangw469_vscode microsoft_vscode
nikitamalinov_vscode microsoft_vscode
Tribler_mutpy mutpy_mutpy
adityapidaparti_seaborn mwaskom_seaborn
bsteffensmeier_jep ninia_jep
V3ntus_nixpkgs NixOS_nixpkgs
Rucadi_nixpkgs NixOS_nixpkgs
mdw-nl_guide NLeSC_guide
gathagumwas_node nodejs_node
plctlab_numpy numpy_numpy
sasha0552_triton openai_triton
pfirmstone_jdk-with-authorization openjdk_jdk
mlamina_demo-flask pallets_flask
wisonzhu_pvlib-python pvlib_pvlib-python
movekj_pvlib-python pvlib_pvlib-python
Not-Aryan_pvlib-python pvlib_pvlib-python
ElbeyJr_setuptools pypa_setuptools
shenxianpeng_setuptools pypa_setuptools
wwzeng1_pytest pytest-dev_pytest
python-paling_Paling python-eel_Eel
Pixee-Bot-Python_python-versioneer python-versioneer_python-versioneer
orge-dev_pytorch pytorch_pytorch
mwmsh_pytorch pytorch_pytorch
dl4fugaku_pytorch pytorch_pytorch
dunningdan_qiskit Qiskit_qiskit
Pixee-Bot-Python_rasa-2 RasaHQ_rasa
daminals_rust rust-lang_rust
ACCESS-NRI_spack spack_spack
Ruklee13_spotify-downloader spotDL_spotify-downloader
Not-Aryan_sympy sympy_sympy
eTutor-plus-plus_jobeinabox trampgeek_jobeinabox
cmpark0126_client triton-inference-server_client
sasataku_zephyr zephyrproject-rtos_zephyr"""