Python data mapper and query builder for SQL databases

Estoult Estoult is a Python toolkit for data mapping with an integrated query builder for SQL databases. It currently supports MySQL, PostgreSQL, and SQLite. Features: Not an ORM. Estoult doesn’t attempt to apply relational algebra to objects. Concise and composable (sub)queries. Easy debugging by displaying any generated SQL in a readable format. Fast. Estoult is NOT an ORM. Estoult only works with Python 3.6+ and is primarily tested on Python 3.9+. Installation Install Estoult through pip: pip install estoult Contributing […]

Read more

A test framework for Python with a focus on productivity and readability

Ward Ward is a modern test framework for Python with a focus on productivity and readability. Features Descriptive test names: describe what your tests do using strings, not function names. @test(“1 + 2 == 3″) def _(): assert 1 + 2 == 3 Modular test dependencies: manage test setup/teardown code using fixtures that rely on Python’s import system, not name matching. @fixture def user(): return User(name=”darren”) @test(“the user is called darren”) def _(u=user): assert u.name == “darren” Support for asyncio: […]

Read more

A free and open source crypto trading bot written in Python

Freqtrade Freqtrade is a free and open source crypto trading bot written in Python. It is designed to support all major exchanges and be controlled via Telegram. It contains backtesting, plotting and money management tools as well as strategy optimization by machine learning. Disclaimer This software is for educational purposes only. Do not risk money which you are afraid to lose. USE THE SOFTWARE AT YOUR OWN RISK. THE AUTHORS AND ALL AFFILIATES ASSUME NO RESPONSIBILITY FOR YOUR TRADING RESULTS. […]

Read more

Build a Bulk File Rename Tool With Python and PyQt

Say you need to rename multiple files in your personal folder using a specific naming pattern. Doing that manually can be time-consuming and error-prone. So, you’re thinking of automating the file renaming process by building your own bulk file rename tool using Python. If so, then this tutorial is for you. In this tutorial, you’ll learn how to: Create the GUI for a bulk file rename tool using Qt Designer and PyQt Use PyQt threads to offload the file renaming […]

Read more

SMS Spam Detection Using LSTM – A Hands On Guide!

Introduction  In today’s world, almost everyone is using a mobile phone and all of them will receive messages(SMS/ email) daily on their phone. But the main thing is that many of the received messages will be spam and only a few of them are ham or required messages. In this article, we are going to create an SMS spam detection model which will help you to find whether an SMS is spam or not using LSTM. About Dataset: Here we […]

Read more

A simple bot to extract text from images with python

Text from image (OCR) A bot that extract text from images using the Tesseract OCR. Usage What do I need? A AWS key configured locally, see here. NodeJS. I tested with v8.9.0. A Telegram account. Installing # Install the Serverless Framework $ npm install serverless -g # Install the necessary plugins $ npm install # Get a bot from Telegram, sending this message to @BotFather $ /newbot # Put the token received into a file called serverless.env.yml, like this $ […]

Read more

An open-source Python Library for materials structural search

PyChemia PyChemia is an open-source Python Library for materials structural search. The purpose of the initiative is to create a method agnostic framework for materials discovery and design using a variety of methods from Minima Hoping to Soft-computing based methods. PyChemia is also a library for data-mining, using several methods to discover interesting candidates among the materials already processed. The core of the library is the Structure python class, it is able to describe periodic and non-periodic structures. As the […]

Read more

Using the Python or Operator

There are three Boolean operators in Python: and, or, and not. With them, you can test conditions and decide which execution path your programs will take. In this tutorial, you’ll take a deep dive into the Python or operator and how to use it. By the end of this course, you’ll have learned: How the Python or operator works How to use the Python or operator in Boolean and non-Boolean contexts What kind of programming problems you can solve by […]

Read more

Hands-on Experience With GPT3!

This article was published as a part of the Data Science Blogathon. Yes, you read it right. In this article, I will give you a hands-on experience of GPT3. I was lucky enough to get access to private beta after waiting for 8 months 🙂 Introduction Last week I was exploring with GPT-3. I was thinking I will learn it in a data it two. But boy it took me a lot of time to learn it. I was very surprised […]

Read more

A Vision Transformer in ConvNet’s Clothing for Faster Inference

LeViT This repository contains PyTorch evaluation code, training code and pretrained models for LeViT. They obtain competitive tradeoffs in terms of speed / precision: For details see LeViT: a Vision Transformer in ConvNet’s Clothing for Faster Inference by Benjamin Graham, Alaaeldin El-Nouby, Hugo Touvron, Pierre Stock, Armand Joulin, Hervé Jégou and Matthijs Douze. If you use this code for a paper please cite: @article{graham2021levit, title={LeViT: a Vision Transformer in ConvNet’s Clothing for Faster Inference}, author={Benjamin Graham and Alaaeldin El-Nouby and […]

Read more
1 651 652 653 654 655 936