This project has been archived by its maintainers, and is no longer receiving any updates.
iconlib (v0.3)
Python module to interact with the Constitution of India data and retrieve articles, details, summaries, and search functionalities.
Installation
You can install it using pip from the repository as:
pip install iconlib
Usage
Iconlib can be used as a Python module to interact with the Constitution of India data.
Python Module Usage
Here are examples of all current features:
>>> from iconlib import IconLib
>>> india = IconLib()
>>> india.preamble()
'We, the people of India, having solemnly resolved to constitute India into a Sovereign, Socialist, Secular, Democratic Republic...'
>>> india.get_article(14)
'Article 14: Equality before law. The State shall not deny to any person equality before the law or the equal protection of the laws within the territory of India.'
>>> india.articles_list()
'Article 14: Equality before law\nArticle 15: Prohibition of discrimination on grounds of religion, race, caste, sex or place of birth\n...'
>>> india.search_keyword('equality')
'Article 14: Equality before law. The State shall not deny to any person equality before the law or the equal protection of the laws within the territory of India.'
>>> india.article_summary(21)
'Article 21: Protection of life and personal liberty. No person shall be deprived of his life or personal liberty except according to procedure established by law.'
>>> india.count_articles()
448
>>> india.search_by_title('Fundamental')
'Article 12: Definition of State\nArticle 13: Laws inconsistent with or in derogation of the fundamental rights\n...'
license
This project is released under the Apache License 2.0.
The Constitution data is compiled from publicly available sources.
constitution_of_india.json
Developer Information
Developer: Vikhram S. Email: vikhrams@saveetha.ac.in
Metadata
Release files for iconlib 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iconlib-0.4.tar.gz | 5.0 kB | Without provenance | Details for iconlib-0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iconlib-0.4-py3-none-any.whl | Python 3 | none | any | Details for iconlib-0.4-py3-none-any.whl |
Total release size: 11.0 kB
Release files / iconlib-0.4.tar.gz
| Download URL | iconlib-0.4.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d587018926a9d27233648331b14fdba005fcb999707d33e662b1341cf0029aa
|
|
BLAKE2b-256 checksum How to use checksums |
2f3ce002a780ac9f551a16da15c93f1f8d90ef349461d94f90a78ef18ac84b4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.9
|
Release files / iconlib-0.4-py3-none-any.whl
| Download URL | iconlib-0.4-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e56b2715fcbb0b922d0cc56906ab352e0844abe2d620ed418ef9f706ef8d66d7
|
|
BLAKE2b-256 checksum How to use checksums |
8c90a9c3caaac0b0f0c5748b73750a2613345ae888f0822ad953128210eb9c87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.9
|
Security for iconlib 0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.