Skip to content

a python library convert carbon number (organic chemistry) into its English name

License

Notifications You must be signed in to change notification settings

Tastror/Carbon-Name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Carbon Name

a python library convert carbon number (organic chemistry) into its English name

Usage

example

import carbon_name

print(
    "the name of alkane with 11 carbons is",
    carbon_name.carbon_name(11) + carbon_name.suffix("alkane")
)

output

the name of alkane with 11 carbons is undecane

try to run test.py!

test.py output

support range: 1~9999

About

a python library convert carbon number (organic chemistry) into its English name

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages