更新记录

2022.9.13 v1.6

  • #303 , update setup.py, add install_requires chardet
  • #302 , update fish_common.py, modify yaml load method.

2021.7.20 v1.5

  • #300 , fish_logger 中的 log 文件默认后缀修改为 .log,日期移到文件名开头;
  • 修改文档描述

2021.6.23 v1.4

  • #288 , fish_date 中的 GetRandomTime 修改为 RandomTime,其中函数名称修改为 get_random_datetime_this_month() get_random_datetime_this_year() get_random_date_by_year() get_random_date_by_range();
  • #292 , fish_data 增加敏感数据掩码显示类 SensitiveMask,增加函数 get_idcard_number() get_bankcard_number() get_mobile_number() get_email() ;
  • 修改小错误
  • 修改文档描述

2020.4.25 v1.3

  • #273 , 随机数包的文档举例中的函数名称错误修正;
  • #275 , 随机数,gen_random_id_card() 函数优化;

2020.3.28 v1.2

  • #255 #266, 开始使用 github 的 Actions 进行 CI 集成;
  • #257, conf_as_dict() 函数移动从 common 包移动到 system 包;
  • #259, 增加 fish_object 函数包,面向对象增强函数;
  • #260, common 包,删除 sorted_objs_by_attr() 函数和 get_group_list_data() 函数;
  • #261, common 包,paging 函数名称修改为 get_page_data();
  • #263, common 包,删除一些为了向前兼容的函数;
  • #263, 删除 flask swagger 支持;

2019.12.5 v1.1.16

  • #249, add swagger module;

2019.7.17 v1.1.15

  • #240, logging, edit function set_log_file(), optimize;
  • #243, data, add function CardBin.get_card_detail(), IdCard.get_number_detail() doc and unittest;

2019.6.25 v1.1.14

2019.6.11 v1.1.13

  • #235, common, add function RMBConversion.an2cn(), RMBConversion.cn2an() doc and unittest;

2019.5.28 v1.1.12

  • #232, data, edit function IdCard.get_zone_info(), IdCard.get_areanote_info(), IdCard.get_province_info(), CardBin.get_bank_info(), CardBin.get_cardbin_info(), optimize;

2019.5.14 v1.1.11

  • #229, random, edit function fish_random.gen_random_bank_card() optimize;

2019.4.30 v1.1.10

2019.4.15 v1.1.9

2019.4.1 v1.1.8

2019.3.19 v1.1.7

  • #212, common, edit function fish_common.conf_as_dict(), fish_common.find_files(), fish_common.yaml_conf_as_dict(), optimize
  • #215, common, edit function fish_common.serialize_instance(), optimize doc and add unittest

2019.1.22 v1.1.6

2018.12.31 v1.1.5

  • #171, random, add function fish_random.gen_company_name(), doc and unittest;
  • #165, random, add function fish_random.gen_id(), doc and unittest;
  • #172, random, add function fish_random.gen_bank_card(), doc and unittest;
  • #170, random, add function fish_random.gen_address(), doc and unittest;
  • #173, random, add function fish_random.get_random_zone_name(), doc and unittest;
  • #162, random, add function fish_random.gen_float_by_range(), doc and unittest;
  • #166, random, add function fish_random.gen_mobile(), doc and unittest;
  • #171, random, add function fish_random.gen_name(), doc and unittest;
  • #163, random, add function fish_random.gen_string_by_range(), doc and unittest;
  • #164, common, add function fish_date.GetRandomTime.gen_date_by_range(), doc and unittest;
  • #142, common, edit function fish_date.GetRandomTime.gen_date_by_year(), doc and unittest;

2018.12.14 v1.1.4

2018.12.10 v1.1.3

2018.10.27 v1.1.2

  • #99, common, add function fish_common.GetMD5.hmac_md5(), doc and unittest;

2018.9.23 v1.1.1

2018.9.3 v1.1.0

2018.8.2 v1.0.16

  • #87, date, add function fish_date.GetRandomTime(), doc and unittest;
  • #94, csv, edit function fish_csv.csv_file_to_list(), doc and unittest;
  • #94, common, edit function fish_common.conf_as_dict(), doc and unittest;

2018.7.11 v1.0.15

  • #36, common, edit function fish_common.is_contain_special_char(), change function name;
  • #62, common, edit function fish_common.if_any_elements_is_space(), optimize, doc and unittest;
  • #78, optimize change_log;
  • #67, common, edit function fish_common.splice_url_params(), optimize;
  • #63 and #77, common, add function fish_common.remove_duplicate_elements(), doc and unittest;
  • #64 common, add function fish_common.sorted_objs_by_attr(), doc and unittest;
  • #79 common, add function fish_common.get_query_param_from_url(), doc and unittest;
  • #83 common, edit function fish_common.conf_as_dict(), optimize;

2018.6.27 v1.0.14

  • 19046, setup, edit setup.py to add long description etc., the package detail;
  • issue ID use directly on github
  • #36, common, add function fish_common.check_str(), doc and unittest;
  • #38, common, add function fish_common.find_files(), doc and unittest;
  • #37, date, add function fish_date.get_years(), doc and unittest;
  • #27, common, add function fish_common.hmac_sha256(), doc and unittest;
  • #61, date, edit function fish_date.get_date_range(), optimize, doc and unittest;
  • #57, common, edit function fish_common.GetMD5.string(), optimize;
  • #59, common, add function fish_common.Base64(), doc and unittest;
  • #51, common, add function fish_common.get_random_str(), doc and unittest;

2018.6.6 v1.0.13

2018.5.21 v1.0.12

  • 19035, rename package ‘fish_base’ to ‘fishbase’

2018.5.18 v1.0.11

  • 19011, 从19011开始编号,ok
  • 19015, common conf_as_dict() 增加 docstring 说明, ok
  • 19016, 开始测试使用 sphinx 来组织 api 说明文档,ok
  • 19017, 将 conf_as_dict() 说明加入到 doc 中,ok
  • 19018, __init__.py 中的 get_ver() 返回版本号功能简化,ok
  • 19019, common class SingleTon() 增加 docstring 说明,ok
  • 19020, csv csv_file_to_list() 增加 docstring 说明,ok
  • 19021, common 重新声明为 fish_common, csv 重新生命为 fish_csv, 所有包带 fish 前缀,ok
  • 19022, sphinx doc 的 theme 修改为 rtd theme,https://sphinx-rtd-theme.readthedocs.io/en/latest/ , ok
  • 19023, logger set_log_file() 增加 docstring 说明,ok
  • 19024, fish_file 函数加入 docstring 说明,ok
  • 19025, common, 去除 get_md5() 函数,ok
  • 19026, common, 增加 class GetMD5,增加字符串、小文件、大文件三种类型的 md5计算,ok
  • 19027, test, 修改原来的 unittest 部分,完善对于 common 函数的单元测试,ok
  • 19028, common, conf_as_dict() 逻辑修改,更加严密,ok
  • 19029, common, 增加 json_contained() 函数,判断两个 json 是否有包含关系,ok
  • 19030, common, 增加 splice_url_params() 函数;ok
  • 19031, 项目,增加 requirements.txt; ok
  • 19032, 项目,增加 .travis.yml, 支持持续集成测试; ok
  • 19033, 项目,增加对于 coveralls.io 的支持,监视 ut 的覆盖率; 本地 python 2.7.15 测试通过; ok
  • 19034, 项目,修改 __init__.py 和 setup.py 中对于 __version__ 的用法; ok

2018.3.20 v1.0.10

  • 19006, 增加,get_time_uuid(), 获得带时间戳的流水号;ok
  • 19007, 增加,if_any_elements_is_space(), 判断参数列表是否存在 None 或空字符串或空格字符串;ok
  • 19008, common,增加 conf_as_dict(),读入配置文件,返回根据配置文件内容生成的字典类型变量; ok
  • 11001, 整体结构和开发方法调整;
  • 11002, 增加 csv 功能模块,增加函数 csv_file_to_list(); ok
  • 11003, fish_file 模块修改为 file,目前向下兼容保留 fish_file; ok
  • 11004, file 模块的 get_abs_filename_with_sub_path() 修改;ok
  • 11005, fish_date 模块修改为 date, demo/demo_date.py 演示用法;ok
  • 11006, 安装包的安装程序 setup.py 中 setup.py 引入源的修改;ok
  • 11007, pip 安装时候支持自动安装 python-dateutil 包; ok
  • 11008, check_platform() 归入到 system 包
  • 11009, csv, csv_file_to_list() 函数增加过滤空行功能;ok
  • 11010, logger, log 相关代码优化简化; ok
  • 11011, demo, 将原来 test 下的 test log 程序移动到 demo 路径下; ok
  • 11013, demo, common.conf_as_dict() 的 demo 例子完善;ok
  • 11014, common, conf_as_dict() 增加返回内容,字典长度;ok
  • 11015, common 增加 class SingleTon,单例的基础类;ok