Skip to main content

A collections for tools helping wikipedia editing

Project description

WikiTools

Travis Build

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wiki-tools-1.0.10.tar.gz (13.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page