genice 4R -f png[shadow:rotatex=2:rotatey=88] > 4R.png
genice-svg
A GenIce plugin to illustrate the structure in SVG (and PNG) format.
version 0.6.1
Requirements
- svgwrite
- genice<2.0
- pillow
- attrdict
- countrings>=0.1.7
- jinja2
Installation from PyPI
% pip install genice_svg
Manual Installation
System-wide installation
% make install
Private installation
Copy the files in genice_svg/formats/ into your local formats/ folder.
Usage
Usage:
% genice CS2 -r 3 3 3 -f svg[rotatex=30:shadow] > CS2.svg
Options:
rotatex=30
rotatey=30
rotatez=30
polygon Draw polygons instead of a ball and stick model.
shadow Draw shadows behind balls.
bg=#f00 Specify the background color.
H=0 Size of the hydrogen atom
O=0.06
HB=0.4
OH=0.5
width=0 (Pixel)
height=0 (Pixel)
Png is a quick alternative for svg. Use png if making svg is too slow.
Usage:
% genice CS2 -r 3 3 3 -f png[shadow:bg=#f00] > CS2.png
Options:
rotatex=30
rotatey=30
rotatez=30
shadow Draw shadows behind balls.
bg=#f00 Specify the background color.
H=0 Size of the hydrogen atom
O=0.06
HB=0.4
OH=0.5
width=0 (Pixel)
height=0 (Pixel)
Test in place
% make test
Metadata
Release files for genice-svg 0.6.1
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 |
|---|---|---|---|---|
| genice_svg-0.6.1.tar.gz | 8.8 kB | Without provenance | Details for genice_svg-0.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| genice_svg-0.6.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for genice_svg-0.6.1-py2.py3-none-any.whl |
Total release size: 20.1 kB
Release files / genice_svg-0.6.1.tar.gz
| Download URL | genice_svg-0.6.1.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c0f3ef3195a7f28a192f1f6b0021e4645eb20c7c62035aa2e383abccabc9691
|
|
BLAKE2b-256 checksum How to use checksums |
f0b396c164bbff0241c83823b0e1f76c149c4b18224ad68042116076a176fb3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5
|
Release files / genice_svg-0.6.1-py2.py3-none-any.whl
| Download URL | genice_svg-0.6.1-py2.py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
aa955c588f64e0fe6e7704123c6508c6a118a09d860669e4a1f44d7852136b4a
|
|
BLAKE2b-256 checksum How to use checksums |
5a70737ec12d49d517b595c538ce5f7b888830382be8edc5a06e2ff2dbcff178
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5
|
Security for genice-svg 0.6.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.