semvec/pypi-packages huggingface dataset:
mechmat 0.2.4
Python package for the definition of materials used during mechanical engineering calculations
License: MIT license
Keywords: mechmat

=======
mechmat
=======


.. image:: https://img.shields.io/pypi/v/mechmat.svg
        :target: https://pypi.python.org/pypi/mechmat

.. image:: https://img.shields.io/travis/jellespijker/mechmat.svg
        :target: https://travis-ci.org/jellespijker/mechmat

.. image:: https://readthedocs.org/projects/mechmat/badge/?version=latest
        :target: https://mechmat.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status


.. image:: https://pyup.io/repos/github/jellespijker/mechmat/shield.svg
     :target: https://pyup.io/repos/github/jellespijker/mechmat/
     :alt: Updates



Python package for the definition of materials used during mechanical engineering calculations


* Free software: MIT license
* Documentation: https://mechmat.readthedocs.io.


Features
--------

* TODO

Credits
-------
This package makes use of `pint`_ for unit safe calculations.

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
.. _pint: https://github.com/hgrecco/pint


=======
History
=======

0.1.0 (2019-03-29)
------------------

* First release on PyPI.

0.1.4 (2019-05-11)
------------------

* Multiple bug fixes
* Accepts Numpy arrays
* State factor for easy creation of material states
* State can now be set when initializing
* Expanded the base material properties
* Added support for Jupyter Markdown, LaTeX and HTML representation

0.2.0 (2019-05-25)
------------------

* Removed the need for a metaclass
* Observer pattern implemented as Chainable class
* Guarded descriptor added
* Modular materials, allows for mix and match of different models
* Two-domain-Tait-pvt added
* Cross-Arrhenius model added

0.2.1 (2019-05-25)
------------------

* property models, functions and values are cited by source

0.2.2 (2019-05-31)
------------------

* Couple of bug-fixes
* dir shows only user variables
* Interpolated function added (measurement data, can now be used)
* Serialization using dill is now possible
* repr string simplified
* Cross-WLF model added
* Some example materials added: PLA, PLA-TPU, PLA-TPS

0.2.3 (2019-05-31)
------------------

* Added multiple thermal properties

0.2.4 (2019-07-09)
------------------

* Bug fix citations
templateddocs 0.3.4
Generate PDF, MS Word and Excel documents from templates in Django.
License: MIT license
Keywords: templateddocs

===============================
Templated-docs
===============================


.. image:: https://badge.fury.io/py/templated-docs.svg
        :target: https://pypi.python.org/pypi/templateddocs

.. image:: https://img.shields.io/travis/kiawin/templated-docs.svg
        :target: https://travis-ci.org/kiawin/templated-docs

.. image:: https://readthedocs.org/projects/templated-docs/badge/?version=latest
        :target: https://templated-docs.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status

.. image:: https://requires.io/github/kiawin/templated-docs/requirements.svg?branch=master
        :target: https://requires.io/github/kiawin/templated-docs/requirements?branch=master
        :alt: Dependencies

Generate templated documents within Django in any format supported by
LibreOffice: texts, spreadsheets, presentations etc.


* Free software: MIT license
* Documentation: https://templated-docs.readthedocs.io.


Requirements
------------

* Python 2.7 or 3.4+
* Django >= 1.8
* A recent LibreOffice version (>=4.3.0) supporting LibreOfficeKit API.

Example usage
-------------

Create a ``sample.odt`` document (make sure it's in OpenDocument format) and
put it in your Django templates folder. It should look something like this:

.. image:: https://github.com/kiawin/templated-docs/raw/master/docs/document-template.png

Then write a view to generate documents from this template:

    .. code-block:: python

        from templated_docs import fill_template
        from templated_docs.http import FileResponse

        def get_document(request):
            """
            A view to get a document filled with context variables.
            """
            context = {'user': request.user}  # Just an example

            filename = fill_template('sample.odt', context, output_format='pdf')
            visible_filename = 'greeting.pdf'

            return FileResponse(filename, visible_filename)

Navigate to the url your view is connected to, and you'll see a rendered and converted document:

.. image:: https://github.com/kiawin/templated-docs/raw/master/docs/generated-document.png

For more examples, see the ``examples/`` subfolder in the repository. More detailed documentation is available on https://templated-docs.readthedocs.io.

Credits
---------

Templated-docs was written by `Alex Morozov`_.

As the repository is left idle for 2 years, `Sian Lerk Lau`_ has forked and resume the task of updating the module.

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
.. _pylokit: https://github.com/xrmx/pylokit
.. _`Alex Morozov`: http://morozov.ca
.. _`Sian Lerk Lau`: https://github.com/kiawin