Open in app

Sign In

Write

Sign In

Brendan Ferris
Brendan Ferris

177 Followers

Home

About

Published in Python in Plain English

·Jul 11, 2021

Type Checking in Python

You may find yourself in a situation where you have defined a function, but you need to make sure that the data that is passed to the function is of a certain data type. …

Python

3 min read

Type Checking in Python
Type Checking in Python
Python

3 min read


Jul 4, 2021

How much data can you get on the residents of your town?

It goes without saying that we live in a world where data is more valuable than oil, we like to think that most of this data is locked in the secure servers of the many private companies that collect it. Anyone who hasn’t been sleeping for the past decade also…

Data

3 min read

How much data can you get on the residents of your town?
How much data can you get on the residents of your town?
Data

3 min read


Published in Towards Data Science

·Jun 28, 2021

The Elevator Optimization Problem.

Recently, I completed a small project that required me to make suggestions for optimizing an elevator configuration within a theoretical high-rise in New York City. The building is set up as follows. Entrants to the building must first swipe badges through a security system, then they can push the elevator…

Python

6 min read

The Elevator Optimization Problem.
The Elevator Optimization Problem.
Python

6 min read


Published in Python in Plain English

·Jun 19, 2021

Save Object State in Python with Shelve

How to save Python objects persistently using the built-in shelve module — I’ve had my share of experience writing classes and utilizing OOP in Python, but I have only developed objects that are used in the current running script and saved in the cache. Those cached objects are not available when you run your program in the future. My first thought when…

Python

3 min read

Save Object State in Python with Shelve
Save Object State in Python with Shelve
Python

3 min read


Jun 11, 2021

Open-Source Intelligence tools in Python.

Open-source Intelligence, or OSINT, consists of using publicly available information to collect data on subject. Used primarily by investigators, law-enforcement, and penetration testers, this information could include anything from public records to social media data. …

Python

2 min read

Open-Source Intelligence tools in Python.
Open-Source Intelligence tools in Python.
Python

2 min read


Published in Python in Plain English

·Jun 6, 2021

How to Add Visual Candy to Your Python Shell Scripts

Sometimes, it’s necessary to add some visual output to Python scripts in order to provide users with feedback as to the progress of a program. In this article, we are going to touch on two ways you can incorporate this feedback: progress bars and ANSI color codes. Using these two…

Python

3 min read

How to Add Visual Candy to Your Python Shell Scripts
How to Add Visual Candy to Your Python Shell Scripts
Python

3 min read


May 30, 2021

Automated file management in Python.

I recently was involved in a project that involved the creation of an automated tool that collects a large amount of documents. In order to save these documents, it was necessary to make create files and folders on the local filesystem where the rest of the script could access the…

Python

3 min read

Automated file management in Python.
Automated file management in Python.
Python

3 min read


Published in Towards Data Science

·May 23, 2021

How to Analyze a PDF with the layout-parser package.

I recently was involved with a project that required parsing of a PDF in order to identify the regions of page and return the text from those regions. The text regions would then be fed to a Q/A model (farm-haystack), and return extracted data from the PDF. Essentially, we wanted…

NLP

3 min read

How to Analyze a PDF with the layout-parser package.
How to Analyze a PDF with the layout-parser package.
NLP

3 min read


Published in Analytics Vidhya

·May 17, 2021

Scraping reddit with Scrapy.

I’m going to walk through how to develop a basic spider using the Scrapy package. The purpose of this tutorial will be to introduce the basic concepts needed to understand and use the Scrapy package, and give you the tools to develop custom spiders for your data collection needs. …

Web Scraping

6 min read

Scraping reddit with Scrapy.
Scraping reddit with Scrapy.
Web Scraping

6 min read


Published in Analytics Vidhya

·May 9, 2021

Introduction to XPath.

Similar to regular expressions, Xpath can be thought of as a language for finding information in and XML/HTML document. It has many uses, but personally I use it most for developing web crawlers and grabbing information from websites. We’re going to go over the basics of the language, and how…

Data Science

6 min read

Introduction to XPath.
Introduction to XPath.
Data Science

6 min read

Brendan Ferris

Brendan Ferris

177 Followers

Turning over rocks and seeing what crawls out.

Following
  • Ismael Araujo

    Ismael Araujo

  • Justin Morgan Williams

    Justin Morgan Williams

  • Aidan Coco

    Aidan Coco

  • David Bruce

    David Bruce

  • Jacob Heyman

    Jacob Heyman

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech