Skip to main content

Get company registration data for the State of Delaware.

Project description

It might be nice if it were easy to get data about company registrations. Much information is available through the General Information Name Search site, and the present program queries this website for information.

Installing the worker

The present program is separated into worker, manager, and reader components. This is done so that many different workers can be run at once, coordinated by a single manager.

You probably just need to install the worker and run it; by default, it will receive its directions from a manager running on one of Tom’s computers. It will periodically contact the manager for directions, and it will query Delaware’s General Information Name Search accordingly.

Two ways of installing are explained below.

Standalone installation

For most people

Installing with Pip

For people who know what Python and Pip and terminals are

Standalone installation

I am going to make a package with PyInstaller and put directions here as to how to install it. So this installation method isn’t available yet.

Installing with Pip

If you are used to using a terminal and already have Python and Pip installed, you can just run this command.

pip install delaware

If that gives you an error about permissions, try this command.

sudo pip install delaware

Running

Once you’ve installed the program, type this into a terminal.

delaware

It’ll ask you a few questions the first time you run it, but you can totally ignore it after that.

How it works

When you run delaware, you are running the worker program. Tom is running the manager program. When it starts, your worker contacts Tom’s manager for directions.

Why would I make such a complicated program?

I’ve told that some people much difficulty in acquiring the data, and I made the present program to deal with the most annoying of difficulties. The difficulty is, supposedly, that the website only allows a single IP address to make so many requests. One person told me that the limit was a few hundred requests per IP address, and another person told me that the limit was 3000 requests.

Having used the site myself, I don’t think that such a limit exists; I haven’t managed to hit any of these limits myself, and the Delaware Division of Corporations told me that there is no limit. So maybe this complicated thing wasn’t necessary, but I already wrote it.

But in case there is a limit, the idea is that we can get a bunch of different people each to download a small piece of the data, staying within the limits for each IP address.

If errors come up

If the program stops running, please send the error message to _@thomaslevine.com. Also, please don’t delete the ~/.delaware directory, as it contains files that can be helpful for figuring out what went wrong.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

delaware-0.0.5.tar.gz (12.7 kB view details)

Uploaded Source

File details

Details for the file delaware-0.0.5.tar.gz.

File metadata

  • Download URL: delaware-0.0.5.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for delaware-0.0.5.tar.gz
Algorithm Hash digest
SHA256 c4ab0795e4f1d07313c8180023d3e8ff778b1d2052561b4fab465a5eacebb96f
MD5 9d61b992813c2a5ea8476e76d6a312ff
BLAKE2b-256 afbf310e42c3afa3c99450bb40c4c563f4e402a42de8b753ec297b2ed97e76fc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page