# Book Class Package
This is a simple Python package that defines a `Book` class with basic functionality to store and retrieve information about books.
## Features
- **Store Book Information**: Store a book's title, author, and publication year.
- **Show Author**: Retrieve the author of the book.
- **Show Publication Year**: Retrieve the publication year of the book.
- **Get Complete Book Info**: Retrieve a full description of the book, including title, author, and publication year.
## Installation
You can install this package from PyPI using `pip`:
```bash
pip install book_package_svk
```
### Usage
```python
from book_package_svk import Book
# Create a book instance
book = Book("1984", "George Orwell", 1949)
# Show the author's name
print(book.show_author(book.author)) # Output: Author: George Orwell
# Show the publication year
print(book.show_publication_year(book.publication_year)) # Output: Publication Year: 1949
# Get complete information about the book
print(book.get_info())
# Output: Title: 1984, Author: George Orwell, Publication Year: 1949
```
Raw data
{
"_id": null,
"home_page": null,
"name": "book-package-svk",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "python, book package svk",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/66/1b/ff8c5bf1aeb83e37b3f9a872d8ff97a6a4892e71ce5f67bebd77ca42dd5d/book_package_svk-0.0.2.tar.gz",
"platform": null,
"description": "# Book Class Package\n\nThis is a simple Python package that defines a `Book` class with basic functionality to store and retrieve information about books.\n\n## Features\n\n- **Store Book Information**: Store a book's title, author, and publication year.\n- **Show Author**: Retrieve the author of the book.\n- **Show Publication Year**: Retrieve the publication year of the book.\n- **Get Complete Book Info**: Retrieve a full description of the book, including title, author, and publication year.\n\n## Installation\n\nYou can install this package from PyPI using `pip`:\n\n```bash\npip install book_package_svk\n```\n\n### Usage\n ```python\nfrom book_package_svk import Book\n\n# Create a book instance\nbook = Book(\"1984\", \"George Orwell\", 1949)\n\n# Show the author's name\nprint(book.show_author(book.author)) # Output: Author: George Orwell\n\n# Show the publication year\nprint(book.show_publication_year(book.publication_year)) # Output: Publication Year: 1949\n\n# Get complete information about the book\n\nprint(book.get_info()) \n# Output: Title: 1984, Author: George Orwell, Publication Year: 1949\n\n ```\n\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "My first Python package",
"version": "0.0.2",
"project_urls": null,
"split_keywords": [
"python",
" book package svk"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "20e104cef5b17f5087ec4e9a75645decb3a5949922ab889142383d6df55a09ea",
"md5": "395c9f5373f5e20339194c47d852772f",
"sha256": "c11052faae95db93bcabadd239f440cb1064ac17dfe63ffdd17c28bea7e1c85d"
},
"downloads": -1,
"filename": "book_package_svk-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "395c9f5373f5e20339194c47d852772f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2802,
"upload_time": "2025-01-08T04:33:18",
"upload_time_iso_8601": "2025-01-08T04:33:18.435443Z",
"url": "https://files.pythonhosted.org/packages/20/e1/04cef5b17f5087ec4e9a75645decb3a5949922ab889142383d6df55a09ea/book_package_svk-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "661bff8c5bf1aeb83e37b3f9a872d8ff97a6a4892e71ce5f67bebd77ca42dd5d",
"md5": "ca2ec9b19ca90d8309df081c73e77cdd",
"sha256": "cb57e79549f864482cbf85af1de63eef63f4a9365228705022df99a6e2580783"
},
"downloads": -1,
"filename": "book_package_svk-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "ca2ec9b19ca90d8309df081c73e77cdd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2292,
"upload_time": "2025-01-08T04:33:20",
"upload_time_iso_8601": "2025-01-08T04:33:20.842930Z",
"url": "https://files.pythonhosted.org/packages/66/1b/ff8c5bf1aeb83e37b3f9a872d8ff97a6a4892e71ce5f67bebd77ca42dd5d/book_package_svk-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-08 04:33:20",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "book-package-svk"
}