Skip to content

Basic models for the Computational Molecular Sciences (CMS)

License

Notifications You must be signed in to change notification settings

ccbiozhaw/cmselemental

 
 

Base Models

from cmselemental.models import ProtoModel


class Model(ProtoModel):
    ...

obj = Model(...)
is_same = obj.compare(other_obj)
stringified = obj.json()
data = obj.dict()

Serialization/deserialization

from cmselemental.util import serialize, deserialize


stringified = serialize(data, encodding="json", indent=4)
data = deserialize(stringified, encoding="json")

About

Basic models for the Computational Molecular Sciences (CMS)

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 99.1%
  • Shell 0.9%