Skip to main content

avogadr-py

Simple avogadr.io batch downloader python script

Installation

avogadr-py is avalaible through Python Package Index (PyPI) using pip:

foo@bar:~$ python3 -m pip install --upgrade avogadr_py

To uninstall using pip:

foo@bar:~$ python3 -m pip uninstall avogadr_py

Command reference

foo@bar:~$ avogadr-py -h
usage: avogadr-py [-h] [-i INPUT] [-o OUTPUT_FOLDER] [-b BACKGROUND] [-f FOREGROUND] [-W WIDTH] [-H HEIGHT] [-n]

options:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        JSON formatted compound list. Defaults to 'compounds.json'.
  -o OUTPUT_FOLDER, --output-folder OUTPUT_FOLDER
                        Folder to output files to. Defaults to 'output/'.
  -b BACKGROUND, --background BACKGROUND
                        Background colour in HEX format. Defaults to '24283b'.
  -f FOREGROUND, --foreground FOREGROUND
                        Foreground colour in HEX format. Defaults to '7aa2f7'.
  -W WIDTH, --width WIDTH
                        Image width in pixels. Defaults to '1920'.
  -H HEIGHT, --height HEIGHT
                        Image height in pixels. Defaults to '1080'.
  -n, --no-include-name
                        Don't include compound names. Defaults to 'False'.

Example

foo@bar:~$ avogadr-py -i compounds.json -W 3840 -H 2160 -o output/2160p/blue -f 7aa2f7

Development

Source code repository is available on GitHub. Feel free to contribute. Bug reports and suggestions are welcome.

License

avogadr-py is licensed under the MIT License.

Acknowledgement

  • I would like to thank Saul Johnson for the amazing avogadr.io website that is used as basis for this script.

Metadata

Release files for avogadr-py 1.0.1

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

Source distribution (sdist)

Source distribution for avogadr-py 1.0.1
File Size Uploaded Provenance Actions
avogadr_py-1.0.1.tar.gz 4.6 kB Without provenance Details for avogadr_py-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for avogadr-py 1.0.1
File Interpreter ABI Platform Actions
avogadr_py-1.0.1-py3-none-any.whl Python 3 none any Details for avogadr_py-1.0.1-py3-none-any.whl

Total release size: 9.1 kB

Release files / avogadr_py-1.0.1.tar.gz

Download URL avogadr_py-1.0.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
57f2d8acf8c22824252ec4d22b9e90eaf496d7b9c559fac04eba0fe2e18eb912
BLAKE2b-256 checksum
How to use checksums
53a14248c07e39318cfe466d21033be01432ad7aebd3d2e7673436adf1bdbd9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

Release files / avogadr_py-1.0.1-py3-none-any.whl

Download URL avogadr_py-1.0.1-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bfe1efee73afbb9ebbdfa60037e095ebaaa265b12be7ce5de8f54ec9dc6cd0c8
BLAKE2b-256 checksum
How to use checksums
de3ef0878755cfc6382ca894b51ec566c1aa6e8016b1d71d7a2c3cbb1541c806
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

Security for avogadr-py 1.0.1

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.

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