Skip to content
View 15r10nk's full-sized avatar
🏠
Working from home
🏠
Working from home

Sponsors

@nathanjmcdougall
@ddanier
@alexmojaki
@pydantic
@pawamoy
@tiangolo

Sponsoring

@pawamoy

Block or report 15r10nk

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
15r10nk/README.md

About me 👋

I'm a software developer. My goal with my opensource work is to help other people to develop better software faster.

My main projects are:

Allows you to write

def test_addition()
    assert 5+5==snapshot()

and to change the snapshot to snapshot(10) when you run pytest --inline-snapshot=create

Helps you to find bugs by minimizing python source files to the minimal amount of code which is necessary to reproduce the bug

Generates random python code, which is useful to test linter, formatter or other tools which work with python code.

Codecrumbs can be used to refactor code across space 🚀 and time ⏰. The idea is to annotate your python code with decorators which describe deprecations. These refactoring can then be applied by some one else in some other project which uses your library.

lazy-imports-lite allows you to use PEP 690 like lazy-imports enabled per package/library. The implementation is based on AST rewriting and can be used for python 3.8+.

Sponsors ❤️

Sponsoring allows me to invest more time in my open source projects.

Goal 10 Sponsors

Managing imports is difficult when the project grows in size. Functions and classes gets moved or renamed. canonical-imports follows your imports and finds out where the things you are importing are actually defined. It can change your imports which makes your code cleaner and maybe even faster.

Goal 200$

pandas integration for inline-snapshot.

def test_assert_equal():
    df = DataFrame({"col0": [1, 2]})

    assert_frame_equal(df, snapshot(DataFrame([{"col0": 1}, {"col0": 2}])))

Stars

I'm also collecting stars ✨, and your support by starring my projects would be awesome 🤩

Star History Chart

Pinned Loading

  1. inline-snapshot inline-snapshot Public

    create and update inline snapshots in your python tests

    Python 425 11

  2. pysource-minimize pysource-minimize Public

    minimize python source code to find bugs more easily

    Python 31 1

  3. pysource-codegen pysource-codegen Public

    generate random python code to test linter/formatter/and other tools

    Python 40 2

  4. codecrumbs codecrumbs Public

    deprecate and refactor code across library boundaries

    Python 13

  5. canonical-imports canonical-imports Public

    canonical-imports follows your imports and finds out where the things you are importing are actually defined

    Python 11

  6. lazy-imports-lite lazy-imports-lite Public

    lazy-imports-lite changes the semantics of python imports and defers the import until it is used the first time like in PEP 690

    Python 11