Skip to content

Commit ad550d3

Browse files
committed
Bump version to 1.0.4
1 parent 99bbf0e commit ad550d3

File tree

8 files changed

+20
-43
lines changed

8 files changed

+20
-43
lines changed

.readthedocs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ python:
2020
install:
2121
- method: pip
2222
path: .
23-
- requirements: docs/requirements.txt
23+
extra_requirements:
24+
- docs

docs/requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

docs/source/api.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ Validators
2727

2828
.. autofunction:: sqlalchemyseed.validator.validate
2929

30-
3130
.. autofunction:: sqlalchemyseed.validator.hybrid_validate
3231

3332

docs/source/index.rst

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
Welcome to sqlalchemyseed's documentation!
77
==========================================
88

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

11-
Project links: `Github`_ | `PyPI`_
11+
Project Links: `Github`_ | `PyPI`_
1212

1313
.. _Github: https://github.com/jedymatt/sqlalchemyseed
1414
.. _PyPI: https://pypi.org/project/sqlalchemyseed
@@ -27,28 +27,3 @@ Indices and tables
2727
* :ref:`genindex`
2828
* :ref:`modindex`
2929
* :ref:`search`
30-
31-
32-
.. |pypi| image:: https://img.shields.io/pypi/v/sqlalchemyseed
33-
:alt: PyPI
34-
:target: https://pypi.org/project/sqlalchemyseed/
35-
36-
.. |versions| image:: https://img.shields.io/pypi/pyversions/sqlalchemyseed
37-
:alt: PyPI - Python Version
38-
:target: https://pypi.org/project/sqlalchemyseed/
39-
40-
.. |license| image:: https://img.shields.io/pypi/l/sqlalchemyseed
41-
:alt: PyPI - License
42-
:target: https://github.com/jedymatt/sqlalchemyseed/blob/main/LICENSE
43-
44-
.. |build-status| image:: https://app.travis-ci.com/jedymatt/sqlalchemyseed.svg?branch=main
45-
:target: https://app.travis-ci.com/jedymatt/sqlalchemyseed
46-
47-
.. |code-quality| image:: https://api.codeclimate.com/v1/badges/2ca97c98929b614658ea/maintainability
48-
:target: https://codeclimate.com/github/jedymatt/sqlalchemyseed/maintainability
49-
:alt: Maintainability
50-
51-
52-
.. |coverage| image:: https://codecov.io/gh/jedymatt/sqlalchemyseed/branch/main/graph/badge.svg?token=W03MFZ2FAG
53-
:target: https://codecov.io/gh/jedymatt/sqlalchemyseed
54-

docs/source/intro.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Introduction
44
`sqlalchemyseed`_ is a SQLAlchemy seeder that supports nested relationships
55
with an easy to read text files.
66

7-
Supported file types.
7+
Supported file types :
88

99
- json
1010
- yaml
@@ -17,32 +17,32 @@ Installation
1717

1818
Default installation
1919

20-
.. code-block:: console
20+
.. code-block:: shell
2121
2222
pip install sqlalchemyseed
2323
2424
When using yaml to load entities from yaml files,
2525
execute this command to install necessary dependencies
2626

27-
.. code-block:: console
27+
.. code-block:: shell
2828
2929
pip install sqlalchemyseed[yaml]
3030
3131
Dependencies
3232
------------
3333

34-
Required dependencies
34+
Required dependencies:
3535

3636
- SQAlchemy>=1.4.0
3737

38-
Optional dependencies
38+
Optional dependencies:
3939

4040
- yaml
4141

4242
- PyYAML>=5.4.0
4343

44-
Getting Started
45-
---------------
44+
Quickstart
45+
----------
4646

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

docs/source/relationships.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Relationships
2-
=============
1+
Referencing Relationships
2+
==========================
33

44
To add reference attribute,
55
add prefix to the attribute to differentiate reference attribute from normal ones.

setup.cfg

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ classifiers =
1515
Programming Language :: Python :: 3.7
1616
Programming Language :: Python :: 3.8
1717
Programming Language :: Python :: 3.9
18-
project_urls =
18+
project_urls =
19+
Documentation = https://sqlalchemyseed.readthedocs.io/
1920
Source = https://github.com/jedymatt/sqlalchemyseed
2021
Tracker = https://github.com/jedymatt/sqlalchemyseed/issues
2122
keywords = sqlalchemy, orm, seed, seeder, json, yaml
@@ -33,4 +34,7 @@ where = src
3334

3435
[options.extras_require]
3536
yaml =
36-
PyYAML>=5.4
37+
PyYAML>=5.4
38+
docs =
39+
sphinx-rtd-theme>=1.0
40+
sphinx>=4.2

src/sqlalchemyseed/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
from .loader import load_entities_from_csv
3030

3131

32-
__version__ = "1.0.3"
32+
__version__ = "1.0.4"
3333

3434
if __name__ == '__main__':
3535
pass

0 commit comments

Comments
 (0)