sqlalchemyseed 1.0.7__tar.gz → 2.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. {sqlalchemyseed-1.0.7/src/sqlalchemyseed.egg-info → sqlalchemyseed-2.1.0}/PKG-INFO +28 -22
  2. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/README.md +14 -10
  3. sqlalchemyseed-2.1.0/pyproject.toml +54 -0
  4. sqlalchemyseed-2.1.0/setup.cfg +4 -0
  5. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/src/sqlalchemyseed/__init__.py +1 -1
  6. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0/src/sqlalchemyseed.egg-info}/PKG-INFO +28 -22
  7. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/src/sqlalchemyseed.egg-info/SOURCES.txt +0 -2
  8. sqlalchemyseed-2.1.0/src/sqlalchemyseed.egg-info/requires.txt +4 -0
  9. sqlalchemyseed-1.0.7/pyproject.toml +0 -6
  10. sqlalchemyseed-1.0.7/setup.cfg +0 -44
  11. sqlalchemyseed-1.0.7/setup.py +0 -4
  12. sqlalchemyseed-1.0.7/src/sqlalchemyseed.egg-info/requires.txt +0 -4
  13. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/LICENSE +0 -0
  14. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/src/sqlalchemyseed/_future/__init__.py +0 -0
  15. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/src/sqlalchemyseed/_future/seeder.py +0 -0
  16. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/src/sqlalchemyseed/attribute.py +0 -0
  17. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/src/sqlalchemyseed/constants.py +0 -0
  18. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/src/sqlalchemyseed/dynamic_seeder.py +0 -0
  19. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/src/sqlalchemyseed/errors.py +0 -0
  20. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/src/sqlalchemyseed/json.py +0 -0
  21. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/src/sqlalchemyseed/loader.py +0 -0
  22. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/src/sqlalchemyseed/seeder.py +0 -0
  23. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/src/sqlalchemyseed/util.py +0 -0
  24. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/src/sqlalchemyseed/validator.py +0 -0
  25. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/src/sqlalchemyseed.egg-info/dependency_links.txt +0 -0
  26. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/src/sqlalchemyseed.egg-info/top_level.txt +0 -0
  27. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/tests/test_json.py +0 -0
  28. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/tests/test_loader.py +0 -0
  29. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/tests/test_seeder.py +0 -0
  30. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/tests/test_temp_seeder.py +0 -0
  31. {sqlalchemyseed-1.0.7 → sqlalchemyseed-2.1.0}/tests/test_validator.py +0 -0
@@ -1,25 +1,27 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: sqlalchemyseed
3
- Version: 1.0.7
3
+ Version: 2.1.0
4
4
  Summary: SQLAlchemy Seeder
5
- Home-page: https://github.com/jedymatt/sqlalchemyseed
6
- Author: Jedy Matt Tabasco
7
- Author-email: jedymatt@gmail.com
8
- License: MIT
5
+ Author-email: Jedy Matt Tabasco <hello@jedymatt.dev>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/jedymatt/sqlalchemyseed
9
8
  Project-URL: Documentation, https://sqlalchemyseed.readthedocs.io/
10
9
  Project-URL: Source, https://github.com/jedymatt/sqlalchemyseed
11
10
  Project-URL: Tracker, https://github.com/jedymatt/sqlalchemyseed/issues
12
11
  Keywords: sqlalchemy,orm,seed,seeder,json,yaml
13
- Classifier: License :: OSI Approved :: MIT License
14
- Classifier: Programming Language :: Python :: 3.6
15
- Classifier: Programming Language :: Python :: 3.7
16
- Classifier: Programming Language :: Python :: 3.8
17
12
  Classifier: Programming Language :: Python :: 3.9
18
13
  Classifier: Programming Language :: Python :: 3.10
19
- Requires-Python: >=3.6
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: 3.14
18
+ Requires-Python: >=3.9
20
19
  Description-Content-Type: text/markdown
21
- Provides-Extra: yaml
22
20
  License-File: LICENSE
21
+ Requires-Dist: SQLAlchemy>=2.0
22
+ Provides-Extra: yaml
23
+ Requires-Dist: PyYAML>=6.0; extra == "yaml"
24
+ Dynamic: license-file
23
25
 
24
26
  # sqlalchemyseed
25
27
 
@@ -100,34 +102,38 @@ Report here in this link:
100
102
 
101
103
  First, Clone this [repository](https://github.com/jedymatt/sqlalchemyseed).
102
104
 
105
+ This project uses [uv](https://docs.astral.sh/uv/) for dependency management and running tasks.
106
+
103
107
  ### Install dev dependencies
104
108
 
105
- Inside the folder, paste this in the terminal to install necessary dependencies:
109
+ Inside the folder, sync the environment (uv creates the virtualenv and installs the project plus dev dependencies):
106
110
 
107
111
  ```shell
108
- pip install -r requirements.txt -r docs/requirements.txt
112
+ uv sync
109
113
  ```
110
114
 
111
- Note: make sure you have the virtual environment and enabled, or if you are using vs code and docker then you can simply re-open this as container.
112
-
113
115
  ### Run tests
114
116
 
115
- Before running tests, make sure that the package is installed as editable:
117
+ ```shell
118
+ uv run pytest
119
+ ```
120
+
121
+ Run the tests against a specific Python version (uv downloads it if needed):
116
122
 
117
123
  ```shell
118
- python setup.py develop --user
124
+ uv run --python 3.14 pytest
119
125
  ```
120
126
 
121
- Then run the test:
127
+ Run the tests against the lowest supported dependencies (e.g. SQLAlchemy 2.0):
122
128
 
123
129
  ```shell
124
- pytest tests
130
+ uv run --resolution lowest-direct pytest
125
131
  ```
126
132
 
127
- Run test with coverage
133
+ Run tests with coverage:
128
134
 
129
135
  ```shell
130
- coverage run -m pytest
136
+ uv run coverage run -m pytest
131
137
  ```
132
138
 
133
139
  Autobuild documentation
@@ -77,34 +77,38 @@ Report here in this link:
77
77
 
78
78
  First, Clone this [repository](https://github.com/jedymatt/sqlalchemyseed).
79
79
 
80
+ This project uses [uv](https://docs.astral.sh/uv/) for dependency management and running tasks.
81
+
80
82
  ### Install dev dependencies
81
83
 
82
- Inside the folder, paste this in the terminal to install necessary dependencies:
84
+ Inside the folder, sync the environment (uv creates the virtualenv and installs the project plus dev dependencies):
83
85
 
84
86
  ```shell
85
- pip install -r requirements.txt -r docs/requirements.txt
87
+ uv sync
86
88
  ```
87
89
 
88
- Note: make sure you have the virtual environment and enabled, or if you are using vs code and docker then you can simply re-open this as container.
89
-
90
90
  ### Run tests
91
91
 
92
- Before running tests, make sure that the package is installed as editable:
92
+ ```shell
93
+ uv run pytest
94
+ ```
95
+
96
+ Run the tests against a specific Python version (uv downloads it if needed):
93
97
 
94
98
  ```shell
95
- python setup.py develop --user
99
+ uv run --python 3.14 pytest
96
100
  ```
97
101
 
98
- Then run the test:
102
+ Run the tests against the lowest supported dependencies (e.g. SQLAlchemy 2.0):
99
103
 
100
104
  ```shell
101
- pytest tests
105
+ uv run --resolution lowest-direct pytest
102
106
  ```
103
107
 
104
- Run test with coverage
108
+ Run tests with coverage:
105
109
 
106
110
  ```shell
107
- coverage run -m pytest
111
+ uv run coverage run -m pytest
108
112
  ```
109
113
 
110
114
  Autobuild documentation
@@ -0,0 +1,54 @@
1
+ [project]
2
+ name = "sqlalchemyseed"
3
+ description = "SQLAlchemy Seeder"
4
+ readme = "README.md"
5
+ requires-python = ">=3.9"
6
+ license = "MIT"
7
+ license-files = ["LICENSE"]
8
+ authors = [
9
+ { name = "Jedy Matt Tabasco", email = "hello@jedymatt.dev" },
10
+ ]
11
+ keywords = ["sqlalchemy", "orm", "seed", "seeder", "json", "yaml"]
12
+ classifiers = [
13
+ "Programming Language :: Python :: 3.9",
14
+ "Programming Language :: Python :: 3.10",
15
+ "Programming Language :: Python :: 3.11",
16
+ "Programming Language :: Python :: 3.12",
17
+ "Programming Language :: Python :: 3.13",
18
+ "Programming Language :: Python :: 3.14",
19
+ ]
20
+ dependencies = [
21
+ "SQLAlchemy>=2.0",
22
+ ]
23
+ dynamic = ["version"]
24
+
25
+ [project.optional-dependencies]
26
+ yaml = [
27
+ "PyYAML>=6.0",
28
+ ]
29
+
30
+ [project.urls]
31
+ Homepage = "https://github.com/jedymatt/sqlalchemyseed"
32
+ Documentation = "https://sqlalchemyseed.readthedocs.io/"
33
+ Source = "https://github.com/jedymatt/sqlalchemyseed"
34
+ Tracker = "https://github.com/jedymatt/sqlalchemyseed/issues"
35
+
36
+ [dependency-groups]
37
+ dev = [
38
+ "pytest>=7.0",
39
+ "coverage>=6.2",
40
+ "PyYAML>=6.0",
41
+ ]
42
+
43
+ [build-system]
44
+ requires = ["setuptools>=77"]
45
+ build-backend = "setuptools.build_meta"
46
+
47
+ [tool.setuptools.dynamic]
48
+ version = { attr = "sqlalchemyseed.__version__" }
49
+
50
+ [tool.setuptools.packages.find]
51
+ where = ["src"]
52
+
53
+ [tool.uv]
54
+ default-groups = ["dev"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -11,7 +11,7 @@ from . import util
11
11
  from . import attribute
12
12
 
13
13
 
14
- __version__ = "1.0.7"
14
+ __version__ = "2.1.0"
15
15
 
16
16
  if __name__ == '__main__':
17
17
  pass
@@ -1,25 +1,27 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: sqlalchemyseed
3
- Version: 1.0.7
3
+ Version: 2.1.0
4
4
  Summary: SQLAlchemy Seeder
5
- Home-page: https://github.com/jedymatt/sqlalchemyseed
6
- Author: Jedy Matt Tabasco
7
- Author-email: jedymatt@gmail.com
8
- License: MIT
5
+ Author-email: Jedy Matt Tabasco <hello@jedymatt.dev>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/jedymatt/sqlalchemyseed
9
8
  Project-URL: Documentation, https://sqlalchemyseed.readthedocs.io/
10
9
  Project-URL: Source, https://github.com/jedymatt/sqlalchemyseed
11
10
  Project-URL: Tracker, https://github.com/jedymatt/sqlalchemyseed/issues
12
11
  Keywords: sqlalchemy,orm,seed,seeder,json,yaml
13
- Classifier: License :: OSI Approved :: MIT License
14
- Classifier: Programming Language :: Python :: 3.6
15
- Classifier: Programming Language :: Python :: 3.7
16
- Classifier: Programming Language :: Python :: 3.8
17
12
  Classifier: Programming Language :: Python :: 3.9
18
13
  Classifier: Programming Language :: Python :: 3.10
19
- Requires-Python: >=3.6
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: 3.14
18
+ Requires-Python: >=3.9
20
19
  Description-Content-Type: text/markdown
21
- Provides-Extra: yaml
22
20
  License-File: LICENSE
21
+ Requires-Dist: SQLAlchemy>=2.0
22
+ Provides-Extra: yaml
23
+ Requires-Dist: PyYAML>=6.0; extra == "yaml"
24
+ Dynamic: license-file
23
25
 
24
26
  # sqlalchemyseed
25
27
 
@@ -100,34 +102,38 @@ Report here in this link:
100
102
 
101
103
  First, Clone this [repository](https://github.com/jedymatt/sqlalchemyseed).
102
104
 
105
+ This project uses [uv](https://docs.astral.sh/uv/) for dependency management and running tasks.
106
+
103
107
  ### Install dev dependencies
104
108
 
105
- Inside the folder, paste this in the terminal to install necessary dependencies:
109
+ Inside the folder, sync the environment (uv creates the virtualenv and installs the project plus dev dependencies):
106
110
 
107
111
  ```shell
108
- pip install -r requirements.txt -r docs/requirements.txt
112
+ uv sync
109
113
  ```
110
114
 
111
- Note: make sure you have the virtual environment and enabled, or if you are using vs code and docker then you can simply re-open this as container.
112
-
113
115
  ### Run tests
114
116
 
115
- Before running tests, make sure that the package is installed as editable:
117
+ ```shell
118
+ uv run pytest
119
+ ```
120
+
121
+ Run the tests against a specific Python version (uv downloads it if needed):
116
122
 
117
123
  ```shell
118
- python setup.py develop --user
124
+ uv run --python 3.14 pytest
119
125
  ```
120
126
 
121
- Then run the test:
127
+ Run the tests against the lowest supported dependencies (e.g. SQLAlchemy 2.0):
122
128
 
123
129
  ```shell
124
- pytest tests
130
+ uv run --resolution lowest-direct pytest
125
131
  ```
126
132
 
127
- Run test with coverage
133
+ Run tests with coverage:
128
134
 
129
135
  ```shell
130
- coverage run -m pytest
136
+ uv run coverage run -m pytest
131
137
  ```
132
138
 
133
139
  Autobuild documentation
@@ -1,8 +1,6 @@
1
1
  LICENSE
2
2
  README.md
3
3
  pyproject.toml
4
- setup.cfg
5
- setup.py
6
4
  src/sqlalchemyseed/__init__.py
7
5
  src/sqlalchemyseed/attribute.py
8
6
  src/sqlalchemyseed/constants.py
@@ -0,0 +1,4 @@
1
+ SQLAlchemy>=2.0
2
+
3
+ [yaml]
4
+ PyYAML>=6.0
@@ -1,6 +0,0 @@
1
- [build-system]
2
- requires = [
3
- "setuptools>=42",
4
- "wheel"
5
- ]
6
- build-backend = "setuptools.build_meta"
@@ -1,44 +0,0 @@
1
- [metadata]
2
- name = sqlalchemyseed
3
- version = attr: sqlalchemyseed.__version__
4
- description = SQLAlchemy Seeder
5
- long_description = file: README.md
6
- long_description_content_type = text/markdown
7
- url = https://github.com/jedymatt/sqlalchemyseed
8
- author = Jedy Matt Tabasco
9
- author_email = jedymatt@gmail.com
10
- license = MIT
11
- license_files =
12
- LICENSE
13
- classifiers =
14
- License :: OSI Approved :: MIT License
15
- Programming Language :: Python :: 3.6
16
- Programming Language :: Python :: 3.7
17
- Programming Language :: Python :: 3.8
18
- Programming Language :: Python :: 3.9
19
- Programming Language :: Python :: 3.10
20
- project_urls =
21
- Documentation = https://sqlalchemyseed.readthedocs.io/
22
- Source = https://github.com/jedymatt/sqlalchemyseed
23
- Tracker = https://github.com/jedymatt/sqlalchemyseed/issues
24
- keywords = sqlalchemy, orm, seed, seeder, json, yaml
25
-
26
- [options]
27
- packages = find:
28
- package_dir =
29
- =src
30
- install_requires =
31
- SQLAlchemy>=1.4,<2.0
32
- python_requires = >=3.6
33
-
34
- [options.packages.find]
35
- where = src
36
-
37
- [options.extras_require]
38
- yaml =
39
- PyYAML>=5.4
40
-
41
- [egg_info]
42
- tag_build =
43
- tag_date = 0
44
-
@@ -1,4 +0,0 @@
1
- from setuptools import setup
2
-
3
-
4
- setup()
@@ -1,4 +0,0 @@
1
- SQLAlchemy<2.0,>=1.4
2
-
3
- [yaml]
4
- PyYAML>=5.4
File without changes