-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
68 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
_commit: a7a3421 | ||
_commit: '4910441' | ||
_src_path: https://github.com/orgpedia/template.mahdept2024.git | ||
dept_name: Public Health Department | ||
org_code: mahhea2024 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,68 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "orgpedia-mahhea2024" | ||
version = "0.0.1" | ||
description = "Datapackage containing orders of Public Health Department Government of Maharashtra." | ||
authors = ["Orgpedia Foundation <[email protected]>"] | ||
license = "MIT" | ||
authors = [{ name = "Orgpedia Foundation", email = "[email protected]" }] | ||
requires-python = ">=3.10" | ||
readme = "README.md" | ||
keywords = ["information extraction", "data package", "government data"] | ||
classifiers=[ | ||
'Development Status :: 2 - Pre-Alpha', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Natural Language :: English', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
'Topic :: Scientific/Engineering :: Artificial Intelligence', | ||
'Topic :: Scientific/Engineering :: Information Analysis', | ||
|
||
license = "MIT" | ||
keywords = [ | ||
"information extraction", | ||
"data package", | ||
"government data", | ||
] | ||
classifiers = [ | ||
"Development Status :: 2 - Pre-Alpha", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Topic :: Scientific/Engineering :: Artificial Intelligence", | ||
"Topic :: Scientific/Engineering :: Information Analysis", | ||
] | ||
|
||
packages = [ { include = "orgpedia_mahhea2024", from = "export" } ] | ||
include = [ "export/orgpedia_mahhea2024/*" ] | ||
|
||
[tool.poetry.urls] | ||
"homepage" = "https://www.orgpedia.in/" | ||
"repository" = "https://github.com/orgpedia/mahhea2024" | ||
[project.urls] | ||
homepage = "https://www.orgpedia.in/" | ||
repository = "https://github.com/orgpedia/mahhea2024" | ||
"data issues" = "https://github.com/orgpedia/mahhea2024/discussions" | ||
|
||
[tool.poetry.dependencies] | ||
python = ">3.8.1 <4.0" | ||
|
||
# this is a datapackage should not have any dependency as we are publishing data | ||
# dependencies for running the flow are in group.dev.dependencies | ||
[dependency-groups] | ||
dev = [ | ||
"pdfplumber>=0.9.0,<0.10", | ||
"requests>=2.31.0,<3", | ||
"pytesseract>=0.3.10,<0.4", | ||
"docint", | ||
"ruff>=0.2.2,<0.3", | ||
"pre-commit>=2.21.0,<3", | ||
"translateindic", | ||
"orgpedia", | ||
] | ||
|
||
[tool.uv.sources] | ||
docint = { git = "https://github.com/mukundesh/docInt.git" } | ||
translateindic = { git = "https://github.com/orgpedia/translateIndic" } | ||
orgpedia = { git = "https://github.com/orgpedia/orgpedia.git" } | ||
|
||
[tool.poetry.group.dev] | ||
optional = true | ||
[tool.hatch.build.targets.sdist] | ||
include = [ | ||
"export/orgpedia_mahhea2024", | ||
"export/orgpedia_mahhea2024/*", | ||
] | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
pdfplumber = "^0.9.0" | ||
requests = "^2.31.0" | ||
pytesseract = "^0.3.10" | ||
[tool.hatch.build.targets.wheel] | ||
include = [ | ||
"export/orgpedia_mahhea2024", | ||
"export/orgpedia_mahhea2024/*", | ||
] | ||
|
||
docint = {git = "https://github.com/mukundesh/docInt.git"} | ||
ruff = "^0.2.2" | ||
pre-commit = "^2.21.0" | ||
translateindic = {git = "https://github.com/orgpedia/translateIndic"} | ||
orgpedia = {git = "https://github.com/orgpedia/orgpedia.git"} | ||
[tool.hatch.build.targets.wheel.sources] | ||
"export/orgpedia_mahhea2024" = "orgpedia_mahhea2024" | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.ruff] | ||
# Enable Pyflakes `E` and `F` codes by default. | ||
|
@@ -62,6 +72,7 @@ lint.ignore = [] | |
# Allow autofix for all enabled rules (when `--fix`) is provided. | ||
lint.fixable = ["I001"] # fix only isort issues | ||
lint.unfixable = [] | ||
lint.per-file-ignores = {} | ||
|
||
# Exclude a variety of commonly ignored directories. | ||
exclude = [ | ||
|
@@ -87,13 +98,11 @@ exclude = [ | |
"page_images", | ||
"html", | ||
] | ||
lint.per-file-ignores = {} | ||
|
||
# Same as Black. | ||
line-length = 100 | ||
|
||
# Allow unused variables when underscore-prefixed. | ||
#dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" | ||
|
||
# Assume Python 3.8 | ||
target-version = "py38" | ||
target-version = "py310" |