Histopedia


NameHistopedia JSON
Version 0.0.5 PyPI version JSON
download
home_pagehttps://github.com/PyndyalaCoder/Histopedia
Summarypython package for scientific historical information
upload_time2023-04-01 23:00:27
maintainer
docs_urlNone
authorSiddhu Pendyala
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Histopedia
# README

This Python library provides several functions for working with historical data including events, inventions, discoveries, people, and prehistoric animals.

## Functions

| Function Name | Description | Example Usage |
| --- | --- | --- |
| `proximate(year)` | Returns a list of events within 2 years of the input year | `proximate(1776)` returns a list of events |
| `addEvent(dscrp, yr)` | Adds a new event to the database | `addEvent('Declaration of Independence', 1776)` returns `"event (Declaration of Independence) added for year 1776"` |
| `exact(year)` | Returns a list of events that occurred in the exact input year | `exact(1776)` returns `[('Declaration of Independence', 1776)]` |
| `traceIno(trace_year)` | Returns a list of innovations that occurred in the input year | `traceIno(1901)` returns `[2000, 2001]` |
| `discov(yr)` | Returns a list of discoveries that occurred in the input year, or the closest discovery if none occurred | `discov(1769)` returns `"Discovery not found for 1769. Did you mean 1766: oxygen?"` |
| `push(disc, yr)` | Adds a new discovery to the database | `push('Pluto', 1930)` returns `"Appended successfully"` |
| `getDisc()` | Returns the list of all discoveries in the database | `getDisc()` returns `[(oxygen, 1766), (Pluto, 1930)]` |
| `pushIno(ino, yr)` | Adds a new innovation to the database | `pushIno(2000, 1901)` |
| `getInos()` | Returns the list of all innovations in the database | `getInos()` returns `[(2000, 1901), (2001, 1901)]` |
| `getEvents()` | Returns the list of all events in the database | `getEvents()` returns `[('Declaration of Independence', 1776), ('Louisiana Purchase', 1803)]` |
| `born(name)` | Returns the birth year of a person | `born('George Washington')` returns `1732` |
| `died(name)` | Returns the death year of a person | `died('Albert Einstein')` returns `1955` |
| `period(anml)` | Returns the time period of a prehistoric animal | `period('Tyrannosaurus')` returns `"Late Cretaceous"` |


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/PyndyalaCoder/Histopedia",
    "name": "Histopedia",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Siddhu Pendyala",
    "author_email": "elcientifico.pendyala@hotmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f9/4e/041ff98343a1e0b99f499fe536ef84f30f972c13f888d1e94eb45992f9fe/Histopedia-0.0.5.tar.gz",
    "platform": null,
    "description": "# Histopedia\n# README\n\nThis Python library provides several functions for working with historical data including events, inventions, discoveries, people, and prehistoric animals.\n\n## Functions\n\n| Function Name | Description | Example Usage |\n| --- | --- | --- |\n| `proximate(year)` | Returns a list of events within 2 years of the input year | `proximate(1776)` returns a list of events |\n| `addEvent(dscrp, yr)` | Adds a new event to the database | `addEvent('Declaration of Independence', 1776)` returns `\"event (Declaration of Independence) added for year 1776\"` |\n| `exact(year)` | Returns a list of events that occurred in the exact input year | `exact(1776)` returns `[('Declaration of Independence', 1776)]` |\n| `traceIno(trace_year)` | Returns a list of innovations that occurred in the input year | `traceIno(1901)` returns `[2000, 2001]` |\n| `discov(yr)` | Returns a list of discoveries that occurred in the input year, or the closest discovery if none occurred | `discov(1769)` returns `\"Discovery not found for 1769. Did you mean 1766: oxygen?\"` |\n| `push(disc, yr)` | Adds a new discovery to the database | `push('Pluto', 1930)` returns `\"Appended successfully\"` |\n| `getDisc()` | Returns the list of all discoveries in the database | `getDisc()` returns `[(oxygen, 1766), (Pluto, 1930)]` |\n| `pushIno(ino, yr)` | Adds a new innovation to the database | `pushIno(2000, 1901)` |\n| `getInos()` | Returns the list of all innovations in the database | `getInos()` returns `[(2000, 1901), (2001, 1901)]` |\n| `getEvents()` | Returns the list of all events in the database | `getEvents()` returns `[('Declaration of Independence', 1776), ('Louisiana Purchase', 1803)]` |\n| `born(name)` | Returns the birth year of a person | `born('George Washington')` returns `1732` |\n| `died(name)` | Returns the death year of a person | `died('Albert Einstein')` returns `1955` |\n| `period(anml)` | Returns the time period of a prehistoric animal | `period('Tyrannosaurus')` returns `\"Late Cretaceous\"` |\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "python package for scientific historical information",
    "version": "0.0.5",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "588108ff74e929bda1bc2d0d6a9289880371e091d8b534d80d9569b673cb9549",
                "md5": "9e46a654f124c1befc2840859f79ac9a",
                "sha256": "48d8a099be6ca4547b631de42b74e59344fa9b2bb5009b616d97367c9e2685c3"
            },
            "downloads": -1,
            "filename": "Histopedia-0.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9e46a654f124c1befc2840859f79ac9a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 10135,
            "upload_time": "2023-04-01T23:00:26",
            "upload_time_iso_8601": "2023-04-01T23:00:26.267606Z",
            "url": "https://files.pythonhosted.org/packages/58/81/08ff74e929bda1bc2d0d6a9289880371e091d8b534d80d9569b673cb9549/Histopedia-0.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f94e041ff98343a1e0b99f499fe536ef84f30f972c13f888d1e94eb45992f9fe",
                "md5": "9674c79814f070177ddc7f244e5c51a8",
                "sha256": "7feb66c333a3bdc699adf9a1966a05b85aad53773c476c802d13834966bbc3c6"
            },
            "downloads": -1,
            "filename": "Histopedia-0.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "9674c79814f070177ddc7f244e5c51a8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 9721,
            "upload_time": "2023-04-01T23:00:27",
            "upload_time_iso_8601": "2023-04-01T23:00:27.817237Z",
            "url": "https://files.pythonhosted.org/packages/f9/4e/041ff98343a1e0b99f499fe536ef84f30f972c13f888d1e94eb45992f9fe/Histopedia-0.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-01 23:00:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "PyndyalaCoder",
    "github_project": "Histopedia",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "histopedia"
}
        
Elapsed time: 0.05778s