New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

common-web

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

common-web

this is common for base

pipPyPI
Version
1.0.1
Maintainers
1

#Common Package This is a common package for base, my web project base package.

  • Dto

    • ResObj (this is Response Dto format:{"code":200, "message":"", data: None})
  • handler

    • exception_handler (this is gobal exception handler)
  • Exception (this is custom exception)

    • AuthException
    • BusinessException
  • Utils

    • date_util
      • get_time_by_str(date_str, date_format=DATE_TIME_FORMAT)
      • convert_date_str_format(date_str, old_format, new_format)
      • get_date_str_by_time(date_format, timestamp)
    • file_util
      • read_files_in_folder(file_path)
      • write_json_to_file(file_path, data, encoding='UTF-8')
    • http_util
      • get(url, params=None, headers=None)
      • get_json(url, params=None, headers=None)
      • post(url, params=None, headers=None, timeout=30)
      • post_json(url, params=None, headers=None, timeout=30)
    • festival_util
      • get_holiday_date_by_year_name(year, festival_name)
      • get_holiday_by_date(date_str)
      • is_holiday(date_str)

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts