Skip to content

14th Week of 2021

Projects

  • Improvement: Explain the updates on the repository-orm project.

    In the latest version 0.2.0, we added:

    • Support for the TinyDB repository.
    • Support for regular expressions in the search method.
    • Easier repository loading with load_repository function.
  • Improvement: Add a link to the meilisearch blog.

  • New: Create the quantified self project.

    With links to the two starting points HPI and bionic.

Coding

Python

  • Improvement: Add aiomultiprocess to the list of libraries to test.

    aiomultiprocess: Presents a simple interface, while running a full AsyncIO event loop on each child process, enabling levels of concurrency never before seen in a Python application. Each child process can execute multiple coroutines at once, limited only by the workload and number of cores available.

  • New: Add interesting links on how to write good documentation.

    I would like to refactor divio's and Vue's guidelines and apply it to my projects.

Type Hints

  • Improvement: Explain how to ignore a linter error and a type error.

    With # type: ignore # noqa: W0212

DeepDiff

  • Improvement: Add warning that regular expressions are not yet supported.

    Until #239 is merged, the official library doesn't support searching for regular expressions. You can use my fork instead.

Python Snippets

  • New: Explain how to install dependencies from git repositories.

    With pip you can:

    pip install git+git://github.com/path/to/repository@master
    

    If you want to hard code it in your setup.py, you need to:

    install_requires = [
      'some-pkg @ git+ssh://git@github.com/someorgname/pkg-repo-name@v1.1#egg=some-pkg',
    ]
    
  • Correction: Explain how to create PyPI valid packages with direct dependencies.

    It looks like PyPI don't want pip to reach out to URLs outside their site when installing from PyPI. So you can't define the direct dependencies in the install_requires. Instead you need to install them in a PostInstall custom script. Ugly as hell.

Pydantic

  • Improvement: Change parse_obj definition to find how to import pydantic models from dictionary.

sqlite3

TinyDB

SQLite

Operative Systems

Linux

Vim Plugins

  • Correction: Typo.

    There was a missing comma in the list.

HAProxy

ffmpeg

  • New: Introduce the program and multiple of it's uses.

    ffmpeg is a complete, cross-platform solution to record, convert and stream audio and video.

Other

  • Correction: Broken links.

    Removed the link to (everything_i_know.md) since it no longer exists. Updated some links that where broken due to a folder structure change.