Autofaker

Latest version: v1.0.19

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

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 https://github.com/christianhelle/autofaker/pull/3
* Fixing linting errors by marksmayo in https://github.com/christianhelle/autofaker/pull/4
* Add test cases for nested data classes by christianhelle in https://github.com/christianhelle/autofaker/pull/5
* Add Enum support by christianhelle in https://github.com/christianhelle/autofaker/pull/7
* Tidy-ups by marksmayo in https://github.com/christianhelle/autofaker/pull/9
* Add support for inherited enums by christianhelle in https://github.com/christianhelle/autofaker/pull/12
* Add support for __future__.annotations. by jmpcm in https://github.com/christianhelle/autofaker/pull/13
* fix: ValueError: mutable default <class 'list'> for field x is not alowed: use default_factory by flobz in https://github.com/christianhelle/autofaker/pull/18

Contributors
* christianhelle made their first contribution in https://github.com/christianhelle/autofaker/pull/3
* marksmayo made their first contribution in https://github.com/christianhelle/autofaker/pull/4
* jmpcm made their first contribution in https://github.com/christianhelle/autofaker/pull/13
* flobz made their first contribution in https://github.com/christianhelle/autofaker/pull/18

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 https://github.com/christianhelle/autofaker/pull/3
* Fixing linting errors by marksmayo in https://github.com/christianhelle/autofaker/pull/4
* Add test cases for nested data classes by christianhelle in https://github.com/christianhelle/autofaker/pull/5
* Add Enum support by christianhelle in https://github.com/christianhelle/autofaker/pull/7
* Tidy-ups by marksmayo in https://github.com/christianhelle/autofaker/pull/9
* Add support for inherited enums by christianhelle in https://github.com/christianhelle/autofaker/pull/12
* Add support for __future__.annotations. by jmpcm in https://github.com/christianhelle/autofaker/pull/13

Contributors
* christianhelle made their first contribution in https://github.com/christianhelle/autofaker/pull/3
* marksmayo made their first contribution in https://github.com/christianhelle/autofaker/pull/4
* jmpcm made their first contribution in https://github.com/christianhelle/autofaker/pull/13

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.