Metadata-Version: 2.1
Name: bitsmiths-mettle
Version: 2.1.7
Summary: a 3-tier systems code generator that targets serveral databases and languages
Home-page: https://bitbucket.org/bitsmiths_za/mettle.git
Author: Nicolas Milicevic, Steven van Niekerk, Darrly Daniels
Author-email: nicolas@bitsmiths.co.za, steven@bitsmiths.co.za, darryl@bitsmiths.co.za
License: MIT
Project-URL: Source, https://bitbucket.org/bitsmiths_za/mettle.git
Keywords: generators,libraries
Platform: unix
Platform: linux
Platform: osx
Platform: cygwin
Platform: win32
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Code Generators
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Provides-Extra: postgresql_async
Provides-Extra: sqlite_async
Provides-Extra: sqlalchemy
License-File: LICENCE

# Mettle #

Bitsmiths-Mettle is the supporting code generators and python libraries for the Mettle project.

See our <a href="https://bitbucket.org/bitsmiths_za/mettle.git">repo</a> and main *README* for more details!


## Requirements ##

Python 3.7+


## Installation ##

```console
$ pip install bitsmiths-mettle

---> 100%
```

## Change History ##


### 2.1.7 ###

| Type   | Description |
| ----   | ----------- |
| Change | Code generation improved to typescript database structs. These will now generate '|undefined' for null columns. You can also mark braze columsn as null, and the generation will do the same for those. |

### 2.1.6 ###

| Type | Description |
| ---- | ----------- |
| Bug  | Added the `dist` build option back into the angular makefile generator. |


### 2.1.5 ###

| Type | Description |
| ---- | ----------- |
| Bug  | Fixed the braze type script generator to take the casing int account when generatating the marshaller code. |
| Bug  | Fixed the python braze code generator to include all required table imports if multiple tables are used in a braze struct. |


### 2.1.4 ###

| Type | Description |
| ---- | ----------- |
| Bug  | Fixed an issue where some of the python IO serializers were not properly handling None types for JSON fields. |
| Bug  | Fixed the python braze code generator to use None instead of the base type for list types. |


### 2.1.3 ###

| Type | Description |
| ---- | ----------- |
| Bug  | Fixed a problem where the python HTTP reader by was calling the wrong method when reading an error message. |
| Bug  | The python code generation now defaults date types to None instead of datetime.min. |
| Bug  | Fixed an issue where psycopg2 would raises errors with wild card string searches and parameters at the same time. Had to escape the %, how lame. |
| Bug  | Fixed a python code generation bug where the delete_one() method in the main dao class was noy using an await. |


### 2.1.2 ###

| Type | Description |
| ---- | ----------- |
| Bug  | All python database drivers now return empty strings instead of None from null columns. |


### 2.1.1 ###

| Type   | Description |
| ------ | ----------- |
| Bug    | Fixed generated python queries without input parameters not generating exec() methods. |
| Change | The `lock()` methods for database connectors now accept a `Stmnt` object, generated code updated to pass this in. |
| Change | The C++ `connect()` that takes arguments has changed to be more generic. |
| New    | Added `psycopg2` connector. |



## License ##

This project is licensed under the terms of the MIT license.


