diff --git a/stubs/sympy-stubs/assumptions/predicates/__init__.pyi b/stubs/sympy-stubs/assumptions/predicates/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/stubs/sympy-stubs/combinatorics/__init__.pyi b/stubs/sympy-stubs/combinatorics/__init__.pyi new file mode 100644 index 00000000..2d2926d1 --- /dev/null +++ b/stubs/sympy-stubs/combinatorics/__init__.pyi @@ -0,0 +1,77 @@ +from sympy.combinatorics.free_groups import free_group +from sympy.combinatorics.generators import ( + alternating, + cyclic, + dihedral, + symmetric, +) +from sympy.combinatorics.graycode import GrayCode +from sympy.combinatorics.group_constructs import DirectProduct +from sympy.combinatorics.named_groups import ( + AbelianGroup, + AlternatingGroup, + CyclicGroup, + DihedralGroup, + RubikGroup, + SymmetricGroup, +) +from sympy.combinatorics.partitions import ( + IntegerPartition, + Partition, + RGS_enum, + RGS_rank, + RGS_unrank, +) +from sympy.combinatorics.pc_groups import Collector, PolycyclicGroup +from sympy.combinatorics.perm_groups import ( + Coset, + PermutationGroup, + SymmetricPermutationGroup, +) +from sympy.combinatorics.permutations import Cycle, Permutation +from sympy.combinatorics.polyhedron import ( + Polyhedron, + cube, + dodecahedron, + icosahedron, + octahedron, + tetrahedron, +) +from sympy.combinatorics.prufer import Prufer +from sympy.combinatorics.subsets import Subset + +__all__ = [ + "Permutation", + "Cycle", + "Prufer", + "cyclic", + "alternating", + "symmetric", + "dihedral", + "Subset", + "Partition", + "IntegerPartition", + "RGS_rank", + "RGS_unrank", + "RGS_enum", + "Polyhedron", + "tetrahedron", + "cube", + "octahedron", + "dodecahedron", + "icosahedron", + "PermutationGroup", + "Coset", + "SymmetricPermutationGroup", + "DirectProduct", + "GrayCode", + "SymmetricGroup", + "DihedralGroup", + "CyclicGroup", + "AlternatingGroup", + "AbelianGroup", + "RubikGroup", + "PolycyclicGroup", + "Collector", + "free_group", +] diff --git a/stubs/sympy-stubs/crypto/__init__.pyi b/stubs/sympy-stubs/crypto/__init__.pyi new file mode 100644 index 00000000..1cf20da9 --- /dev/null +++ b/stubs/sympy-stubs/crypto/__init__.pyi @@ -0,0 +1,117 @@ +from sympy.crypto.crypto import ( + bg_private_key, + bg_public_key, + bifid5, + bifid5_square, + bifid6, + bifid6_square, + bifid10, + bifid_square, + check_and_join, + cycle_list, + decipher_atbash, + decipher_bg, + decipher_bifid, + decipher_bifid5, + decipher_bifid6, + decipher_elgamal, + decipher_gm, + decipher_hill, + decipher_kid_rsa, + decipher_railfence, + decipher_rot13, + decipher_rsa, + decipher_vigenere, + decode_morse, + dh_private_key, + dh_public_key, + dh_shared_key, + elgamal_private_key, + elgamal_public_key, + encipher_affine, + encipher_atbash, + encipher_bg, + encipher_bifid, + encipher_bifid5, + encipher_bifid6, + encipher_elgamal, + encipher_gm, + encipher_hill, + encipher_kid_rsa, + encipher_railfence, + encipher_rot13, + encipher_rsa, + encipher_shift, + encipher_substitution, + encipher_vigenere, + encode_morse, + gm_private_key, + gm_public_key, + kid_rsa_private_key, + kid_rsa_public_key, + lfsr_autocorrelation, + lfsr_connection_polynomial, + lfsr_sequence, + padded_key, + rsa_private_key, + rsa_public_key, +) + +__all__ = [ + "cycle_list", + "encipher_shift", + "encipher_affine", + "encipher_substitution", + "check_and_join", + "encipher_vigenere", + "decipher_vigenere", + "bifid5_square", + "bifid6_square", + "encipher_hill", + "decipher_hill", + "encipher_bifid5", + "encipher_bifid6", + "decipher_bifid5", + "decipher_bifid6", + "encipher_kid_rsa", + "decipher_kid_rsa", + "kid_rsa_private_key", + "kid_rsa_public_key", + "decipher_rsa", + "rsa_private_key", + "rsa_public_key", + "encipher_rsa", + "lfsr_connection_polynomial", + "lfsr_autocorrelation", + "lfsr_sequence", + "encode_morse", + "decode_morse", + "elgamal_private_key", + "elgamal_public_key", + "decipher_elgamal", + "encipher_elgamal", + "dh_private_key", + "dh_public_key", + "dh_shared_key", + "padded_key", + "encipher_bifid", + "decipher_bifid", + "bifid_square", + "bifid5", + "bifid6", + "bifid10", + "decipher_gm", + "encipher_gm", + "gm_public_key", + "gm_private_key", + "bg_private_key", + "bg_public_key", + "encipher_bg", + "decipher_bg", + "encipher_rot13", + "decipher_rot13", + "encipher_atbash", + "decipher_atbash", + "encipher_railfence", + "decipher_railfence", +] diff --git a/stubs/sympy-stubs/external/__init__.pyi b/stubs/sympy-stubs/external/__init__.pyi new file mode 100644 index 00000000..686155ea --- /dev/null +++ b/stubs/sympy-stubs/external/__init__.pyi @@ -0,0 +1,3 @@ +from sympy.external.importtools import import_module + +__all__ = ["import_module"] diff --git a/stubs/sympy-stubs/functions/combinatorial/__init__.pyi b/stubs/sympy-stubs/functions/combinatorial/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/stubs/sympy-stubs/functions/elementary/__init__.pyi b/stubs/sympy-stubs/functions/elementary/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/stubs/sympy-stubs/functions/special/__init__.pyi b/stubs/sympy-stubs/functions/special/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/stubs/sympy-stubs/liealgebras/__init__.pyi b/stubs/sympy-stubs/liealgebras/__init__.pyi new file mode 100644 index 00000000..5e12a32a --- /dev/null +++ b/stubs/sympy-stubs/liealgebras/__init__.pyi @@ -0,0 +1,3 @@ +from sympy.liealgebras.cartan_type import CartanType + +__all__ = ["CartanType"] diff --git a/stubs/sympy-stubs/logic/algorithms/__init__.pyi b/stubs/sympy-stubs/logic/algorithms/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/stubs/sympy-stubs/polys/agca/__init__.pyi b/stubs/sympy-stubs/polys/agca/__init__.pyi new file mode 100644 index 00000000..310a30da --- /dev/null +++ b/stubs/sympy-stubs/polys/agca/__init__.pyi @@ -0,0 +1,3 @@ +from .homomorphisms import homomorphism + +__all__ = ["homomorphism"] diff --git a/stubs/sympy-stubs/sets/handlers/__init__.pyi b/stubs/sympy-stubs/sets/handlers/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/stubs/sympy-stubs/stats/sampling/__init__.pyi b/stubs/sympy-stubs/stats/sampling/__init__.pyi new file mode 100644 index 00000000..e69de29b diff --git a/stubs/sympy-stubs/tensor/array/expressions/__init__.pyi b/stubs/sympy-stubs/tensor/array/expressions/__init__.pyi new file mode 100644 index 00000000..ae0a9436 --- /dev/null +++ b/stubs/sympy-stubs/tensor/array/expressions/__init__.pyi @@ -0,0 +1,37 @@ +from sympy.tensor.array.expressions.array_expressions import ( + ArrayAdd, + ArrayContraction, + ArrayDiagonal, + ArrayElement, + ArrayElementwiseApplyFunc, + ArraySymbol, + ArrayTensorProduct, + OneArray, + PermuteDims, + Reshape, + ZeroArray, +) +from sympy.tensor.array.expressions.arrayexpr_derivatives import array_derive +from sympy.tensor.array.expressions.from_array_to_indexed import convert_array_to_indexed +from sympy.tensor.array.expressions.from_array_to_matrix import convert_array_to_matrix +from sympy.tensor.array.expressions.from_indexed_to_array import convert_indexed_to_array +from sympy.tensor.array.expressions.from_matrix_to_array import convert_matrix_to_array + +__all__ = [ + "ArraySymbol", + "ArrayElement", + "ZeroArray", + "OneArray", + "ArrayTensorProduct", + "ArrayContraction", + "ArrayDiagonal", + "PermuteDims", + "ArrayAdd", + "ArrayElementwiseApplyFunc", + "Reshape", + "convert_array_to_matrix", + "convert_matrix_to_array", + "convert_array_to_indexed", + "convert_indexed_to_array", + "array_derive", +]