Skip to main content

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

Release files for wiki-tools 1.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wiki-tools 1.0.10
File Size Uploaded
wiki-tools-1.0.10.tar.gz 13.1 kB Details

Release files / wiki-tools-1.0.10.tar.gz

Download URL wiki-tools-1.0.10.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4401e7fa52c209cabd7c35027b5c4eb1c3b07c4194cd3e2ed86b83a30c14d269
BLAKE2b-256 checksum
How to use checksums
5db40fbb8adf5b23f028cedd280fa13575bb16c6f621f3491ab87d0b9ad82cab
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.10 This release

1 release file

1.0.9

1 release file

1.0.8

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page