跳转到主要内容

SQLAlchemy混合物,用于与Postgres一起使用。

项目描述

CircleCI

mortar_mixins

SQLAlchemy混合物,用于与Postgres 9.2+一起使用。

使用pip从PyPI安装。

开发

克隆git仓库,然后执行以下操作

virtualenv .
bin/pip install -e .[build,test]

sudo -u postgres psql -d postgres -c "create user testuser with password 'testpassword';"
sudo -u postgres createdb -O testuser testdb
sudo -u postgres psql -d testdb -c "CREATE EXTENSION btree_gist;"

export DB_URL=postgres://testuser:testpassword@localhost:5432/testdb
pytest --cov

发布

要发布,只需更新setup.py中的版本并将其推送到https://github.com/Mortar/mortar_mixins,Carthorse将处理其余部分。

项目详情


下载文件

下载适合您平台的应用程序。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分布

mortar_mixins-3.0.0.tar.gz (14.5 kB 查看哈希值)

上传时间:

构建分布

mortar_mixins-3.0.0-py3-none-any.whl (7.5 kB 查看哈希值)

上传时间: Python 3

由以下支持