re-common 10.0.8__tar.gz → 10.0.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {re_common-10.0.8 → re_common-10.0.10}/PKG-INFO +1 -1
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/tools/dict_tools.py +14 -1
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/tools/search_hash_tools.py +22 -2
- re_common-10.0.10/re_common/v2/baselibrary/utils/string_bool.py +90 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/utils/string_clear.py +8 -7
- {re_common-10.0.8 → re_common-10.0.10}/re_common.egg-info/PKG-INFO +1 -1
- {re_common-10.0.8 → re_common-10.0.10}/setup.py +1 -1
- re_common-10.0.8/re_common/v2/baselibrary/utils/string_bool.py +0 -26
- {re_common-10.0.8 → re_common-10.0.10}/LICENSE +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/README.md +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/baseabs/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/baseabs/baseabs.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/database/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/database/mbuilder.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/database/moudle.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/database/msqlite3.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/database/mysql.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/database/sql_factory.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/mthread/MThreadingRun.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/mthread/MThreadingRunEvent.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/mthread/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/mthread/mythreading.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/pakge_other/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/pakge_other/socks.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/readconfig/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/readconfig/config_factory.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/readconfig/ini_config.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/readconfig/toml_config.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/temporary/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/temporary/envdata.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/all_requests/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/all_requests/aiohttp_request.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/all_requests/httpx_requet.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/all_requests/mrequest.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/all_requests/requests_request.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/batch_compre/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/batch_compre/bijiao_batch.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/contrast_db3.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/copy_file.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/db3_2_sizedb3.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/foreachgz.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/get_attr.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/image_to_pdf.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/java_code_deal.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/javacode.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/mdb_db3.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/merge_file.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/merge_gz_file.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/mhdfstools/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/mhdfstools/down_hdfs_files.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/mhdfstools/hdfst.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/mhdfstools/up_hdfs_files.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/mongo_tools.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/move_file.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/move_mongo/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/move_mongo/mongo_table_to_file.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/move_mongo/move_mongo_table.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/move_mongo/use_mttf.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/move_mongo/use_mv.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/mpandas/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/mpandas/mpandasreadexcel.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/mpandas/pandas_visualization.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/myparsel.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/rename_dir_file.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/sequoiadb_utils.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/split_line_to_many.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/stringtodicts.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/workwechant_bot.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/baseaiohttp.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/baseaiomysql.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/baseallstep.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/baseavro.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/baseboto3.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basecsv.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basedict.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basedir.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/baseencode.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/baseencoding.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/baseesdsl.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/baseexcel.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/baseexcept.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basefile.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/baseftp.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basegzip.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basehdfs.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basehttpx.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/baseip.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basejson.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/baselist.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basemotor.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basemssql.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/baseodbc.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basepandas.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basepeewee.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basepika.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basepydash.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basepymongo.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basequeue.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/baserar.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/baserequest.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/baseset.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basesmb.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basestring.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basetime.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basetuple.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/baseurl.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/basezip.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/core/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/core/bottomutils.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/core/mdeprecated.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/core/mlamada.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/core/msginfo.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/core/requests_core.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/fateadm.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/importfun.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/mfaker.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/my_abc/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/my_abc/better_abc.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/mylogger.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/myredisclient.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/pipupgrade.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/ringlist.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/version_compare.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/utils/ydmhttp.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/facade/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/facade/lazy_import.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/facade/loggerfacade.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/facade/mysqlfacade.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/facade/now.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/facade/sqlite3facade.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/facade/use/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/facade/use/mq_use_facade.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/facade/use/proxy_use_facade.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/base_dict_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/baseavro_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/basefile_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/basemssql_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/baseodbc_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/basepandas_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/get_attr_test/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/get_attr_test/get_attr_test_settings.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/get_attr_test/settings.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/idencode_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/iniconfig_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/ip_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/merge_file_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/mfaker_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/mm3_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/mylogger_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/myparsel_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/mysql_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/pymongo_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/split_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/sqlite3_merge_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/sqlite3_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/tomlconfig_test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/use_tools_test/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/user/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/studio/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/studio/assignment_expressions.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/studio/mydash/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/studio/mydash/test1.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/studio/pydashstudio/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/studio/pydashstudio/first.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/studio/streamlitstudio/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/studio/streamlitstudio/first_app.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/studio/streamlitstudio/uber_pickups.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/studio/test.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/helpers/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/s3object/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/s3object/baseboto3.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/tools/WeChatRobot.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/tools/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/tools/dolphinscheduler.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/tools/list_tools.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/tools/text_matcher.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/tools/unionfind_tools.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/utils/BusinessStringUtil.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/utils/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/utils/author_smi.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/utils/basedict.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/utils/basehdfs.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/utils/json_cls.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/utils/n_ary_expression_tree.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/utils/stringutils.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/base_step_process.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/baseencodeid.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/changetaskname.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/core_var.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/mmh3Hash.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/proxy/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/proxy/allproxys.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/proxy/allproxys_thread.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/proxy/cnki_proxy.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/proxy/kuaidaili.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/proxy/proxy_all.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/proxy/update_kuaidaili_0.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/proxy/wanfang_proxy.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/proxy/wp_proxy_all.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/read_rawid_to_txt.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/title/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/title/transform/TransformBookTitleToZt.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/title/transform/TransformConferenceTitleToZt.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/title/transform/TransformCstadTitleToZt.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/title/transform/TransformJournalTitleToZt.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/title/transform/TransformPatentTitleToZt.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/title/transform/TransformRegulationTitleToZt.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/title/transform/TransformStandardTitleToZt.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/title/transform/TransformThesisTitleToZt.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common/vip/title/transform/__init__.py +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common.egg-info/SOURCES.txt +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common.egg-info/dependency_links.txt +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/re_common.egg-info/top_level.txt +0 -0
- {re_common-10.0.8 → re_common-10.0.10}/setup.cfg +0 -0
|
@@ -2,6 +2,7 @@ class DotDict(dict):
|
|
|
2
2
|
"""
|
|
3
3
|
让字典成为对象 既可以用字典方式访问 也可以用点访问key
|
|
4
4
|
"""
|
|
5
|
+
|
|
5
6
|
def __init__(self, *args, **kwargs):
|
|
6
7
|
super().__init__(*args, **kwargs)
|
|
7
8
|
# 递归地将嵌套字典转换为 DotDict
|
|
@@ -21,4 +22,16 @@ class DotDict(dict):
|
|
|
21
22
|
def __setattr__(self, key, value):
|
|
22
23
|
if isinstance(value, dict): # 如果值是字典,转换为 DotDict
|
|
23
24
|
value = DotDict(value)
|
|
24
|
-
self[key] = value
|
|
25
|
+
self[key] = value
|
|
26
|
+
|
|
27
|
+
def to_dict(self):
|
|
28
|
+
"""
|
|
29
|
+
将 DotDict 实例转换为普通字典
|
|
30
|
+
"""
|
|
31
|
+
result = {}
|
|
32
|
+
for key, value in self.items():
|
|
33
|
+
if isinstance(value, DotDict):
|
|
34
|
+
result[key] = value.to_dict()
|
|
35
|
+
else:
|
|
36
|
+
result[key] = value
|
|
37
|
+
return result
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
from typing import List
|
|
2
2
|
|
|
3
3
|
import jieba
|
|
4
|
-
from datasketch import MinHash
|
|
4
|
+
from datasketch import MinHash, minhash
|
|
5
|
+
|
|
6
|
+
from re_common.v2.baselibrary.utils.string_bool import is_single_cjk_char
|
|
5
7
|
|
|
6
8
|
|
|
7
9
|
def tokenize(text: str, stopwords=None) -> List[str]:
|
|
@@ -11,8 +13,16 @@ def tokenize(text: str, stopwords=None) -> List[str]:
|
|
|
11
13
|
if stopwords is None:
|
|
12
14
|
stopwords = []
|
|
13
15
|
words = jieba.lcut(text)
|
|
16
|
+
|
|
14
17
|
# 统计单字符数据 长度,防止结巴分词分不了的单词 将数据分为单个字符
|
|
15
|
-
|
|
18
|
+
|
|
19
|
+
# 这里为什么使用函数 而不是在推导式中兼容,主要是在一些 spark中 推导式的if 条件不遵循最短路径原则会将表达式当做一个整体算子
|
|
20
|
+
def is_singel_en(i):
|
|
21
|
+
if len(i) == 1 and not is_single_cjk_char(i):
|
|
22
|
+
return True
|
|
23
|
+
return False
|
|
24
|
+
|
|
25
|
+
one_char_size = len([i for i in words if is_singel_en(i)])
|
|
16
26
|
all_size = len(words)
|
|
17
27
|
# 如果单字符个数超过一定比例 就直接用空格分词
|
|
18
28
|
if all_size != 0 and one_char_size / all_size > 0.6:
|
|
@@ -31,3 +41,13 @@ def create_minhash(words: List[str], num_perm=128) -> MinHash:
|
|
|
31
41
|
for word in words:
|
|
32
42
|
minhash.update(word.encode("utf-8"))
|
|
33
43
|
return minhash
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def get_str_minhash(title):
|
|
47
|
+
from re_common.v2.baselibrary.utils.string_clear import rel_clear
|
|
48
|
+
rel_title = rel_clear(title)
|
|
49
|
+
if not rel_title:
|
|
50
|
+
return ""
|
|
51
|
+
words = tokenize(rel_title)
|
|
52
|
+
minhash = create_minhash(words)
|
|
53
|
+
return minhash
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import re
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
def is_all_english_chars(s):
|
|
5
|
+
return bool(re.match(r'^[A-Za-z]+$', s))
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def contains_chinese_chars(s):
|
|
9
|
+
return bool(re.search(r'[\u3400-\u9fff]', s))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def is_empty(value):
|
|
13
|
+
"""
|
|
14
|
+
判断一个值是否为空。
|
|
15
|
+
|
|
16
|
+
支持的类型:
|
|
17
|
+
- None
|
|
18
|
+
- 空字符串(去除空白后)
|
|
19
|
+
- pandas 的 NaN
|
|
20
|
+
- 其他可迭代类型(如列表、字典等)的长度为 0
|
|
21
|
+
- 其他情况返回 False
|
|
22
|
+
"""
|
|
23
|
+
# 如果是 None,直接返回 True
|
|
24
|
+
if value is None:
|
|
25
|
+
return True
|
|
26
|
+
|
|
27
|
+
# 尝试处理 pandas 的 NaN
|
|
28
|
+
try:
|
|
29
|
+
import pandas as pd
|
|
30
|
+
if pd.isna(value):
|
|
31
|
+
return True
|
|
32
|
+
except ImportError:
|
|
33
|
+
pass # 如果没有安装 pandas,跳过
|
|
34
|
+
|
|
35
|
+
# 如果是字符串,检查去除空白后是否为空
|
|
36
|
+
if isinstance(value, str):
|
|
37
|
+
return value.strip() == ""
|
|
38
|
+
|
|
39
|
+
# 处理其他可迭代类型(如列表、字典等)
|
|
40
|
+
if hasattr(value, "__len__"):
|
|
41
|
+
return len(value) == 0
|
|
42
|
+
|
|
43
|
+
# 默认情况下,非 None、非空类型返回 False
|
|
44
|
+
return False
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
class InvalidCharLengthError(Exception):
|
|
48
|
+
"""自定义异常类,用于处理输入字符长度不为 1 的情况"""
|
|
49
|
+
pass
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def is_single_cjk_char(char):
|
|
53
|
+
"""
|
|
54
|
+
判断单个字符是否为中日韩字符
|
|
55
|
+
:param char: 要判断的单个字符
|
|
56
|
+
:return: 如果是中日韩字符返回 True,否则返回 False
|
|
57
|
+
"""
|
|
58
|
+
# 检查输入字符的长度
|
|
59
|
+
if len(char) != 1:
|
|
60
|
+
raise InvalidCharLengthError("输入的字符串长度必须为 1,请提供单个字符进行判断。")
|
|
61
|
+
code_point = ord(char)
|
|
62
|
+
# 中日韩统一表意文字
|
|
63
|
+
ranges = [
|
|
64
|
+
(0x4E00, 0x9FFF), # CJK 统一表意符号
|
|
65
|
+
(0x3400, 0x4DBF), # CJK 统一表意符号扩展 A
|
|
66
|
+
(0x20000, 0x2A6DF), # CJK 统一表意符号扩展 B
|
|
67
|
+
(0x2A700, 0x2B73F), # CJK 统一表意符号扩展 C
|
|
68
|
+
(0x2B740, 0x2B81F), # CJK 统一表意符号扩展 D
|
|
69
|
+
(0x2B820, 0x2CEAF), # CJK 统一表意符号扩展 E
|
|
70
|
+
(0x2CEB0, 0x2EBEF), # CJK 统一表意符号扩展 F
|
|
71
|
+
(0x30000, 0x3134F), # CJK 统一表意符号扩展 G
|
|
72
|
+
(0x31350, 0x323AF), # CJK 统一表意符号扩展 H
|
|
73
|
+
(0x3300, 0x33FF), # CJK 兼容符号
|
|
74
|
+
(0xFE30, 0xFE4F), # CJK 兼容形式
|
|
75
|
+
(0xF900, 0xFAFF), # CJK 兼容表意符号
|
|
76
|
+
(0x2F800, 0x2FA1F), # CJK 兼容表意符号补充
|
|
77
|
+
(0x3105, 0x3129), # 注音字母
|
|
78
|
+
(0x31A0, 0x31BF), # 注音字母扩展
|
|
79
|
+
(0x3040, 0x309F), # 平假名
|
|
80
|
+
(0x30A0, 0x30FF), # 片假名
|
|
81
|
+
(0x31F0, 0x31FF), # 片假名扩展
|
|
82
|
+
(0xAC00, 0xD7AF), # 韩文音节
|
|
83
|
+
(0x1100, 0x11FF), # 韩文字母
|
|
84
|
+
(0xA960, 0xA97F), # 韩文字母扩展 A
|
|
85
|
+
(0xD7B0, 0xD7FF), # 韩文字母扩展 B
|
|
86
|
+
]
|
|
87
|
+
for start, end in ranges:
|
|
88
|
+
if start <= code_point <= end:
|
|
89
|
+
return True
|
|
90
|
+
return False
|
|
@@ -165,10 +165,11 @@ def ref_clear(str_obj):
|
|
|
165
165
|
def clear_obj(str_obj):
|
|
166
166
|
# 为对象化定制的清理
|
|
167
167
|
str_obj = clear_au_organ(str_obj)
|
|
168
|
-
str_obj = str_obj.replace("ß", "SS")
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
168
|
+
# str_obj = str_obj.replace("ß", "SS") # "ß" 的 大写就是 "SS"
|
|
169
|
+
result = (StringClear(str_obj)
|
|
170
|
+
.remove_diacritics() # 清理音标
|
|
171
|
+
.upper()
|
|
172
|
+
.get_str() # 获取str
|
|
173
|
+
.strip() # 去掉空格
|
|
174
|
+
)
|
|
175
|
+
return result
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import re
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
def is_all_english_chars(s):
|
|
5
|
-
return bool(re.match(r'^[A-Za-z]+$', s))
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
def contains_chinese_chars(s):
|
|
9
|
-
return bool(re.search(r'[\u3400-\u9fff]', s))
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
def is_empty(value):
|
|
13
|
-
# 如果是 None,直接返回 True
|
|
14
|
-
if value is None:
|
|
15
|
-
return True
|
|
16
|
-
|
|
17
|
-
# 如果是字符串,检查去除空白后是否为空
|
|
18
|
-
if isinstance(value, str):
|
|
19
|
-
return value.strip() == ""
|
|
20
|
-
|
|
21
|
-
# 可选:处理其他可迭代类型(如列表、字典等)
|
|
22
|
-
if hasattr(value, "__len__"):
|
|
23
|
-
return len(value) == 0
|
|
24
|
-
|
|
25
|
-
# 默认情况下,非 None、非空类型返回 False
|
|
26
|
-
return False
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/all_requests/aiohttp_request.py
RENAMED
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/all_requests/httpx_requet.py
RENAMED
|
File without changes
|
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/all_requests/requests_request.py
RENAMED
|
File without changes
|
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/batch_compre/bijiao_batch.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/mhdfstools/down_hdfs_files.py
RENAMED
|
File without changes
|
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/mhdfstools/up_hdfs_files.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/move_mongo/mongo_table_to_file.py
RENAMED
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/move_mongo/move_mongo_table.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/mpandas/mpandasreadexcel.py
RENAMED
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/baselibrary/tools/mpandas/pandas_visualization.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/libtest/get_attr_test/get_attr_test_settings.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/v2/baselibrary/utils/n_ary_expression_tree.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/vip/title/transform/TransformBookTitleToZt.py
RENAMED
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/vip/title/transform/TransformConferenceTitleToZt.py
RENAMED
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/vip/title/transform/TransformCstadTitleToZt.py
RENAMED
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/vip/title/transform/TransformJournalTitleToZt.py
RENAMED
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/vip/title/transform/TransformPatentTitleToZt.py
RENAMED
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/vip/title/transform/TransformRegulationTitleToZt.py
RENAMED
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/vip/title/transform/TransformStandardTitleToZt.py
RENAMED
|
File without changes
|
{re_common-10.0.8 → re_common-10.0.10}/re_common/vip/title/transform/TransformThesisTitleToZt.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|