agefromname | Predict age and gender from a first name

 by   JasonKessler Python Version: 0.0.8 License: Apache-2.0

kandi X-RAY | agefromname Summary

kandi X-RAY | agefromname Summary

agefromname is a Python library. agefromname has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install agefromname' or download it from GitHub, PyPI.

This more or less apes the approach of FiveThirtyEight's "How to Tell if Someone's Age When All you Know Is Her Name" article. It includes data collected scraped from the Social Security Administration's Life Tables for the United States Social Security Area 1900-2100 and their baby names data. Code is included to re-scrape and refresh this data in regenerate_data.py. It includes data as far back as 1981. To use, first initialize the finder. You find the probability of someone's gender based on their first name and optionally, the current year, their minimum age, and/or their maximum age.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              agefromname has a low active ecosystem.
              It has 48 star(s) with 8 fork(s). There are 7 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 0 open issues and 6 have been closed. On average issues are closed in 169 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of agefromname is 0.0.8

            kandi-Quality Quality

              agefromname has 0 bugs and 0 code smells.

            kandi-Security Security

              agefromname has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              agefromname code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              agefromname is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              agefromname releases are not available. You will need to build from source code and install.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              agefromname saves you 203 person hours of effort in developing the same functionality from scratch.
              It has 499 lines of code, 49 functions and 8 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed agefromname and discovered the below as its top functions. This is intended to give you an instant insight into agefromname implemented functionality, and help decide if they suit your requirements.
            • Calculates the estimated percentage of distinct individuals
            • Gets the estimated counts for a given birth year
            • Checks the gender
            • Return a boolean mask for birth year
            • Return the number of occurrences of a given person
            • Generate all birth counts
            • Generate year_of_birth counts
            • Extract the mortality table
            • Generate a new mortality table
            Get all kandi verified functions for this library.

            agefromname Key Features

            No Key Features are available at this moment for agefromname.

            agefromname Examples and Code Snippets

            AgeFromName 0.0.8,Overview
            Pythondot img1Lines of Code : 84dot img1License : Permissive (Apache-2.0)
            copy iconCopy
            >>> from agefromname import AgeFromName
            >>> age_from_name = AgeFromName()
            
            >>> age_from_name.prob_male('taylor')
            0.24956599946849847
            >>> age_from_name.prob_female('taylor')
            0.7504340005315016
            >>> age_from_  

            Community Discussions

            No Community Discussions are available at this moment for agefromname.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install agefromname

            You can install using 'pip install agefromname' or download it from GitHub, PyPI.
            You can use agefromname like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install agefromname

          • CLONE
          • HTTPS

            https://github.com/JasonKessler/agefromname.git

          • CLI

            gh repo clone JasonKessler/agefromname

          • sshUrl

            git@github.com:JasonKessler/agefromname.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link