Releases: christianhelle/autofaker
Releases · christianhelle/autofaker
v2.0.24
AutoFaker is available from PyPI and should be installed using pip
pip install autofaker==2.0.24
Supported data types
Currently autofaker supports creating anonymous variables for the following data types:
Built-in types:
- int
- float
- str
- complex
- range
- bytes
- bytearray
- tuple
- set
- frozenset
- dict
- decimal.Decimal
- uuid.UUID
- pathlib.Path
Datetime types:
- datetime
- date
- time
- timedelta
Typing generics:
- typing.Tuple[T, ...]
- typing.Set[T]
- typing.FrozenSet[T]
- typing.Dict[K, V]
- typing.Optional[T]
- typing.List[T]
Classes:
- Simple classes
- @DataClass
- Nested classes (and recursion)
- Classes containing lists of other types
- Enum classes
- typing.Literal types
Dataframes:
- Pandas dataframe
What's Changed
- Add support for Python 3.14 by in #63
- Fix bugs and issues in the current code base by @Copilot in #85
- Fix decorators to support no-paranthese usage (@autodata / @fakedata) by @christianhelle in #89
- Fix bugs: Annotation handling, ListGenerator fake data, PRIMITIVE_TYPES completeness, empty DataFrame by in #90
- Add support for tuple, set, frozenset, dict, Decimal, UUID, Path, time, timedelta, and typing generics by in #91
- Fix decorator deprecation warnings, edge case crashes, and code quality issues by in #88
- Drop Python 3.8 and 3.9 support by @christianhelle in #101
- Introduce type-resolution registry then consolidate collections & decorators by @christianhelle in #109
Full Changelog: 1.0.22...2.0.24
v1.0.19
AutoFaker is available from PyPI and should be installed using pip
pip install autofaker==1.0.19
Supported data types
Currently autofaker supports creating anonymous variables for the following data types:
Built-in types:
- int
- float
- str
- complex
- range
- bytes
- bytearray
Datetime types:
- datetime
- date
Classes:
- Simple classes
- @DataClass
- Nested classes (and recursion)
- Classes containing lists of other types
- Enum classes
Dataframes:
- Pandas dataframe
What's Changed
- Add support for using AutoFaker Decorators with pytest by @christianhelle in #3
- Fixing linting errors by @marksmayo in #4
- Add test cases for nested data classes by @christianhelle in #5
- Add Enum support by @christianhelle in #7
- Tidy-ups by @marksmayo in #9
- Add support for inherited enums by @christianhelle in #12
- Add support for future.annotations. by @jmpcm in #13
- fix: ValueError: mutable default <class 'list'> for field x is not alowed: use default_factory by @flobz in #18
Contributors
- @christianhelle made their first contribution in #3
- @marksmayo made their first contribution in #4
- @jmpcm made their first contribution in #13
- @flobz made their first contribution in #18
v1.0.18
AutoFaker is available from PyPI and should be installed using pip
pip install autofaker==1.0.18
Supported data types
Currently autofaker supports creating anonymous variables for the following data types:
Built-in types:
- int
- float
- str
- complex
- range
- bytes
- bytearray
Datetime types:
- datetime
- date
Classes:
- Simple classes
- @DataClass
- Nested classes (and recursion)
- Classes containing lists of other types
- Enum classes
Dataframes:
- Pandas dataframe
What's Changed
- Add support for using AutoFaker Decorators with pytest by @christianhelle in #3
- Fixing linting errors by @marksmayo in #4
- Add test cases for nested data classes by @christianhelle in #5
- Add Enum support by @christianhelle in #7
- Tidy-ups by @marksmayo in #9
- Add support for inherited enums by @christianhelle in #12
- Add support for future.annotations. by @jmpcm in #13
Contributors
- @christianhelle made their first contribution in #3
- @marksmayo made their first contribution in #4
- @jmpcm made their first contribution in #13