{"id":15706344,"url":"https://github.com/lucacappelletti94/random_italian_person","last_synced_at":"2025-05-12T15:26:13.095Z","repository":{"id":50486419,"uuid":"243049935","full_name":"LucaCappelletti94/random_italian_person","owner":"LucaCappelletti94","description":"Python package to generate an Italian person randomly.","archived":false,"fork":false,"pushed_at":"2023-08-02T18:01:36.000Z","size":3800,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-16T20:45:03.220Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LucaCappelletti94.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-25T16:52:02.000Z","updated_at":"2022-11-10T12:20:22.000Z","dependencies_parsed_at":"2024-10-24T07:42:21.750Z","dependency_job_id":"8162b5e0-4b46-43d0-9a44-f589d56b7aa9","html_url":"https://github.com/LucaCappelletti94/random_italian_person","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":"0.19047619047619047","last_synced_commit":"4fad5bd0f47d911cd43288d422a6afefabf14859"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Frandom_italian_person","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Frandom_italian_person/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Frandom_italian_person/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Frandom_italian_person/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LucaCappelletti94","download_url":"https://codeload.github.com/LucaCappelletti94/random_italian_person/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253764738,"owners_count":21960621,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T20:22:23.951Z","updated_at":"2025-05-12T15:26:13.070Z","avatar_url":"https://github.com/LucaCappelletti94.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"random_italian_person\n=========================================================================================\n|pip| |downloads| |github|\n\nPython package to generate an Italian person randomly.\n\nHow do I install this package?\n----------------------------------------------\nAs usual, just download it using pip:\n\n.. code:: shell\n\n    pip install random_italian_person\n\n\nUsage examples\n-----------------------------------------------\n\n.. code:: python\n\n    from random_italian_person import RandomItalianPerson\n\n    person = RandomItalianPerson()\n\n    print(person.describe())\n    # 'Rodrigo Benedetti è nata/o a Molazzana (LU) il 1972-12-18. Ora vive a Cagliari (CA) in Via Giuseppe Garibaldi 109.'\n\nGenerate a CSV of random italian persons\n-----------------------------------------------\nOne of the most common usages for this library is to render\nfake datasets for testing porposes. For instance,\nto generate a CSV with 5 random person you can use:\n\n.. code:: python\n\n    import pandas as pd\n    from random_italian_person import RandomItalianPerson\n\n    df = pd.DataFrame([\n        RandomItalianPerson().data\n        for _ in range(5)\n    ])\n\nThe obtained dataframe will look like:\n\n+-----------------------+------------+-----------+-----------+-------+----------------------+------------------+----------------+-------------+-----------------------+-------------+-------------------+----------------+-------+----------------+-----------------+------------------+\n| region                | province   | surname   | name      | sex   | birth_municipality   | birth_province   | birth_region   |   birth_cap | birth_province_code   | birthdate   | address           | house_number   |   cap | municipality   | province_code   | codice_fiscale   |\n+=======================+============+===========+===========+=======+======================+==================+================+=============+=======================+=============+===================+================+=======+================+=================+==================+\n| Marche                | Macerata   | Di Felice | Giacomina | F     | Mosciano Sant'angelo | Teramo           | Abruzzo        |       64023 | TE                    | 1945-09-18  | Viale De Amicis   | 76             | 62020 | Colmurano      | MC              | DFLGMN45P58F764B |\n+-----------------------+------------+-----------+-----------+-------+----------------------+------------------+----------------+-------------+-----------------------+-------------+-------------------+----------------+-------+----------------+-----------------+------------------+\n| Friuli Venezia Giulia | Udine      | Galli     | Imen      | F     | Isola Dovarese       | Cremona          | Lombardia      |       26031 | CR                    | 1942-03-10  | Via Udine         | 2              | 33020 | Verzegnis      | UD              | GLLMNI42C50E356T |\n+-----------------------+------------+-----------+-----------+-------+----------------------+------------------+----------------+-------------+-----------------------+-------------+-------------------+----------------+-------+----------------+-----------------+------------------+\n| Abruzzo               | Pescara    | Rosso     | Eva       | F     | Cellarengo           | Asti             | Piemonte       |       14010 | AT                    | 2001-12-31  | Via G. Fonzi      | 58             | 65010 | Spoltore       | PE              | RSSVEA01T71C438U |\n+-----------------------+------------+-----------+-----------+-------+----------------------+------------------+----------------+-------------+-----------------------+-------------+-------------------+----------------+-------+----------------+-----------------+------------------+\n| Emilia Romagna        | Bologna    | Grasso    | Emanuele  | M     | Caposele             | Avellino         | Campania       |       83040 | AV                    | 1942-08-27  | Via G. Massarenti | 223/5          | 40138 | Bologna        | BO              | GRSMNL42M27B674L |\n+-----------------------+------------+-----------+-----------+-------+----------------------+------------------+----------------+-------------+-----------------------+-------------+-------------------+----------------+-------+----------------+-----------------+------------------+\n| Sicilia               | Palermo    | Pastorino | Lenuta    | F     | Borzonasca           | Genova           | Liguria        |       16041 | GE                    | 1972-09-05  | Via Montalbo      | 124            | 90142 | Palermo        | PA              | PSTLNT72P45B067T |\n+-----------------------+------------+-----------+-----------+-------+----------------------+------------------+----------------+-------------+-----------------------+-------------+-------------------+----------------+-------+----------------+-----------------+------------------+\n\n\n.. |pip| image:: https://badge.fury.io/py/random-italian-person.svg\n    :target: https://badge.fury.io/py/random-italian-person\n    :alt: Pypi project\n\n.. |downloads| image:: https://pepy.tech/badge/random-italian-person\n    :target: https://pepy.tech/badge/random-italian-person\n    :alt: Pypi total project downloads\n\n.. |github| image:: https://github.com/lucacappelletti94/random_italian_person/actions/workflows/python.yml/badge.svg\n    :target: https://github.com/lucacappelletti94/random_italian_person/actions\n    :alt: Github Actions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucacappelletti94%2Frandom_italian_person","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucacappelletti94%2Frandom_italian_person","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucacappelletti94%2Frandom_italian_person/lists"}