Skip to main content

Library for scraping the top names in the United States.

Project description

top-names

Program to scrape from the most common first names (male and female) in the United States from the decades 1880s-2010s. Please note that these names are not guaranteed to be unique. Data provided by the Social Security Admnistration. If you do not want to run the program, you can view the results as of November 25th, 2021 in output.txt.

Getting Started

Installing

Simply run python3 setup.py install to install the package.

Usage

After installing, you should use the top_names.name_list.NameList class. This is a wrapper class of a list that is generated dynamically by the top_names.name_scraper.NameScraper class. Initially, the list is empty, but when trying to retrieve data from the list, it will be populated.

Running

You can run the module itself using python3 -m top_names. By default, this will output to stdout. You can specify a file to write to using the -o option. You may also see debug information with the --debug flag.

Requirements

Project built with Python 3.8.10. For modules, please read requirements.txt.

Data Source

Data scraped from the United States Social Security Administration through their Popular Baby Names by Decade form.

Authors

  • Will Ciesialka

License

This project is licensed under the MIT License. For more details, please see LICENSE.

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

top_names-1.2.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

top_names-1.2.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file top_names-1.2.0.tar.gz.

File metadata

  • Download URL: top_names-1.2.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for top_names-1.2.0.tar.gz
Algorithm Hash digest
SHA256 b8dcf5b42d541cfc00b7e24a61edf2f2f9b964a0fb6fb5d6068130c69e65a068
MD5 dfecb8194563c7d9f15240ed2463f954
BLAKE2b-256 1e4aeacf91fe5cb79a9fc146ed96c0bdfe5bdb1a441ace4a0e448698707e73ae

See more details on using hashes here.

File details

Details for the file top_names-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: top_names-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for top_names-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50b1102d11b0db9041c984606e8c47cc913895e9989cccde3d2113d4ab3bb4ab
MD5 509056d67f48ba14dc5a560d2ca771a6
BLAKE2b-256 23fa5e72ae77cba6838a41af152b32b55a0d441566ddc21c40e28ac7ca6a1a43

See more details on using hashes here.

Supported by

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