Expand your Python library into a single source file.
Difference between en1 and en2, changed 0 character(s)
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](https://github.com/online-judge-tools/verification-helper).↵
↵
* github: https://github.com/bayashi-cl/expander↵
* Example of a submission using this tool(AtCoder): https://atcoder.jp/contests/abc238/submissions/29410034↵
↵
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.

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)