Changelogs » Online-judge-template-generator

PyUp Safety actively tracks 266,461 Python packages for vulnerabilities and notifies you when to upgrade.

Online-judge-template-generator

4.7.1

- 56 fix a syntax error on `generate.py`

4.7.0

- 49 remove `sympy` from the dependency
  - 50 improve format guessing from sample cases. Now it can parse multiple cases formats, which are recently often used on Codeforces.

4.6.0

- 46 allows to call filter commands (e.g. `clang-format`, `yapf`) as a post-process hook

4.5.1

- 42 fix some bugs on yukicoder
  - 42 fix bugs of MOD detection

4.5.0

- 40 colorize logs

4.4.0

- 32 improve ranges of generated values in `generate.py`
  - 29 improve names of variables which guessed from sample cases
  - 29 use variables in input formats to guess output formats
  - 29 fix a bug of the analyzer of output types
  - [breaking changes] 28 hide a function which was unintentionally public
  - 28 allow using relative paths to specify customized template files with `oj-template -t TEMPLATE ...`

4.3.1

- 25 fix a bug about `long` type in Topcoder
  - 25 fix a bug of `main` function in `topcoder.cpp`
  - [breaking changes] 26 integrate `topcoder.cpp` into `main.cpp` and remove it
  -    It was a very new and minor feature, so we don't increase the major version.
  - 26 expose `onlinejudge_template.generator.topcoder` module

4.3.0

- 19 Add a default template `topcoder.cpp` for archived problems of Topcoder
  - 20 internal refactoring about the analyzer for output patterns

4.2.0

-   14 fix a bug of the parser which is found at [ARC066E](https://atcoder.jp/contests/arc066/tasks/arc066_c)
  -   16 fix a bug of nest arguments in the Python generator
  -   16 add `python.declare_constants()` function for Python templates

4.1.1

- 11 update the module for the update of Library Checker
  - 11 update templates for Windows and macOS

4.1.0

- 5 add the new template `generate.cpp` for generate random cases
  - embed version numbers to default templates
  - minor fix for generated C++ code

4.0.2

- 3 fix a bug of the format analyzer (reported by [kort0n](https://codeforces.com/profile/kort0n))
  - 4 fix a bug caused by the default value of `-t` option of `oj-template`
  - tweak `generator.py`

4.0.1

- update API documents

4.0.0

- [breaking changes] update names of some functions in `onlinejudge_template.generator.{cplusplus,python}`
  - [breaking changes] rename the path of the config file of `oj-prepare` command

3.1.0

- add `--config-file` option to `oj-prepare` command
  - fix a bug of `oj-prepare` about destination directories

3.0.0

- [breaking changes] rename default template files from `template.*` to `main.*`
  - [breaking changes] update default paths of `oj-contest` command
  - [breaking changes] change fields of the setting file of `oj-contest` command
  - [breaking changes] rename `oj-contest` command to `oj-prepare` command

2.9.1

- fix bugs of `template.py` about type hints
  - fix bugs of `--cookie` options

2.9.0

- use the default `cookie.jar` of `oj` command
  - add `--cookie` option for `oj-template` command and `oj-contest` command

2.8.0

- add the code generator for Python
  - make `oj-contest` enable executable flags if shebang exist
  - add `main.py` to the default templates of `oj-contest`
  - fix a minor bug of parser using yacc

2.7.0

- allow absolute paths  for `-t` option of `oj-template`
  - add `template.py` as a default template

2.6.0

- recognizes constants like `1000000007` `YES` `NO` (thanks to [kyuridenamida/atcoder-tools](https://github.com/kyuridenamida/atcoder-tools))
  - improve output-part of generated code

2.5.0

- recognize types of variables
  - guess formats from samples
  - update `template.cpp`

2.4.3

- fix a small bug of generated Python code
  - add some tests

2.4.2

- uploaded to PyPI: <https://pypi.org/project/online-judge-template-generator/>

2.4.1

- fix some minor problems

2.4.0

- add a template file `fastio.cpp`
  - analyze output formats

2.3.0

-   make generated Python codes more fluent

2.2.0

-   make generated C++ codes more fluent

2.1.0