Django-admin fixture generator command

django-admin commands which generate fixture data for your given apps’s models using Mimesis data generator. requirementspip install django pip install mimesis pip install pyyaml pip install colorama installationpip intall mockangoINSTALLED_APPS = [ … ‘mockango’, ] usage app_labels(positional): labels of app you need fixture data for them –num(optional)(default=10): number of object generate for each model –foramt(optional)(default=yaml): format of fixture file –locale(optional)(default=en): supported mimesis localespython manage.py generatedata posts –num 5 –format yaml –locale fa examples models.pyclass Post(models.Model): title = models.Charfield(max_length=200) text = […]

Read more

Simple FIX protocol implementation for Python

FIX (Financial Information eXchange) Protocol is a widely-used, text-based protocol for interaction between parties in financial trading. Banks, brokers, clearing firms, exchanges, and other general market participants use FIX protocol for all phases of electronic trading. Typically, a FIX implementation exists as a FIX Engine: a standalone service that acts as a gateway for other applications (matching engines, trading algos, etc) and implements the FIX protocol. The most popular Open Source FIX engine is probably one of the versions of […]

Read more

A simple display manager app for the WaveShare 2.7in e-Paper Display

A simple display manager app for the WaveShare 2.7in e-Paper HAT Screens The app provides a number of screens that can be displayed on the e-paper HAT, and allows switching between them with the builtin buttons. The included screens are: uptime – a system info viewer affirmations – display positive affirmations (or whatever kind you want, really) fortune – shows a random fortune from the fortune database (requires the fortune-mod package) Install fortune-mod with this command: sudo apt install fortune-mod […]

Read more

Yet another JavaScript-like language with a Pythonic syntax

Yet another JavaScript-like language with a Pythonic syntax. Saga is a new programing language designed to replace JavaScript, getting rid of its weird syntax or runtime behavior, replacing it with a host of new syntax and powerful features. Designed to be easy to write and still easy to comprehend, Saga allows you to write expressive, type-safe and performant code devoid of repetitive boilerplate. With Saga, you can leverage the full power of JavaScript in a robust and strongly-typed language without […]

Read more

A python package manager designed to manage C / C++ packages

cfpm is a package manager designed to manage C / C++ packages. Installation Requirements cfpm requires at least Python 3.7 to run. Use pip Make sure the pip comes from Python 3. Use pip -V to verify it. $ pip install cfpm You can also upgrade it using pip using pip install cfpm –upgrade. Build from source Building from source is easy too. Clone the repo and pip install will do thework. $ git clone https://github.com/project-cfpm/cfpm.git $ cd cfpm $ […]

Read more

A Python module to use the Tesla Motors Owner API

A Python implementation based on unofficial documentation of the client side interface to the Tesla Motors Owner API, which provides functionality to monitor and control Tesla products remotely. Overview This module depends on Python requests, requests_oauthlib and websocket-client. The Tesla class extends requests.Session and therefore inherits methods like get() and post() that can be used to perform API calls. All calls to the Owner API are intercepted by the request() method to add the JSON Web Token (JWT) bearer, which […]

Read more

Provides syntax for Python-Markdown which allows for the inclusion of Markdown documents

This is an extension to Python-Markdown which provides an “include” function, similar to that found in LaTeX (and also the C pre-processor and Fortran). I originally wrote it for my FORD Fortran auto-documentation generator. Installation This module can now be installed using pip. pip install markdown-include Usage This module can be used in a program in the following way: import markdown html = markdown.markdown(source, extensions=[‘markdown_include.include’]) The syntax for use within your Markdown files is {!filename!}. This statement will be replaced […]

Read more

The official Python client library for Google’s discovery based APIs

This is the Python client library for Google’s discovery based APIs. To get started, please see the docs folder. These client libraries are officially supported by Google. However, the libraries are considered complete and are in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features. Documentation See the docs folder for more detailed instructions and additional documentation. Other Google API libraries For Google Cloud Platform APIs such as Datastore, […]

Read more
1 503 504 505 506 507 973