Skip to main content
License information Current library version Supported Python versions

The ctfile package is a Python library that facilitates reading and writing of CTfile formats.

CTfile stands for Chemical Table file which is a family of text-based chemical file formats and is used to describe chemical molecules and reactions.

The ctfile package provides ability to parse various chemical table file formats (CTfile formats), currently molfile and SDfile.

Installation

The ctfile package runs under Python 2.7 and Python 3.4+. Use pip to install.

Install on Linux, Mac OS X

python3 -m pip install ctfile

Install on Windows

py -3 -m pip install ctfile

Quickstart

>>> import ctfile
>>>
>>> with open('path/to/ctfile', 'r') as infile:
>>>     ctf = ctfile.load(infile)
>>>

TODO

  • Add support for version V3000 reading of CTfile formatted files.

  • Add command-line interface.

  • Add ability to convert between V2000 and V3000 syntax.

  • Add proper package documentation.

License

This package is distributed under the BSD license.

Metadata

Release files for ctfile 0.1.12

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

Source distribution (sdist)

Source distribution for ctfile 0.1.12
File Size Uploaded
ctfile-0.1.12.tar.gz 17.1 kB Details

Release files / ctfile-0.1.12.tar.gz

Download URL ctfile-0.1.12.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
84b673deefa48d9324bec060c305d256dbb1fa434eb91ce05f86953d2b0db958
BLAKE2b-256 checksum
How to use checksums
950be22917300e82b382f4bdbb5bf724468870eae602d20fa8527a2302af4586
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.2 pkginfo/1.4.2 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.5

Release history Release notifications | RSS feed

This release

0.1.12 This release

1 release file

0.1.11

1 release file

0.1.10

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.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