worldnames


Nameworldnames JSON
Version 0.0.6 PyPI version JSON
download
home_pageNone
SummaryA populater for databases and generator for user information
upload_time2024-09-02 12:25:04
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Random name generator.
Random email generator.
Random age generator. 

## Doel van het programma
Als developer wil je soms je database populeren met gebruikers om testen uit te voeren of een MVP te demonstreren of je hebt simpelweg
gewoon een random voornaam, achternaam, gender, email of leeftijd nodig. Met dit programma kan je MySQL of SQLite database populeren met gebruikers of de module gebruiken om een eigen populatie programma te maken.

PyPi package: https://pypi.org/project/worldnames/

# Installation manual for the Populating program

1. Clone the repository (**required**)

```commandline
git clone https://github.com/ayoub-abdessadak/world-names.git
```

2. Create a python virtual environment (**optional**)
```commandline
python -m venv venvworldnames
```
3. Activate the python virtual environment (**optional**)
```commandline
source venvworldnames/bin/activate
```

4. Navigate to the repository (world-names) and install the required packages (**required**)
```commandline
pip install -r requirments.txt
```
5. Run the population simulator 
```commandline
python -m worldnames.populate
```
Or use the worldnames module to populate you're database:

1. Install the worldnames module (**required**)
```commandline
pip install worldnames
```
2. Use the worldnames module in you're python program
```python
import worldnames

worldnames.full_name() # returns 'Ashanti Qjtkbyh' for example. Type is a string.

worldnames.first_name() # returns 'Teodor' for example. Type is a string.

worldnames.last_name() # returns 'Pmgnwzqls' for example. Type is a string.

worldnames.age() # returns 50 for example. Type is an int.

worldnames.gender() # returns male for example. Type is a string.

worldnames.email() # returns 'Ashanti.Qjtkbyh@gmail.com' for example. Type is a string.

worldnames.email('Ashanti', 'Qjtkby') # It is possible to pass a first_name and last_name to the email method.

worldnames.user() # Returns all the attributes above in a tuple, for example: ('Cuauhtémoc', 'Sfzn', 'Woman', 88, 'Cuauhtémoc.Sfzn@outlook.com'). Type is an tuple.
```


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "worldnames",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Ayoub ben Abdessadak <ayoubabdessadak1@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/e6/f8/94962940df62386f2070991a6c05fa778c3ada2ef3b75d38c4267849c25a/worldnames-0.0.6.tar.gz",
    "platform": null,
    "description": "Random name generator.\nRandom email generator.\nRandom age generator. \n\n## Doel van het programma\nAls developer wil je soms je database populeren met gebruikers om testen uit te voeren of een MVP te demonstreren of je hebt simpelweg\ngewoon een random voornaam, achternaam, gender, email of leeftijd nodig. Met dit programma kan je MySQL of SQLite database populeren met gebruikers of de module gebruiken om een eigen populatie programma te maken.\n\nPyPi package: https://pypi.org/project/worldnames/\n\n# Installation manual for the Populating program\n\n1. Clone the repository (**required**)\n\n```commandline\ngit clone https://github.com/ayoub-abdessadak/world-names.git\n```\n\n2. Create a python virtual environment (**optional**)\n```commandline\npython -m venv venvworldnames\n```\n3. Activate the python virtual environment (**optional**)\n```commandline\nsource venvworldnames/bin/activate\n```\n\n4. Navigate to the repository (world-names) and install the required packages (**required**)\n```commandline\npip install -r requirments.txt\n```\n5. Run the population simulator \n```commandline\npython -m worldnames.populate\n```\nOr use the worldnames module to populate you're database:\n\n1. Install the worldnames module (**required**)\n```commandline\npip install worldnames\n```\n2. Use the worldnames module in you're python program\n```python\nimport worldnames\n\nworldnames.full_name() # returns 'Ashanti Qjtkbyh' for example. Type is a string.\n\nworldnames.first_name() # returns 'Teodor' for example. Type is a string.\n\nworldnames.last_name() # returns 'Pmgnwzqls' for example. Type is a string.\n\nworldnames.age() # returns 50 for example. Type is an int.\n\nworldnames.gender() # returns male for example. Type is a string.\n\nworldnames.email() # returns 'Ashanti.Qjtkbyh@gmail.com' for example. Type is a string.\n\nworldnames.email('Ashanti', 'Qjtkby') # It is possible to pass a first_name and last_name to the email method.\n\nworldnames.user() # Returns all the attributes above in a tuple, for example: ('Cuauht\u00e9moc', 'Sfzn', 'Woman', 88, 'Cuauht\u00e9moc.Sfzn@outlook.com'). Type is an tuple.\n```\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A populater for databases and generator for user information",
    "version": "0.0.6",
    "project_urls": {
        "Homepage": "https://github.com/ayoub-abdessadak/world-names",
        "Issues": "https://github.com/ayoub-abdessadak/world-names/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "848d75993befdf9a3a22ab94f59319e0ae6cb94ec95586d59043d49d08fa7669",
                "md5": "565b7a1084eaff698eccb37de5ff46ad",
                "sha256": "aee90fed3d3d9ee8da280487f95b27d743682c64c285dd7602899cd922a4b74f"
            },
            "downloads": -1,
            "filename": "worldnames-0.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "565b7a1084eaff698eccb37de5ff46ad",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 24313,
            "upload_time": "2024-09-02T12:25:03",
            "upload_time_iso_8601": "2024-09-02T12:25:03.025533Z",
            "url": "https://files.pythonhosted.org/packages/84/8d/75993befdf9a3a22ab94f59319e0ae6cb94ec95586d59043d49d08fa7669/worldnames-0.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e6f894962940df62386f2070991a6c05fa778c3ada2ef3b75d38c4267849c25a",
                "md5": "52b66706cb74c8eeba74efaf9bb4cc5d",
                "sha256": "36367cbd0c4f93d42b85e3c7d8ec7ab9b96de5c63fbc5b439e7b4835d4430afd"
            },
            "downloads": -1,
            "filename": "worldnames-0.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "52b66706cb74c8eeba74efaf9bb4cc5d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 21126,
            "upload_time": "2024-09-02T12:25:04",
            "upload_time_iso_8601": "2024-09-02T12:25:04.812272Z",
            "url": "https://files.pythonhosted.org/packages/e6/f8/94962940df62386f2070991a6c05fa778c3ada2ef3b75d38c4267849c25a/worldnames-0.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-02 12:25:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ayoub-abdessadak",
    "github_project": "world-names",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "worldnames"
}
        
Elapsed time: 0.34088s