Posts

  • drf-writable-nested

    Writable nested model serializer for Django REST Framework

    We have a special mixin UniqueFieldsMixin which solves this problem. The mixin moves UniqueValidator’s from the validation stage to the save stage.

    If you want more details, you can read related issues and articles: https://github.com/beda-software/drf-writable-nested/issues/1 http://www.django-rest-framework.org/api-guide/validators/#updating-nested-serializers

    Tags: #python

  • omniauth-wechat-oauth2

    Wechat OAuth2 Strategy for OmniAuth 1.0.

    Add to your Gemfile:

    gem "omniauth-wechat-oauth2"
    

    Then bundle install.

    Tags: #ruby

  • venn.js

    Area proportional Venn and Euler diagrams in JavaScript

    If you use NPM, npm install venn.js. Otherwise, download the latest release.

    Tags: #javascript β€’ venn-diagram β€’ d3

  • HpBandSter

    a distributed Hyperband implementation on Steroids

    a distributed Hyperband implementation on Steroids

    This python 3 package is a framework for distributed hyperparameter optimization. It started out as a simple implementation of Hyperband (Li et al. 2017), and contains an implementation of BOHB (Falkner et al. 2018)

    Tags: #python β€’ bayesian-optimization β€’ hyperparameter-optimization

  • react-native-photo-editor

    ReactNative: Native Photo Editor

    $ yarn add react-native-photo-editor

    Tags: #java

  • eslint-config-google

    ESLint shareable config for the Google JavaScript style guide

    ESLint shareable config for the Google JavaScript style guide (ES2015+ version)

    Tags: #javascript

  • Crunch

    Insane(ly slow but wicked good) PNG image optimization

    Crunch is a tool for lossy PNG image file optimization. It combines selective bit depth, color type, and color palette reduction with zopfli DEFLATE compression algorithm encoding using the pngquant and zopflipng PNG optimization tools. This approach leads to a significant file size gain relative to lossless approaches at the expense of a relatively modest decrease in image quality (see example images below).

    Continuous benchmark testing is available on Travis CI (open the Benchmarks build for the commit of interest). Please see the benchmarks directory of this repository for details about the benchmarking approach and instructions on how to execute benchmarks locally on the reference images distributed in this repository or with your own image files.

    Crunch PNG image optimization is available through the following applications that are distributed in this repository:

    • crunch - a *nix command line executable that can be used on macOS, Linux, and Windows POSIX application deployment environments such as Cygwin or the Windows subsystem for Linux
    • Crunch GUI - a native macOS drag and drop GUI tool
    • Crunch Image(s) service - a macOS right-click menu service for PNG images selected in the Finder

    Tags: #python β€’ png β€’ png-compression

  • PyTorch-NLP

    Basic Utilities for PyTorch Natural Language Processing (NLP)

    Make sure you have Python 3.6+ and PyTorch 1.0+. You can then install pytorch-nlp using pip:

    pip install pytorch-nlp
    

    Or to install the latest code via:

    pip install git+https://github.com/PetrochukM/PyTorch-NLP.git
    

    Tags: #python β€’ pytorch β€’ nlp

  • react-native-button

    A button for React apps

    A button for React apps

    Tags: #javascript

  • Invoices

    Generate PDF invoices for your customers in laravel

    Invoices is a Laravel library that generates a PDF invoice for your customers. The PDF can be either downloaded or streamed in the browser. It’s highly customizable and you can modify the whole output view as well.

    Tags: #php β€’ laravel β€’ pdf

subscribe via RSS