re-common 10.0.9__tar.gz → 10.0.11__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.9 → re_common-10.0.11}/PKG-INFO +1 -1
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/tools/search_hash_tools.py +11 -1
- re_common-10.0.11/re_common/v2/baselibrary/utils/string_bool.py +90 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/utils/string_clear.py +9 -1
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/utils/stringutils.py +8 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common.egg-info/PKG-INFO +1 -1
- {re_common-10.0.9 → re_common-10.0.11}/setup.py +1 -1
- re_common-10.0.9/re_common/v2/baselibrary/utils/string_bool.py +0 -46
- {re_common-10.0.9 → re_common-10.0.11}/LICENSE +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/README.md +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/baseabs/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/baseabs/baseabs.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/database/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/database/mbuilder.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/database/moudle.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/database/msqlite3.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/database/mysql.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/database/sql_factory.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/mthread/MThreadingRun.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/mthread/MThreadingRunEvent.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/mthread/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/mthread/mythreading.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/pakge_other/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/pakge_other/socks.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/readconfig/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/readconfig/config_factory.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/readconfig/ini_config.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/readconfig/toml_config.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/temporary/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/temporary/envdata.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/all_requests/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/all_requests/aiohttp_request.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/all_requests/httpx_requet.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/all_requests/mrequest.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/all_requests/requests_request.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/batch_compre/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/batch_compre/bijiao_batch.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/contrast_db3.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/copy_file.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/db3_2_sizedb3.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/foreachgz.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/get_attr.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/image_to_pdf.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/java_code_deal.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/javacode.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/mdb_db3.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/merge_file.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/merge_gz_file.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/mhdfstools/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/mhdfstools/down_hdfs_files.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/mhdfstools/hdfst.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/mhdfstools/up_hdfs_files.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/mongo_tools.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/move_file.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/move_mongo/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/move_mongo/mongo_table_to_file.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/move_mongo/move_mongo_table.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/move_mongo/use_mttf.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/move_mongo/use_mv.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/mpandas/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/mpandas/mpandasreadexcel.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/mpandas/pandas_visualization.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/myparsel.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/rename_dir_file.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/sequoiadb_utils.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/split_line_to_many.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/stringtodicts.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/workwechant_bot.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/baseaiohttp.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/baseaiomysql.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/baseallstep.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/baseavro.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/baseboto3.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basecsv.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basedict.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basedir.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/baseencode.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/baseencoding.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/baseesdsl.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/baseexcel.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/baseexcept.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basefile.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/baseftp.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basegzip.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basehdfs.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basehttpx.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/baseip.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basejson.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/baselist.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basemotor.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basemssql.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/baseodbc.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basepandas.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basepeewee.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basepika.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basepydash.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basepymongo.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basequeue.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/baserar.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/baserequest.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/baseset.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basesmb.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basestring.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basetime.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basetuple.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/baseurl.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/basezip.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/core/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/core/bottomutils.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/core/mdeprecated.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/core/mlamada.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/core/msginfo.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/core/requests_core.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/fateadm.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/importfun.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/mfaker.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/my_abc/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/my_abc/better_abc.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/mylogger.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/myredisclient.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/pipupgrade.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/ringlist.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/version_compare.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/utils/ydmhttp.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/facade/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/facade/lazy_import.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/facade/loggerfacade.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/facade/mysqlfacade.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/facade/now.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/facade/sqlite3facade.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/facade/use/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/facade/use/mq_use_facade.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/facade/use/proxy_use_facade.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/base_dict_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/baseavro_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/basefile_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/basemssql_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/baseodbc_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/basepandas_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/get_attr_test/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/get_attr_test/get_attr_test_settings.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/get_attr_test/settings.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/idencode_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/iniconfig_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/ip_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/merge_file_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/mfaker_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/mm3_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/mylogger_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/myparsel_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/mysql_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/pymongo_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/split_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/sqlite3_merge_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/sqlite3_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/tomlconfig_test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/use_tools_test/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/libtest/user/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/studio/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/studio/assignment_expressions.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/studio/mydash/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/studio/mydash/test1.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/studio/pydashstudio/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/studio/pydashstudio/first.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/studio/streamlitstudio/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/studio/streamlitstudio/first_app.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/studio/streamlitstudio/uber_pickups.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/studio/test.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/helpers/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/s3object/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/s3object/baseboto3.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/tools/WeChatRobot.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/tools/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/tools/dict_tools.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/tools/dolphinscheduler.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/tools/list_tools.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/tools/text_matcher.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/tools/unionfind_tools.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/utils/BusinessStringUtil.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/utils/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/utils/author_smi.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/utils/basedict.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/utils/basehdfs.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/utils/json_cls.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/v2/baselibrary/utils/n_ary_expression_tree.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/base_step_process.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/baseencodeid.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/changetaskname.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/core_var.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/mmh3Hash.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/proxy/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/proxy/allproxys.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/proxy/allproxys_thread.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/proxy/cnki_proxy.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/proxy/kuaidaili.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/proxy/proxy_all.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/proxy/update_kuaidaili_0.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/proxy/wanfang_proxy.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/proxy/wp_proxy_all.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/read_rawid_to_txt.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/title/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/title/transform/TransformBookTitleToZt.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/title/transform/TransformConferenceTitleToZt.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/title/transform/TransformCstadTitleToZt.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/title/transform/TransformJournalTitleToZt.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/title/transform/TransformPatentTitleToZt.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/title/transform/TransformRegulationTitleToZt.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/title/transform/TransformStandardTitleToZt.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/title/transform/TransformThesisTitleToZt.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common/vip/title/transform/__init__.py +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common.egg-info/SOURCES.txt +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common.egg-info/dependency_links.txt +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/re_common.egg-info/top_level.txt +0 -0
- {re_common-10.0.9 → re_common-10.0.11}/setup.cfg +0 -0
|
@@ -3,6 +3,8 @@ from typing import List
|
|
|
3
3
|
import jieba
|
|
4
4
|
from datasketch import MinHash, minhash
|
|
5
5
|
|
|
6
|
+
from re_common.v2.baselibrary.utils.string_bool import is_single_cjk_char
|
|
7
|
+
|
|
6
8
|
|
|
7
9
|
def tokenize(text: str, stopwords=None) -> List[str]:
|
|
8
10
|
"""
|
|
@@ -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:
|
|
@@ -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
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import re
|
|
2
2
|
import regex
|
|
3
3
|
|
|
4
|
-
from re_common.v2.baselibrary.utils.stringutils import qj2bj, bj2qj, get_diacritic_variant, clean_html
|
|
4
|
+
from re_common.v2.baselibrary.utils.stringutils import qj2bj, bj2qj, get_diacritic_variant, clean_html, \
|
|
5
|
+
remove_spaces_between_chinese_characters
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
class StringClear(object):
|
|
@@ -101,6 +102,7 @@ class StringClear(object):
|
|
|
101
102
|
return self
|
|
102
103
|
|
|
103
104
|
def remove_html_tag(self):
|
|
105
|
+
# 去除 html 标签
|
|
104
106
|
import html
|
|
105
107
|
|
|
106
108
|
self.obj_str = html.unescape(self.obj_str)
|
|
@@ -109,6 +111,11 @@ class StringClear(object):
|
|
|
109
111
|
|
|
110
112
|
return self
|
|
111
113
|
|
|
114
|
+
def remove_spaces_in_chinese_characters(self):
|
|
115
|
+
# 匹配中文间的空格并替换为空字符串
|
|
116
|
+
self.obj_str = remove_spaces_between_chinese_characters(self.obj_str)
|
|
117
|
+
return self
|
|
118
|
+
|
|
112
119
|
def get_str(self):
|
|
113
120
|
return self.obj_str
|
|
114
121
|
|
|
@@ -122,6 +129,7 @@ def rel_clear(str_obj):
|
|
|
122
129
|
.remove_html_tag() # html标签清理
|
|
123
130
|
.remove_special_chars() # 移除特殊字符,仅保留字母、数字、空格和汉字 \w 已经包括所有 Unicode 字母 下划线 _ 会被保留
|
|
124
131
|
.collapse_spaces() # 移除多余空格,连续多个空格变一个
|
|
132
|
+
.remove_spaces_in_chinese_characters() # 匹配中文间的空格并替换为空字符串
|
|
125
133
|
.lower() # 小写
|
|
126
134
|
.get_str() # 获取str
|
|
127
135
|
.strip()) # 去掉空格
|
|
@@ -143,4 +143,12 @@ def clean_html(html):
|
|
|
143
143
|
return parser.get_text()
|
|
144
144
|
|
|
145
145
|
|
|
146
|
+
def remove_spaces_between_chinese_characters(text):
|
|
147
|
+
"""
|
|
148
|
+
匹配中文间的空格并替换为空字符串
|
|
146
149
|
|
|
150
|
+
这里没有选取 后面的一些扩展分区 是那些分区比较分散 都写进来消耗性能,
|
|
151
|
+
认为只包含这些也够用了
|
|
152
|
+
"""
|
|
153
|
+
pattern = r'(?<=[\u3400-\u9fff])\s+(?=[\u3400-\u9fff])'
|
|
154
|
+
return re.sub(pattern, '', text)
|
|
@@ -1,46 +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
|
-
"""
|
|
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
|
-
|
|
41
|
-
# 处理其他可迭代类型(如列表、字典等)
|
|
42
|
-
if hasattr(value, "__len__"):
|
|
43
|
-
return len(value) == 0
|
|
44
|
-
|
|
45
|
-
# 默认情况下,非 None、非空类型返回 False
|
|
46
|
-
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.9 → re_common-10.0.11}/re_common/baselibrary/tools/all_requests/aiohttp_request.py
RENAMED
|
File without changes
|
{re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/all_requests/httpx_requet.py
RENAMED
|
File without changes
|
|
File without changes
|
{re_common-10.0.9 → re_common-10.0.11}/re_common/baselibrary/tools/all_requests/requests_request.py
RENAMED
|
File without changes
|
|
File without changes
|
{re_common-10.0.9 → re_common-10.0.11}/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.9 → re_common-10.0.11}/re_common/baselibrary/tools/mhdfstools/down_hdfs_files.py
RENAMED
|
File without changes
|
|
File without changes
|
{re_common-10.0.9 → re_common-10.0.11}/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.9 → re_common-10.0.11}/re_common/baselibrary/tools/move_mongo/mongo_table_to_file.py
RENAMED
|
File without changes
|
{re_common-10.0.9 → re_common-10.0.11}/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.9 → re_common-10.0.11}/re_common/baselibrary/tools/mpandas/mpandasreadexcel.py
RENAMED
|
File without changes
|
{re_common-10.0.9 → re_common-10.0.11}/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.9 → re_common-10.0.11}/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
|
|
File without changes
|
{re_common-10.0.9 → re_common-10.0.11}/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
|
{re_common-10.0.9 → re_common-10.0.11}/re_common/vip/title/transform/TransformBookTitleToZt.py
RENAMED
|
File without changes
|
{re_common-10.0.9 → re_common-10.0.11}/re_common/vip/title/transform/TransformConferenceTitleToZt.py
RENAMED
|
File without changes
|
{re_common-10.0.9 → re_common-10.0.11}/re_common/vip/title/transform/TransformCstadTitleToZt.py
RENAMED
|
File without changes
|
{re_common-10.0.9 → re_common-10.0.11}/re_common/vip/title/transform/TransformJournalTitleToZt.py
RENAMED
|
File without changes
|
{re_common-10.0.9 → re_common-10.0.11}/re_common/vip/title/transform/TransformPatentTitleToZt.py
RENAMED
|
File without changes
|
{re_common-10.0.9 → re_common-10.0.11}/re_common/vip/title/transform/TransformRegulationTitleToZt.py
RENAMED
|
File without changes
|
{re_common-10.0.9 → re_common-10.0.11}/re_common/vip/title/transform/TransformStandardTitleToZt.py
RENAMED
|
File without changes
|
{re_common-10.0.9 → re_common-10.0.11}/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
|