Skip to main content

帮助flask框架中将普通HTML文档转义为url-for的文档

Project description

url_for_Int v2.2.0

简介

  • 这是 url-for Interpreter 的开源使用版,遵循 MIT 协议。
    开发者:Hifive
  • 它总共分为两个部分:GUI 和 API,使用方法见下

新版内容

2.2.1 全面优化重写file_catcher代码的参数传递,将decompose函数划入inter.py中,增加whl文件。
2.1.0 不再是 Beta 版,去除 cmd 函数,拆分代码,使其模块化。


使用方法

API

  • 通过 import url_for_int 导入库,此代码会将下列类或函数一并导入
    • int_main 主函数

      • 输入:origin_text:str原始字符
      • 返回:x:str处理后的字符
    • file_catcher :导入文件处理

      • 输入:origin_file:str, to_path:str,prefix:str
      • to_path默认为None,表示生成于原文件目录。若指定目录,则会加入pre_folder
      • 返回:bool值,表示是否成功
    • GUI :用户界面

      • 启动方式 start_gui() 或直接打开 __init__.py 文件

GUI

目前在 delete 函数上存在少许 bug,但不影响正常使用。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

url_for_int-2.2.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

url_for_int-2.2.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file url_for_int-2.2.1.tar.gz.

File metadata

  • Download URL: url_for_int-2.2.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for url_for_int-2.2.1.tar.gz
Algorithm Hash digest
SHA256 a1c5a1c1d0f3b15d8c1a3c2bbad2040ba605f476d0949aa13ebde3e8759c6187
MD5 053519f3e0263b4e855c6a194e5d2b08
BLAKE2b-256 cfa56fecd3205aa91159890202d85a1121823396efc9e604ec0804c05dac600c

See more details on using hashes here.

File details

Details for the file url_for_int-2.2.1-py3-none-any.whl.

File metadata

  • Download URL: url_for_int-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for url_for_int-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6cf82b6d12d6c018c98914e1a1138e09de5c7c03fc90dd40210f503c5aacbe43
MD5 b780b40bddb8a6c6d9e4eac5e5c4b9d2
BLAKE2b-256 cba6dbdd1c902ee4a3e62f530b95ce8eaa20f64c95e3f679689ee7348370f770

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page