Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Tags: lebrice/SimpleParsing

Tags

v0.1.7

Toggle v0.1.7's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Add option to specify config path argument name (#334)

* Add option to specify config path argument name

* Reformat using pre-commit

* Address comments

* Update test_conf_path.py

rename arg

* Update mdformat pre-commit hook

Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>

---------

Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>
Co-authored-by: Fabrice Normandin <fabrice.normandin@gmail.com>

v0.1.6

Toggle v0.1.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Try to fix broken(?) python-publish.yml (#324)

v0.1.5

Toggle v0.1.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix broken link (#292)

v0.1.4

Toggle v0.1.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add Performance Regression tests to CI (#282)

* Add a benchmark_comment workflow on pull requests

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

* Tweak the test parameterization

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

* Fix tiny bug in perf test for Py3.7

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

---------

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

v0.1.3

Toggle v0.1.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
upgrade precommit hooks (#263)

* Update pre-commit config

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

* add missing __all__'s so Ruff doesn't break stuff

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

---------

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

v0.1.2.post1

Toggle v0.1.2.post1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add lru_cache wrapper in docstring parsing (#252)

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

v0.1.2

Toggle v0.1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Partials - Dynamic Config Dataclasses for arbitrary callables (#156)

* Partials feature POC

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

* Functools black magic, partials are pickleable

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

* Partials feature POC

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

* Functools black magic, partials are pickleable

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

* Add postponed annotation version of test

Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>

* Apply pre-commit hooks to partial.py

Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>

* Fix example, rename typevars

Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>

* Add comments in the partials_example.py

Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>

* Fix the partials_example.py file

Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>

* Add `nested_partial` helper function

Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>

* Tweak the partials_example.py

Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>

* Fix issue with using functools.partial[T] in py37

Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>

* Adding some more tests for Partial

Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>

* Simplify `partial.py` a bit

Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>

* Add test from PR suggestion, add `sp.config_for`

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

* Fix missing ``` in docstring

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

* Remove torch.optim.SGD fix an old BUG comment

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

* Improve docstring of `config_for`

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

* Add `adjust_default` in __all__

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

* Fix import issue in test_partial_postponed.py

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

* Remove kw_only which appeared in py>=3.9

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

* Update regression files (idk why though?!)

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

* Actually use a frozen instance as default in test

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

* Add `frozen` argument that gets passed through

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

* Fix doctest

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

---------

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>
Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>

v0.1.1

Toggle v0.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add tests to confirm that #160 and #161 are fixed (#234)

* Add test to confirm that #160 is fixed

Fixes #160

* Add test to assert that #161 is fixed

Fixes #161

---------

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

v0.1.0

Toggle v0.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Broaden `from_dict` applicability to non-Serializable dataclasses (#217)

* [temp] Save local changes

Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>

* Fix issue with resolving of forward references

Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>

* Fix logging format string for py37

Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>

* Move some test files over to test/helpers

Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>

* Fuse test_serialization into test_from_dict

Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>

---------

Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>

v0.0.21.post1

Toggle v0.0.21.post1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
modify forward_refs_to_types to fix issue 181 (#182)

Morty Proxy This is a proxified and sanitized view of the page, visit original site.