14
0
Commit Graph

7 Commits

Author SHA256 Message Date
a486abbaaf - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mimesis?expand=0&rev=13
2025-06-02 08:58:25 +00:00
Tomáš Chvátal
2d6ae91ab9 Accepting request 790493 from home:pgajdos:python
- version update to 4.0.0
  .. warning:: This release (4.0.0) contains some insignificant but breaking changes in API, please be careful.
  **Added**:
  - Added an alias ``.first_name(*args, **kwargs)`` for the method ``Person().name()``
  - Added an alias ``.sex(*args, **kwargs)`` for the method ``Person().gender()``
  - Added method ``randstr()`` for class ``Random()``
  - Added method ``complexes()`` for the provider ``Numbers()``
  - Added method ``matrix`` for the provider ``Numbers()``
  - Added method ``integer_number()`` for the provider ``Numbers()``
  - Added method ``float_number()`` for the provider ``Numbers()``
  - Added method ``complex_number()`` for the provider ``Numbers()``
  - Added method ``decimal_number()`` for the provider ``Numbers()``
  - Added method ``ip_v4_object()`` and ``ip_v6_object`` for the provider ``Internet()``. Now you can generate IP objects, not just strings.
  - Added new parameter ``port_range`` for method ``ip_v4()``
  - Added new parameter ``separator`` for method ``Cryptographic().mnemonic_phrase()``
  **Fixed**:
  - Fixed issue with invalid email addresses on using custom domains without ``@`` for ``Person().email()``
  **Updated**:
  - Updated names and surnames for locale ``ru``
  - The ``floats()`` function in the ``Numbers`` provider now accepts arguments about the range of the generated float
  numbers and the rounding used. By default, it generates a list of ``n`` float numbers insted of a list of 10^n elements.
  - The argument ``length`` of the function ``integers`` is renamed to ``n``.
  **Removed**:
  - Removed the ``rating()`` method from the ``Numbers`` provider. It can be replaced with ``float_number()``.
  - Removed the ``primes()`` method from the ``Numbers`` provider.
  - Removed the ``digit()`` method from the ``Numbers`` provider. Use ``integer_number()`` instead.
  - Removed the ``between()`` method from the ``Numbers`` provider. Use ``integer_number()`` instead.
  - Removed the ``math_formula()`` method from the ``Science`` provider.
  - Removed ``rounding`` argument from ``floats()``. Now it's ``precision``.

OBS-URL: https://build.opensuse.org/request/show/790493
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mimesis?expand=0&rev=11
2020-04-01 09:54:25 +00:00
Tomáš Chvátal
0289941250 - Skip test test_port as it fails on py3.8+
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mimesis?expand=0&rev=9
2020-03-09 08:58:19 +00:00
Tomáš Chvátal
77556479e8 - Skip test test_cpf_with_666_prefix as it fails with new
mocker behaviour

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mimesis?expand=0&rev=7
2020-01-09 09:05:24 +00:00
Tomáš Chvátal
603d9c7a5c - Update to 3.3.0:
* country() from the Address() provider now by default returns the country name of the current locale.
  * Separated Europe and Asia continents in Italian locale.
  * Removed duplicated names in the countries of et locale.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mimesis?expand=0&rev=5
2019-09-11 11:39:48 +00:00
Tomáš Chvátal
d0da991fe9 Accepting request 710554 from home:pgajdos
- version update to 3.2.0
  **Added**:
  - Added built-in provider DenmarkSpecProvider
  - Added meta classes for providers for internal usage 
    (see `#621 <https://github.com/lk-geimfari/mimesis/issues/621>`_.)
  - Added support for custom templates in ``Person().username()``
  - Added ``ItalianSpecProvider()``
  **Fixed**:
  - Support of seed for custom providers
  - ``currency_iso_code`` from the ``Business()`` provider now by
    default returns the currency code of the current locale.
  **Removed**:
  - Removed ``multiple_choice()`` in the ``random`` module because it
    was unusued and it could be replaced with ``random.choices``.
  - Removed legacy method ``child_count()`` from provider ``Person()``
- run the testsuite

OBS-URL: https://build.opensuse.org/request/show/710554
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mimesis?expand=0&rev=3
2019-06-18 12:16:30 +00:00
Todd R
d77dca04a3 Accepting request 700463 from home:TheBlackCat:branches:devel:languages:python:jupyter
Fake data generator

OBS-URL: https://build.opensuse.org/request/show/700463
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mimesis?expand=0&rev=1
2019-05-03 17:10:54 +00:00