<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by L on Medium]]></title>
        <description><![CDATA[Stories by L on Medium]]></description>
        <link>https://medium.com/@likid_geimfari?source=rss-8fa821087dfa------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by L on Medium</title>
            <link>https://medium.com/@likid_geimfari?source=rss-8fa821087dfa------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 18:01:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@likid_geimfari/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Thoughts about naming variables and methods]]></title>
            <link>https://medium.com/@likid_geimfari/thoughts-about-naming-variables-and-methods-bbc2e4c38388?source=rss-8fa821087dfa------2</link>
            <guid isPermaLink="false">https://medium.com/p/bbc2e4c38388</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[refactoring]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[code-style]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[L]]></dc:creator>
            <pubDate>Mon, 13 Jul 2020 17:05:36 GMT</pubDate>
            <atom:updated>2020-07-13T17:05:36.517Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kyGUGJg0-_88TghK.png" /></figure><p>The proper naming of variables, functions, methods, and classes is one of the most important attributes of elegant and clean code, that clearly reflects the intentions of the programmer, without assumptions about what was meant.</p><p>In this article, we will talk about code that is the exact opposite of the one described above — about code that was written carelessly or thoughtlessly.<br>This article is a small confession, because I, like any other programmer, have also written such code in the past (in fact, I still write the bad code sometimes, though refactoring makes it much better). This is nothing terrible as long as we understand that we need to work on it.</p><p>Let’s start.</p><h3>Variables</h3><p>One of the most annoying kinds of variables is variables that give a false impression of the nature of the data they store.</p><p>The requests library is extremely popular among Python developers, and if you have ever been looking for something related to requests, you must have come across with something like this:</p><pre>import requests</pre><pre>req = requests.get(‘<a href="https://api.example.org/endpoint&#39;">https://api.example.org/endpoint&#39;</a>)<br>req.json()</pre><p>Whenever I see this, I feel annoyed and even not because of the shortened name, but because the name of the variable does not match what is stored in this variable.</p><p>When you make a request requests.Request, you get a response requests.Response, so reflect this in your code:</p><pre>response = requests.get(‘<a href="https://api.example.org/endpoint&#39;">https://api.example.org/endpoint&#39;</a>)<br>response.json()</pre><p>Not r, not res, not resp and certainly not req, exactly response. res, r, resp — these are all variables whose contents can be understood only by looking at their definitions, and why jump to the definitions when you can initially give a suitable name?</p><p>Let’s look at another example, but now from Django:</p><pre>users_list = User.objects.filter(age__gte=22)</pre><p>When you see users_list somewhere in the code, you quite rightly expect that you can do this:</p><pre>users_list.append(User.objects.get(pk=3))</pre><p>but no, you can’t do this, since .filter() returns a QuerySet:</p><pre>Traceback (most recent call last):<br># …<br># …<br>AttributeError: ‘QuerySet’ object has no attribute ‘append’</pre><p>If it is very important for you to specify a suffix, then specify at least one that reflects the real situation:</p><pre>users_queryset = User.objects.all()<br>users_queryset.order_by(‘-age’)</pre><p>also okay, because such abbreviations (_qs) are usual for Django:</p><pre>users_qs = User.objects.all()</pre><p>If you really want to write exactly _list, then take care that the list really gets into the variable:</p><pre>users_list = list(User.objects.all())</pre><p>Indicating a type of data that a variable contains is often a bad idea, especially when you deal with dynamic languages, such as Python. In cases when it is very necessary to note that the object is a container data type, it is enough to simply indicate the name of the variable in the plural:</p><pre>users = User.objects.all()</pre><p>Consider another example:</p><pre>info_dict = {‘name’: ‘Isaak’, ‘age’: 25}<br># …<br># … <br>info_dict = list(info_dict)<br># …<br># …</pre><p>You see a dict and you might want to do this:</p><pre>for key, value in info_dict.items():<br>    print(key, value)</pre><p>Instead, you’ll get an exception, because you were misled, and you will understand this only if you go to the definition of the variable and read the entire code from top to bottom, right down to the section from which you started the jump — this is the price of such variables.<br> <br>Thus, when you indicate in the variable name the type of data stored in it, you are essentially a guarantee that this variable must contain the specified data type at any time during the execution of the program. Why should you take this responsibility if it is the direct responsibility of the interpreter or compiler? You shouldn’t! Better to spend time thinking of a good variable name than trying to figure out why the variables do not behave as you expect.</p><p>In the example above, the choice of the name of a variable is rather bad, and you could give a name that more accurately expresses the context (no need to be afraid to use names related to the subject area), but even in this case, you could make this code better:</p><pre>info_dict = {‘name’: ‘Isaak’, ‘age’: 25}<br># …<br># … <br>info_keys = list(info_dict)<br># …<br># …</pre><p>or even like this, which is more idiomatic:</p><pre>info_dict = {‘name’: ‘Isaak’, ‘age’: 25}<br># …<br># … <br>info_keys = info_dict.keys()<br># …<br># …</pre><p>Another type of annoying variable is ones with a shortened name.</p><p>Let’s go back to requests and consider this code:</p><pre>s = requests.Session()<br># …<br># … <br>s.close()</pre><p>This is an example of an unnecessary shortening for a variable name. This is a terrible practice, and its horror becomes even more apparent when such code takes up more than 10–15 lines of code.</p><p>It is much better to write as is, namely:</p><pre>session = requests.Session()<br># …<br># …<br>session.get(‘<a href="https://api.example.org/endpoint&#39;">https://api.example.org/endpoint&#39;</a>)<br># …<br># …<br>session.close()</pre><p>or</p><pre>with requests.Session() as session:<br>    session.get(‘<a href="https://api.example.org/endpoint&#39;">https://api.example.org/endpoint&#39;</a>)</pre><p>You may argue that this is a more verbose option, but I will answer you that it pays off when you read the code and immediately understand that session is a Session.</p><p>Will you understand it by variable s without looking at its definition?</p><h3>Methods</h3><p>Smart naming of functions and methods is something that comes only with experience in designing an API, and therefore you can often find cases where methods do not behave as you expect.</p><p>Consider an example:</p><pre>&gt;&gt;&gt; person = Person()<br>&gt;&gt;&gt; person.has_publications()<br>[‘Post 1’, ‘Post 2’, ‘Post 3’]</pre><p>We expressed a very clear-cut question in our code: “Does this person have publications?”, but what kind of answer did we get? Did we ask for a list of publications of a person?</p><p>The name of this method implies that the return value must be of Boolean type, namely True or False:</p><pre>&gt;&gt;&gt; person = Person()<br>&gt;&gt;&gt; person.has_publications()<br>True</pre><p>We can you can use a more appropriate method name for getting publications:</p><pre>&gt;&gt;&gt; person.get_publications()<br>[‘Post 1’, ‘Post 2’, ‘Post 3’]</pre><p>or</p><pre>&gt;&gt;&gt; person.publications()<br>[‘Post 1’, ‘Post 2’, ‘Post 3’]</pre><p>We often like to call programming a creative activity, and it really is. However, if you write not readable code, and then justify it with “creativity”, then I have bad news for you.</p><p>You can read more in my personal blog: <a href="https://isaak.dev/">https://isaak.dev</a></p><p>Twitter: <a href="https://twitter.com/likid_geimfari">https://twitter.com/likid_geimfari</a><br>GitHub: <a href="https://github.com/lk-geimfari">https://github.com/lk-geimfari</a><br>Telegram: <a href="https://t.me/isaak_dev">https://t.me/isaak_dev</a></p><h3>Further reading</h3><p>I’m leaving this list of outstanding relevant literature written by well-known professionals in the field for further study of the issue:</p><p>1. Robert Martin — <a href="https://amzn.to/3e1K2iX">Clean Code</a><br>2. Robert Martin — <a href="https://amzn.to/2VLWw7S">Clean Architecture</a><br>3. Robert Martin — <a href="https://amzn.to/3e2iSZg">The Clean Coder: A Code of Conduct for Professional Programmers</a><br>4. Martin Fowler — <a href="https://bit.ly/2NTEaOa">Refactoring: Improving the Design of Existing Code</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bbc2e4c38388" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Generating mock data with Mimesis: Part II]]></title>
            <link>https://medium.com/wemake-services/generating-mock-data-with-elizabeth-part-ii-bb16a3f3106f?source=rss-8fa821087dfa------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb16a3f3106f</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[L]]></dc:creator>
            <pubDate>Fri, 02 Jun 2017 09:17:53 GMT</pubDate>
            <atom:updated>2017-08-29T16:07:49.047Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*g7VYBYV7_WCzsb60.png" /></figure><p>We have already <a href="https://medium.com/wemake-services/generating-mock-data-using-elizabeth-part-i-ca5a55b8027c">published</a> how to generate mock data with the help of a Python library — <a href="https://github.com/lk-geimfari/mimesis">Mimesis</a>. The article you are reading now is the continuation of the previous one, therefore, we will not be going over the basics again. In case you missed out on the first article or you felt lazy at the time, you might want to go back to it now since this article assumes you are familiar with the library. Here we are going to speak about best practices and a number of most useful features of the library.</p><h3><strong>Note</strong></h3><p>First of all we would like to point out that Mimesis wasn’t developed to be used with a certain database or ORM. The main problem the library solves is generating valid data. Consequently, while there are no rigid rules of working with the library, here are a few recommendations that will help you keep your testing environment in order and will avert growth of entropy within your project. Recommendations are quite simple and are fully in tune with the Python spirit (if you disagree, feel free to let us know).</p><h3>Structuring</h3><p>Despite the previous note that the library isn’t to be used with a certain database or ORM, the need for test data usually occurs in web-apps that perform certain operations (mostly CRUD) with a database. We have some advice on organizing test data generation for web-apps.</p><p>Functions responsible for data generation and importing it to the database should be kept close to the models, or even better as statistical methods of the model they are related to, as in the example of _bootstrap() method from the previous article. This is necessary to avoid running around files when the model structure changes and you need to add a new filed. Model Patient() from the previous article illustrates the idea:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/166d7100b0cdef490e6ae6514550e43a/href">https://medium.com/media/166d7100b0cdef490e6ae6514550e43a/href</a></iframe><p>Keep in mind that the example above is a model of a Flask-app used by SQLAlchemy. Organizing mock data generators for such apps with the use of different frameworks is done in the same way.</p><h3>Creating objects</h3><p>If your app requires data in one particular language, it’s preferable to use class Generic(), giving access to all class providers through a single object, rather than through multiple separate class providers. Using Generic() will allow you to get rid of several extra lines of code.</p><p>Correct:</p><pre><strong>&gt;&gt;&gt; from</strong> mimesis <strong>import</strong> Generic<br><strong>&gt;&gt;&gt; </strong>generic = Generic(&#39;ru&#39;)</pre><pre><strong>&gt;&gt;&gt; </strong>generic.personal.username()<br>&#39;sherley3354&#39;</pre><pre><strong>&gt;&gt;&gt; </strong>generic.datetime.date()<br>&#39;14-05-2007&#39;</pre><p>Incorrect:</p><pre><strong>&gt;&gt;&gt; from</strong> mimesis <strong>import</strong> Personal, Datetime, Text, Code</pre><pre><strong>&gt;&gt;&gt; </strong>personal = Personal(&#39;ru&#39;)<br><strong>&gt;&gt;&gt; </strong>datetime = Datetime(&#39;ru&#39;)<br><strong>&gt;&gt;&gt; </strong>text = Text(&#39;ru&#39;)<br><strong>&gt;&gt;&gt; </strong>code = Code(&#39;ru&#39;)</pre><p>Still correct:</p><pre><strong>&gt;&gt;&gt; from</strong> mimesis <strong>import</strong> Personal</pre><pre><strong>&gt;&gt;&gt; </strong>p_en = Personal(&#39;en&#39;)<br><strong>&gt;&gt;&gt; </strong>p_sv = Personal(&#39;sv&#39;)<br><strong>&gt;&gt;&gt; </strong><em># …</em></pre><p>It means that importing class providers separately makes sense only if you limit yourself to the data available through the class you imported, otherwise it’s better to use Generic().</p><h3>Inserting data into database</h3><p>If you need to generate data and import it into a database we strongly recommend generating data in chunks rather than 600k at once. Keep in mind the possible limitations of databases, ORM, etc. The smaller the generated data chunks are, the faster the process will go.</p><p>Good:</p><pre><strong>&gt;&gt;&gt; </strong>Patient()._bootstrap(count=2000, locale=&#39;de&#39;)</pre><p>Very bad:</p><pre><strong>&gt;&gt;&gt; </strong>Patient()._bootstrap(count=600000, locale=&#39;de&#39;)</pre><h3>Importing images</h3><p>Class Internet() boasts of several methods which generate image links (more details <a href="http://elizabeth.readthedocs.io/en/latest/api.html#internet">here</a>). Links to images locate on remote servers would be enough, however, if you still want to have a number of random images locally, you can download images generated by the respective class Internet() methods with the help of function download_image() from model utils:</p><pre><strong>&gt;&gt;&gt; from</strong> mimesis <strong>import</strong> Internet<br><strong>&gt;&gt;&gt; from</strong> mimesis.utils <strong>import</strong> download_image</pre><pre>&gt;&gt;&gt; net = Internet()</pre><pre><strong>&gt;&gt;&gt; </strong>img_url = net.stock_image(category=&#39;food&#39;, width=1920, height=1080)<br><strong>&gt;&gt;&gt; </strong>download_image(url=img_url, save_path=&#39;/some/path/&#39;)</pre><h3>User providers</h3><p>The library supports a vast amount of data and in most cases this would be enough. For those who want to create their own providers with more specific data. This can be done like this:</p><pre><strong>&gt;&gt;&gt; class</strong> <strong>SomeProvider</strong>():<br><strong>... </strong>    <strong>class</strong> <strong>Meta</strong>:<br><strong>... </strong>        name = &quot;some_provider&quot;<br>...<br><strong>... </strong>    @staticmethod<br><strong>... </strong>    <strong>def</strong> <strong>one</strong>():<br><strong>... </strong>        <strong>return</strong> 1</pre><pre><strong>&gt;&gt;&gt; class</strong> <strong>Another</strong>():<br><strong>... </strong>    @staticmethod<br><strong>... </strong>    <strong>def</strong> <strong>bye</strong>():<br><strong>... </strong>        <strong>return</strong> &quot;Bye!&quot;</pre><pre><strong>&gt;&gt;&gt; </strong>generic.add_provider(SomeProvider)<br><strong>&gt;&gt;&gt; </strong>generic.add_provider(Another)</pre><pre><strong>&gt;&gt;&gt; </strong>generic.some_provider.one()<br>1</pre><pre><strong>&gt;&gt;&gt; </strong>generic.another.bye()<br>&#39;Bye!&#39;</pre><p>You can also add multiple providers:</p><pre>&gt;&gt;&gt; generic.add_providers(SomeProvider, Another)<br><strong>&gt;&gt;&gt; </strong>generic.some_provider.one()<br>1<br><strong>&gt;&gt;&gt; </strong>generic.another.bye()<br>&#39;Bye!&#39;</pre><p>Everything is pretty easy and self-explanatory here, therefore, we will only clarify one moment — attribute name, class Meta is the name of a class through which access to methods of user-class providers is carried out. By default class name is the name of the class in the lower register.</p><h3>Built-in providers</h3><p>Most countries, where only one language is official, have data typical only for these particular countries. For example, CPF for Brazil (pt-br), SSN for USA (en). This kind of data can cause discomfort and meddle with the order (or at least annoy) by being present in all the objects regardless of the chosen language standard. You can see that for yourselves by looking at the example (the code won’t run):</p><pre><strong>&gt;&gt;&gt; from</strong> mimesis <strong>import</strong> Personal</pre><pre><strong>&gt;&gt;&gt; </strong>person = Personal(&#39;ru&#39;)<br><strong>&gt;&gt;&gt; </strong>person.ssn()<br><strong>&gt;&gt;&gt; </strong>person.cpf()</pre><p>We bet everyone would agree that this does not look too good. Perfectionists, as we are, have taken care of this in a way that some specific regional provider would not bother other providers for other regions. For this reason, class providers with locally-specific data are separated into a special sub-package (mimesis.builtins) for keeping a common class structure for all languages and their objects.</p><p>Here’s how it works:</p><pre><strong>&gt;&gt;&gt; from</strong> mimesis <strong>import</strong> Generic<br><strong>&gt;&gt;&gt; from</strong> mimesis.builtins <strong>import</strong> BrazilSpecProvider</pre><pre><strong>&gt;&gt;&gt; </strong>generic = Generic(&#39;pt-br&#39;)</pre><pre><strong>&gt;&gt;&gt; </strong>generic.add_provider(BrazilProvider)<br><strong>&gt;&gt;&gt; </strong>generic.brazil_provider.cpf()<br>&#39;696.441.186-00&#39;</pre><p>If you want to change default name of built-in provider, just change value of attribute name, class Meta of the builtin provider:</p><pre>&gt;&gt;&gt; BrazilSpecProvider.Meta.name = <strong>&#39;brasil&#39;<br></strong>&gt;&gt;&gt; generic.add_provider(BrazilSpecProvider)</pre><pre>&gt;&gt;&gt; generic.brasil.cpf()<br>&#39;019.775.929-70&#39;</pre><p>Or just inherit the class and override the value of attribute name of class Meta of the provider (in our case this is BrazilSpecProvider()) :</p><pre><strong>&gt;&gt;&gt; class</strong> <strong>Brasil</strong>(BrazilSpecProvider):<br>...<br><strong>... </strong>    <strong>class</strong> <strong>Meta</strong>:<br><strong>... </strong>        name = &quot;brasil&quot;<br>...</pre><pre><strong>&gt;&gt;&gt; </strong>generic.add_provider(Brasil)</pre><pre><strong>&gt;&gt;&gt; </strong>generic.brasil.cnpj()<br>&#39;55.806.487/7994-45&#39;</pre><p>Generally, you don’t need to add built-it classes to the object Generic(). It was done in the example with the single purpose of demonstrating in which cases you should add a built-in class provider to the object Generic(). You can use it directly, as shown below:</p><pre><strong>&gt;&gt;&gt; from</strong> mimesis.builtins <strong>import</strong> RussiaSpecProvider<br><strong>&gt;&gt;&gt; </strong>ru = RussiaSpecProvider()</pre><pre><strong>&gt;&gt;&gt; </strong>ru.patronymic(gender=&#39;female&#39;)<br>&#39;Петровна&#39;</pre><pre><strong>&gt;&gt;&gt; </strong>ru.patronymic(gender=&#39;male&#39;)<br>&#39;Бенедиктович&#39;</pre><p>Which type of data do you usually need in your work? What is the library missing? We will be very happy to hear your suggestions and comments.</p><h3>Useful links</h3><p>Link to the <a href="https://medium.com/wemake-services/generating-mock-data-using-elizabeth-part-i-ca5a55b8027c">first part</a> of this article.</p><p>Link to the project:</p><p><a href="https://github.com/lk-geimfari/mimesis">GitHub - lk-geimfari/mimesis: Mimesis is a robust data generator for Python that can produce a wide range of fake data in multiple languages.</a></p><p>Also don’t forget to <a href="https://medium.com/wemake-services">subscribe</a> to our blog.</p><p>That’s all for now. Good luck with testing and may the force be with you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb16a3f3106f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/wemake-services/generating-mock-data-with-elizabeth-part-ii-bb16a3f3106f">Generating mock data with Mimesis: Part II</a> was originally published in <a href="https://medium.com/wemake-services">wemake.services</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Generating mock data using Mimesis: Part I]]></title>
            <link>https://medium.com/wemake-services/generating-mock-data-using-elizabeth-part-i-ca5a55b8027c?source=rss-8fa821087dfa------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca5a55b8027c</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[L]]></dc:creator>
            <pubDate>Mon, 22 May 2017 13:39:16 GMT</pubDate>
            <atom:updated>2017-08-29T16:08:48.557Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*80ur6GSedUXZkBQ2.png" /></figure><p>The ability to generate mock but valid data comes in handy in app development, where you need to work with databases. Filling in the database by hand is a time-consuming and tedious process, which can be done in three stages — gathering necessary information, post-processing the data and coding the data generator itself. It gets really complicated when you need to generate not just 10–15 users, but 100–150 thousand users (or other types of data). In this article as well as the two following ones we will introduce you to a tool, which immensely simplifies generating mock data, initial database loading and testing in general.</p><p><a href="https://github.com/lk-geimfari/mimesis">Mimesis</a> is a Python library, which helps generate mock data for various purposes. The library was written with the use of tools from the standard Python library, and therefore, it doesn’t have any side dependencies. Currently the library <a href="https://github.com/lk-geimfari/elizabeth">supports</a> 32 languages and 21 class <a href="https://github.com/lk-geimfari/elizabeth/blob/master/PROVIDERS.md">providers</a>, supplying various data.</p><h3>Installation</h3><p>A normal way to install mimesis is via pip:</p><pre>➜  ~ pip <strong>install</strong> mimesis</pre><p>If for some reason you can not install the package with the help of pip, try installing it manually, as shown below:</p><pre>(venv) ➜  ~ git clone https://github.<strong>com</strong>/lk-geimfari/mimesis.git<br>(venv) ➜  <strong>cd</strong> mimesis/<br>(venv) ➜  <strong>python3</strong> setup.<strong>py</strong> install<br># or<br>(venv) ➜ <strong>make</strong> install</pre><p><strong>Please note</strong>, that the library only runs on Python 3.3+. Developers don’t have any plans of adding Python 2.7 support.</p><h3>Generating data</h3><p>Initially, we planned on showing data generation using the example of a small web-application Flask, but we decided against it because not everyone is familiar with Flask nor they are willing to change that. Therefore, we are going to showcase that solely on Python. In case you want to transfer everything to your project on Flask or Django, you simply need to define a static method that will run all the manipulations related to the current model and call it when you need the initial database loading, as demonstrated in the example below.</p><p>Model for Flask (Flask-SQLAlchemy) would look like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/166d7100b0cdef490e6ae6514550e43a/href">https://medium.com/media/166d7100b0cdef490e6ae6514550e43a/href</a></iframe><p>Now let’s transition to shell-mode:</p><pre>(venv) ➜ <strong>python3</strong> manage.<strong>py</strong> <strong>shell</strong></pre><p>And generate data. Beforehand, we need to make sure that the database and the model in question are available.</p><pre><strong>&gt;&gt;&gt; </strong>db<br>&lt;SQLAlchemy engine=&#39;sqlite:///db.sqlite&#39;&gt;</pre><pre><strong>&gt;&gt;&gt; </strong>Patient<br>&lt;<strong>class</strong> &#39;<strong>app</strong>.<strong>models</strong>.<strong>Patient</strong>&#39;&gt;</pre><pre>&gt;&gt;&gt; <strong>Patient</strong>().<strong>_bootstrap</strong>(count=40000, locale=&#39;en&#39;) # generate 40к entries in English.</pre><h3>Introduction</h3><p>It is worth noting that we will be showing the basic capabilities of the library and we will be using a few most common class providers, since there are too many of them to cover each one in detail. If the article sparks your interest to the library you can visit the useful links listed in the end of the article and find out more.</p><p>The library is pretty simple. All you need to do to start working with the data is to create a class provider. The most common type of data in apps are personal users’ data, such as name, last name, credit card info, etc. There is a special class provider for this type of data — Personal(), which takes the code from the language standard in the form of a line as shown below:</p><pre><strong>&gt;&gt;&gt; from</strong> mimesis <strong>import</strong> Personal<em><br></em><strong>&gt;&gt;&gt; </strong>person = Personal(&#39;is&#39;)</pre><pre><strong>&gt;&gt;&gt; for</strong> _ <strong>in</strong> range(0, 3):<br><strong>... </strong>    person.full_name(gender=&#39;male&#39;)<br><strong>...</strong></pre><pre>&#39;Karl Brynjúlfsson&#39;<br>&#39;Rögnvald Eiðsson&#39;<br>&#39;Vésteinn Ríkharðsson&#39;</pre><p>Almost every web-application requires e-mail for registration. Naturally, the library supports the ability to generate e-mails with the help of email() method Personal() class, as below:</p><pre><strong>&gt;&gt;&gt; </strong>person.email(gender=&#39;female&#39;)<br>&#39;lvana6108@gmail.com&#39;</pre><pre><em><br></em><strong>&gt;&gt;&gt; </strong>person.email(gender=&#39;male&#39;)<br>&#39;john2454@yandex.com&#39;</pre><p>There is a little problem with the method above, which may cause the code to be slightly “<em>dirty</em>” in case the app uses more than one type of class providers. In such situation you should use object Generic(), which grants access to all providers from one single object:</p><pre><strong>&gt;&gt;&gt; from</strong> mimesis <strong>import</strong> Generic</pre><pre><strong>&gt;&gt;&gt; </strong>g = Generic(&#39;pl&#39;) # <em>pl – code of Poland (ISO 639-1).</em></pre><pre><strong>&gt;&gt;&gt; </strong>g.personal.full_name()<br>&#39;Lonisława Podsiadło&#39;</pre><pre><strong>&gt;&gt;&gt; </strong>g.datetime.birthday(readable=<strong>True</strong>)<br>&#39;Listopad 11, 1997&#39;</pre><pre>&gt;&gt;&gt; g.code.imei()<br>&#39;011948003071013&#39;</pre><pre>&gt;&gt;&gt; g.food.fruit()<br>&#39;Cytryna&#39;</pre><pre>&gt;&gt;&gt; g.internet.http_method()<br>&#39;PUT&#39;</pre><pre>&gt;&gt;&gt; g.science.math_formula()<br>&#39;A = (h * (a + b)) / 2&#39;</pre><p>Combining data gives you a vast field for experimentation. For example, you can create mock (female) Visa (Maestro, MasterCard) credit card holders:</p><pre><strong>&gt;&gt;&gt; </strong>user = Personal(&#39;en&#39;)</pre><pre><strong>&gt;&gt;&gt; def</strong> <strong>get_card</strong>(sex=&#39;female&#39;):<br><strong>... </strong>    owner = {<br><strong>... </strong>      &#39;owner&#39;: user.full_name(sex),<br><strong>... </strong>      &#39;exp_date&#39;: user.credit_card_expiration_date(maximum=21),<br><strong>... </strong>      &#39;number&#39;: user.credit_card_number(card_type=&#39;visa&#39;)<br><strong>... </strong>      }<br><strong>... </strong>    <strong>return</strong> owner</pre><pre><strong>&gt;&gt;&gt; for</strong> _ <strong>in</strong> range(0, 3):<br><strong>... </strong>    get_card()<br><strong>...</strong></pre><pre>{&#39;exp_date&#39;: &#39;02/20&#39;, &#39;owner&#39;: &#39;Laverna Morrison&#39;, &#39;card_number&#39;: &#39;4920 3598 2121 3328&#39;}</pre><pre>{&#39;exp_date&#39;: &#39;11/19&#39;, &#39;owner&#39;: &#39;Melany Martinez&#39;, &#39;card_number&#39;: &#39;4980 9423 5464 1201&#39;}</pre><pre>{&#39;exp_date&#39;: &#39;01/19&#39;, &#39;owner&#39;: &#39;Cleora Mcfarland&#39;, &#39;card_number&#39;: &#39;4085 8037 5801 9703&#39;}</pre><p>As mentioned above, the library supports more than 19 class providers with data for all possible situations (if not, your <a href="https://github.com/lk-geimfari/elizabeth">PR</a> with corrections of such an awful injustice are more than welcome). For example, if you are working on an app dedicated to transportation and logistics and you need to generate transportation models, you can easily do this by using Transport()class provider, which contains data related to transportation:</p><pre><strong>&gt;&gt;&gt; from</strong> mimesis <strong>import</strong> Transport<br><strong>&gt;&gt;&gt; </strong>trans = Transport()</pre><pre><strong>&gt;&gt;&gt; for</strong> _ <strong>in</strong> range(0, 5):<br><strong>... </strong>    trans.truck()<br><strong>...</strong></pre><pre>&#39;Seddon-2537 IM&#39;<br>&#39;Karrier-7799 UN&#39;<br>&#39;Minerva-5567 YC&#39;<br>&#39;Hyundai-2808 XR&#39;<br>&#39;LIAZ-7174 RM&#39;</pre><p>Or you could indicate the transport mask model:</p><pre><strong>&gt;&gt;&gt; for</strong> _ <strong>in</strong> range(0, 5):<br><strong>...     </strong><em># Here # (sharp) - placeholder for numbers, @ - for letters</em><strong><br>... </strong>    trans.truck(model_mask=&quot;##@&quot;)<em><br></em><strong>...</strong></pre><pre>&#39;Henschel-16G&#39;<br>&#39;Bean-44<strong>D&#39;<br></strong>&#39;Unic-82<strong>S&#39;<br></strong>&#39;Ford-05<strong>Q&#39;<br></strong>&#39;Kalmar-58C&#39;</pre><p>Quite often when testing web-applications (blog would be an excellent example) you need to generate text data (text, sentences, tags, etc.). Manually inputting the text is long and boring, and Mimesis allows you to avoid this thanks to a class provider Text():</p><pre><strong>&gt;&gt;&gt; from</strong> mimesis <strong>import</strong> Text<br><strong>&gt;&gt;&gt; </strong>text = Text(&#39;en&#39;)</pre><pre><strong>&gt;&gt;&gt; </strong>text.text(quantity=3)</pre><pre>&#39;Language includes means for creating light parallel processes  and their interactions via exchanging asynchronous messages according to the actors’ model. Python supports several programming paradigms, including structural, object-oriented, functional, imperative and aspect-oriented. For instance, some functions that use comparison of examples to choose one calculating option or extracting data points looks similar to an equation.&#39;</pre><p>You can get a list of random words:</p><pre><strong>&gt;&gt;&gt; </strong>text = Text(&#39;pt-br&#39;)<br><strong>&gt;&gt;&gt; </strong>text.words(quantity=5)</pre><pre>[&#39;poder&#39;, &#39;de&#39;, &#39;maior&#39;, &#39;só&#39;, &#39;cima&#39;]</pre><p>Generate a street name:</p><pre><strong>&gt;&gt;&gt; from</strong> mimesis <strong>import</strong> Address<br><strong>&gt;&gt;&gt; </strong>address = Address(&#39;en&#39;)</pre><pre><strong>&gt;&gt;&gt; </strong>address.address()<br>&#39;77 Shephard Trace&#39;</pre><p>Get a name of a state/area/province, which is related to the chosen language. : In this case it is an state of the USA:</p><pre><strong>&gt;&gt;&gt; </strong>address.state()<br>&#39;Texas&#39;</pre><p>The library also has means to Romanize Cyrillic languages (for the moment only Russian and Ukrainian are supported):</p><pre><strong>&gt;&gt;&gt; from</strong> mimesis.decorators <strong>import</strong> romanized</pre><pre><strong>&gt;&gt;&gt; </strong>@romanized(&#39;ru&#39;)<br><strong>... def</strong> <strong>name_ru</strong>():<br><strong>... </strong>    <strong>return</strong> &#39;Вероника Денисова&#39;<br>...</pre><pre><strong>&gt;&gt;&gt; </strong>@romanized(&#39;uk&#39;)<br><strong>&gt;&gt;&gt; def</strong> <strong>name_uk</strong>():<br><strong>... </strong>    <strong>return</strong> &#39;Емілія Акуленко&#39;<br>...</pre><pre><strong>&gt;&gt;&gt; </strong>name_ru()<br>&#39;Veronika Denisova&#39;</pre><pre><strong>&gt;&gt;&gt; </strong>name_uk()<br>&#39;Emіlіja Akulenko&#39;</pre><p>In reality there are a lot of possibilities and you can come up with a huge number of great use-cases, where the data would look more useful than in our examples. We are looking forward to getting them from our users. And we would be happy to read how you are successfully applying the library to your projects.</p><h3><strong>Useful links</strong></h3><p><a href="https://github.com/wemake-services/elizabeth-cloud"><strong>Here</strong></a> we are creating a web version of the library using sanic and GraphQL.</p><p><a href="https://github.com/lk-geimfari/pytest-elizabeth"><strong>Here</strong></a> you will find a plugin for py.test.</p><p>Documentation is available on <a href="http://elizabeth.readthedocs.io/en/latest/"><strong>ReadTheDocs</strong></a>.</p><p>Project is available on GitHub<strong>:</strong></p><p><a href="https://github.com/lk-geimfari/mimesis">GitHub - lk-geimfari/mimesis: Mimesis is a robust data generator for Python that can produce a wide range of fake data in multiple languages.</a></p><p><a href="https://medium.com/wemake-services">Subscribe</a> to read more articles.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca5a55b8027c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/wemake-services/generating-mock-data-using-elizabeth-part-i-ca5a55b8027c">Generating mock data using Mimesis: Part I</a> was originally published in <a href="https://medium.com/wemake-services">wemake.services</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The really big list of really interesting Open Source projects.]]></title>
            <link>https://medium.com/@likid_geimfari/the-list-of-interesting-open-source-projects-2daaa2153f7c?source=rss-8fa821087dfa------2</link>
            <guid isPermaLink="false">https://medium.com/p/2daaa2153f7c</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[L]]></dc:creator>
            <pubDate>Fri, 25 Nov 2016 13:40:04 GMT</pubDate>
            <atom:updated>2020-09-13T11:24:32.506Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*7TNEVsieuU0HdIMO.png" /></figure><h4>Hi, dear developers and readers!</h4><p>If you are interested in Open Source and are considering joining the community of Open Source developers, it is possible that in this list you will find the project that will suit you (In fact I am sure that you will find).</p><p>Here are you can see the really big list of really interesting Open Source projects on languages such as Elixir, Erlang, Haskell, Clojure, Python, Ruby, Lua, JS, Go, C++, Swift, Bash, R and etc.</p><p>I have a blog where I write about software development and stuff, so feel free to subscribe me: <a href="https://isaak.dev/">https://isaak.dev/</a></p><p>I have a <strong>Telegram channel </strong>where I cross-post articles from my blog and post all the open-source goodies I found: <a href="https://t.me/the_art_of_development"><strong>@the_art_of_development</strong></a>.</p><p><a href="https://github.com/lk-geimfari/awesomeo"><strong>HERE YOU CAN FIND THE LAST VERSION OF THIS LIST (ON GITHUB</strong></a><strong>).</strong></p><h3># Emacs/Common Lisp</h3><p>— — — — —</p><p><a href="https://github.com/magit/magit"><strong><em>Magit</em></strong></a> is an interface to the version control system <a href="https://git-scm.com/">Git</a>, implemented as an <a href="https://www.gnu.org/software/emacs">Emacs</a> package. Magit aspires to be a complete Git porcelain. While we cannot (yet) claim that Magit wraps and improves upon each and every Git command, it is complete enough to allow even experienced Git users to perform almost all of their daily version control tasks directly from within Emacs. While many fine Git clients exist, only Magit and Git itself deserve to be called porcelains. <a href="https://magit.vc/about">(more)</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/168/0*kPc9uZd0tipuHwz8." /></figure><p><a href="https://github.com/fukamachi/woo"><strong><em>Woo</em></strong></a> is a fast non-blocking HTTP server built on top of <a href="http://software.schmorp.de/pkg/libev.html">libev</a>. Although Woo is written in Common Lisp, it aims to be the fastest web server written in any programming language.</p><p>How fast?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*osAu1eahG_HvotEG.png" /></figure><p><a href="https://github.com/fukamachi/clack"><strong><em>Clack</em></strong></a> is a web application environment for Common Lisp inspired by Python’s WSGI and Ruby’s Rack.</p><p>Usage:</p><pre>(defvar *handler*<br>    (clack:clackup<br>      (lambda (env)<br>        (declare (ignore env))<br>        &#39;(200 (:content-type &quot;text/plain&quot;) (&quot;Hello, Clack!&quot;)))))</pre><p><a href="https://github.com/tonini/alchemist.el"><strong><em>Alchemist</em></strong></a><strong><em> — </em></strong>an Elixir Tooling Integration Into Emacs. <em>Alchemist</em> comes with a bunch of features, which are:</p><ul><li>Mix integration</li><li>Compile &amp; Execution of Elixir code</li><li>Inline code evaluation</li><li>Inline macro expanding</li><li>Documentation lookup</li><li>Definition lookup</li><li>Powerful IEx integration</li><li>Smart code completion</li><li>Elixir project management</li><li>Phoenix support</li><li>Integration with <a href="http://company-mode.github.io/">company-mode</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/0*f4qzy9rBHThYqUG4.png" /></figure><h3># Python</h3><p>— — — — —</p><p><a href="https://github.com/sobolevn/django-split-settings"><strong>django-split-setting</strong></a><strong>: </strong>Organize Django settings into multiple files and directories. Easily override and modify settings. Use wildcards and optional settings files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*ogBWTa2xptrsZXMB34Pzgw.png" /></figure><p><a href="https://github.com/getpelican/pelican"><strong><em>Pelican</em></strong></a> is a static site generator, written in <a href="http://www.python.org/">Python</a>.</p><ul><li>Write content in <a href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> or <a href="http://daringfireball.net/projects/markdown/">Markdown</a> using your editor of choice</li><li>Includes a simple command line tool to (re)generate site files</li><li>Easy to interface with version control systems and web hooks</li><li>Completely static output is simple to host anywhere</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/0*BBkVw_8cp3pFtKt3.png" /></figure><p><a href="https://github.com/tensorflow/tensorflow"><strong><em>tensorflow</em></strong></a> — an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) that flow between them. This flexible architecture lets you deploy computation to one or more CPUs or GPUs in a desktop, server, or mobile device without rewriting code. TensorFlow also includes TensorBoard, a data visualization toolkit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/0*dNVUpWFLoysACE9z." /></figure><p><a href="https://github.com/tensorflow/magenta"><strong><em>Magenta</em></strong></a> is a research project exploring the role of machine learning in the process of creating art and music. Primarily this involves developing new deep learning and reinforcement learning algorithms for generating songs, images, drawings, and other materials. But it’s also an exploration in building smart tools and interfaces that allow artists and musicians to extend (not replace!) their processes using these models</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/0*t_d8YHfohBitJc-T.png" /></figure><p><a href="https://github.com/numenta/nupic"><strong><em>The Numenta Platform for Intelligent Computing (NUPIC)</em></strong></a><strong><em> </em></strong>is a machine intelligence platform that implements the <a href="http://numenta.com/learn/hierarchical-temporal-memory-white-paper.html">HTM learning algorithms</a>. HTM is a detailed computational theory of the neocortex. At the core of HTM are time-based continuous learning algorithms that store and recall spatial and temporal patterns. NuPIC is suited to a variety of problems, particularly anomaly detection and prediction of streaming data sources.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/128/0*iYw1suOWr3weH9xq." /></figure><p><a href="https://github.com/openai/universe"><strong><em>Universe</em></strong></a> is a software platform for measuring and training an AI’s general intelligence across the world’s supply of games, websites and other applications. This is the universe open-source library, which provides a simple <a href="https://github.com/openai/gym">Gym</a> interface to each Universe environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3gIaeIYFBO2REN_K.jpg" /></figure><p><a href="https://github.com/Theano/Theano"><strong><em>Theano</em></strong></a> — a Python library that allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently. It can use GPUs and perform efficient symbolic differentiation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*b-nP6iz23vKIVqys.png" /></figure><p><a href="https://github.com/eliangcs/http-prompt"><strong><em>http-prompt</em></strong></a> — an interactive command-line HTTP client featuring autocomplete and syntax highlighting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/0*Oo5GWcygacE7F9LM.gif" /></figure><p><a href="https://github.com/gabrielfalcao/HTTPretty"><strong><em>HTTPretty</em></strong></a> — HTTP client mocking tool for Python, it’s like ruby’s FakeWeb for python.</p><p>Usage:</p><pre>import requests<br>import httpretty</pre><pre>def test_one():<br>    httpretty.enable()  # enable HTTPretty so that it will monkey patch the socket module<br>    httpretty.register_uri(httpretty.GET, &quot;http://yipit.com/&quot;,<br>                           body=&quot;Find the best daily deals&quot;)</pre><pre>    response = requests.get(&#39;http://yipit.com&#39;)</pre><pre>    assert response.text == &quot;Find the best daily deals&quot;</pre><pre>    httpretty.disable()  # disable afterwards, so that you will have no problems in code that uses that socket module<br>    httpretty.reset()    # reset HTTPretty state (clean up registered urls and request history)</pre><p><a href="https://github.com/falconry/falcon"><strong><em>falcon</em></strong></a> — is a <a href="http://falconframework.org/index.html">high-performance Python framework</a> for building cloud APIs. It encourages the REST architectural style, and tries to do as little as possible while remaining <a href="http://falconframework.org/index.html#Benefits">highly effective</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/253/0*q9KGh0C5nrVelow1.png" /></figure><p>Example:</p><pre><strong>import</strong> <strong>falcon</strong><br></pre><pre><em># Falcon follows the REST architectural style, meaning (among</em><br><em># other things) that you think in terms of resources and state</em><br><em># transitions, which map to HTTP verbs.</em><br><strong>class</strong> <strong>ThingsResource</strong>(object):<br>    <strong>def</strong> on_get(self, req, resp):<br>        <em>&quot;&quot;&quot;Handles GET requests&quot;&quot;&quot;</em><br>        resp.status = falcon.HTTP_200  <em># This is the default status</em><br>        resp.body = (&#39;<strong>\n</strong>Two things awe me most, the starry sky &#39;<br>                     &#39;above me and the moral law within me.<strong>\n</strong>&#39;<br>                     &#39;<strong>\n</strong>&#39;<br>                     &#39;    ~ Immanuel Kant<strong>\n\n</strong>&#39;)</pre><pre><em># falcon.API instances are callable WSGI apps</em><br>app = falcon.API()</pre><pre><em># Resources are represented by long-lived class instances</em><br>things = ThingsResource()</pre><pre><em># things will handle all requests to the &#39;/things&#39; URL path</em><br>app.add_route(&#39;/things&#39;, things)</pre><p><a href="https://github.com/nicolaiarocci/eve">eve</a> — an open source Python REST API framework designed for human beings. It allows to effortlessly build and deploy highly customizable, fully featured RESTful Web Services.</p><p>Eve is powered by Flask, Redis, Cerberus, Events and offers support for both MongoDB and SQL backends.</p><pre>from eve import Eve</pre><pre>app = Eve()<br>app.run()</pre><p>The API is now live, ready to be consumed:</p><pre>$ curl -i <a href="http://example.com/people">http://example.com/people</a><br>HTTP/1.1 200 OK</pre><p><a href="https://github.com/plotly/plotly.py"><strong><em>plotly.p</em></strong></a><strong><em>y</em> </strong>— an interactive, browser-based charting library for Python.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*dV4zYWbHRFlXk4UB." /></figure><p><a href="https://github.com/nicolaiarocci/cerberus"><strong><em>cerberus</em></strong></a> — a lightweight and extensible data validation library for Python.</p><p>Example:</p><pre>&gt;&gt;&gt; v = Validator({&#39;name&#39;: {&#39;type&#39;: &#39;string&#39;}})<br>&gt;&gt;&gt; v.validate({&#39;name&#39;: &#39;john doe&#39;})<br>True</pre><p><a href="https://github.com/DTVD/rainbowstream"><strong><em>Rainbow Stream</em></strong></a><strong><em> </em></strong>— is a terminal-based Twitter Client. Realtime tweetstream, compose, search, favorite … and much more fun directly from terminal.</p><p><a href="https://github.com/vispy/vispy"><strong><em>vispy</em></strong></a><em> — </em>a high-performance interactive 2D/3D data visualization library for Python. <a href="https://github.com/vispy/vispy/blob/master/examples/demo/gloo/galaxy/galaxy.py">Example</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*HBZZpeGHvTnN2Wdo.png" /><figcaption>Spiral galaxy</figcaption></figure><p><a href="https://github.com/lk-geimfari/mimesis"><strong><em>Mimesis</em></strong></a><strong><em> </em></strong>is a fast and easier to use Python library for generate dummy data. These data are very useful when you need to bootstrap the database in the testing phase of your software. A great example of how you can use the library is a web applications on Flask or Django which need a data, such as users (email, username, name, surname etc.), posts (tags, text, title, publishing date and etc.) asf. The library use the JSON files as a datastore and doesn’t have any dependencies. The library offers more than 22 different data providers (from the personal to transport and not only).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*bZtdscI2dXuTz5s-.png" /></figure><p>Below you can see, how to generate fake paths using Mimesis:</p><pre>&gt;&gt;&gt; import mimesis<br>&gt;&gt;&gt; person = mimesis.Personal(locale=&#39;en&#39;)<br><br>&gt;&gt;&gt; person.full_name(gender=&#39;female&#39;)<br>&#39;Antonetta Garrison&#39;<br><br>&gt;&gt;&gt; person.occupation()<br>&#39;Backend Developer&#39;<br><br>&gt;&gt;&gt; templates = [&#39;U_d&#39;, &#39;U-d&#39;, &#39;l_d&#39;, &#39;l-d&#39;]<br>&gt;&gt;&gt; for template in templates:<br>...     person.username(template=template)<br><br>&#39;Adders_1893&#39;<br>&#39;Abdel-1888&#39;<br>&#39;constructor_1884&#39;<br>&#39;chegre-2051&#39;</pre><p><a href="https://github.com/lk-geimfari/expynent"><strong><em>expynent</em></strong></a> — a library that provides regex patterns for Python. If you hate to write regular expressions, then expynent can help you. Examples are below.</p><p>Just import the pattern that you wanna use:</p><pre>import re<br>import expynent.patterns as expas</pre><pre>if re.match(expas.ZIP_CODE[&#39;RU&#39;], &#39;43134&#39;):<br>    print(&#39;match&#39;)<br>else:<br>    print(&#39;not match&#39;)</pre><pre># Output: &#39;not match&#39;</pre><p>also you can use compiled patterns:</p><pre>from expynent.compiled import username</pre><pre>u = input(&#39;Enter username: &#39;)</pre><pre>if username.match(u):<br>    print(&#39;valid&#39;)<br>else:<br>    print(&#39;invalid&#39;)</pre><p><a href="https://github.com/nvbn/thefuck"><strong><em>the fuck</em></strong></a> — is a magnificent app which corrects your previous console command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/0*lzaRCNye94_EIWDH.gif" /></figure><p><a href="https://github.com/reorx/httpstat"><strong><em>httpstat</em></strong></a><em> — </em>httpstat visualizes curl statistics in a way of beauty and clarity. httpstart written in Python.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/0*094RRK52CnVD1b85.png" /></figure><p><a href="https://github.com/gak/pycallgraph"><strong><em>pycallgraph</em></strong></a> — Python Call Graph is a Python module that creates <a href="http://en.wikipedia.org/wiki/Call_graph">call graph</a> visualizations for Python applications.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*JEBX9Lk791NMAaYw." /></figure><p><a href="https://github.com/dbcli/pgcli"><strong><em>pgcli</em></strong></a><em> — </em>Postgres CLI with autocompletion and syntax highlighting. pgcli written in Python.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jFR4zKWP5x7DunCJ.gif" /></figure><p><a href="https://github.com/sdispater/pendulum"><strong><em>pendulum</em></strong></a><em> — </em>Python datetimes made easy.</p><p>Usage:</p><pre>&gt;&gt;&gt; import pendulum</pre><pre>&gt;&gt;&gt; now_in_paris = pendulum.now(&#39;Europe/Paris&#39;)<br>&gt;&gt;&gt; now_in_paris<br>&#39;2016-07-04T00:49:58.502116+02:00&#39;</pre><pre># Seamless timezone switching<br>&gt;&gt;&gt; now_in_paris.in_timezone(&#39;UTC&#39;)<br>&#39;2016-07-03T22:49:58.502116+00:00&#39;</pre><pre>&gt;&gt;&gt; tomorrow = pendulum.now().add(days=1)<br>&gt;&gt;&gt; last_week = pendulum.now().subtract(weeks=1)</pre><pre>&gt;&gt;&gt; if pendulum.now().is_weekend():<br>...     print(&#39;Party!&#39;)<br>&#39;Party!&#39;</pre><pre>&gt;&gt;&gt; past = pendulum.now().subtract(minutes=2)<br>&gt;&gt;&gt; past.diff_for_humans()<br>&gt;&gt;&gt; &#39;2 minutes ago&#39;</pre><pre>&gt;&gt;&gt; delta = past - last_week<br>&gt;&gt;&gt; delta.hours<br>23<br>&gt;&gt;&gt; delta.in_words(locale=&#39;en&#39;)<br>&#39;6 days 23 hours 58 minutes&#39;</pre><pre># Proper handling of datetime normalization<br>&gt;&gt;&gt; pendulum.create(2013, 3, 31, 2, 30, 0, 0, &#39;Europe/Paris&#39;)<br>&#39;2013-03-31T03:30:00+02:00&#39; # 2:30 does not exist (Skipped time)</pre><pre># Proper handling of dst transitions<br>&gt;&gt;&gt; just_before = pendulum.create(2013, 3, 31, 1, 59, 59, 999999, &#39;Europe/Paris&#39;)<br>&#39;2013-03-31T01:59:59.999999+01:00&#39;<br>&gt;&gt;&gt; just_before.add(microseconds=1)<br>&#39;2013-03-31T03:00:00+02:00&#39;</pre><p><a href="https://github.com/daboth/pagan"><strong><em>pagan</em></strong></a><em> — </em>Python avatar generator for absolute nerds.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/128/0*M9fy4cQerIjDPO9T.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/128/0*Tzemh9_p7GoayYea.png" /></figure><p><a href="https://github.com/jonathanslenders/python-prompt-toolkit"><strong><em>python-prompt-toolkit</em></strong></a><em> </em>— a library for building powerful interactive command lines and terminal applications in Python.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/0*1pyfbQd0UNohXpTs.png" /></figure><p><a href="https://github.com/airbnb/superset"><strong><em>superset</em></strong></a> — a data exploration platform designed to be visual, intuitive and interactive.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EIcb12FSCzgxLinu.png" /></figure><p><a href="https://github.com/astropy/astropy"><strong><em>astropy</em></strong></a><em> — </em>a package intended to contain much of the core functionality and some common tools needed for performing astronomy and astrophysics with Python.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/0*rMpYXhi1ZuZnSunq.png" /></figure><p><a href="https://github.com/gruns/furl"><strong><em>furl</em></strong></a><em> — </em>a small Python library that makes manipulating URLs simple.</p><p>Example:</p><pre>&gt;&gt;&gt; from furl import furl<br>&gt;&gt;&gt; f = furl(https://medium.com/&#39;http://www.google.com/?one=1&amp;two=2&#39;)<br>&gt;&gt;&gt; f.args[&#39;three&#39;] = &#39;3&#39;<br>&gt;&gt;&gt; del f.args[&#39;one&#39;]<br>&gt;&gt;&gt; f.url<br>&#39;http://www.google.com/?two=2&amp;three=3&#39;</pre><p><a href="https://github.com/jkbrzt/httpie"><strong><em>httpie</em></strong></a><em> — </em>a command line HTTP client. Its goal is to make CLI interaction with web services as human-friendly as possible. It provides a simple http command that allows for sending arbitrary HTTP requests using a simple and natural syntax, and displays colorized output. HTTPie can be used for testing, debugging, and generally interacting with HTTP servers.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/0*_Tq3t5elxAb9-VPD.png" /></figure><p><a href="https://github.com/docker/compose"><strong><em>compose</em></strong></a><em> — </em>a tool for defining and running multi-container Docker applications. With Compose, you use a Compose file to configure your application’s services. Then, using a single command, you create and start all the services from your configuration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*SdJayWyknC_r8Js9." /></figure><p><a href="https://github.com/fchollet/keras"><strong><em>keras</em></strong></a> — a high-level neural networks library, written in Python and capable of running on top of either <a href="https://github.com/tensorflow/tensorflow">TensorFlow</a> or <a href="https://github.com/Theano/Theano">Theano</a>. It was developed with a focus on enabling fast experimentation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*s57Cx2qO1WZkqNvX.jpg" /></figure><p><a href="https://github.com/gautamkrishnar/socli"><strong><em>socli</em></strong></a> — a command line Stackoverflow written in Python. Using SoCLI you can search and browse stack overflow without leaving the terminal. Just use the socli command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/0*HpoiQcjx-wdBgKu3.gif" /></figure><p><a href="https://github.com/bokeh/bokeh"><strong><em>bokeh</em></strong></a> — a Python interactive visualization library, enables beautiful and meaningful visual presentation of data in modern web browsers. With Bokeh, you can quickly and easily create interactive plots, dashboards, and data applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/0*L6wK5yefN55iBsRx.jpg" /></figure><h3># Lua</h3><p>— — — — —</p><p><a href="https://github.com/leafo/moonscript"><strong><em>moonscript</em></strong></a> — a programmer friendly language that compiles into <a href="http://www.lua.org/">Lua</a>. It gives you the power of the fastest scripting language combined with a rich set of features. It runs on Lua 5.1 and above, including alternative runtimes like LuaJIT.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/0*-ytpHKPWbcBnOpVd." /></figure><p><a href="https://github.com/kikito/middleclass"><strong><em>middleclass</em></strong></a><strong><em> — </em></strong>a simple OOP library for Lua. It has inheritance, metamethods (operators), class variables and weak mixin support.</p><p>Quick look:</p><pre>local class = require &#39;middleclass&#39;</pre><pre>local Fruit = class(&#39;Fruit&#39;) -- &#39;Fruit&#39; is the class&#39; name</pre><pre>function Fruit:initialize(sweetness)<br>  self.sweetness = sweetness<br>end</pre><pre>Fruit.static.sweetness_threshold = 5 -- class variable (also admits methods)</pre><pre>function Fruit:isSweet()<br>  return self.sweetness &gt; Fruit.sweetness_threshold<br>end</pre><pre>local Lemon = class(&#39;Lemon&#39;, Fruit) -- subclassing</pre><pre>function Lemon:initialize()<br>  Fruit.initialize(self, 1) -- invoking the superclass&#39; initializer<br>end</pre><pre>local lemon = Lemon:new()</pre><pre>print(lemon:isSweet()) -- false</pre><p><a href="https://github.com/luarocks/luarocks"><strong><em>luarocks</em></strong></a> — a package manager for Lua modules.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/0*sawSUbg8SqRSpEha." /></figure><p><a href="https://github.com/fcambus/telize"><strong><em>telize</em></strong></a> — a REST API built on Nginx and Lua allowing to get a visitor IP address and to query location information from any IP address. It outputs JSON-encoded IP geolocation data, and supports both JSON and JSONP.</p><pre>t  e  l  i  z  e<br>                       _______________________<br>                 ______\                     /_______<br>                \\     \\           ___     //      /<br>           __    \ ____  \   __    /   \   _____/\ / ____<br>       ___/  \____/  _//____/  \___\___/___\__   /__/  _//____<br>      \\__    ____  __/  __     __      ____    ____  __/  __///<br>        /      \_   |/    \_     /       \/     /_/   |/    \_<br>      \\\   ___/\___       /____/\_______/\   ___/\___       /<br>  &lt;0(--- \__/ -h7- \______/   \       .    \__/ ---- \______/ --(0&gt;<br>                       \      .\     /.      .<br>                        \      .\   //      /<br>                         \______\\ //______/<br>                                  Y</pre><p><a href="https://github.com/idevz/vanilla"><strong><em>vanilla</em></strong></a> — <em>an OpenResty Lua MVC Web Framework.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*ldmubS33_aMx5Wly.png" /></figure><p><a href="https://github.com/sumory/lor"><strong><em>lor</em></strong></a> — a fast and minimalist web framework based on <a href="http://openresty.org/">OpenResty</a>.</p><p>Example:</p><pre>local lor = require(&quot;lor.index&quot;)<br>local app = lor()</pre><pre>app:get(&quot;/&quot;, function(req, res, next)<br>    res:send(&quot;hello world!&quot;)<br>end)</pre><pre>app:run()</pre><p><a href="https://github.com/EvandroLG/pegasus.lua"><strong><em>pegasus.lua</em></strong></a> — a http server to work with web applications written in Lua language.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/1*4W5cLtqAYQDOloeUkAOOxg.png" /></figure><p>Example:</p><pre>local pegasus = require &#39;pegasus&#39;<br><br>local server = pegasus:new({<br>  port=&#39;9090&#39;,<br>  location=&#39;example/root&#39;<br>})<br><br>server:start(function (request, response)<br>  print &quot;It&#39;s running...&quot;<br>end)</pre><p><a href="https://github.com/openresty/openresty"><strong><em>openresty</em></strong></a><em> </em>— a full-fledged web platform by integrating the standard Nginx core, LuaJIT, many carefully written Lua libraries, lots of high quality 3rd-party Nginx modules, and most of their external dependencies. It is designed to help developers easily build scalable web applications, web services, and dynamic web gateways.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/0*Cfdc37-ND1PhOI70.jpg" /></figure><h3># C/C++</h3><p>— — — — —</p><p><a href="https://github.com/torch/torch7"><strong><em>Torch</em></strong></a><strong><em> </em></strong>is a scientific computing framework with wide support for machine learning algorithms that puts GPUs first. It is easy to use and efficient, thanks to an easy and fast scripting language, LuaJIT, and an underlying C/CUDA implementation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*6tYC_KkQvSAAL6h3.png" /></figure><p><a href="https://github.com/BVLC/caffe"><strong><em>Caffe</em></strong></a> is a deep learning framework made with expression, speed, and modularity in mind. It is developed by the Berkeley Vision and Learning Center (<a href="http://bvlc.eecs.berkeley.edu/">BVLC</a>) and community contributors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*PuFfFqw5QvvXMdC7.png" /></figure><p><a href="https://github.com/libuv/libuv"><strong><em>libuv</em></strong></a> is a multi-platform support library with a focus on asynchronous I/O. It was primarily developed for use by <a href="http://nodejs.org/">Node.js</a>, but it’s also used by <a href="http://luvit.io/">Luvit</a>, <a href="http://julialang.org/">Julia</a>, <a href="https://github.com/saghul/pyuv">pyuv</a>, and <a href="https://github.com/libuv/libuv/wiki/Projects-that-use-libuv">others</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_Gj_yjlEAdE7x8Hi.png" /></figure><p><a href="https://github.com/uWebSockets/uWebSockets"><strong><em>µWS</em></strong></a> is one of the most lightweight, efficient &amp; scalable WebSocket server implementations available. It features an easy-to-use, fully async object-oriented interface and scales to millions of connections using only a fraction of memory compared to the competition. While performance and scalability are two of our top priorities, we consider security, stability and standards compliance paramount. License is zlib/libpng (very permissive &amp; suits commercial applications).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/747/0*2wharBiKaEguzmkS.png" /></figure><p><a href="https://github.com/rethinkdb/rethinkdb"><strong><em>RethinkDB</em></strong></a> — the first open-source scalable database built for realtime applications. It exposes a new database access model — instead of polling for changes, the developer can tell the database to continuously push updated query results to applications in realtime. RethinkDB allows developers to build scalable realtime apps in a fraction of the time with less effort.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*oS0KanfC9ii0SKhM.png" /></figure><p><a href="https://github.com/uglide/RedisDesktopManager"><strong><em>RedisDesktopManager</em></strong></a> — an Open source cross-platform Redis Desktop Manager based on Qt 5</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lU3zYn9Hb9wQ-WM6." /></figure><h3># Golang</h3><p>— — — — —</p><p><a href="https://github.com/cayleygraph/cayley"><strong><em>Cayley</em></strong></a> is an open-source graph inspired by the graph database behind <a href="http://freebase.com/">Freebase</a> and Google’s <a href="https://en.wikipedia.org/wiki/Knowledge_Graph">Knowledge Graph</a>.</p><p>Its goal is to be a part of the developer’s toolbox where <a href="http://linkeddata.org/">Linked Data</a> and graph-shaped data (semantic webs, social networks, etc) in general are concerned.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LT_0dZDhKD2Mve9r." /></figure><p><a href="https://github.com/kubernetes/kubernetes"><strong><em>Kubernetes</em></strong></a> is an open source system for managing <a href="http://kubernetes.io/docs/whatisk8s/">containerized applications</a> across multiple hosts, providing basic mechanisms for deployment, maintenance, and scaling of applications. Kubernetes is hosted by the Cloud Native Computing Foundation.</p><p>Kubernetes builds upon a decade and a half of experience at Google running production workloads at scale using a system called <a href="https://research.google.com/pubs/pub43438.html">Borg</a>, combined with best-of-breed ideas and practices from the community.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cbIp7k7Xy4aGm3xt.png" /></figure><p><a href="https://github.com/spf13/cobra"><strong><em>cobra</em></strong></a> — a library for creating powerful modern CLI applications as well as a program to generate applications and command files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZPG-FROnGxX9lIfN.png" /></figure><p><a href="https://github.com/hyperhq/hyperd"><strong><em>Hyperd</em></strong></a> is a hypervisor-agnostic technology that allows you to run Docker images on plain hypervisor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_BKyRdNq1vIu-l-p." /></figure><p><a href="https://github.com/onsi/ginkgo"><strong><em>ginkgo</em></strong></a><strong><em> — </em></strong>a BDD Testing Framework for Go</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tCFzm0R2v_IBVcfz." /></figure><p><a href="https://github.com/anthonynsimon/bild">bild</a> — a collection of parallel image processing algorithms in pure Go.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*3vSqXwatXxABQKug." /></figure><p>Basic example:</p><pre>package main</pre><pre>import (<br>    &quot;github.com/anthonynsimon/bild/effect&quot;<br>    &quot;github.com/anthonynsimon/bild/imgio&quot;<br>    &quot;github.com/anthonynsimon/bild/transform&quot;<br>)</pre><pre>func main() {<br>    img, err := imgio.Open(&quot;filename.jpg&quot;)<br>    if err != nil {<br>        panic(err)<br>    }</pre><pre>    inverted := effect.Invert(img)<br>    resized := transform.Resize(inverted, 800, 800, transform.Linear)<br>    rotated := transform.Rotate(resized, 45, nil)</pre><pre>    if err := imgio.Save(&quot;filename&quot;, rotated, imgio.PNG); err != nil {<br>        panic(err)<br>    }<br>}</pre><p><a href="https://github.com/hashicorp/terraform"><strong><em>Terraform</em></strong></a> is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular service providers as well as custom in-house solutions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GcgyCyAseB52AkYh.png" /></figure><p><a href="https://github.com/MaxHalford/gago"><strong><em>gago</em></strong></a> — genetic algorithm toolkit written in Go</p><p>The following example attempts to minimize the Drop-Wave function.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/0*Wh4tl3iltt6zJ7lu.png" /></figure><p><a href="https://github.com/spf13/hugo">hugo</a> — a static HTML and CSS website generator written in <a href="https://golang.org/">Go</a>. It is optimized for speed, easy use and configurability. Hugo takes a directory with content and templates and renders them into a full HTML website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/565/0*l2d8aFkqesS8ubN7.png" /></figure><p><a href="https://github.com/gin-gonic/gin"><strong><em>gin</em></strong></a> — a web framework written in Go (Golang). It features a martini-like API with much better performance, up to 40 times faster thanks to <a href="https://github.com/julienschmidt/httprouter">httprouter</a>. If you need performance and good productivity, you will love Gin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/159/0*KvVBU20l6sJwkb5J.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/565/0*4oR4CDkzu31odXxZ." /></figure><p><a href="https://github.com/zenazn/goji"><em>goji</em></a> — a minimalistic web framework that values composability and simplicity.</p><pre>package main</pre><pre>import (<br>        &quot;fmt&quot;<br>        &quot;net/http&quot;</pre><pre>        &quot;github.com/zenazn/goji&quot;<br>        &quot;github.com/zenazn/goji/web&quot;<br>)</pre><pre>func hello(c web.C, w http.ResponseWriter, r *http.Request) {<br>        fmt.Fprintf(w, &quot;Hello, %s!&quot;, c.URLParams[&quot;name&quot;])<br>}</pre><pre>func main() {<br>        goji.Get(&quot;/hello/:name&quot;, hello)<br>        goji.Serve()<br>}</pre><p><a href="https://github.com/hybridgroup/gobot"><strong><em>gobot</em></strong></a> — a framework using the Go programming language for robotics, physical computing, and the Internet of Things.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*cd4pZdaXZHsEDjwn.png" /></figure><p><a href="https://github.com/gernest/utron">utron</a> — a lightweight MVC framework in Go (<a href="https://golang.org/">Golang</a>) for building fast, scalable and robust database-driven web applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/122/0*WIWUkphnW2e_XD4k.png" /></figure><p><a href="https://github.com/fatih/color"><strong><em>color</em></strong></a> lets you use colorized outputs in terms of <a href="http://en.wikipedia.org/wiki/ANSI_escape_code#Colors">ANSI Escape Codes</a> in Go (Golang). It has support for Windows too! The API can be used in several ways, pick one that suits you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/592/0*BIEaYtJXkdterSAY." /></figure><p>Example:</p><pre>// Print with default helper functions<br>color.Cyan(&quot;Prints text in cyan.&quot;)</pre><pre>// A newline will be appended automatically<br>color.Blue(&quot;Prints %s in blue.&quot;, &quot;text&quot;)</pre><pre>// These are using the default foreground colors<br>color.Red(&quot;We have red&quot;)<br>color.Magenta(&quot;And many others ..&quot;)</pre><p><a href="https://github.com/junegunn/fzf"><strong><em>fzf</em></strong></a> — a general-purpose command-line fuzzy finder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*aeAw2eC24cshaFjG." /></figure><p><a href="https://github.com/derekparker/delve"><strong><em>delve</em></strong></a> — a debugger for the Go programming language. The goal of the project is to provide a simple, full featured debugging tool for Go. Delve should be easy to invoke and easy to use. Chances are if you’re using a debugger, most likely things aren’t going your way. With that in mind, Delve should stay out of your way as much as possible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QFYnl-rln4sEb_E_.png" /></figure><p><a href="https://github.com/alexflint/gallium">gallium</a> — a Go library for managing windows, menus, dock icons, and desktop notifications. Each window contains a webview component, in which you code your UI in HTML. Under the hood, the webview is running Chromium.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Lej-uLn7dYghvsbL.png" /></figure><p><a href="https://github.com/mholt/caddy"><strong><em>caddy</em></strong></a> — a general-purpose web server for Windows, Mac, Linux, BSD, and <a href="https://github.com/mholt/caddy/wiki/Running-Caddy-on-Android">Android</a>. It is a capable but easier alternative to other popular web servers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/0*eHko5jn28_QJ1je7." /></figure><p><a href="https://github.com/drone/drone"><strong><em>drone</em></strong></a> — a Continuous Delivery platform built on Docker, written in Go.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/204/0*GOD9z2uwxYJYV67_.png" /></figure><p><a href="https://github.com/tockins/realize"><em>realize</em></a> — a Go build system with file watchers, output streams and live reload. Run, build and watch file changes with custom paths</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/0*NFG9VS1ORwiIxFIr." /></figure><p><a href="https://github.com/gogits/gogs"><strong><em>gogs</em></strong></a> — Gogs (Go Git Service) is a painless self-hosted Git service.</p><p>Screenshots:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vjuaw14ojTHcOU0s." /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UsphA0FPserR3avQ." /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NoqfinwClRlrYyA5." /></figure><p><a href="https://github.com/tidwall/tile38"><strong><em>tile38</em></strong></a><strong><em> </em></strong><em>— </em>an open source, in-memory geolocation data store, spatial index, and realtime geofence. It supports a variety of object types including lat/lon points, bounding boxes, XYZ tiles, Geohashes, and GeoJSON.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*Opnux9hOohKcauoO.png" /></figure><p><a href="https://github.com/Sirupsen/logrus"><strong><em>logrus</em></strong></a><strong><em> </em></strong><em>— </em>a structured logger for Golang, completely API compatible with the standard library logger.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rj8FuIZS1ecrE3Js." /></figure><p><a href="https://github.com/containous/traefik"><strong><em>traefik</em></strong></a><em> — </em>a modern HTTP reverse proxy and load balancer made to deploy microservices with ease. It supports several backends (<a href="https://www.docker.com/">Docker</a>, <a href="https://docs.docker.com/swarm">Swarm</a>, <a href="http://kubernetes.io/">Kubernetes</a>, <a href="https://mesosphere.github.io/marathon/">Marathon</a>, <a href="https://github.com/apache/mesos">Mesos</a>, <a href="https://www.consul.io/">Consul</a>, <a href="https://coreos.com/etcd/">Etcd</a>, <a href="https://zookeeper.apache.org/">Zookeeper</a>, <a href="https://github.com/boltdb/bolt">BoltDB</a>, <a href="https://github.com/Netflix/eureka">Eureka</a>, Rest API, file…) to manage its configuration automatically and dynamically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*9f3v7BnxQqx8mL4B.png" /></figure><p><a href="https://github.com/moncho/dry"><strong><em>dry</em></strong></a><em> — </em>a terminal application to manage Docker containers and images. It aims to be an alternative to the official Docker CLI when it is needed to repeatedly execute commands on existing containers and images, and also as a tool to monitor Docker containers from a terminal.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hneNwXb0_zOhPCSp." /></figure><p><a href="https://github.com/astaxie/bat"><strong><em>bat</em></strong></a><strong><em> </em></strong><em>— </em>Go implemented CLI cURL-like tool for humans. Bat can be used for testing, debugging, and generally interacting with HTTP servers.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/355/0*ZLWe9atOzffq0l2d.png" /></figure><p><a href="https://github.com/sosedoff/pgweb"><strong><em>pgweb</em></strong></a> — Web-based PostgreSQL database browser written in Go.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IKNNhkpuX3wAab8y.png" /></figure><p><a href="https://github.com/zenazn/goji"><strong><em>goji</em></strong></a><em> — </em>a minimalistic web framework for Golang that’s high in antioxidants.</p><p>Example:</p><pre>package main</pre><pre>import (<br>        &quot;fmt&quot;<br>        &quot;net/http&quot;</pre><pre>        &quot;github.com/zenazn/goji&quot;<br>        &quot;github.com/zenazn/goji/web&quot;<br>)</pre><pre>func hello(c web.C, w http.ResponseWriter, r *http.Request) {<br>        fmt.Fprintf(w, &quot;Hello, %s!&quot;, c.URLParams[&quot;name&quot;])<br>}</pre><pre>func main() {<br>        goji.Get(&quot;/hello/:name&quot;, hello)<br>        goji.Serve()<br>}</pre><p><a href="https://github.com/attic-labs/noms"><strong><em>noms</em></strong></a> — a decentralized database based on ideas from Git. noms written in Golang.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/0*sKuyhFBnMeRvqZaa.png" /></figure><p><a href="https://github.com/gizak/termui"><strong><em>termui</em></strong></a><strong> </strong>— a cross-platform, easy-to-compile, and fully-customizable terminal dashboard, written purely in Go.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/0*IPYwTYeX1HqPZ53o.gif" /><figcaption>termui</figcaption></figure><p><a href="https://github.com/huydx/hget"><strong><em>hget</em></strong></a> — Rocket fast download accelerator written in Golang.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*N35Rmji51BVIMcy7." /></figure><h3># Erlang/Elixir</h3><p>— — — — —</p><p><a href="https://github.com/ninenines/cowboy"><strong><em>cowboy</em></strong></a> — a small, fast and modern HTTP server for Erlang/OTP. I think that everyone who interested in Erlang heard about a cowboy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/0*8JmIjyHiSdA54gsv." /></figure><p><a href="https://github.com/ChicagoBoss/ChicagoBoss"><strong><em>ChicagoBoss</em></strong></a> — a server framework inspired by Rails and written in Erlang. It offers all the conveniences of modern web development, including Comet. What sets Chicago Boss apart from other non-Erlang frameworks is that it can handle large amounts of traffic without any drop in performance. What sets Chicago Boss apart from other Erlang frameworks is that it is easy to set up and use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*by8nR8RrGwshrBBb.png" /></figure><p><a href="https://github.com/mochi/mochiweb"><strong><em>mochiweb</em></strong></a> — an Erlang library for building lightweight HTTP servers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/144/0*JSODbXkFgAT46Nqx.png" /></figure><p><a href="https://github.com/erlio/vernemq"><strong><em>vernemq</em></strong></a><strong><em> </em></strong>— a high-performance, distributed MQTT message broker. It scales horizontally and vertically on commodity hardware to support a high number of concurrent publishers and consumers while maintaining low latency and fault tolerance. VerneMQ is the reliable message hub for your IoT platform or smart products.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*x3w1UkGsbhIUe66N." /></figure><p><a href="https://github.com/benoitc/hackney"><strong><em>hackney</em></strong></a> — an HTTP client library for Erlang.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UxeCE9yDAAoeSrts51KBVA.png" /></figure><p><a href="https://github.com/rustyio/sync"><strong><em>sync</em></strong></a> — a developer utility. It recompiles and reloads your Erlang code on-the-fly. With Sync, you can code without friction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/128/0*95QcD_kkZnecvhiW.png" /></figure><p><a href="https://github.com/rrrene/credo"><strong><em>credo</em></strong></a> — a static code analysis tool for the Elixir language with a focus on teaching and code consistency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*wJ4w0yXU-HCsyPdt." /></figure><p><a href="https://github.com/ueberauth/guardian"><strong><em>guardian</em></strong></a><strong><em> — </em></strong>an authentication framework for use with Elixir applications.</p><p>Guardian is based on similar ideas to Warden but is re-imagined for modern systems where Elixir manages the authentication requirements.</p><p>Guardian remains a functional system. It integrates with Plug, but can be used outside of it. If you’re implementing a TCP/UDP protocol directly, or want to utilize your authentication via channels, Guardian is your friend.</p><p>The core currency of authentication in Guardian is <a href="https://jwt.io/">JSON Web Tokens</a> (JWT). You can use the JWT to authenticate web endpoints, channels, and TCP sockets and it can contain any authenticated assertions that the issuer wants to include.</p><p><a href="https://github.com/djm/table_rex"><strong><em>TableRex</em></strong></a> — an Elixir app which generates text-based tables for display.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*62jG5Ggg11nboHh6.gif" /></figure><p><a href="https://github.com/edgurgel/httpoison"><strong><em>httpoison</em></strong></a> — yet another HTTP client for Elixir powered by hackney.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/199/0*ZPlQFdYM_IZpaT1Q." /></figure><p><a href="https://github.com/elixir-maru/maru"><strong><em>maru</em></strong></a> — Elixir RESTful Framework</p><p>Usage:</p><pre>defmodule Router.User do<br>  use Maru.Router</pre><pre>  namespace :user do<br>    route_param :id do<br>      get do<br>        json(conn, %{ user: params[:id] })<br>      end</pre><pre>      desc &quot;description&quot;<br>      params do<br>        requires :age,    type: Integer, values: 18..65<br>        requires :gender, type: Atom, values: [:male, :female], default: :female<br>        group    :name,   type: Map do<br>          requires :first_name<br>          requires :last_name<br>        end<br>        optional :intro,  type: String, regexp: ~r/^[a-z]+$/<br>        optional :avatar, type: File<br>        optional :avatar_url, type: String<br>        exactly_one_of [:avatar, :avatar_url]<br>      end<br>      post do<br>        ...<br>      end<br>    end<br>  end<br>end</pre><pre>defmodule Router.Homepage do<br>  use Maru.Router</pre><pre>  resources do<br>    get do<br>      json(conn, %{ hello: :world })<br>    end</pre><pre>    mount Router.User<br>  end<br>end<br></pre><pre>defmodule MyAPP.API do<br>  use Maru.Router</pre><pre>  before do<br>    plug Plug.Logger<br>    plug Plug.Static, at: &quot;/static&quot;, from: &quot;/my/static/path/&quot;<br>  end</pre><pre>  plug Plug.Parsers,<br>    pass: [&quot;*/*&quot;],<br>    json_decoder: Poison,<br>    parsers: [:urlencoded, :json, :multipart]</pre><pre>  mount Router.Homepage</pre><pre>  rescue_from Unauthorized, as: e do<br>    IO.inspect e</pre><pre>    conn<br>    |&gt; put_status(401)<br>    |&gt; text(&quot;Unauthorized&quot;)<br>  end</pre><pre>  rescue_from [MatchError, RuntimeError], with: :custom_error</pre><pre>  rescue_from :all do<br>    conn<br>    |&gt; put_status(500)<br>    |&gt; text(&quot;Server Error&quot;)<br>  end</pre><pre>  defp custom_error(conn, exception) do<br>    conn<br>    |&gt; put_status(500)<br>    |&gt; text(exception.message)<br>  end<br>end</pre><p>then add the maru to your config/config.exs</p><pre>config :maru, MyAPP.API,<br>  http: [port: 8880]</pre><p><a href="https://github.com/HashNuke/hound"><strong><em>hound</em></strong></a> — Elixir library for writing integration tests and browser automation.</p><p>ExUnit example:</p><pre>defmodule HoundTest do<br>  use ExUnit.Case<br>  use Hound.Helpers</pre><pre>hound_session</pre><pre>test &quot;the truth&quot;, meta do<br>    navigate_to(&quot;http://example.com/guestbook.html&quot;)</pre><pre>element = find_element(:name, &quot;message&quot;)<br>    fill_field(element, &quot;Happy Birthday ~!&quot;)<br>    submit_element(element)</pre><pre>assert page_title() == &quot;Thank you&quot;<br>  end</pre><pre>end</pre><p><a href="https://github.com/bitwalker/distillery"><strong><em>distillery</em></strong></a> — a pure Elixir implementation of release packaging functionality for the Erlang VM (BEAM).</p><p>Every alchemist requires good tools, and one of the greatest tools in the alchemist’s disposal is the distillery. The purpose of the distillery is to take something and break it down to it’s component parts, reassembling it into something better, more powerful. That is exactly what this project does — it takes your Mix project and produces an Erlang/OTP release, a distilled form of your raw application’s components; a single package which can be deployed anywhere, independently of an Erlang/Elixir installation. No dependencies, no hassle.</p><p>This is a pure-Elixir, dependency-free implementation of release generation for Elixir projects. It is currently a standalone package, but may be integrated into Mix at some point in the future.</p><p><a href="https://github.com/bitwalker/timex"><strong><em>timex</em></strong></a> — a rich, comprehensive Date/Time library for Elixir projects, with full timezone support via the :tzdata package. If you need to manipulate dates, times, datetimes, timestamps, etc., then Timex is for you! It is very easy to use Timex types in place of default Erlang types, as well as Ecto types via the timex_ecto package.</p><p>Here’s a few simple examples:</p><pre>&gt; use Timex<br>&gt; Timex.today<br>~D[2016-02-29]</pre><pre>&gt; datetime = Timex.now<br>#&lt;DateTime(2016-02-29T12:30:30.120+00:00Z Etc/UTC)</pre><pre>&gt; Timex.now(&quot;America/Chicago&quot;)<br>#&lt;DateTime(2016-02-29T06:30:30.120-06:00 America/Chicago)</pre><pre>&gt; Duration.now<br>#&lt;Duration(P46Y6M24DT21H57M33.977711S)&gt;</pre><pre>&gt; {:ok, default_str} = Timex.format(datetime, &quot;{ISO:Extended}&quot;)<br>{:ok, &quot;2016-02-29T12:30:30.120+00:00&quot;}</pre><pre>&gt; {:ok, relative_str} = Timex.shift(datetime, minutes: -3) |&gt; Timex.format(&quot;{relative}&quot;, :relative)<br>{:ok, &quot;3 minutes ago&quot;}</pre><pre>&gt; strftime_str = Timex.format!(datetime, &quot;%FT%T%:z&quot;, :strftime)<br>&quot;2016-02-29T12:30:30+00:00&quot;</pre><pre>&gt; Timex.parse(default_str, &quot;{ISO:Extended}&quot;)<br>{:ok, #&lt;DateTime(2016-02-29T12:30:30.120+00:00 Etc/Utc)}</pre><pre>&gt; Timex.parse!(strftime_str, &quot;%FT%T%:z&quot;, :strftime)<br>#&lt;DateTime(2016-02-29T12:30:30.120+00:00 Etc/Utc)</pre><pre>&gt; Duration.diff(Duration.now, Duration.zero, :days)<br>16850</pre><pre>&gt; Timex.shift(date, days: 3)<br>~D[2016-03-03]</pre><pre>&gt; Timex.shift(datetime, hours: 2, minutes: 13)<br>#&lt;DateTime(2016-02-29T14:43:30.120Z Etc/UTC)&gt;</pre><pre>&gt; timezone = Timezone.get(&quot;America/Chicago&quot;, Timex.now)<br>#&lt;TimezoneInfo(America/Chicago - CDT (-06:00:00))&gt;</pre><pre>&gt; Timezone.convert(datetime, timezone)<br>#&lt;DateTime(2016-02-29T06:30:30.120-06:00 America/Chicago)&gt;</pre><pre>&gt; Timex.before?(Timex.today, Timex.shift(Timex.today, days: 1))<br>true</pre><pre>&gt; Timex.before?(Timex.shift(Timex.today, days: 1), Timex.today)<br>false</pre><p><a href="https://github.com/myfreeweb/httpotion"><strong><em>httpotion</em></strong></a> — an HTTP client for <a href="http://elixir-lang.org/">Elixir</a>, based on <a href="https://github.com/cmullaparthi/ibrowse">ibrowse</a>. Continues the HTTPun tradition of <a href="https://github.com/jnunemaker/httparty">HTTParty</a>, <a href="https://github.com/gabrielfalcao/HTTPretty">HTTPretty</a>, <a href="https://github.com/edgurgel/httparrot">HTTParrot</a> and <a href="https://github.com/jkbr/httpie">HTTPie</a>.</p><p>Some basic examples:</p><pre>iex&gt; response = HTTPotion.get &quot;httpbin.org/get&quot;<br>%HTTPotion.Response{body: &quot;...&quot;, headers: [Connection: &quot;keep-alive&quot;, ...], status_code: 200}</pre><pre>iex&gt; HTTPotion.Response.success?(response)<br>true</pre><pre># HTTPotion also supports querystrings like<br>iex&gt; HTTPotion.get(&quot;httpbin.org/get&quot;, query: %{page: 2})<br>%HTTPotion.Response{body: &quot;...&quot;, headers: [Connection: &quot;keep-alive&quot;, ...], status_code: 200}</pre><pre># Form data<br>iex&gt; HTTPotion.post &quot;https://httpbin.org/post&quot;, [body: &quot;hello=&quot; &lt;&gt; URI.encode_www_form(&quot;w o r l d !!&quot;),<br>  headers: [&quot;User-Agent&quot;: &quot;My App&quot;, &quot;Content-Type&quot;: &quot;application/x-www-form-urlencoded&quot;]]<br>%HTTPotion.Response{body: &quot;...&quot;, headers: [Connection: &quot;keep-alive&quot;, ...], status_code: 200}</pre><pre>iex&gt; HTTPotion.request :propfind, &quot;http://httpbin.org/post&quot;, [body: &quot;I have no idea what I&#39;m doing&quot;]<br>%HTTPotion.Response{body: &quot;...&quot;, headers: [Connection: &quot;keep-alive&quot;, ...], status_code: 405}</pre><pre>iex&gt; HTTPotion.get &quot;httpbin.org/basic-auth/foo/bar&quot;, [basic_auth: {&quot;foo&quot;, &quot;bar&quot;}]<br>%HTTPotion.Response{body: &quot;...&quot;, headers: [&quot;Access-Control-Allow-Credentials&quot;: &quot;true&quot;, ...], status_code: 200}</pre><pre># Passing options to ibrowse (note that it usually takes char_lists, not elixir strings)<br>iex&gt; HTTPotion.get &quot;http://ip6.me&quot;, [ ibrowse: [ proxy_host: &#39;fc81:6134:ba6c:8458:c99f:6c01:6472:8f1e&#39;, proxy_port: 8118 ] ]<br>%HTTPotion.Response{body: &quot;...&quot;, headers: [Connection: &quot;keep-alive&quot;, ...], status_code: 200}</pre><pre># The default timeout is 5000 ms, but can be changed<br>iex&gt; HTTPotion.get &quot;http://example.com&quot;, [timeout: 10_000]</pre><pre># If there is an error a `HTTPotion.ErrorResponse` is returned<br>iex&gt; HTTPotion.get &quot;http://localhost:1&quot;<br>%HTTPotion.ErrorResponse{message: &quot;econnrefused&quot;}</pre><pre># You can also raise `HTTPError` with the `bang` version of request<br>iex&gt; HTTPotion.get! &quot;http://localhost:1&quot;<br>** (HTTPotion.HTTPError) econnrefused</pre><p><a href="https://github.com/smpallen99/ex_admin"><strong><em>ex_admin</em></strong></a> — an add on for an application using the <a href="http://www.phoenixframework.org/">Phoenix Framework</a> to create an CRUD administration tool with little or no code. By running a few mix tasks to define which Ecto Models you want to administer, you will have something that works with no additional code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*xqoQCRLqvOC-SBDT." /></figure><p><a href="https://github.com/kittoframework/kitto"><strong><em>kitto</em></strong></a> — a framework to help you create dashboards, written in <a href="http://elixir-lang.org/">Elixir</a>/<a href="https://facebook.github.io/react/">React</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mR6NGa3hvBXphCaq." /></figure><p><a href="https://github.com/boldpoker/edeliver"><strong><em>edeliver</em></strong></a><em> </em>is based on <a href="https://github.com/gerhard/deliver">deliver</a> enables you to build and deploy Elixir and Erlang applications and perform hot-code upgrades.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*EE08RZDx4aCmM8Cc." /></figure><p><a href="https://github.com/processone/ejabberd"><em>ejabberd</em></a><em> — </em>a distributed, fault-tolerant technology that allows the creation of large-scale instant messaging applications. The server can reliably support thousands of simultaneous users on a single node and has been designed to provide exceptional standards of fault tolerance. As an open source technology, based on industry-standards, ejabberd can be used to build bespoke solutions very cost effectively. ejabberd written in Erlang.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-Fn3L0VxHoCKDRX1.jpg" /></figure><p><a href="https://github.com/emqtt/emqttd"><strong><em>emqttd</em></strong></a> — a massively scalable and clusterable MQTT V3.1/V3.1.1 broker written in Erlang/OTP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/0*xfI-U65PaTV1JwQ3." /></figure><p><a href="https://github.com/devinus/poison"><strong><em>poison</em></strong></a> — a new JSON library for Elixir focusing on wicked-fast speed without sacrificing simplicity, completeness, or correctness.</p><p>Usage:</p><pre>defmodule Person do<br>  @derive [Poison.Encoder]<br>  defstruct [:name, :age]<br>end<br><br>Poison.encode!(%Person{name: &quot;Devin Torres&quot;, age: 27})<br>#=&gt; &quot;{\&quot;name\&quot;:\&quot;Devin Torres\&quot;,\&quot;age\&quot;:27}&quot;<br><br>Poison.decode!(~s({&quot;name&quot;: &quot;Devin Torres&quot;, &quot;age&quot;: 27}), as: %Person{})<br>#=&gt; %Person{name: &quot;Devin Torres&quot;, age: 27}<br><br>Poison.decode!(~s({&quot;people&quot;: [{&quot;name&quot;: &quot;Devin Torres&quot;, &quot;age&quot;: 27}]}),<br>  as: %{&quot;people&quot; =&gt; [%Person{}]})<br>#=&gt; %{&quot;people&quot; =&gt; [%Person{age: 27, name: &quot;Devin Torres&quot;}]}</pre><p><a href="https://github.com/phoenixframework/phoenix"><strong><em>phoenix</em></strong></a> — Productive. Reliable. Fast. A productive web framework that<br>does not compromise speed and maintainability (seems that’s true).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/0*p8tLGfZhbLweYs4C.png" /></figure><p><a href="https://github.com/sugar-framework/sugar"><strong><em>Sugar</em></strong></a><strong><em> </em></strong>is a modular web framework for Elixir.</p><p>Goals:</p><ul><li>Speed. Sugar shouldn’t be slow and neither should your project.</li><li>Ease. Sugar should be simple because simple is easy to learn, use and maintain.</li><li>Effective. Sugar should aid development. You have better things to which to devote your time.</li></ul><p>Example:</p><pre>defmodule Router do<br>  use Sugar.Router<br><br>  get &quot;/&quot;, Hello, :index<br>  get &quot;/pages/:id&quot;, Hello, :show<br>  post &quot;/pages&quot;, Hello, :create<br>  put &quot;/pages/:id&quot; when id == 1, Hello, :show<br>end</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*C7US25smLg3LbcIhzCzFaA.png" /></figure><p><a href="https://github.com/lk-geimfari/smokkfiskur"><strong><em>smokkfiskur</em></strong></a> — a small (really small, ~ 50 SLOC) library for colored (ANSI) output in Erlang.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/0*uuZsBW6xdUeOjFyS.png" /><figcaption>It looks like these guys are having sex, but I’m not sure (It does not matter).</figcaption></figure><p>Usage:</p><pre>-import(smokkfiskur, [print/1]).</pre><pre>update_something() -&gt;<br>  %% ... <br>  %% ... <br>  %% ... <br>  print({green, &quot;Something has been updated successfully!&quot;}).</pre><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/0*X7zagEeaaUJTcTJg.png" /></figure><h3># Ruby</h3><p>— — — — —</p><p><a href="https://github.com/jnunemaker/httparty"><strong><em>httparty</em></strong></a> — Makes http fun again!</p><p>Example:</p><pre># Use the class methods to get down to business quickly<br>response = HTTParty.get(&#39;http://api.stackexchange.com/2.2/questions?site=stackoverflow&#39;)</pre><pre>puts response.body, response.code, response.message, response.headers.inspect</pre><pre># Or wrap things up in your own class<br>class StackExchange<br>  include HTTParty<br>  base_uri &#39;api.stackexchange.com&#39;</pre><pre>def initialize(service, page)<br>    @options = { query: { site: service, page: page } }<br>  end</pre><pre>def questions<br>    self.class.get(&quot;/2.2/questions&quot;, @options)<br>  end</pre><pre>def users<br>    self.class.get(&quot;/2.2/users&quot;, @options)<br>  end<br>end</pre><pre>stack_exchange = StackExchange.new(&quot;stackoverflow&quot;, 1)<br>puts stack_exchange.questions<br>puts stack_exchange.users</pre><p><a href="https://github.com/junegunn/redis-stat"><strong><em>redis-stat</em></strong></a><strong><em> </em></strong>— a simple Redis monitoring tool written in Ruby.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*TkdvLlP5BP7sVFLu.png" /></figure><p><a href="https://github.com/igorkasyanchuk/rails_db"><strong><em>rails_db</em></strong></a> — Rails Database Viewer and SQL Query Runner.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9ySTjRvKLpa-MAGz." /></figure><h3># JavaScript / Node</h3><p>— — — — —</p><p><a href="https://github.com/chartjs/Chart.js"><strong><em>Chart.js</em></strong></a> — a simple HTML5 Charts using the canvas element.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/0*bFZZQzdNeZkoy3Ov.jpg" /></figure><p><a href="https://github.com/moment/moment"><strong><em>Moment.js </em></strong></a>— a lightweight JavaScript date library for parsing, validating, manipulating, and formatting dates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/348/0*DP6jZMrfJIt2znNM.png" /></figure><p><a href="https://github.com/hexojs/hexo"><strong><em>Hexo</em></strong></a> — a fast, simple &amp; powerful blog framework, powered by <a href="http://nodejs.org/">Node.js</a>.</p><p>Features:</p><ul><li>Blazing fast generating</li><li>Support for GitHub Flavored Markdown and most Octopress plugins</li><li>One-command deploy to GitHub Pages, Heroku, etc.</li><li>Powerful plugin system</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*pRD6y_bFScQGdGmf.jpg" /></figure><p><a href="https://github.com/d3/d3"><strong><em>d3</em></strong></a> — a JavaScript library for visualizing data using web standards. D3 helps you bring data to life using SVG, Canvas and HTML. D3 combines powerful visualization and interaction techniques with a data-driven approach to DOM manipulation, giving you the full capabilities of modern browsers and the freedom to design the right visual interface for your data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bxHj6VbZ9lApwWyo.jpg" /></figure><p><a href="https://github.com/nylas/N1"><strong><em>N1</em></strong></a> — an open-source mail client built on the modern web with <a href="https://github.com/atom/electron">Electron</a>, <a href="https://facebook.github.io/react/">React</a>, and <a href="https://facebook.github.io/flux/">Flux</a>. It is designed to be extensible, so it’s easy to create new experiences and workflows around email. N1 is built on the Nylas Sync Engine, which is also <a href="https://github.com/nylas/sync-engine">open-source free software</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/0*47dEbQUDUuduqWTQ." /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-hGOgH1DGkciuud9." /></figure><p><a href="https://github.com/airbnb/enzyme"><strong><em>Enzyme</em></strong></a><strong><em> </em></strong>is a JavaScript Testing utility for React that makes it easier to assert, manipulate, and traverse your React Components’ output.</p><p>Enzyme’s API is meant to be intuitive and flexible by mimicking jQuery’s API for DOM manipulation and traversal.</p><p>Enzyme is unopinionated regarding which test runner or assertion library you use, and should be compatible with all major test runners and assertion libraries out there. The documentation and examples for enzyme use <a href="https://mochajs.org/">mocha</a> and <a href="http://chaijs.com/">chai</a>, but you should be able to extrapolate to your framework of choice.</p><p><a href="https://github.com/witheve/Eve"><strong><em>Eve</em></strong></a> — a programming language and IDE based on years of research into building a human-first programming platform. You can play with Eve online here: <a href="http://play.witheve.com/">play.witheve.com</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*moxuRjDPe8yafyW7." /></figure><p><a href="https://github.com/facebook/flux"><strong><em>flux</em></strong></a> — more of a pattern than a framework, and does not have any hard dependencies. However, we often use EventEmitter as a basis for Stores and React for our Views. The one piece of Flux not readily available elsewhere is the Dispatcher. This module, along with some other utilities, is available here to complete your Flux toolbox.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*Fm34Nf6qIJ5QviyM.jpg" /></figure><p><a href="https://github.com/jacomyal/sigma.js"><strong><em>sigma.js</em></strong></a> — a JavaScript library dedicated to graph drawing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/0*rhhK5CbcRhe1KfDD.jpg" /></figure><p><a href="https://github.com/Strider-CD/strider"><strong><em>strider</em></strong></a> — an Open Source Continuous Deployment / Continuous Integration platform. It is written in Node.JS / JavaScript and uses MongoDB as a backing store. It is published under the BSD license.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xth8wmt1O-zAf3Hy.jpg" /></figure><p><a href="https://github.com/egoist/eme">eme</a> — Elegant Markdown Editor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LJKIQV74HzypsKHl.jpg" /></figure><p><a href="https://github.com/caolan/async"><strong><em>async</em></strong></a> — a utility module which provides straight-forward, powerful functions for working with asynchronous JavaScript. Although originally designed for use with <a href="https://nodejs.org/">Node.js</a> and installable via npm install --save async, it can also be used directly in the browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MB_a8lRqGYBy276_.jpg" /></figure><p><a href="https://github.com/TylerBrock/mongo-hacker"><strong><em>mongo-hacker</em></strong></a><em> — </em>MongoDB Shell Enhancements for Hackers.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZN-mgqCPc9DuNERc." /></figure><p><a href="https://github.com/officert/mongotron"><strong><em>mongotron</em></strong></a><strong> </strong>— a MongoDB GUI built using Electron, and Angular JS.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TdQw5EQvFq6vOXX1." /></figure><h3># OCaml</h3><p>— — — — —</p><p><a href="https://github.com/the-lambda-church/merlin"><strong><em>Merlin</em></strong></a> is an editor service that provides modern IDE features for OCaml.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/0*4__pQaNjNhKxNnKW.png" /></figure><p><a href="https://github.com/coq/coq"><strong><em>Coq</em></strong></a> is a formal proof management system. It provides a formal language to write mathematical definitions, executable algorithms and theorems together with an environment for semi-interactive development of machine-checked proofs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*aPH6qIRV-1xlUZat.png" /></figure><h3># Haskell</h3><p>— — — — —</p><p><a href="https://github.com/jgm/pandoc"><strong><em>Pandoc</em></strong></a> is a Haskell library for converting from one markup format to another, and a command-line tool that uses this library. It can read Markdown, CommonMark, PHP Markdown Extra, GitHub-Flavored Markdown, MultiMarkdown, and (subsets of) Textile, reStructuredText, HTML, LaTeX, MediaWiki markup, TWiki markup, Haddock markup, OPML, Emacs Org mode, DocBook, txt2tags, EPUB, ODT and Word docx; and it can write plain text, Markdown, CommonMark, PHP Markdown Extra,GitHub-Flavored Markdown, MultiMarkdown, reStructuredText, XHTML, HTML5, LaTeX (including beamer slide shows), ConTeXt, RTF, OPML, DocBook, OpenDocument, ODT, Word docx, GNU Texinfo, MediaWiki markup, DokuWiki markup, ZimWiki markup, Haddock markup, EPUB (v2 or v3), FictionBook2, Textile, groff man pages, Emacs Org mode, AsciiDoc, InDesign ICML, TEI Simple, and Slidy, Slideous, DZSlides, reveal.js or S5 HTML slide shows. It can also produce PDF output on systems where LaTeX, ConTeXt, or wkhtmltopdf is installed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/379/0*LyYHxYObKJg0DCi9.png" /></figure><p><a href="https://github.com/commercialhaskell/stack"><strong><em>stack</em></strong></a> is a cross-platform program for developing Haskell projects. It is intended for Haskellers both new and experienced.</p><p>See <a href="http://haskellstack.org/">haskellstack.org</a> or the doc directory for more information.</p><p><a href="https://github.com/yesodweb/yesod"><strong><em>yesod</em></strong></a> — an advanced RESTful web framework using the Haskell programming language.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/279/0*gG0fpIadl2ev6sTt.png" /></figure><p><a href="https://github.com/jaspervdj/hakyll"><strong><em>hakyll</em></strong></a> — a static site generator library in Haskell. More information (including a tutorial) can be found on <a href="http://jaspervdj.be/hakyll">the hakyll homepage</a>.</p><p>WRITE YOUR CONTENT IN WHATEVER FORMAT YOU PREFER:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/0*fB9VEb5ZkO4AAWXd.png" /></figure><p>CREATE COMPILATION RULES IN A HASKELL EDSL:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/0*t7HAnjKQLRlr60KS.png" /></figure><p>COMPILE IT TO HTML AND UPLOAD IT!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/0*je0Cd2DG3ATF5A3a.png" /></figure><p><a href="https://github.com/yi-editor/yi"><strong><em>yi</em></strong></a> — a text editor written in Haskell and extensible in Haskell. The goal of Yi is to provide a flexible, powerful and correct editor core scriptable in Haskell.</p><p>Its features include</p><ul><li>a purely functional editor core;</li><li>keybindings written as parsers of the input;</li><li>Emacs, Vim and Cua (subset) emulations provided by default;</li><li>Vty (terminal) and Gtk-based Pango UIs</li></ul><p><a href="https://github.com/leksah/leksah"><strong><em>Leksah</em></strong></a><strong><em> </em></strong>aims to integrate various Haskell development tools to provide a practical and pleasant development environment. The user interface is a mix of GTK+ and WebKit based components.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*q1xTiAVoKry-1_dB.png" /></figure><p><a href="https://github.com/scotty-web/scotty"><strong><em>scotty</em></strong></a> — a Haskell web framework inspired by Ruby’s Sinatra, using WAI and Warp.</p><pre>{-# LANGUAGE OverloadedStrings #-}<br>import Web.Scotty</pre><pre>import Data.Monoid (mconcat)</pre><pre>main = scotty 3000 $ do<br>    get &quot;/:word&quot; $ do<br>        beam &lt;- param &quot;word&quot;<br>        html $ mconcat [&quot;&lt;h1&gt;Scotty, &quot;, beam, &quot; me up!&lt;/h1&gt;&quot;]</pre><p><a href="https://github.com/commercialhaskell/intero"><strong><em>intero</em></strong></a> — Complete interactive development program for Haskell</p><p><a href="https://github.com/typelead/eta"><strong><em>eta</em></strong></a> — a dialect of Haskell which runs on the JVM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/0*GeB-CS821kArif0g.png" /></figure><p><a href="https://github.com/lukasmartinelli/hadolint"><strong><em>hadolint</em></strong></a><em> — a </em>smarter Dockerfile linter that helps you build best practice Docker images. The linter is parsing the Dockerfile into an AST and performs rules on top of the AST. hadolint written in Haskell.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*C7Z1SRKT06K-q5cN.png" /></figure><p><a href="https://github.com/begriffs/postgrest"><strong><em>postgrest</em></strong></a><em> — </em>PostgREST serves a fully RESTful API from any existing PostgreSQL database. It provides a cleaner, more standards-compliant, faster API than you are likely to write from scratch. PostgREST written in Haskell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qMmy3E9J8NLmoV3Y.png" /></figure><h3># Rust</h3><p>— — — — —</p><p><a href="https://github.com/redox-os/redox"><strong><em>redox</em></strong></a><em> — </em>an operating system written in Rust, a language with focus on safety and high performance. Redox, following the microkernel design, aims to be secure, usable, and free. Redox is inspired by previous kernels and operating systems, such as SeL4, Minix, Plan 9, and BSD.</p><p>Screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pSsCTkAs-n5KOpdz.png" /></figure><h3># Clojure</h3><p>— — — — —</p><p><a href="https://github.com/metabase/metabase"><strong><em>Metabase</em></strong></a> is the easy, open source way for everyone in your company to ask questions and learn from data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1hEfM4l394n4NlkR.png" /></figure><p><a href="https://github.com/riemann/riemann"><strong><em>riemann</em></strong></a> — a network event stream processing system, in Clojure.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F131385889%3Fapp_id%3D122963&amp;dntp=1&amp;url=https%3A%2F%2Fvimeo.com%2F131385889&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F523614325_1280.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="1280" height="720" frameborder="0" scrolling="no"><a href="https://medium.com/media/6f3ce5a7bd3392ae5f0967c8ac849fea/href">https://medium.com/media/6f3ce5a7bd3392ae5f0967c8ac849fea/href</a></iframe><p><a href="https://github.com/weavejester/compojure"><strong><em>compojure</em></strong></a> — a small routing library for <a href="https://github.com/ring-clojure/ring">Ring</a> that allows web applications to be composed of small, independent parts.</p><p>Usage:</p><p>This small Compojure application demonstrates creating a Ring handler from two routes:</p><pre>(ns hello-world.core<br>  (:require [compojure.core :refer :all]<br>            [compojure.route :as route]))</pre><pre>(defroutes app<br>  (GET &quot;/&quot; [] &quot;&lt;h1&gt;Hello World&lt;/h1&gt;&quot;)<br>  (route/not-found &quot;&lt;h1&gt;Page not found&lt;/h1&gt;&quot;))</pre><p><a href="https://github.com/ztellman/aleph"><strong><em>Aleph</em></strong></a><strong><em> </em></strong>exposes data from the network as a <a href="https://github.com/ztellman/manifold">Manifold</a> stream, which can easily be transformed into a java.io.InputStream, <a href="https://github.com/clojure/core.async">core.async</a> channel, Clojure sequence, or <a href="https://github.com/ztellman/byte-streams">many other byte representations</a>. It exposes simple default wrappers for HTTP, TCP, and UDP, but allows access to full performance and flexibility of the underlying <a href="https://github.com/netty/netty">Netty</a> library.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*5fSwMgOlFvdKvvKR.png" /></figure><p><a href="https://github.com/tonsky/datascript"><strong><em>datascript</em></strong></a> — an immutable in-memory database and Datalog query engine in Clojure and ClojureScript.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*VcZuVmpc41Vduc3ZUFXz3g.png" /></figure><p><a href="https://github.com/clojure/test.check"><strong><em>test.check</em></strong></a><strong><em> </em></strong>— a Clojure property-based testing tool inspired by QuickCheck. The core idea of <em>test.check</em> is that instead of enumerating expected input and output for unit tests, you write properties about your function that should hold true for all inputs. This lets you write concise, powerful tests.</p><p><a href="https://github.com/puniverse/pulsar"><strong><em>pulsar</em></strong></a> — Fibers, Channels and Actors for Clojure. Pulsar wraps the <a href="https://github.com/puniverse/quasar">Quasar</a> library with a Clojure API that’s very similar to Erlang.</p><p><a href="https://github.com/plumatic/schema"><strong><em>schema</em></strong></a> — a Clojure (ClojureScript) library for declarative data description and validation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/541/0*-FJNJ088eTQz0qkk." /></figure><p><a href="https://github.com/quil/quil"><strong><em>Quil</em></strong></a> is a Clojure/ClojureScript library for creating interactive drawings and animations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*tVQLhMG9D82fUfpJ." /></figure><p><a href="https://github.com/juxt/yada"><strong><em>yada</em></strong></a> — a web library for Clojure, designed to support the creation of production services via HTTP.</p><p><a href="https://github.com/hoplon/hoplon"><strong><em>hoplon</em></strong></a> — a set of tools and libraries for making web applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*6UOR3E0vtVKAG2Eg." /></figure><p>Example:</p><pre>(page &quot;index.html&quot;)<br><br>(defn my-list [&amp; items]<br>  (div<br>    :class &quot;my-list&quot;<br>    (apply ul (map #(li (div :class &quot;my-list-item&quot; %)) items))))<br><br>(def clicks (cell 0))<br><br>(html<br>  (head<br>    (title &quot;example page&quot;))<br>  (body<br>    (h1 &quot;Hello, Hoplon&quot;)<br><br>    (my-list<br>      (span &quot;first thing&quot;)<br>      (span &quot;second thing&quot;))<br><br>    (p (text &quot;You&#39;ve clicked ~{clicks} times, so far.&quot;))<br>    (button :click #(swap! clicks inc) &quot;click me&quot;)))</pre><h3># C#</h3><p>— — — — —</p><p><a href="https://github.com/tmenier/Flurl"><strong><em>Flurl</em></strong></a> — a modern, fluent, asynchronous, testable, portable, buzzword-laden URL builder and HTTP client library.</p><p>Example:</p><pre>var result = await &quot;https://api.mysite.com&quot;<br>    .AppendPathSegment(&quot;person&quot;)<br>    .SetQueryParams(new { api_key = &quot;xyz&quot; })<br>    .WithOAuthBearerToken(&quot;my_oauth_token&quot;)<br>    .PostJsonAsync(new { first_name = firstName, last_name = lastName })<br>    .ReceiveJson&lt;T&gt;();<br><br>[Test]<br>public void Can_Create_Person() {<br>    // fake &amp; record all http calls in the test subject<br>    using (var httpTest = new HttpTest()) {<br>        // arrange<br>        httpTest.RespondWith(200, &quot;OK&quot;);<br><br>        // act<br>        await sut.CreatePersonAsync(&quot;Frank&quot;, &quot;Underwood&quot;);<br><br>        // assert<br>        httpTest.ShouldHaveCalled(&quot;http://api.mysite.com/*&quot;)<br>            .WithVerb(HttpMethod.Post)<br>            .WithContentType(&quot;application/json&quot;);<br>    }<br>}</pre><p><a href="https://github.com/NancyFx/Nancy"><strong><em>Nancy</em></strong></a> — a lightweight, low-ceremony, framework for building HTTP based services on .NET Framework/Core and <a href="http://mono-project.com/">Mono</a>. The goal of the framework is to stay out of the way as much as possible and provide a super-duper-happy-path to all interactions.</p><p>Example:</p><pre>public class Module : NancyModule<br>{<br>    public Module()<br>    {<br>        Get(&quot;/greet/{name}&quot;, x =&gt; {<br>            return string.Concat(&quot;Hello &quot;, x.name);<br>        });<br>    }<br>}</pre><p><a href="https://github.com/SuaveIO/suave"><strong><em>suave</em></strong></a> — a simple web development F# library providing a lightweight web server and a set of combinators to manipulate route flow and task composition. Suave is inspired in the simplicity of Happstack and born out of the necessity of embedding web server capabilities in my own applications. Still in its early stages Suave supports Websocket, HTTPS, multiple TCP/IP bindings, Basic Access Authentication, Keep-Alive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/0*Y-lpolJYeSBVvMWW.png" /></figure><h3># Swift</h3><p>— — — — —</p><p><a href="https://github.com/xmartlabs/Eureka"><strong><em>Eureka</em></strong></a> — is an elegant iOS form builder in Swift.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*rGunV2H37sBhlJQG.jpg" /></figure><p><a href="https://github.com/Alamofire/Alamofire"><strong><em>Alamofire</em></strong></a> — an HTTP networking library written in Swift.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/0*43-l81sYoWldjAH6.png" /></figure><p><a href="https://github.com/onevcat/Kingfisher"><strong><em>Kingfisher</em></strong></a> is a lightweight, pure-Swift library for downloading and caching images from the web. This project is heavily inspired by the popular <a href="https://github.com/rs/SDWebImage">SDWebImage</a>. It provides you a chance to use a pure-Swift alternative in your next app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lHU8xnXxXuQOZSAB.png" /></figure><p><a href="https://github.com/Quick/Quick"><strong><em>Quick</em></strong></a><strong><em> </em></strong>is a behavior-driven development framework for Swift and Objective-C. Inspired by <a href="https://github.com/rspec/rspec">RSpec</a>, <a href="https://github.com/specta/specta">Specta</a>, and <a href="https://github.com/onsi/ginkgo">Ginkgo</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ikCHOnueH08gf26M.png" /></figure><p><a href="https://github.com/realm/SwiftLint"><strong><em>SwiftLint</em></strong></a> — a tool to enforce Swift style and conventions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*J9saJJAgjFZjMykS.png" /></figure><p><a href="https://github.com/IBM-Swift/Kitura"><strong><em>Kitura</em></strong></a> is a web framework and web server that is created for web services written in Swift. For more information, visit <a href="http://www.kitura.io/">www.kitura.io</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/0*sSG4Ngh4HbxpByBS.png" /></figure><p><a href="https://github.com/vapor/vapor"><strong><em>vapor</em></strong></a> — the <a href="https://swiftpkgs.ng.bluemix.net/browse?chart=mostessential">most used</a> web framework for Swift. It provides a beautifully expressive and easy to use foundation for your next website, API, or cloud project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ARXIYxrCPsWYDGv0.jpg" /></figure><h3># Bash/Shell</h3><p>— — — — —</p><p><a href="https://github.com/yyuu/pyenv"><strong><em>pyenv</em></strong></a> lets you easily switch between multiple versions of Python. It’s simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/0*3jj42vMbKbXA1D3X." /></figure><p><a href="https://github.com/dokku/dokku"><strong><em>Dokku</em></strong></a> is an docker powered mini-Heroku. The smallest PaaS implementation you’ve ever seen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/0*2L6kj4dbuMGhKber." /></figure><p><a href="https://github.com/sobolevn/git-secret"><strong><em>git-secret</em></strong></a><strong><em> </em></strong><em>— </em>a bash tool to store your private data inside a git repo. How’s that? Basically, it just encrypts, using gpg, the tracked files with the public keys of all the users that you trust. So everyone of them can decrypt these files using only their personal secret key. Why deal with all this private-public keys stuff? Well, to make it easier for everyone to manage access rights. There are no passwords that change. When someone is out - just delete his public key, re-encrypt the files, and he won’t be able to decrypt secrets anymore.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ksb58FDyPxbZ5869.png" /></figure><h3># R</h3><p>— — — — —</p><p><a href="https://github.com/rstudio/shiny"><strong><em>Shiny</em></strong></a> is a new package from RStudio that makes it incredibly easy to build interactive web applications with R.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/0*zbuzdqFqY_qyeB6b.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/0*e_ZzzsohCNJdWxMr.png" /></figure><p><a href="https://github.com/ropensci/plotly"><strong><em>plotly</em></strong></a> — an R package for creating interactive web graphics via the open source JavaScript graphing library <a href="https://github.com/plotly/plotly.js">plotly.js</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/0*qKFhFOHQDC3ilPYB." /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*lgkWbqk4NNUdQUYo." /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*CpPpyI96hTsYRcGr." /></figure><h3># Scala</h3><p>— — — — —</p><p><a href="https://github.com/gitbucket/gitbucket"><strong><em>GitBucket</em></strong></a> — a Git platform powered by Scala with easy installation, high extensibility &amp; github API compatibility.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/316/0*UFKKIcu3r-SMWkgP.png" /></figure><p><a href="https://github.com/twitter/finatra"><strong><em>Finatra</em></strong></a> — a lightweight framework for building fast, testable, scala applications on top of <a href="https://github.com/twitter/twitter-server">TwitterServer</a> and <a href="https://github.com/twitter/finagle">Finagle</a>. Finatra provides an easy-to-use API for creating and <a href="http://twitter.github.io/finatra/user-guide/testing/">testing</a> <a href="http://twitter.github.io/finagle/guide/Servers.html">Finagle servers</a> and <a href="http://twitter.github.io/util/docs/#com.twitter.app.App">apps</a> as well as powerful JSON support, modern logging via <a href="http://www.slf4j.org/manual.html">SLF4J</a>, <a href="http://twitter.github.io/finagle/guide/Clients.html">Finagle client</a> utilities, and more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1ettbQZXcoyn7Ay3.png" /></figure><p><a href="https://github.com/scalatra/scalatra"><strong><em>Scalatra</em></strong></a> is a tiny, <a href="http://www.sinatrarb.com/">Sinatra</a>-like web framework for <a href="http://www.scala-lang.org/">Scala</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/231/0*nuXpCbOPgCQ7_95n.png" /></figure><p>Example:</p><pre>import org.scalatra._</pre><pre>class ScalatraExample extends ScalatraServlet {<br>  get(&quot;/&quot;) {<br>    &lt;h1&gt;Hello, world!&lt;/h1&gt;<br>  }<br>}</pre><p><a href="https://github.com/twitter/algebird"><strong><em>algebird</em></strong></a><strong><em> </em></strong>— an abstract algebra for Scala. This code is targeted at building aggregation systems (via <a href="https://github.com/twitter/scalding">Scalding</a> or <a href="http://storm.apache.org/">Apache Storm</a>). It was originally developed as part of Scalding’s Matrix API, where Matrices had values which are elements of Monoids, Groups, or Rings. Subsequently, it was clear that the code had broader application within Scalding and on other projects within Twitter.</p><p>Example:</p><pre>Welcome to Scala version 2.10.5 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_40).<br>Type in expressions to have them evaluated.<br>Type :help for more information.</pre><pre>scala&gt; import com.twitter.algebird._<br>import com.twitter.algebird._</pre><pre>scala&gt; import com.twitter.algebird.Operators._<br>import com.twitter.algebird.Operators._</pre><pre>scala&gt; Map(1 -&gt; Max(2)) + Map(1 -&gt; Max(3)) + Map(2 -&gt; Max(4))<br>res0: scala.collection.immutable.Map[Int,com.twitter.algebird.Max[Int]] = Map(2 -&gt; Max(4), 1 -&gt; Max(3))</pre><p><strong>That’s all. Thanks!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2daaa2153f7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>