Skip to content

Commit

Permalink
Bump version to 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jedymatt committed Sep 26, 2021
1 parent 99bbf0e commit ad550d3
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 43 deletions.
3 changes: 2 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ python:
install:
- method: pip
path: .
- requirements: docs/requirements.txt
extra_requirements:
- docs
2 changes: 0 additions & 2 deletions docs/requirements.txt

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ Validators

.. autofunction:: sqlalchemyseed.validator.validate


.. autofunction:: sqlalchemyseed.validator.hybrid_validate


Expand Down
29 changes: 2 additions & 27 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
Welcome to sqlalchemyseed's documentation!
==========================================

|pypi| |versions| |license| |build-status| |code-quality| |coverage|
.. seealso::

Project links: `Github`_ | `PyPI`_
Project Links: `Github`_ | `PyPI`_

.. _Github: https://github.com/jedymatt/sqlalchemyseed
.. _PyPI: https://pypi.org/project/sqlalchemyseed
Expand All @@ -27,28 +27,3 @@ Indices and tables
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`


.. |pypi| image:: https://img.shields.io/pypi/v/sqlalchemyseed
:alt: PyPI
:target: https://pypi.org/project/sqlalchemyseed/

.. |versions| image:: https://img.shields.io/pypi/pyversions/sqlalchemyseed
:alt: PyPI - Python Version
:target: https://pypi.org/project/sqlalchemyseed/

.. |license| image:: https://img.shields.io/pypi/l/sqlalchemyseed
:alt: PyPI - License
:target: https://github.com/jedymatt/sqlalchemyseed/blob/main/LICENSE

.. |build-status| image:: https://app.travis-ci.com/jedymatt/sqlalchemyseed.svg?branch=main
:target: https://app.travis-ci.com/jedymatt/sqlalchemyseed

.. |code-quality| image:: https://api.codeclimate.com/v1/badges/2ca97c98929b614658ea/maintainability
:target: https://codeclimate.com/github/jedymatt/sqlalchemyseed/maintainability
:alt: Maintainability


.. |coverage| image:: https://codecov.io/gh/jedymatt/sqlalchemyseed/branch/main/graph/badge.svg?token=W03MFZ2FAG
:target: https://codecov.io/gh/jedymatt/sqlalchemyseed

14 changes: 7 additions & 7 deletions docs/source/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Introduction
`sqlalchemyseed`_ is a SQLAlchemy seeder that supports nested relationships
with an easy to read text files.

Supported file types.
Supported file types :

- json
- yaml
Expand All @@ -17,32 +17,32 @@ Installation

Default installation

.. code-block:: console
.. code-block:: shell
pip install sqlalchemyseed
When using yaml to load entities from yaml files,
execute this command to install necessary dependencies

.. code-block:: console
.. code-block:: shell
pip install sqlalchemyseed[yaml]
Dependencies
------------

Required dependencies
Required dependencies:

- SQAlchemy>=1.4.0

Optional dependencies
Optional dependencies:

- yaml

- PyYAML>=5.4.0

Getting Started
---------------
Quickstart
----------

Here's a simple snippet to get started from ``main.py`` file.

Expand Down
4 changes: 2 additions & 2 deletions docs/source/relationships.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Relationships
=============
Referencing Relationships
==========================

To add reference attribute,
add prefix to the attribute to differentiate reference attribute from normal ones.
Expand Down
8 changes: 6 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ classifiers =
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
project_urls =
project_urls =
Documentation = https://sqlalchemyseed.readthedocs.io/
Source = https://github.com/jedymatt/sqlalchemyseed
Tracker = https://github.com/jedymatt/sqlalchemyseed/issues
keywords = sqlalchemy, orm, seed, seeder, json, yaml
Expand All @@ -33,4 +34,7 @@ where = src

[options.extras_require]
yaml =
PyYAML>=5.4
PyYAML>=5.4
docs =
sphinx-rtd-theme>=1.0
sphinx>=4.2
2 changes: 1 addition & 1 deletion src/sqlalchemyseed/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from .loader import load_entities_from_csv


__version__ = "1.0.3"
__version__ = "1.0.4"

if __name__ == '__main__':
pass

0 comments on commit ad550d3

Please sign in to comment.