Expand your Python library into a single source file.

Revision en2, by bayashi_cl, 2022-02-22 19:41:56

Hello. This is my first blog post.

I have created a tool that combines Python packages that exist in separate files into a single source. This tool allows you to import and use libraries for competitive programming in the same way as common packages (like numpy).Similar tools are webpack and oj-bundle.

By the way, in the code generated by this tool, the definitions of functions and classes in the library are expressed as "strings". I think that this may violate the rules against obfuscation (Can-do's and Can't-do's 4). Can the code generated by this tool be used in the contest? I would like to hear your opinions.

Thank you very much.

Tags tools, python

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English bayashi_cl 2022-02-22 19:41:56 0 (published)
en1 English bayashi_cl 2022-02-22 17:32:16 925 Initial revision (saved to drafts)