%global _empty_manifest_terminate_build 0 Name: python-Fortuna Version: 5.1.1 Release: 1 Summary: High Performance Random Value Toolkit License: Free for non-commercial use URL: https://github.com/BrokenShell/Fortuna Source0: https://mirrors.nju.edu.cn/pypi/web/packages/15/83/c3a2f3564376ef877b98e52a174e5d269d5b08a06076ab226818baaf2ee6/Fortuna-5.1.1.tar.gz BuildArch: noarch Requires: python3-MonkeyScope %description ### Table of Contents: - Numeric Limits - `Storm::Metrics` - Random Value Classes - `RandomValue(Iterable) -> Callable -> Value` - `TruffleShuffle(Iterable) -> Callable -> Value` - `QuantumMonty(Iterable) -> Callable -> Value` - `CumulativeWeightedChoice(Iterable[Tuple[int, Any]]) -> Callable -> Value` - `RelativeWeightedChoice(Iterable[Tuple[int, Any]]) -> Callable -> Value` - `FlexCat(Dict[str, Iterable[Any]]) -> Callable -> Value` - Random Value Functions - `random_value(data: Sequence[Any]) -> Any` - `cumulative_weighted_choice(Sequence[Tuple[int, Any]]) -> Any` - `truffle_shuffle(data: Iterable[Any]) -> Callable -> Any` - Random Integer Functions - `random_below(Integer) -> Integer` - `random_int(Integer, Integer) -> Integer` - `random_range(Integer, Integer, Integer) -> Integer` - `d(Integer) -> Integer` - `dice(Integer, Integer) -> Integer` - `plus_or_minus(Integer) -> Integer` - `plus_or_minus_linear(Integer) -> Integer` - `plus_or_minus_gauss(Integer) -> Integer` - `binomial_variate(Integer, Float) -> Integer` - `negative_binomial_variate(Integer, Float) -> Integer` - `geometric_variate(Float) -> Integer` - `poisson_variate(Float) -> Integer` - Random Index Functions - ZeroCool Specification: `f(N) -> [0, N)` or `f(-N) -> [-N, 0)` - `random_index(Integer) -> Integer` - `front_gauss(Integer) -> Integer` - `middle_gauss(Integer) -> Integer` - `back_gauss(Integer) -> Integer` - `quantum_gauss(Integer) -> Integer` - `front_poisson(Integer) -> Integer` - `middle_poisson(Integer) -> Integer` - `back_poisson(Integer) -> Integer` - `quantum_poisson(Integer) -> Integer` - `front_linear(Integer) -> Integer` - `middle_linear(Integer) -> Integer` - `back_linear(Integer) -> Integer` - `quantum_linear(Integer) -> Integer` - `quantum_monty(Integer) -> Integer` - Random Float Functions - `canonical() -> Float` - `random_float(Float, Float) -> Float` - `triangular(Float, Float, Float) -> Float` - `normal_variate(Float, Float) -> Float` - `lognormal_variate(Float, Float) -> Float` - `exponential_variate(Float) -> Float` - `gamma_variate(Float, Float) -> Float` - `weibull_variate(Float, Float) -> Float` - `extreme_value_variate(Float, Float) -> Float` - `chi_squared_variate(Float) -> Float` - `cauchy_variate(Float, Float) -> Float` - `fisher_f_variate(Float, Float) -> Float` - `student_t_variate(Float) -> Float` - `beta_variate(Float, Float) -> Float` - `pareto_variate(Float) -> Float` - `vonmises_variate(Float, Float) -> Float` - Random Boolean Functions - `percent_true(Float) -> Boolean` - `bernoulli_variate(Float) -> Boolean` - Inplace Shuffle Algorithms - `shuffle(List[Any]) -> None` - `knuth_a(List[Any]) -> None` - `fisher_yates(List[Any]) -> None` - Utilities - `seed(int) -> None` - `sample(population: Sequence, k: int) -> List` - `flatten(Object, *args, Boolean, **kwargs) -> Object` - `smart_clamp(Integer, Integer, Integer) -> Integer` - `float_clamp(Float, Float, Float) -> Float` - `distribution_range(Callable, Integer, Integer) -> Callable` - `max_unit() -> Unsigned Integer` - `min_int() -> Integer` - `max_int() -> Integer` - `min_float() -> Float` - `max_float() -> Float` - `min_below() -> Float` - `min_above() -> Float` - Development Log - Test Suite Output - Legal Information #### Numeric Limits: - Unsigned Integer: 64 bit unsigned integer. - Range: 0-18446744073709551615, approximately 18.4 billion-billion - Integer: 64 bit signed integer. - Range: ±9223372036854775807, approximately ±9.2 billion-billion - Float: 64 bit floating point. - Range: ±1.7976931348623157e+308 %package -n python3-Fortuna Summary: High Performance Random Value Toolkit Provides: python-Fortuna BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-Fortuna ### Table of Contents: - Numeric Limits - `Storm::Metrics` - Random Value Classes - `RandomValue(Iterable) -> Callable -> Value` - `TruffleShuffle(Iterable) -> Callable -> Value` - `QuantumMonty(Iterable) -> Callable -> Value` - `CumulativeWeightedChoice(Iterable[Tuple[int, Any]]) -> Callable -> Value` - `RelativeWeightedChoice(Iterable[Tuple[int, Any]]) -> Callable -> Value` - `FlexCat(Dict[str, Iterable[Any]]) -> Callable -> Value` - Random Value Functions - `random_value(data: Sequence[Any]) -> Any` - `cumulative_weighted_choice(Sequence[Tuple[int, Any]]) -> Any` - `truffle_shuffle(data: Iterable[Any]) -> Callable -> Any` - Random Integer Functions - `random_below(Integer) -> Integer` - `random_int(Integer, Integer) -> Integer` - `random_range(Integer, Integer, Integer) -> Integer` - `d(Integer) -> Integer` - `dice(Integer, Integer) -> Integer` - `plus_or_minus(Integer) -> Integer` - `plus_or_minus_linear(Integer) -> Integer` - `plus_or_minus_gauss(Integer) -> Integer` - `binomial_variate(Integer, Float) -> Integer` - `negative_binomial_variate(Integer, Float) -> Integer` - `geometric_variate(Float) -> Integer` - `poisson_variate(Float) -> Integer` - Random Index Functions - ZeroCool Specification: `f(N) -> [0, N)` or `f(-N) -> [-N, 0)` - `random_index(Integer) -> Integer` - `front_gauss(Integer) -> Integer` - `middle_gauss(Integer) -> Integer` - `back_gauss(Integer) -> Integer` - `quantum_gauss(Integer) -> Integer` - `front_poisson(Integer) -> Integer` - `middle_poisson(Integer) -> Integer` - `back_poisson(Integer) -> Integer` - `quantum_poisson(Integer) -> Integer` - `front_linear(Integer) -> Integer` - `middle_linear(Integer) -> Integer` - `back_linear(Integer) -> Integer` - `quantum_linear(Integer) -> Integer` - `quantum_monty(Integer) -> Integer` - Random Float Functions - `canonical() -> Float` - `random_float(Float, Float) -> Float` - `triangular(Float, Float, Float) -> Float` - `normal_variate(Float, Float) -> Float` - `lognormal_variate(Float, Float) -> Float` - `exponential_variate(Float) -> Float` - `gamma_variate(Float, Float) -> Float` - `weibull_variate(Float, Float) -> Float` - `extreme_value_variate(Float, Float) -> Float` - `chi_squared_variate(Float) -> Float` - `cauchy_variate(Float, Float) -> Float` - `fisher_f_variate(Float, Float) -> Float` - `student_t_variate(Float) -> Float` - `beta_variate(Float, Float) -> Float` - `pareto_variate(Float) -> Float` - `vonmises_variate(Float, Float) -> Float` - Random Boolean Functions - `percent_true(Float) -> Boolean` - `bernoulli_variate(Float) -> Boolean` - Inplace Shuffle Algorithms - `shuffle(List[Any]) -> None` - `knuth_a(List[Any]) -> None` - `fisher_yates(List[Any]) -> None` - Utilities - `seed(int) -> None` - `sample(population: Sequence, k: int) -> List` - `flatten(Object, *args, Boolean, **kwargs) -> Object` - `smart_clamp(Integer, Integer, Integer) -> Integer` - `float_clamp(Float, Float, Float) -> Float` - `distribution_range(Callable, Integer, Integer) -> Callable` - `max_unit() -> Unsigned Integer` - `min_int() -> Integer` - `max_int() -> Integer` - `min_float() -> Float` - `max_float() -> Float` - `min_below() -> Float` - `min_above() -> Float` - Development Log - Test Suite Output - Legal Information #### Numeric Limits: - Unsigned Integer: 64 bit unsigned integer. - Range: 0-18446744073709551615, approximately 18.4 billion-billion - Integer: 64 bit signed integer. - Range: ±9223372036854775807, approximately ±9.2 billion-billion - Float: 64 bit floating point. - Range: ±1.7976931348623157e+308 %package help Summary: Development documents and examples for Fortuna Provides: python3-Fortuna-doc %description help ### Table of Contents: - Numeric Limits - `Storm::Metrics` - Random Value Classes - `RandomValue(Iterable) -> Callable -> Value` - `TruffleShuffle(Iterable) -> Callable -> Value` - `QuantumMonty(Iterable) -> Callable -> Value` - `CumulativeWeightedChoice(Iterable[Tuple[int, Any]]) -> Callable -> Value` - `RelativeWeightedChoice(Iterable[Tuple[int, Any]]) -> Callable -> Value` - `FlexCat(Dict[str, Iterable[Any]]) -> Callable -> Value` - Random Value Functions - `random_value(data: Sequence[Any]) -> Any` - `cumulative_weighted_choice(Sequence[Tuple[int, Any]]) -> Any` - `truffle_shuffle(data: Iterable[Any]) -> Callable -> Any` - Random Integer Functions - `random_below(Integer) -> Integer` - `random_int(Integer, Integer) -> Integer` - `random_range(Integer, Integer, Integer) -> Integer` - `d(Integer) -> Integer` - `dice(Integer, Integer) -> Integer` - `plus_or_minus(Integer) -> Integer` - `plus_or_minus_linear(Integer) -> Integer` - `plus_or_minus_gauss(Integer) -> Integer` - `binomial_variate(Integer, Float) -> Integer` - `negative_binomial_variate(Integer, Float) -> Integer` - `geometric_variate(Float) -> Integer` - `poisson_variate(Float) -> Integer` - Random Index Functions - ZeroCool Specification: `f(N) -> [0, N)` or `f(-N) -> [-N, 0)` - `random_index(Integer) -> Integer` - `front_gauss(Integer) -> Integer` - `middle_gauss(Integer) -> Integer` - `back_gauss(Integer) -> Integer` - `quantum_gauss(Integer) -> Integer` - `front_poisson(Integer) -> Integer` - `middle_poisson(Integer) -> Integer` - `back_poisson(Integer) -> Integer` - `quantum_poisson(Integer) -> Integer` - `front_linear(Integer) -> Integer` - `middle_linear(Integer) -> Integer` - `back_linear(Integer) -> Integer` - `quantum_linear(Integer) -> Integer` - `quantum_monty(Integer) -> Integer` - Random Float Functions - `canonical() -> Float` - `random_float(Float, Float) -> Float` - `triangular(Float, Float, Float) -> Float` - `normal_variate(Float, Float) -> Float` - `lognormal_variate(Float, Float) -> Float` - `exponential_variate(Float) -> Float` - `gamma_variate(Float, Float) -> Float` - `weibull_variate(Float, Float) -> Float` - `extreme_value_variate(Float, Float) -> Float` - `chi_squared_variate(Float) -> Float` - `cauchy_variate(Float, Float) -> Float` - `fisher_f_variate(Float, Float) -> Float` - `student_t_variate(Float) -> Float` - `beta_variate(Float, Float) -> Float` - `pareto_variate(Float) -> Float` - `vonmises_variate(Float, Float) -> Float` - Random Boolean Functions - `percent_true(Float) -> Boolean` - `bernoulli_variate(Float) -> Boolean` - Inplace Shuffle Algorithms - `shuffle(List[Any]) -> None` - `knuth_a(List[Any]) -> None` - `fisher_yates(List[Any]) -> None` - Utilities - `seed(int) -> None` - `sample(population: Sequence, k: int) -> List` - `flatten(Object, *args, Boolean, **kwargs) -> Object` - `smart_clamp(Integer, Integer, Integer) -> Integer` - `float_clamp(Float, Float, Float) -> Float` - `distribution_range(Callable, Integer, Integer) -> Callable` - `max_unit() -> Unsigned Integer` - `min_int() -> Integer` - `max_int() -> Integer` - `min_float() -> Float` - `max_float() -> Float` - `min_below() -> Float` - `min_above() -> Float` - Development Log - Test Suite Output - Legal Information #### Numeric Limits: - Unsigned Integer: 64 bit unsigned integer. - Range: 0-18446744073709551615, approximately 18.4 billion-billion - Integer: 64 bit signed integer. - Range: ±9223372036854775807, approximately ±9.2 billion-billion - Float: 64 bit floating point. - Range: ±1.7976931348623157e+308 %prep %autosetup -n Fortuna-5.1.1 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-Fortuna -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Sun Apr 23 2023 Python_Bot - 5.1.1-1 - Package Spec generated