A collections for tools helping wikipedia editing
Project description
WikiTools
Description
WikiFiller
WikiFiller generates and fills templates of Wikipedia with ease. It does all the stuff behind the scenes using selenium and other modules so you don't have to.
### WikiFinder WikiFinder finds other isomers of molecular formula based on compound name and directly. Atoms changes is also available for given molecular formula. (It isn't much use of normal wiki editing)
Installation
pip install wiki-tools
python3 setup.py install
Usage
WikiFillder
usage: WikiFiller [-h] [-c | -d] [-n NAME] [-o OUTPUT]
optional arguments:
-h, --help show this help message and exit
-c, --chembox Generates chembox
-d, --drugbox Generates drugbox
-n NAME, --name NAME Enter pubchem compound name from pubchem url
-o OUTPUT, --output OUTPUT
Enter output filename
### WikiFinder ``` usage: WikiFinder [-h] [-m MOLECULAR_FORMULA | -n NAME] [-c [CHANGE ...]] [-o OUTPUT]
optional arguments: -h, --help show this help message and exit -m MOLECULAR_FORMULA, --molecular-formula MOLECULAR_FORMULA Outputs list of chemicals from molecular formula -n NAME, --name NAME Ouputs list of chemicals matching compound molecular formula from name -c [CHANGE ...], --change [CHANGE ...] Enter atom change of compound using spaces. '+' increases atom while '_' decreases. Eg -c '_C1' '+H3' -o OUTPUT, --output OUTPUT Enter output filename
## Example
### WikiFiller
1. Generate and fill chembox template of Ascorbic acid taken from (https://pubchem.ncbi.nlm.nih.gov/compound/Ascorbic-acid). The output is automatically copied to system clipboard
* ```WikiFiller -c -n 'Ascorbic-acid'```
2. Generate and fill drugbox template of Salvinorin A taken from (https://pubchem.ncbi.nlm.nih.gov/compound/Salvinorin-A) and generates output.
* ```WikiFiller -d -n 'Salvinorin-A' -o SalvinorinDraft```
<hr>
### WikiFinder
Later.
## Limitations
1. Might fetch wrong data or sometimes no data.
2. WikiFinder is in developmental stage
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file wiki-tools-1.0.10.tar.gz
.
File metadata
- Download URL: wiki-tools-1.0.10.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.7.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4401e7fa52c209cabd7c35027b5c4eb1c3b07c4194cd3e2ed86b83a30c14d269 |
|
MD5 | 252f371b5270dd1d8607524a9ca3e631 |
|
BLAKE2b-256 | 5db40fbb8adf5b23f028cedd280fa13575bb16c6f621f3491ab87d0b9ad82cab |