re-common 10.0.21__tar.gz → 10.0.23__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.21/re_common.egg-info → re_common-10.0.23}/PKG-INFO +10 -2
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/utils/string_clear.py +75 -50
- {re_common-10.0.21 → re_common-10.0.23/re_common.egg-info}/PKG-INFO +10 -2
- {re_common-10.0.21 → re_common-10.0.23}/setup.py +1 -1
- {re_common-10.0.21 → re_common-10.0.23}/LICENSE +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/README.md +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/pyproject.toml +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/baseabs/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/baseabs/baseabs.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/database/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/database/mbuilder.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/database/moudle.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/database/msqlite3.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/database/mysql.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/database/sql_factory.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/mthread/MThreadingRun.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/mthread/MThreadingRunEvent.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/mthread/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/mthread/mythreading.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/pakge_other/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/pakge_other/socks.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/readconfig/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/readconfig/config_factory.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/readconfig/ini_config.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/readconfig/toml_config.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/temporary/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/temporary/envdata.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/all_requests/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/all_requests/aiohttp_request.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/all_requests/httpx_requet.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/all_requests/mrequest.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/all_requests/requests_request.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/batch_compre/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/batch_compre/bijiao_batch.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/contrast_db3.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/copy_file.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/db3_2_sizedb3.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/foreachgz.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/get_attr.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/image_to_pdf.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/java_code_deal.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/javacode.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/mdb_db3.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/merge_file.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/merge_gz_file.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/mhdfstools/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/mhdfstools/down_hdfs_files.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/mhdfstools/hdfst.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/mhdfstools/up_hdfs_files.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/mongo_tools.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/move_file.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/move_mongo/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/move_mongo/mongo_table_to_file.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/move_mongo/move_mongo_table.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/move_mongo/use_mttf.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/move_mongo/use_mv.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/mpandas/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/mpandas/mpandasreadexcel.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/mpandas/pandas_visualization.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/myparsel.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/rename_dir_file.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/sequoiadb_utils.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/split_line_to_many.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/stringtodicts.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/workwechant_bot.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/baseaiohttp.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/baseaiomysql.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/baseallstep.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/baseavro.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/baseboto3.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basecsv.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basedict.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basedir.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/baseencode.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/baseencoding.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/baseesdsl.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/baseexcel.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/baseexcept.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basefile.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/baseftp.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basegzip.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basehdfs.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basehttpx.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/baseip.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basejson.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/baselist.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basemotor.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basemssql.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/baseodbc.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basepandas.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basepeewee.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basepika.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basepydash.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basepymongo.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basequeue.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/baserar.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/baserequest.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/baseset.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basesmb.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basestring.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basetime.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basetuple.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/baseurl.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/basezip.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/core/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/core/bottomutils.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/core/mdeprecated.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/core/mlamada.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/core/msginfo.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/core/requests_core.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/fateadm.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/importfun.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/mfaker.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/my_abc/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/my_abc/better_abc.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/mylogger.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/myredisclient.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/pipupgrade.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/ringlist.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/version_compare.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/utils/ydmhttp.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/facade/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/facade/lazy_import.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/facade/loggerfacade.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/facade/mysqlfacade.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/facade/now.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/facade/sqlite3facade.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/facade/use/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/facade/use/mq_use_facade.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/facade/use/proxy_use_facade.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/base_dict_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/baseavro_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/basefile_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/basemssql_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/baseodbc_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/basepandas_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/get_attr_test/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/get_attr_test/get_attr_test_settings.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/get_attr_test/settings.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/idencode_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/iniconfig_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/ip_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/merge_file_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/mfaker_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/mm3_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/mylogger_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/myparsel_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/mysql_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/pymongo_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/split_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/sqlite3_merge_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/sqlite3_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/tomlconfig_test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/use_tools_test/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/libtest/user/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/studio/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/studio/assignment_expressions.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/studio/mydash/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/studio/mydash/test1.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/studio/pydashstudio/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/studio/pydashstudio/first.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/studio/streamlitstudio/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/studio/streamlitstudio/first_app.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/studio/streamlitstudio/uber_pickups.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/studio/test.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/decorators/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/decorators/utils.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/helpers/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/s3object/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/s3object/baseboto3.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/tools/WeChatRobot.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/tools/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/tools/ac_ahocorasick.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/tools/dict_tools.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/tools/dolphinscheduler.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/tools/hdfs_data_processer.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/tools/list_tools.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/tools/search_hash_tools.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/tools/text_matcher.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/tools/unionfind_tools.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/utils/BusinessStringUtil.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/utils/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/utils/author_smi.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/utils/base_string_similarity.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/utils/basedict.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/utils/basehdfs.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/utils/basepika.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/utils/basetime.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/utils/db.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/utils/json_cls.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/utils/mq.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/utils/n_ary_expression_tree.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/utils/string_bool.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/utils/string_smi.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/v2/baselibrary/utils/stringutils.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/base_step_process.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/baseencodeid.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/changetaskname.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/core_var.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/mmh3Hash.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/proxy/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/proxy/allproxys.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/proxy/allproxys_thread.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/proxy/cnki_proxy.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/proxy/kuaidaili.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/proxy/proxy_all.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/proxy/update_kuaidaili_0.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/proxy/wanfang_proxy.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/proxy/wp_proxy_all.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/read_rawid_to_txt.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/title/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/title/transform/TransformBookTitleToZt.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/title/transform/TransformConferenceTitleToZt.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/title/transform/TransformCstadTitleToZt.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/title/transform/TransformJournalTitleToZt.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/title/transform/TransformPatentTitleToZt.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/title/transform/TransformRegulationTitleToZt.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/title/transform/TransformStandardTitleToZt.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/title/transform/TransformThesisTitleToZt.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common/vip/title/transform/__init__.py +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common.egg-info/SOURCES.txt +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common.egg-info/dependency_links.txt +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/re_common.egg-info/top_level.txt +0 -0
- {re_common-10.0.21 → re_common-10.0.23}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: re_common
|
|
3
|
-
Version: 10.0.
|
|
3
|
+
Version: 10.0.23
|
|
4
4
|
Summary: a library about all python projects
|
|
5
5
|
Home-page: https://gitee.com/xujiangios/re-common
|
|
6
6
|
Author: vic
|
|
@@ -11,6 +11,14 @@ Classifier: Operating System :: OS Independent
|
|
|
11
11
|
Requires-Python: >=3.6
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
|
+
Dynamic: author
|
|
15
|
+
Dynamic: author-email
|
|
16
|
+
Dynamic: classifier
|
|
17
|
+
Dynamic: description
|
|
18
|
+
Dynamic: description-content-type
|
|
19
|
+
Dynamic: home-page
|
|
20
|
+
Dynamic: requires-python
|
|
21
|
+
Dynamic: summary
|
|
14
22
|
|
|
15
23
|
|
|
16
24
|
这是一个基础类,依赖很多的第三方包,是一个用得到的第三方库的封装,可以在此基础上迅速构建项目
|
|
@@ -1,25 +1,34 @@
|
|
|
1
1
|
import re
|
|
2
|
+
from functools import lru_cache
|
|
2
3
|
from urllib.parse import unquote
|
|
3
4
|
|
|
4
5
|
import regex
|
|
5
6
|
|
|
6
|
-
from re_common.v2.baselibrary.utils.stringutils import
|
|
7
|
-
|
|
7
|
+
from re_common.v2.baselibrary.utils.stringutils import (
|
|
8
|
+
qj2bj,
|
|
9
|
+
bj2qj,
|
|
10
|
+
get_diacritic_variant,
|
|
11
|
+
clean_html,
|
|
12
|
+
remove_spaces_between_chinese_characters,
|
|
13
|
+
)
|
|
8
14
|
|
|
9
|
-
from opencc import OpenCC
|
|
10
15
|
|
|
11
|
-
|
|
12
|
-
|
|
16
|
+
@lru_cache(maxsize=1)
|
|
17
|
+
def get_cc():
|
|
18
|
+
from opencc import OpenCC
|
|
13
19
|
|
|
20
|
+
# pip install opencc-python-reimplemented
|
|
21
|
+
cc = OpenCC("t2s") # t2s是繁体转简体
|
|
22
|
+
return cc
|
|
14
23
|
|
|
15
|
-
class StringClear(object):
|
|
16
24
|
|
|
25
|
+
class StringClear(object):
|
|
17
26
|
def __init__(self, obj_str):
|
|
18
27
|
self.obj_str = obj_str
|
|
19
28
|
|
|
20
29
|
def None_to_str(self):
|
|
21
30
|
if self.obj_str is None:
|
|
22
|
-
self.obj_str =
|
|
31
|
+
self.obj_str = ""
|
|
23
32
|
return self
|
|
24
33
|
|
|
25
34
|
def to_str(self):
|
|
@@ -38,7 +47,7 @@ class StringClear(object):
|
|
|
38
47
|
|
|
39
48
|
def convert_to_simplified(self):
|
|
40
49
|
# 繁体转简体
|
|
41
|
-
self.obj_str =
|
|
50
|
+
self.obj_str = get_cc().convert(self.obj_str)
|
|
42
51
|
return self
|
|
43
52
|
|
|
44
53
|
def lower(self):
|
|
@@ -73,9 +82,8 @@ class StringClear(object):
|
|
|
73
82
|
)
|
|
74
83
|
|
|
75
84
|
self.obj_str = regex.sub(
|
|
76
|
-
pattern,
|
|
77
|
-
|
|
78
|
-
self.obj_str) # \\p{P} 标点符号 后面的是一些其他符号, 也可以用 \p{S} 代替 但是这个很广 可能有误伤
|
|
85
|
+
pattern, "", self.obj_str
|
|
86
|
+
) # \\p{P} 标点符号 后面的是一些其他符号, 也可以用 \p{S} 代替 但是这个很广 可能有误伤
|
|
79
87
|
return self
|
|
80
88
|
|
|
81
89
|
def remove_special_chars(self):
|
|
@@ -95,7 +103,7 @@ class StringClear(object):
|
|
|
95
103
|
|
|
96
104
|
def strip_quotes(self):
|
|
97
105
|
# 清理 双引号
|
|
98
|
-
self.obj_str = self.obj_str.replace("
|
|
106
|
+
self.obj_str = self.obj_str.replace('"', "")
|
|
99
107
|
return self
|
|
100
108
|
|
|
101
109
|
def remove_diacritics(self):
|
|
@@ -141,33 +149,38 @@ class StringClear(object):
|
|
|
141
149
|
|
|
142
150
|
def rel_clear(str_obj):
|
|
143
151
|
# 为融合数据定制的 清理规则
|
|
144
|
-
return (
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
return (
|
|
153
|
+
StringClear(str_obj)
|
|
154
|
+
.None_to_str() # 空对象转str 防止空对象
|
|
155
|
+
.to_str() # 防止其他类型传入 比如 int double
|
|
156
|
+
.qj_to_bj() # 全角转半角
|
|
157
|
+
.remove_html_tag() # html标签清理
|
|
158
|
+
.remove_special_chars() # 移除特殊字符,仅保留字母、数字、空格和汉字 \w 已经包括所有 Unicode 字母 下划线 _ 会被保留
|
|
159
|
+
.collapse_spaces() # 移除多余空格,连续多个空格变一个
|
|
160
|
+
.remove_spaces_in_chinese_characters() # 匹配中文间的空格并替换为空字符串
|
|
161
|
+
.convert_to_simplified() # 繁体转简体
|
|
162
|
+
.lower() # 小写
|
|
163
|
+
.get_str() # 获取str
|
|
164
|
+
.strip()
|
|
165
|
+
) # 去掉空格
|
|
155
166
|
|
|
156
167
|
|
|
157
168
|
def clear_au_organ(str_obj):
|
|
158
169
|
"""
|
|
159
170
|
为作者机构定制的清理 与上面比除了不转小写外 还多了些特殊的清理
|
|
160
171
|
"""
|
|
161
|
-
strs = (
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
172
|
+
strs = (
|
|
173
|
+
StringClear(str_obj)
|
|
174
|
+
.None_to_str() # None 转 空字符串
|
|
175
|
+
.to_str() # 防止其他类型传入 比如 int double
|
|
176
|
+
.qj_to_bj() # 全角转半角
|
|
177
|
+
.strip_quotes() # 清理 双引号
|
|
178
|
+
.clean_symbols() # 清理已知的符号
|
|
179
|
+
.collapse_spaces() # 移除多余空格,连续多个空格变一个
|
|
180
|
+
.convert_to_simplified() # 繁体转简体
|
|
181
|
+
.get_str() # 获取str
|
|
182
|
+
.strip() # 去掉空格
|
|
183
|
+
)
|
|
171
184
|
|
|
172
185
|
strs = strs.replace("lt正gt", "").strip() # 特殊需求
|
|
173
186
|
return strs
|
|
@@ -175,17 +188,20 @@ def clear_au_organ(str_obj):
|
|
|
175
188
|
|
|
176
189
|
def ref_clear(str_obj):
|
|
177
190
|
# 为 引文 数据定制的清理
|
|
178
|
-
strs = (
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
191
|
+
strs = (
|
|
192
|
+
StringClear(str_obj)
|
|
193
|
+
.None_to_str() # None 转 空字符串
|
|
194
|
+
.remove_html_tag() # 清理html标签
|
|
195
|
+
.to_str() # 防止其他类型传入 比如 int double
|
|
196
|
+
.qj_to_bj() # 全角转半角
|
|
197
|
+
.strip_quotes() # 清理 双引号
|
|
198
|
+
.clean_symbols() # 清理已知的符号
|
|
199
|
+
.collapse_spaces() # 移除多余空格,连续多个空格变一个
|
|
200
|
+
.lower() # 小写
|
|
201
|
+
.remove_diacritics() # 去除音标 转换成字母
|
|
202
|
+
.get_str() # 获取str
|
|
203
|
+
.strip() # 去掉空格
|
|
204
|
+
)
|
|
189
205
|
return strs
|
|
190
206
|
|
|
191
207
|
|
|
@@ -193,10 +209,19 @@ def clear_obj(str_obj):
|
|
|
193
209
|
# 为对象化定制的清理
|
|
194
210
|
str_obj = clear_au_organ(str_obj)
|
|
195
211
|
# str_obj = str_obj.replace("ß", "SS") # "ß" 的 大写就是 "SS"
|
|
196
|
-
result = (
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
212
|
+
result = (
|
|
213
|
+
StringClear(str_obj)
|
|
214
|
+
.remove_diacritics() # 清理音标
|
|
215
|
+
.upper()
|
|
216
|
+
.get_str() # 获取str
|
|
217
|
+
.strip() # 去掉空格
|
|
218
|
+
)
|
|
202
219
|
return result
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
def normalize_title_for_es(title: str):
|
|
223
|
+
_title = StringClear(title).convert_to_simplified().qj_to_bj().get_str()
|
|
224
|
+
has_chinese = re.search(r"[\u4e00-\u9fa5]", _title)
|
|
225
|
+
if not has_chinese:
|
|
226
|
+
_title = re.sub(r"[-—‑–−―-]", " ", _title)
|
|
227
|
+
return _title.strip()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: re_common
|
|
3
|
-
Version: 10.0.
|
|
3
|
+
Version: 10.0.23
|
|
4
4
|
Summary: a library about all python projects
|
|
5
5
|
Home-page: https://gitee.com/xujiangios/re-common
|
|
6
6
|
Author: vic
|
|
@@ -11,6 +11,14 @@ Classifier: Operating System :: OS Independent
|
|
|
11
11
|
Requires-Python: >=3.6
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
|
+
Dynamic: author
|
|
15
|
+
Dynamic: author-email
|
|
16
|
+
Dynamic: classifier
|
|
17
|
+
Dynamic: description
|
|
18
|
+
Dynamic: description-content-type
|
|
19
|
+
Dynamic: home-page
|
|
20
|
+
Dynamic: requires-python
|
|
21
|
+
Dynamic: summary
|
|
14
22
|
|
|
15
23
|
|
|
16
24
|
这是一个基础类,依赖很多的第三方包,是一个用得到的第三方库的封装,可以在此基础上迅速构建项目
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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.21 → re_common-10.0.23}/re_common/baselibrary/tools/all_requests/__init__.py
RENAMED
|
File without changes
|
{re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/all_requests/aiohttp_request.py
RENAMED
|
File without changes
|
{re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/all_requests/httpx_requet.py
RENAMED
|
File without changes
|
{re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/all_requests/mrequest.py
RENAMED
|
File without changes
|
{re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/all_requests/requests_request.py
RENAMED
|
File without changes
|
{re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/batch_compre/__init__.py
RENAMED
|
File without changes
|
{re_common-10.0.21 → re_common-10.0.23}/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.21 → re_common-10.0.23}/re_common/baselibrary/tools/mhdfstools/down_hdfs_files.py
RENAMED
|
File without changes
|
|
File without changes
|
{re_common-10.0.21 → re_common-10.0.23}/re_common/baselibrary/tools/mhdfstools/up_hdfs_files.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{re_common-10.0.21 → re_common-10.0.23}/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.21 → re_common-10.0.23}/re_common/baselibrary/tools/mpandas/mpandasreadexcel.py
RENAMED
|
File without changes
|
{re_common-10.0.21 → re_common-10.0.23}/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.21 → re_common-10.0.23}/re_common/libtest/get_attr_test/get_attr_test_settings.py
RENAMED
|
File without changes
|
|
File without changes
|