摘要:
```python import time from py2neo import Graph from config.neo4j_config import NEO4J_CONFIG_PRO # NEO4J_CONFIG_PRO = { # "host": "x.x.x.x", # "port": 阅读全文
posted @ 2023-07-11 22:20
LexLuc
阅读(86)
评论(0)
推荐(0)
摘要:
```python # -*-coding:utf-8 -*- import redis from config.redis_config import CACHE_REDIS_CONF # CACHE_REDIS_CONF = { # "host": "x.x.x.x", # "port": ?? 阅读全文
posted @ 2023-07-11 22:17
LexLuc
阅读(11)
评论(0)
推荐(0)
摘要:
```python class MySqlClient: def __init__(self, db_name: str): self._conn = pymysql.connect(host=MYSQL_CONFIG['host'], port=MYSQL_CONFIG['port'], user 阅读全文
posted @ 2023-07-11 22:12
LexLuc
阅读(9)
评论(0)
推荐(0)
摘要:
``` # requirement.txt happybase==1.2.0 ``` ```python """ hbase.py """ # -*- coding: utf-8 -*- import happybase from config.hbase_config import HAPPYBA 阅读全文
posted @ 2023-07-11 22:07
LexLuc
阅读(14)
评论(0)
推荐(0)
摘要:
```python # -*- coding: utf-8 -*- import os import sys import shutil from time import perf_counter from collections import defaultdict from datetime i 阅读全文
posted @ 2023-07-11 21:41
LexLuc
阅读(14)
评论(0)
推荐(0)