# FinancialYear
- It calculate financial year related issue
<!-- doc updater -->
### update doc
----------------------------------------
<h3> Major Update in function name and stable version <h3>
### To update
```bash
pip install --upgrade financialyear
```
_______________________________________________________________________________________________________________
### Goal
- Input may be in 2022 or 2022-23 in
- It Returns the start date and end date of a month for a given financial year and month.
________________________________________________________________________________________________________________
- get financial_month_start_month
- year = "2023-24" and month as int (e.g., 4 for April)
- month_start_date returns a date like "01-04-2023"
- month_end_date returns a date like "30-04-2023"
- month_list returns all months of the financial year from "04-2023" to "03-2024"
- get test as 2022-23 from a date
# Example usage:
```bash
financial_year = Finyear("2023-24")
print(financial_year.month_start_date(1)) # Output: 01-04-2023
print(financial_year.month_end_date(1)) # Output: 30-04-
print(financial_year.previous_month_dates(month=1)) # return two date like :: (datetime.date(2023, 12, 1), datetime.date(2023, 12, 31))
print(financial_year.month_list()) # Output: ['04-2023', '05-2023', '06-2023', ..., '03-2024']
print(date_to_finyear(date='2022-10-2')) # output : 2022-23
```
Raw data
{
"_id": null,
"home_page": "https://github.com/piidus/FinancialYear",
"name": "financialyear",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "financial year, fin year",
"author": "Sudiip",
"author_email": "sudiipkumarbasu@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/33/12/6ddfd7744e85842b5b2ab98babc48626f47d0619eb0c8f2f6c1fd1090408/financialyear-1.3.tar.gz",
"platform": null,
"description": "# FinancialYear\n- It calculate financial year related issue\n<!-- doc updater -->\n\n### update doc\n----------------------------------------\n<h3> Major Update in function name and stable version <h3>\n\n### To update\n```bash\npip install --upgrade financialyear\n```\n_______________________________________________________________________________________________________________\n### Goal\n- Input may be in 2022 or 2022-23 in \n- It Returns the start date and end date of a month for a given financial year and month.\n________________________________________________________________________________________________________________\n- get financial_month_start_month\n \n\n- year = \"2023-24\" and month as int (e.g., 4 for April)\n\n- month_start_date returns a date like \"01-04-2023\"\n\n- month_end_date returns a date like \"30-04-2023\"\n\n- month_list returns all months of the financial year from \"04-2023\" to \"03-2024\"\n\n- get test as 2022-23 from a date\n\n # Example usage:\n ```bash\n\nfinancial_year = Finyear(\"2023-24\")\n\nprint(financial_year.month_start_date(1)) # Output: 01-04-2023\n\nprint(financial_year.month_end_date(1)) # Output: 30-04-\n\nprint(financial_year.previous_month_dates(month=1)) # return two date like :: (datetime.date(2023, 12, 1), datetime.date(2023, 12, 31))\n\nprint(financial_year.month_list()) # Output: ['04-2023', '05-2023', '06-2023', ..., '03-2024']\n\nprint(date_to_finyear(date='2022-10-2')) # output : 2022-23\n\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "It Calculate financial year related dates",
"version": "1.3",
"project_urls": {
"Homepage": "https://github.com/piidus/FinancialYear"
},
"split_keywords": [
"financial year",
" fin year"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "434d7b08989ddec690219f262af501ac5bac324360639f847ea99a4199a8f59b",
"md5": "b5ad7fe89691349972864724d1f72990",
"sha256": "36bbbbad90ab6bac64dddcefac24c10ac446b8513cc67b19fad35151d2f108b2"
},
"downloads": -1,
"filename": "financialyear-1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b5ad7fe89691349972864724d1f72990",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4783,
"upload_time": "2024-03-24T11:51:16",
"upload_time_iso_8601": "2024-03-24T11:51:16.942456Z",
"url": "https://files.pythonhosted.org/packages/43/4d/7b08989ddec690219f262af501ac5bac324360639f847ea99a4199a8f59b/financialyear-1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "33126ddfd7744e85842b5b2ab98babc48626f47d0619eb0c8f2f6c1fd1090408",
"md5": "a495f780c98f12b290ae11fd75232715",
"sha256": "04686c4775d5942c297b44de9160efe5d96f999e3f440e38ef901b60fe95f014"
},
"downloads": -1,
"filename": "financialyear-1.3.tar.gz",
"has_sig": false,
"md5_digest": "a495f780c98f12b290ae11fd75232715",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3855,
"upload_time": "2024-03-24T11:51:18",
"upload_time_iso_8601": "2024-03-24T11:51:18.486926Z",
"url": "https://files.pythonhosted.org/packages/33/12/6ddfd7744e85842b5b2ab98babc48626f47d0619eb0c8f2f6c1fd1090408/financialyear-1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-24 11:51:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "piidus",
"github_project": "FinancialYear",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "financialyear"
}