Track chemical inventories and produce inventories and door warnings.
Chemdb is a chemical inventory system written in Python using the Django framework. It makes it easy for us to keep track of what we have in the lab. It also generates the required safety information automatically (door warnings and inventories).
# emerge -av app-portage/layman # layman --add wtk # emerge -av dev-python/chemdb
If you’re installing by hand or packaging calibcant for another distribution, you’ll need the following dependencies:
|||In the wtk overlay.|
If you don’t have a Django project and you just want to run chemdb as a stand-alone service, you can use the example project written up in example. Set up the project (once):
$ python example/manage.py syncdb
See the Django documentation for more details.
You may also want to load some example data, to make your initial browsing more interesting:
$ python example/manage.py loaddata example_data
Run the app on your local host (as many times as you like):
$ python example/manage.py runserver
You may need to add the current directory to PYTHONPATH so python can find the chemdb package. If you’re running bash, that will look like:
$ PYTHONPATH=".:$PYTHONPATH" python example/manage.py runserver
This project was largely build following the Django tutorial. That’s a good place to start if you’re new to Django.
You can search CAS Registry numbers at NIST. This is useful for decoding MSDS information.
These are the meanings of the various NFPA warnings:
This project is distributed under the GNU General Public License Version 3 or greater.