content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
module foo_fixed\n contains\n subroutine bar12(a)\n!f2py intent(out) a\n integer a\n a = 12\n end subroutine bar12\n end module foo_fixed\n
.venv\Lib\site-packages\numpy\f2py\tests\src\mixed\foo_fixed.f90
foo_fixed.f90
Other
187
0.7
0
0
node-utils
112
2025-03-15T15:25:26.004860
MIT
true
e7cd34c634c4a3c9c37453e4a8ddb83f
module foo_free\ncontains\n subroutine bar13(a)\n !f2py intent(out) a\n integer a\n a = 13\n end subroutine bar13\nend module foo_free\n
.venv\Lib\site-packages\numpy\f2py\tests\src\mixed\foo_free.f90
foo_free.f90
Other
147
0.7
0
0
node-utils
330
2025-05-25T23:53:02.789128
GPL-3.0
true
e119f7f020b4c125f9b80810b46f6237
module mod\n integer :: i\n integer :: x(4)\n real, dimension(2,3) :: a\n real, allocatable, dimension(:,:) :: b\ncontains\n subroutine foo\n integer :: k\n k = 1\n a(1,2) = a(1,2)+3\n end subroutine foo\nend module mod\n
.venv\Lib\site-packages\numpy\f2py\tests\src\modules\module_data_docstring.f90
module_data_docstring.f90
Other
236
0.7
0
0
react-lib
60
2024-03-12T19:43:48.324568
BSD-3-Clause
true
a9874dcbf66a6c0e00d96486671f3262
module mathops\n implicit none\ncontains\n function add(a, b) result(c)\n integer, intent(in) :: a, b\n integer :: c\n c = a + b\n end function add\nend module mathops\n\nmodule useops\n use mathops, only: add\n implicit none\ncontains\n function sum_and_double(a, b) result(d)\n integer, intent(in) :: a, b\n integer :: d\n d = 2 * add(a, b)\n end function sum_and_double\nend module useops\n
.venv\Lib\site-packages\numpy\f2py\tests\src\modules\use_modules.f90
use_modules.f90
Other
418
0.85
0.2
0
react-lib
486
2024-02-19T11:31:15.427332
Apache-2.0
true
b8e104ee76f89d468b355118d1a761e2
module data\n real(8) :: shift\ncontains\n subroutine set_shift(in_shift)\n real(8), intent(in) :: in_shift\n shift = in_shift\n end subroutine set_shift\nend module data\n
.venv\Lib\site-packages\numpy\f2py\tests\src\modules\gh25337\data.f90
data.f90
Other
188
0.7
0
0
vue-tools
599
2023-10-15T19:29:04.690058
BSD-3-Clause
true
cd91f8907792b069c955b811df4b45c4
subroutine shift_a(dim_a, a)\n use data, only: shift\n integer, intent(in) :: dim_a\n real(8), intent(inout), dimension(dim_a) :: a\n a = a + shift\nend subroutine shift_a\n
.venv\Lib\site-packages\numpy\f2py\tests\src\modules\gh25337\use_data.f90
use_data.f90
Other
185
0.7
0
0
node-utils
537
2024-03-12T03:01:41.773156
BSD-3-Clause
true
9d008372699d1823e7f9e6dc542c0b34
module mod2\n implicit none\n private mod2_func1\n contains\n\n subroutine mod2_func1()\n print*, "mod2_func1"\n end subroutine mod2_func1\n\n end module mod2\n\n module mod1\n implicit none\n private :: mod1_func1\n contains\n\n subroutine mod1_func1()\n print*, "mod1_func1"\n end subroutine mod1_func1\n\n end module mod1\n
.venv\Lib\site-packages\numpy\f2py\tests\src\modules\gh26920\two_mods_with_no_public_entities.f90
two_mods_with_no_public_entities.f90
Other
423
0.7
0
0
node-utils
864
2024-03-29T04:27:14.698073
Apache-2.0
true
6dd64c5c240e586010a98da3b9d6e45f
module mod2\n implicit none\n PUBLIC :: mod2_func1\n contains\n\n subroutine mod2_func1()\n print*, "mod2_func1"\n end subroutine mod2_func1\n\n end module mod2\n\n module mod1\n implicit none\n PUBLIC :: mod1_func1\n contains\n\n subroutine mod1_func1()\n print*, "mod1_func1"\n end subroutine mod1_func1\n\n end module mod1\n
.venv\Lib\site-packages\numpy\f2py\tests\src\modules\gh26920\two_mods_with_one_public_routine.f90
two_mods_with_one_public_routine.f90
Other
424
0.7
0
0
node-utils
383
2024-09-24T21:25:12.540817
BSD-3-Clause
true
1803f811026e5d9699fbcf7754a1da09
subroutine foo(is_, ie_, arr, tout)\n implicit none\n integer :: is_,ie_\n real, intent(in) :: arr(is_:ie_)\n real, intent(out) :: tout(is_:ie_)\n tout = arr\nend\n
.venv\Lib\site-packages\numpy\f2py\tests\src\negative_bounds\issue_20853.f90
issue_20853.f90
Other
164
0.7
0
0
vue-tools
327
2025-03-18T22:38:07.867707
BSD-3-Clause
true
2ed3e40f6b9f3207561af9d7eaab0bf2
! Check that parameter arrays are correctly intercepted.\nsubroutine foo_array(x, y, z)\n implicit none\n integer, parameter :: dp = selected_real_kind(15)\n integer, parameter :: pa = 2\n integer, parameter :: intparamarray(2) = (/ 3, 5 /)\n integer, dimension(pa), parameter :: pb = (/ 2, 10 /)\n integer, parameter, dimension(intparamarray(1)) :: pc = (/ 2, 10, 20 /)\n real(dp), parameter :: doubleparamarray(3) = (/ 3.14_dp, 4._dp, 6.44_dp /)\n real(dp), intent(inout) :: x(intparamarray(1))\n real(dp), intent(inout) :: y(intparamarray(2))\n real(dp), intent(out) :: z\n\n x = x/pb(2)\n y = y*pc(2)\n z = doubleparamarray(1)*doubleparamarray(2) + doubleparamarray(3)\n\n return\nend subroutine\n\nsubroutine foo_array_any_index(x, y)\n implicit none\n integer, parameter :: dp = selected_real_kind(15)\n integer, parameter, dimension(-1:1) :: myparamarray = (/ 6, 3, 1 /)\n integer, parameter, dimension(2) :: nested = (/ 2, 0 /)\n integer, parameter :: dim = 2\n real(dp), intent(in) :: x(myparamarray(-1))\n real(dp), intent(out) :: y(nested(1), myparamarray(nested(dim)))\n\n y = reshape(x, (/nested(1), myparamarray(nested(2))/))\n\n return\nend subroutine\n\nsubroutine foo_array_delims(x)\n implicit none\n integer, parameter :: dp = selected_real_kind(15)\n integer, parameter, dimension(2) :: myparamarray = (/ (6), 1 /)\n integer, parameter, dimension(3) :: test = (/2, 1, (3)/)\n real(dp), intent(out) :: x\n\n x = myparamarray(1)+test(3)\n\n return\nend subroutine\n
.venv\Lib\site-packages\numpy\f2py\tests\src\parameter\constant_array.f90
constant_array.f90
Other
1,513
0.7
0
0
react-lib
585
2024-01-26T12:29:04.000422
MIT
true
af2437ebc457fe18e2bf05c0876b0a3a
! Check that parameters are correct intercepted.\n! Constants with comma separations are commonly\n! used, for instance Pi = 3._dp\nsubroutine foo(x)\n implicit none\n integer, parameter :: sp = selected_real_kind(6)\n integer, parameter :: dp = selected_real_kind(15)\n integer, parameter :: ii = selected_int_kind(9)\n integer, parameter :: il = selected_int_kind(18)\n real(dp), intent(inout) :: x\n dimension x(3)\n real(sp), parameter :: three_s = 3._sp\n real(dp), parameter :: three_d = 3._dp\n integer(ii), parameter :: three_i = 3_ii\n integer(il), parameter :: three_l = 3_il\n x(1) = x(1) + x(2) * three_s * three_i + x(3) * three_d * three_l\n x(2) = x(2) * three_s\n x(3) = x(3) * three_l\n return\nend subroutine\n\n\nsubroutine foo_no(x)\n implicit none\n integer, parameter :: sp = selected_real_kind(6)\n integer, parameter :: dp = selected_real_kind(15)\n integer, parameter :: ii = selected_int_kind(9)\n integer, parameter :: il = selected_int_kind(18)\n real(dp), intent(inout) :: x\n dimension x(3)\n real(sp), parameter :: three_s = 3.\n real(dp), parameter :: three_d = 3.\n integer(ii), parameter :: three_i = 3\n integer(il), parameter :: three_l = 3\n x(1) = x(1) + x(2) * three_s * three_i + x(3) * three_d * three_l\n x(2) = x(2) * three_s\n x(3) = x(3) * three_l\n return\nend subroutine\n\nsubroutine foo_sum(x)\n implicit none\n integer, parameter :: sp = selected_real_kind(6)\n integer, parameter :: dp = selected_real_kind(15)\n integer, parameter :: ii = selected_int_kind(9)\n integer, parameter :: il = selected_int_kind(18)\n real(dp), intent(inout) :: x\n dimension x(3)\n real(sp), parameter :: three_s = 2._sp + 1._sp\n real(dp), parameter :: three_d = 1._dp + 2._dp\n integer(ii), parameter :: three_i = 2_ii + 1_ii\n integer(il), parameter :: three_l = 1_il + 2_il\n x(1) = x(1) + x(2) * three_s * three_i + x(3) * three_d * three_l\n x(2) = x(2) * three_s\n x(3) = x(3) * three_l\n return\nend subroutine\n
.venv\Lib\site-packages\numpy\f2py\tests\src\parameter\constant_both.f90
constant_both.f90
Other
1,996
0.7
0.017544
0
awesome-app
389
2023-12-09T15:46:36.982857
Apache-2.0
true
95c5b24a5386300090a0875ebca6f441
! Check that parameters are correct intercepted.\n! Constants with comma separations are commonly\n! used, for instance Pi = 3._dp\nsubroutine foo_compound_int(x)\n implicit none\n integer, parameter :: ii = selected_int_kind(9)\n integer(ii), intent(inout) :: x\n dimension x(3)\n integer(ii), parameter :: three = 3_ii\n integer(ii), parameter :: two = 2_ii\n integer(ii), parameter :: six = three * 1_ii * two\n\n x(1) = x(1) + x(2) + x(3) * six\n return\nend subroutine\n
.venv\Lib\site-packages\numpy\f2py\tests\src\parameter\constant_compound.f90
constant_compound.f90
Other
484
0.7
0.066667
0
vue-tools
411
2023-07-31T06:47:35.696419
Apache-2.0
true
4ae6fb50b60c2932a301ed58266dcce6
! Check that parameters are correct intercepted.\n! Constants with comma separations are commonly\n! used, for instance Pi = 3._dp\nsubroutine foo_int(x)\n implicit none\n integer, parameter :: ii = selected_int_kind(9)\n integer(ii), intent(inout) :: x\n dimension x(3)\n integer(ii), parameter :: three = 3_ii\n x(1) = x(1) + x(2) + x(3) * three\n return\nend subroutine\n\nsubroutine foo_long(x)\n implicit none\n integer, parameter :: ii = selected_int_kind(18)\n integer(ii), intent(inout) :: x\n dimension x(3)\n integer(ii), parameter :: three = 3_ii\n x(1) = x(1) + x(2) + x(3) * three\n return\nend subroutine\n
.venv\Lib\site-packages\numpy\f2py\tests\src\parameter\constant_integer.f90
constant_integer.f90
Other
634
0.7
0.045455
0
node-utils
961
2024-09-02T10:00:37.130728
GPL-3.0
true
3a8accb69335b6b7f60b20ffc2f36467
! Check that parameters are correct intercepted.\n! Specifically that types of constants without \n! compound kind specs are correctly inferred\n! adapted Gibbs iteration code from pymc \n! for this test case \nsubroutine foo_non_compound_int(x)\n implicit none\n integer, parameter :: ii = selected_int_kind(9)\n\n integer(ii) maxiterates\n parameter (maxiterates=2)\n\n integer(ii) maxseries\n parameter (maxseries=2)\n\n integer(ii) wasize\n parameter (wasize=maxiterates*maxseries)\n integer(ii), intent(inout) :: x\n dimension x(wasize)\n\n x(1) = x(1) + x(2) + x(3) + x(4) * wasize\n return\nend subroutine\n
.venv\Lib\site-packages\numpy\f2py\tests\src\parameter\constant_non_compound.f90
constant_non_compound.f90
Other
632
0.7
0.043478
0
react-lib
189
2025-04-23T17:00:39.195965
BSD-3-Clause
true
e206e26df39eb112da14f37635436b0f
! Check that parameters are correct intercepted.\n! Constants with comma separations are commonly\n! used, for instance Pi = 3._dp\nsubroutine foo_single(x)\n implicit none\n integer, parameter :: rp = selected_real_kind(6)\n real(rp), intent(inout) :: x\n dimension x(3)\n real(rp), parameter :: three = 3._rp\n x(1) = x(1) + x(2) + x(3) * three\n return\nend subroutine\n\nsubroutine foo_double(x)\n implicit none\n integer, parameter :: rp = selected_real_kind(15)\n real(rp), intent(inout) :: x\n dimension x(3)\n real(rp), parameter :: three = 3._rp\n x(1) = x(1) + x(2) + x(3) * three\n return\nend subroutine\n\n
.venv\Lib\site-packages\numpy\f2py\tests\src\parameter\constant_real.f90
constant_real.f90
Other
633
0.7
0.043478
0
vue-tools
793
2024-09-01T06:10:52.295537
BSD-3-Clause
true
addeb488799c40c3b75725661bed9df8
SUBROUTINE FOO(OUT1, OUT2, OUT3, OUT4, OUT5, OUT6)\n CHARACTER SINGLE, DOUBLE, SEMICOL, EXCLA, OPENPAR, CLOSEPAR\n PARAMETER (SINGLE="'", DOUBLE='"', SEMICOL=';', EXCLA="!",\n 1 OPENPAR="(", CLOSEPAR=")")\n CHARACTER OUT1, OUT2, OUT3, OUT4, OUT5, OUT6\nCf2py intent(out) OUT1, OUT2, OUT3, OUT4, OUT5, OUT6\n OUT1 = SINGLE\n OUT2 = DOUBLE\n OUT3 = SEMICOL\n OUT4 = EXCLA\n OUT5 = OPENPAR\n OUT6 = CLOSEPAR\n RETURN\n END\n
.venv\Lib\site-packages\numpy\f2py\tests\src\quoted_character\foo.f
foo.f
Other
496
0.7
0
0
node-utils
707
2023-07-27T08:57:49.132255
Apache-2.0
true
13bce852e27bd7f3fd985eccbd8d9f0e
real(8) b, n, m\n
.venv\Lib\site-packages\numpy\f2py\tests\src\regression\AB.inc
AB.inc
Other
17
0.5
0
0
react-lib
39
2024-10-01T20:13:58.182338
MIT
true
8c44ccde801365fb2e2ab7652db7ace7
MODULE MOD_TYPES\n INTEGER, PARAMETER :: SP = SELECTED_REAL_KIND(6, 37)\n INTEGER, PARAMETER :: DP = SELECTED_REAL_KIND(15, 307)\n END MODULE\n!\n MODULE F_GLOBALS\n USE MOD_TYPES\n IMPLICIT NONE\n INTEGER, PARAMETER :: N_MAX = 16\n INTEGER, PARAMETER :: I_MAX = 18\n INTEGER, PARAMETER :: J_MAX = 72\n REAL(SP) :: XREF\n END MODULE F_GLOBALS\n!\n SUBROUTINE DUMMY ()\n!\n USE F_GLOBALS\n USE MOD_TYPES\n IMPLICIT NONE\n!\n REAL(SP) :: MINIMAL\n MINIMAL = 0.01*XREF\n RETURN\n!\n END SUBROUTINE DUMMY\n
.venv\Lib\site-packages\numpy\f2py\tests\src\regression\assignOnlyModule.f90
assignOnlyModule.f90
Other
633
0.7
0
0
react-lib
700
2024-02-21T14:23:43.222287
Apache-2.0
true
cd6442b5bc7551308b1cb992ff8794db
module datonly\n implicit none\n integer, parameter :: max_value = 100\n real, dimension(:), allocatable :: data_array\nend module datonly\n\nmodule dat\n implicit none\n integer, parameter :: max_= 1009\nend module dat\n\nsubroutine simple_subroutine(ain, aout)\n use dat, only: max_\n integer, intent(in) :: ain\n integer, intent(out) :: aout\n aout = ain + max_\nend subroutine simple_subroutine\n
.venv\Lib\site-packages\numpy\f2py\tests\src\regression\datonly.f90
datonly.f90
Other
409
0.7
0
0
react-lib
633
2024-09-12T15:37:22.659238
BSD-3-Clause
true
9834211b09e3445294d57bb05993086c
SUBROUTINE TESTSUB(\n & INPUT1, INPUT2, !Input\n & OUTPUT1, OUTPUT2) !Output\n\n IMPLICIT NONE\n INTEGER, INTENT(IN) :: INPUT1, INPUT2\n INTEGER, INTENT(OUT) :: OUTPUT1, OUTPUT2\n\n OUTPUT1 = INPUT1 + INPUT2\n OUTPUT2 = INPUT1 * INPUT2\n\n RETURN\n END SUBROUTINE TESTSUB\n\n SUBROUTINE TESTSUB2(OUTPUT)\n IMPLICIT NONE\n INTEGER, PARAMETER :: N = 10 ! Array dimension\n REAL, INTENT(OUT) :: OUTPUT(N)\n INTEGER :: I\n\n DO I = 1, N\n OUTPUT(I) = I * 2.0\n END DO\n\n RETURN\n END\n
.venv\Lib\site-packages\numpy\f2py\tests\src\regression\f77comments.f
f77comments.f
Other
652
0.7
0
0
awesome-app
719
2025-04-29T23:26:03.247101
Apache-2.0
true
ca53d94f5fefc9aabd665d7d9e6e39fe
C This is an invalid file, but it does compile with -ffixed-form\n subroutine mwe(\n & x)\n real x\n end subroutine mwe\n
.venv\Lib\site-packages\numpy\f2py\tests\src\regression\f77fixedform.f95
f77fixedform.f95
Other
144
0.7
0
0
awesome-app
198
2023-09-25T19:07:20.257839
GPL-3.0
true
cc4fd3172104d50711080919f98c5412
SUBROUTINE TESTSUB(INPUT1, & ! Hello\n! commenty\nINPUT2, OUTPUT1, OUTPUT2) ! more comments\n INTEGER, INTENT(IN) :: INPUT1, INPUT2\n INTEGER, INTENT(OUT) :: OUTPUT1, OUTPUT2\n OUTPUT1 = INPUT1 + &\n INPUT2\n OUTPUT2 = INPUT1 * INPUT2\nEND SUBROUTINE TESTSUB\n
.venv\Lib\site-packages\numpy\f2py\tests\src\regression\f90continuation.f90
f90continuation.f90
Other
285
0.7
0
0
react-lib
508
2024-07-03T11:00:08.733499
GPL-3.0
true
5263496a757a27c7f50f309dd7cacc14
function add(n,m) result(b)\n implicit none\n include 'AB.inc'\n b = n + m\nend function add\n
.venv\Lib\site-packages\numpy\f2py\tests\src\regression\incfile.f90
incfile.f90
Other
97
0.65
0.4
0
vue-tools
677
2025-02-22T18:22:03.995790
MIT
true
8d90a0786f13e625036e08a35ab244a5
! Check that intent(in out) translates as intent(inout).\n! The separation seems to be a common usage.\n subroutine foo(x)\n implicit none\n real(4), intent(in out) :: x\n dimension x(3)\n x(1) = x(1) + x(2) + x(3)\n return\n end\n
.venv\Lib\site-packages\numpy\f2py\tests\src\regression\inout.f90
inout.f90
Other
286
0.7
0
0
vue-tools
73
2024-12-13T17:45:07.215275
MIT
true
29a137d8e197c940baaac5fbeb38bc30
subroutine inquire_next(IU)\n IMPLICIT NONE\n integer :: IU\n !f2py intent(in) IU\nend subroutine\n
.venv\Lib\site-packages\numpy\f2py\tests\src\regression\lower_f2py_fortran.f90
lower_f2py_fortran.f90
Other
105
0.7
0
0
node-utils
760
2023-10-29T03:43:09.976213
MIT
true
6e96a8ba47ab164eba55bc381f44ab75
module mtypes\n implicit none\n integer, parameter :: value1 = 100\n type :: master_data\n integer :: idat = 200\n end type master_data\n type(master_data) :: masterdata\nend module mtypes\n\n\nsubroutine no_type_subroutine(ain, aout)\n use mtypes, only: value1\n integer, intent(in) :: ain\n integer, intent(out) :: aout\n aout = ain + value1\nend subroutine no_type_subroutine\n\nsubroutine type_subroutine(ain, aout)\n use mtypes, only: masterdata\n integer, intent(in) :: ain\n integer, intent(out) :: aout\n aout = ain + masterdata%idat\nend subroutine type_subroutine
.venv\Lib\site-packages\numpy\f2py\tests\src\regression\mod_derived_types.f90
mod_derived_types.f90
Other
589
0.7
0
0
python-kit
259
2024-04-06T13:27:56.570647
GPL-3.0
true
2567b2e83845139efffc628e8d520aec
function t0(value)\n character value\n character t0\n t0 = value\n end\n function t1(value)\n character*1 value\n character*1 t1\n t1 = value\n end\n function t5(value)\n character*5 value\n character*5 t5\n t5 = value\n end\n function ts(value)\n character*(*) value\n character*(*) ts\n ts = value\n end\n\n subroutine s0(t0,value)\n character value\n character t0\ncf2py intent(out) t0\n t0 = value\n end\n subroutine s1(t1,value)\n character*1 value\n character*1 t1\ncf2py intent(out) t1\n t1 = value\n end\n subroutine s5(t5,value)\n character*5 value\n character*5 t5\ncf2py intent(out) t5\n t5 = value\n end\n subroutine ss(ts,value)\n character*(*) value\n character*10 ts\ncf2py intent(out) ts\n ts = value\n end\n
.venv\Lib\site-packages\numpy\f2py\tests\src\return_character\foo77.f
foo77.f
Other
1,025
0.85
0.088889
0
python-kit
49
2024-01-20T12:39:53.217218
MIT
true
9a88237e54de5c609f912a0e679b3a9e
module f90_return_char\n contains\n function t0(value)\n character :: value\n character :: t0\n t0 = value\n end function t0\n function t1(value)\n character(len=1) :: value\n character(len=1) :: t1\n t1 = value\n end function t1\n function t5(value)\n character(len=5) :: value\n character(len=5) :: t5\n t5 = value\n end function t5\n function ts(value)\n character(len=*) :: value\n character(len=10) :: ts\n ts = value\n end function ts\n\n subroutine s0(t0,value)\n character :: value\n character :: t0\n!f2py intent(out) t0\n t0 = value\n end subroutine s0\n subroutine s1(t1,value)\n character(len=1) :: value\n character(len=1) :: t1\n!f2py intent(out) t1\n t1 = value\n end subroutine s1\n subroutine s5(t5,value)\n character(len=5) :: value\n character(len=5) :: t5\n!f2py intent(out) t5\n t5 = value\n end subroutine s5\n subroutine ss(ts,value)\n character(len=*) :: value\n character(len=10) :: ts\n!f2py intent(out) ts\n ts = value\n end subroutine ss\nend module f90_return_char\n
.venv\Lib\site-packages\numpy\f2py\tests\src\return_character\foo90.f90
foo90.f90
Other
1,296
0.85
0.166667
0
vue-tools
968
2024-12-07T20:25:53.374008
BSD-3-Clause
true
59c21d16fbffe0f2f1ff7992dfe789ea
function t0(value)\n complex value\n complex t0\n t0 = value\n end\n function t8(value)\n complex*8 value\n complex*8 t8\n t8 = value\n end\n function t16(value)\n complex*16 value\n complex*16 t16\n t16 = value\n end\n function td(value)\n double complex value\n double complex td\n td = value\n end\n\n subroutine s0(t0,value)\n complex value\n complex t0\ncf2py intent(out) t0\n t0 = value\n end\n subroutine s8(t8,value)\n complex*8 value\n complex*8 t8\ncf2py intent(out) t8\n t8 = value\n end\n subroutine s16(t16,value)\n complex*16 value\n complex*16 t16\ncf2py intent(out) t16\n t16 = value\n end\n subroutine sd(td,value)\n double complex value\n double complex td\ncf2py intent(out) td\n td = value\n end\n
.venv\Lib\site-packages\numpy\f2py\tests\src\return_complex\foo77.f
foo77.f
Other
1,018
0.85
0.088889
0
python-kit
437
2023-12-19T07:52:34.110317
MIT
true
8720b53899483aa27835aab0984f74e5
module f90_return_complex\n contains\n function t0(value)\n complex :: value\n complex :: t0\n t0 = value\n end function t0\n function t8(value)\n complex(kind=4) :: value\n complex(kind=4) :: t8\n t8 = value\n end function t8\n function t16(value)\n complex(kind=8) :: value\n complex(kind=8) :: t16\n t16 = value\n end function t16\n function td(value)\n double complex :: value\n double complex :: td\n td = value\n end function td\n\n subroutine s0(t0,value)\n complex :: value\n complex :: t0\n!f2py intent(out) t0\n t0 = value\n end subroutine s0\n subroutine s8(t8,value)\n complex(kind=4) :: value\n complex(kind=4) :: t8\n!f2py intent(out) t8\n t8 = value\n end subroutine s8\n subroutine s16(t16,value)\n complex(kind=8) :: value\n complex(kind=8) :: t16\n!f2py intent(out) t16\n t16 = value\n end subroutine s16\n subroutine sd(td,value)\n double complex :: value\n double complex :: td\n!f2py intent(out) td\n td = value\n end subroutine sd\nend module f90_return_complex\n
.venv\Lib\site-packages\numpy\f2py\tests\src\return_complex\foo90.f90
foo90.f90
Other
1,286
0.85
0.166667
0
python-kit
105
2024-01-26T12:28:38.966104
BSD-3-Clause
true
b29403bb3b8bbadc26c84873f7e0e7c0
function t0(value)\n integer value\n integer t0\n t0 = value\n end\n function t1(value)\n integer*1 value\n integer*1 t1\n t1 = value\n end\n function t2(value)\n integer*2 value\n integer*2 t2\n t2 = value\n end\n function t4(value)\n integer*4 value\n integer*4 t4\n t4 = value\n end\n function t8(value)\n integer*8 value\n integer*8 t8\n t8 = value\n end\n\n subroutine s0(t0,value)\n integer value\n integer t0\ncf2py intent(out) t0\n t0 = value\n end\n subroutine s1(t1,value)\n integer*1 value\n integer*1 t1\ncf2py intent(out) t1\n t1 = value\n end\n subroutine s2(t2,value)\n integer*2 value\n integer*2 t2\ncf2py intent(out) t2\n t2 = value\n end\n subroutine s4(t4,value)\n integer*4 value\n integer*4 t4\ncf2py intent(out) t4\n t4 = value\n end\n subroutine s8(t8,value)\n integer*8 value\n integer*8 t8\ncf2py intent(out) t8\n t8 = value\n end\n
.venv\Lib\site-packages\numpy\f2py\tests\src\return_integer\foo77.f
foo77.f
Other
1,234
0.85
0.089286
0
node-utils
557
2023-07-21T06:38:35.040818
Apache-2.0
true
2b54deb28013ce2478618b3ff8a5c216
module f90_return_integer\n contains\n function t0(value)\n integer :: value\n integer :: t0\n t0 = value\n end function t0\n function t1(value)\n integer(kind=1) :: value\n integer(kind=1) :: t1\n t1 = value\n end function t1\n function t2(value)\n integer(kind=2) :: value\n integer(kind=2) :: t2\n t2 = value\n end function t2\n function t4(value)\n integer(kind=4) :: value\n integer(kind=4) :: t4\n t4 = value\n end function t4\n function t8(value)\n integer(kind=8) :: value\n integer(kind=8) :: t8\n t8 = value\n end function t8\n\n subroutine s0(t0,value)\n integer :: value\n integer :: t0\n!f2py intent(out) t0\n t0 = value\n end subroutine s0\n subroutine s1(t1,value)\n integer(kind=1) :: value\n integer(kind=1) :: t1\n!f2py intent(out) t1\n t1 = value\n end subroutine s1\n subroutine s2(t2,value)\n integer(kind=2) :: value\n integer(kind=2) :: t2\n!f2py intent(out) t2\n t2 = value\n end subroutine s2\n subroutine s4(t4,value)\n integer(kind=4) :: value\n integer(kind=4) :: t4\n!f2py intent(out) t4\n t4 = value\n end subroutine s4\n subroutine s8(t8,value)\n integer(kind=8) :: value\n integer(kind=8) :: t8\n!f2py intent(out) t8\n t8 = value\n end subroutine s8\nend module f90_return_integer\n
.venv\Lib\site-packages\numpy\f2py\tests\src\return_integer\foo90.f90
foo90.f90
Other
1,590
0.85
0.169492
0
vue-tools
518
2025-06-04T03:02:10.392675
BSD-3-Clause
true
a2e7bedf7b8ee80665acf75488aa2a4e
function t0(value)\n logical value\n logical t0\n t0 = value\n end\n function t1(value)\n logical*1 value\n logical*1 t1\n t1 = value\n end\n function t2(value)\n logical*2 value\n logical*2 t2\n t2 = value\n end\n function t4(value)\n logical*4 value\n logical*4 t4\n t4 = value\n end\nc function t8(value)\nc logical*8 value\nc logical*8 t8\nc t8 = value\nc end\n\n subroutine s0(t0,value)\n logical value\n logical t0\ncf2py intent(out) t0\n t0 = value\n end\n subroutine s1(t1,value)\n logical*1 value\n logical*1 t1\ncf2py intent(out) t1\n t1 = value\n end\n subroutine s2(t2,value)\n logical*2 value\n logical*2 t2\ncf2py intent(out) t2\n t2 = value\n end\n subroutine s4(t4,value)\n logical*4 value\n logical*4 t4\ncf2py intent(out) t4\n t4 = value\n end\nc subroutine s8(t8,value)\nc logical*8 value\nc logical*8 t8\ncf2py intent(out) t8\nc t8 = value\nc end\n
.venv\Lib\site-packages\numpy\f2py\tests\src\return_logical\foo77.f
foo77.f
Other
1,244
0.85
0.089286
0
react-lib
702
2024-05-16T21:47:09.170958
MIT
true
503c599f4541a90e57ba121ef23e673e
module f90_return_logical\n contains\n function t0(value)\n logical :: value\n logical :: t0\n t0 = value\n end function t0\n function t1(value)\n logical(kind=1) :: value\n logical(kind=1) :: t1\n t1 = value\n end function t1\n function t2(value)\n logical(kind=2) :: value\n logical(kind=2) :: t2\n t2 = value\n end function t2\n function t4(value)\n logical(kind=4) :: value\n logical(kind=4) :: t4\n t4 = value\n end function t4\n function t8(value)\n logical(kind=8) :: value\n logical(kind=8) :: t8\n t8 = value\n end function t8\n\n subroutine s0(t0,value)\n logical :: value\n logical :: t0\n!f2py intent(out) t0\n t0 = value\n end subroutine s0\n subroutine s1(t1,value)\n logical(kind=1) :: value\n logical(kind=1) :: t1\n!f2py intent(out) t1\n t1 = value\n end subroutine s1\n subroutine s2(t2,value)\n logical(kind=2) :: value\n logical(kind=2) :: t2\n!f2py intent(out) t2\n t2 = value\n end subroutine s2\n subroutine s4(t4,value)\n logical(kind=4) :: value\n logical(kind=4) :: t4\n!f2py intent(out) t4\n t4 = value\n end subroutine s4\n subroutine s8(t8,value)\n logical(kind=8) :: value\n logical(kind=8) :: t8\n!f2py intent(out) t8\n t8 = value\n end subroutine s8\nend module f90_return_logical\n
.venv\Lib\site-packages\numpy\f2py\tests\src\return_logical\foo90.f90
foo90.f90
Other
1,590
0.85
0.169492
0
vue-tools
970
2023-08-13T04:13:44.664737
Apache-2.0
true
6f4142810755a5c37dbe9b6afbdd3d97
function t0(value)\n real value\n real t0\n t0 = value\n end\n function t4(value)\n real*4 value\n real*4 t4\n t4 = value\n end\n function t8(value)\n real*8 value\n real*8 t8\n t8 = value\n end\n function td(value)\n double precision value\n double precision td\n td = value\n end\n\n subroutine s0(t0,value)\n real value\n real t0\ncf2py intent(out) t0\n t0 = value\n end\n subroutine s4(t4,value)\n real*4 value\n real*4 t4\ncf2py intent(out) t4\n t4 = value\n end\n subroutine s8(t8,value)\n real*8 value\n real*8 t8\ncf2py intent(out) t8\n t8 = value\n end\n subroutine sd(td,value)\n double precision value\n double precision td\ncf2py intent(out) td\n td = value\n end\n
.venv\Lib\site-packages\numpy\f2py\tests\src\return_real\foo77.f
foo77.f
Other
978
0.85
0.088889
0
python-kit
990
2025-06-17T11:54:10.782711
Apache-2.0
true
91d5386dbbfaccfe9652dcff9e4020a2
module f90_return_real\n contains\n function t0(value)\n real :: value\n real :: t0\n t0 = value\n end function t0\n function t4(value)\n real(kind=4) :: value\n real(kind=4) :: t4\n t4 = value\n end function t4\n function t8(value)\n real(kind=8) :: value\n real(kind=8) :: t8\n t8 = value\n end function t8\n function td(value)\n double precision :: value\n double precision :: td\n td = value\n end function td\n\n subroutine s0(t0,value)\n real :: value\n real :: t0\n!f2py intent(out) t0\n t0 = value\n end subroutine s0\n subroutine s4(t4,value)\n real(kind=4) :: value\n real(kind=4) :: t4\n!f2py intent(out) t4\n t4 = value\n end subroutine s4\n subroutine s8(t8,value)\n real(kind=8) :: value\n real(kind=8) :: t8\n!f2py intent(out) t8\n t8 = value\n end subroutine s8\n subroutine sd(td,value)\n double precision :: value\n double precision :: td\n!f2py intent(out) td\n td = value\n end subroutine sd\nend module f90_return_real\n
.venv\Lib\site-packages\numpy\f2py\tests\src\return_real\foo90.f90
foo90.f90
Other
1,242
0.85
0.166667
0
node-utils
724
2024-01-06T00:25:57.366050
BSD-3-Clause
true
4b4f45768ff1eea68f30de4010abd4db
REAL*8 FUNCTION FUNCFORTRANNAME(A,B)\n REAL*8 A, B\n FUNCFORTRANNAME = A + B\n RETURN\n END FUNCTION\n
.venv\Lib\site-packages\numpy\f2py\tests\src\routines\funcfortranname.f
funcfortranname.f
Other
128
0.7
0
0
react-lib
59
2024-01-12T11:06:40.277218
GPL-3.0
true
70a35388c2f87a51f9f6cd3dfd9cf009
python module funcfortranname ! in\n interface ! in :funcfortranname\n function funcfortranname_default(a,b) ! in :funcfortranname:funcfortranname.f\n fortranname funcfortranname\n real*8 :: a\n real*8 :: b\n real*8 :: funcfortranname_default\n real*8, intent(out) :: funcfortranname\n end function funcfortranname_default\n end interface\nend python module funcfortranname\n
.venv\Lib\site-packages\numpy\f2py\tests\src\routines\funcfortranname.pyf
funcfortranname.pyf
Other
451
0.85
0.181818
0
vue-tools
256
2025-06-19T00:13:22.129932
BSD-3-Clause
true
5e5db51a2232864bef2818b91083ba9b
SUBROUTINE SUBROUT(A,B,C)\n REAL*8 A, B, C\n C = A + B\n END SUBROUTINE\n
.venv\Lib\site-packages\numpy\f2py\tests\src\routines\subrout.f
subrout.f
Other
94
0.5
0
0
react-lib
670
2024-01-05T14:02:56.404292
Apache-2.0
true
2744694a4bec5024220d242be48605eb
python module subrout ! in\n interface ! in :subrout\n subroutine subrout_default(a,b,c) ! in :subrout:subrout.f\n fortranname subrout\n real*8 :: a\n real*8 :: b\n real*8, intent(out) :: c\n end subroutine subrout_default\n end interface\nend python module subrout\n
.venv\Lib\site-packages\numpy\f2py\tests\src\routines\subrout.pyf
subrout.pyf
Other
332
0.7
0
0
react-lib
447
2025-06-02T10:53:57.109134
MIT
true
9ec5885bc2ea3b848cd0ec946f706f68
\nsubroutine foo(a, n, m, b)\n implicit none\n\n real, intent(in) :: a(n, m)\n integer, intent(in) :: n, m\n real, intent(out) :: b(size(a, 1))\n\n integer :: i\n\n do i = 1, size(b)\n b(i) = sum(a(i,:))\n enddo\nend subroutine\n\nsubroutine trans(x,y)\n implicit none\n real, intent(in), dimension(:,:) :: x\n real, intent(out), dimension( size(x,2), size(x,1) ) :: y\n integer :: N, M, i, j\n N = size(x,1)\n M = size(x,2)\n DO i=1,N\n do j=1,M\n y(j,i) = x(i,j)\n END DO\n END DO\nend subroutine trans\n\nsubroutine flatten(x,y)\n implicit none\n real, intent(in), dimension(:,:) :: x\n real, intent(out), dimension( size(x) ) :: y\n integer :: N, M, i, j, k\n N = size(x,1)\n M = size(x,2)\n k = 1\n DO i=1,N\n do j=1,M\n y(k) = x(i,j)\n k = k + 1\n END DO\n END DO\nend subroutine flatten\n
.venv\Lib\site-packages\numpy\f2py\tests\src\size\foo.f90
foo.f90
Other
859
0.7
0
0
node-utils
171
2024-05-25T01:54:14.322306
Apache-2.0
true
994e5442711333761bd62ff6ffe4dfee
MODULE char_test\n\nCONTAINS\n\nSUBROUTINE change_strings(strings, n_strs, out_strings)\n IMPLICIT NONE\n\n ! Inputs\n INTEGER, INTENT(IN) :: n_strs\n CHARACTER, INTENT(IN), DIMENSION(2,n_strs) :: strings\n CHARACTER, INTENT(OUT), DIMENSION(2,n_strs) :: out_strings\n\n!f2py INTEGER, INTENT(IN) :: n_strs\n!f2py CHARACTER, INTENT(IN), DIMENSION(2,n_strs) :: strings\n!f2py CHARACTER, INTENT(OUT), DIMENSION(2,n_strs) :: strings\n\n ! Misc.\n INTEGER*4 :: j\n\n\n DO j=1, n_strs\n out_strings(1,j) = strings(1,j)\n out_strings(2,j) = 'A'\n END DO\n\nEND SUBROUTINE change_strings\n\nEND MODULE char_test\n\n
.venv\Lib\site-packages\numpy\f2py\tests\src\string\char.f90
char.f90
Other
647
0.7
0
0
python-kit
72
2024-03-10T04:35:59.057034
GPL-3.0
true
237ccfb1cd65c9698f69c977fad06db6
function sint(s) result(i)\n implicit none\n character(len=*) :: s\n integer :: j, i\n i = 0\n do j=len(s), 1, -1\n if (.not.((i.eq.0).and.(s(j:j).eq.' '))) then\n i = i + ichar(s(j:j)) * 10 ** (j - 1)\n endif\n end do\n return\n end function sint\n\n function test_in_bytes4(a) result (i)\n implicit none\n integer :: sint\n character(len=4) :: a\n integer :: i\n i = sint(a)\n a(1:1) = 'A'\n return\n end function test_in_bytes4\n\n function test_inout_bytes4(a) result (i)\n implicit none\n integer :: sint\n character(len=4), intent(inout) :: a\n integer :: i\n if (a(1:1).ne.' ') then\n a(1:1) = 'E'\n endif\n i = sint(a)\n return\n end function test_inout_bytes4\n
.venv\Lib\site-packages\numpy\f2py\tests\src\string\fixed_string.f90
fixed_string.f90
Other
729
0.85
0.235294
0
awesome-app
697
2025-06-29T04:39:27.113032
GPL-3.0
true
14ab206bce05312a46fd06f9f4c4de03
SUBROUTINE GREET(NAME, GREETING)\n CHARACTER NAME*(*), GREETING*(*)\n CHARACTER*(50) MESSAGE\n\n MESSAGE = 'Hello, ' // NAME // ', ' // GREETING\nc$$$ PRINT *, MESSAGE\n\n END SUBROUTINE GREET\n
.venv\Lib\site-packages\numpy\f2py\tests\src\string\gh24008.f
gh24008.f
Other
225
0.8
0
0
awesome-app
591
2024-06-05T14:31:54.897737
MIT
true
d7d9196189f99711c2e790a125edd316
subroutine string_inout_optional(output)\n implicit none\n character*(32), optional, intent(inout) :: output\n if (present(output)) then\n output="output string"\n endif\nend subroutine\n
.venv\Lib\site-packages\numpy\f2py\tests\src\string\gh24662.f90
gh24662.f90
Other
204
0.7
0.142857
0
react-lib
251
2024-11-23T05:35:45.405839
MIT
true
9fdd888cb0af6ff431c4dbb3e62c7a75
subroutine charint(trans, info)\n character, intent(in) :: trans\n integer, intent(out) :: info\n if (trans == 'N') then\n info = 1\n else if (trans == 'T') then\n info = 2\n else if (trans == 'C') then\n info = 3\n else\n info = -1\n end if\n\nend subroutine charint\n
.venv\Lib\site-packages\numpy\f2py\tests\src\string\gh25286.f90
gh25286.f90
Other
318
0.7
0.285714
0
python-kit
848
2025-02-04T03:15:15.056421
Apache-2.0
true
bf9702735b3d8183307e7d0c662028bb
python module _char_handling_test\n interface\n subroutine charint(trans, info)\n callstatement (*f2py_func)(&trans, &info)\n callprotoargument char*, int*\n\n character, intent(in), check(trans=='N'||trans=='T'||trans=='C') :: trans = 'N'\n integer intent(out) :: info\n\n end subroutine charint\n end interface\nend python module _char_handling_test\n
.venv\Lib\site-packages\numpy\f2py\tests\src\string\gh25286.pyf
gh25286.pyf
Other
393
0.7
0
0
vue-tools
68
2024-02-24T09:17:24.947143
GPL-3.0
true
b8f4b4a31a5973c3e38276275da16e45
python module _char_handling_test\n interface\n subroutine charint(trans, info)\n callstatement (*f2py_func)(&trans, &info)\n callprotoargument char*, int*\n\n character, intent(in), check(*trans=='N'||*trans=='T'||*trans=='C') :: trans = 'N'\n integer intent(out) :: info\n\n end subroutine charint\n end interface\nend python module _char_handling_test\n
.venv\Lib\site-packages\numpy\f2py\tests\src\string\gh25286_bc.pyf
gh25286_bc.pyf
Other
396
0.7
0
0
node-utils
355
2024-10-28T19:20:01.776808
MIT
true
62b9a865f20c3b129dc24e8c06edae9a
MODULE string_test\n\n character(len=8) :: string\n character string77 * 8\n\n character(len=12), dimension(5,7) :: strarr\n character strarr77(5,7) * 12\n\nEND MODULE string_test\n
.venv\Lib\site-packages\numpy\f2py\tests\src\string\scalar_string.f90
scalar_string.f90
Other
185
0.7
0
0
react-lib
890
2024-09-16T08:48:12.036034
GPL-3.0
true
eae84f657bd6f3adc934e519c102139c
C FILE: STRING.F\n SUBROUTINE FOO(A,B,C,D)\n CHARACTER*5 A, B\n CHARACTER*(*) C,D\nCf2py intent(in) a,c\nCf2py intent(inout) b,d\n A(1:1) = 'A'\n B(1:1) = 'B'\n C(1:1) = 'C'\n D(1:1) = 'D'\n END\nC END OF FILE STRING.F\n
.venv\Lib\site-packages\numpy\f2py\tests\src\string\string.f
string.f
Other
260
0.7
0
0
node-utils
298
2024-03-21T17:11:53.049541
GPL-3.0
true
ca478998475513bd19ae0e6c7d06e2d5
module fortfuncs\n implicit none\ncontains\n subroutine square(x,y)\n integer, intent(in), value :: x\n integer, intent(out) :: y\n y = x*x\n end subroutine square\nend module fortfuncs\n
.venv\Lib\site-packages\numpy\f2py\tests\src\value_attrspec\gh21665.f90
gh21665.f90
Other
199
0.7
0
0
python-kit
34
2024-04-01T23:13:38.259187
MIT
true
8c0146f7105dada2fec7e88f9c7f4b8a
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_abstract_interface.cpython-313.pyc
test_abstract_interface.cpython-313.pyc
Other
1,995
0.8
0
0
react-lib
323
2024-05-11T19:18:50.946120
GPL-3.0
true
a3f87cd41c94a83befee9d1ea499555d
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_array_from_pyobj.cpython-313.pyc
test_array_from_pyobj.cpython-313.pyc
Other
44,165
0.95
0.008368
0
python-kit
229
2024-06-29T11:20:53.033789
BSD-3-Clause
true
58ad2407790e3b618548e4200c569ea5
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_assumed_shape.cpython-313.pyc
test_assumed_shape.cpython-313.pyc
Other
3,431
0.8
0
0.057143
python-kit
332
2025-03-15T07:19:20.759862
MIT
true
034a56e76a781d3a28169ea223b320e3
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_block_docstring.cpython-313.pyc
test_block_docstring.cpython-313.pyc
Other
1,512
0.8
0
0
vue-tools
332
2024-04-26T20:58:47.497545
BSD-3-Clause
true
cdf3f9571b2dbdf952841be70e6e7210
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_callback.cpython-313.pyc
test_callback.cpython-313.pyc
Other
14,758
0.95
0.024691
0
awesome-app
593
2024-08-04T16:31:27.198253
BSD-3-Clause
true
f245bcad1d10edc6294587c673751eb1
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_character.cpython-313.pyc
test_character.cpython-313.pyc
Other
35,819
0.95
0.03125
0
node-utils
948
2025-06-20T08:03:42.158656
MIT
true
ce31f90ad394da58e43256c2946a0397
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_common.cpython-313.pyc
test_common.cpython-313.pyc
Other
2,190
0.8
0
0
node-utils
530
2025-01-13T02:36:08.129203
GPL-3.0
true
d0905ecc694408650fed0aac2f93c34c
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_crackfortran.cpython-313.pyc
test_crackfortran.cpython-313.pyc
Other
26,146
0.95
0.035354
0.005319
node-utils
347
2024-03-31T17:29:32.424811
GPL-3.0
true
541328a237b026aefb2e5575f48c594b
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_data.cpython-313.pyc
test_data.cpython-313.pyc
Other
7,018
0.8
0
0
vue-tools
298
2023-09-11T16:41:15.666054
MIT
true
4fb96a8cb625cf431fe10edc6ad753c4
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_docs.cpython-313.pyc
test_docs.cpython-313.pyc
Other
3,623
0.8
0
0
node-utils
265
2024-08-27T04:27:45.825775
GPL-3.0
true
ac2a56eff7eb3b1ec878bfb5b82208fc
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_f2cmap.cpython-313.pyc
test_f2cmap.cpython-313.pyc
Other
1,070
0.8
0
0
python-kit
79
2024-10-20T08:54:22.831043
BSD-3-Clause
true
716107b74f41888324bc58a7892db4c7
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_f2py2e.cpython-313.pyc
test_f2py2e.cpython-313.pyc
Other
42,911
0.95
0.017493
0.003063
node-utils
242
2024-01-16T21:23:24.586061
Apache-2.0
true
942c8b4950c625a731b392d54ac9f0ca
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_isoc.cpython-313.pyc
test_isoc.cpython-313.pyc
Other
2,765
0.95
0
0
awesome-app
926
2024-05-04T00:35:35.379797
MIT
true
6a66da776278a4d5daaa796de13e76f8
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_kind.cpython-313.pyc
test_kind.cpython-313.pyc
Other
3,069
0.8
0.148148
0
react-lib
443
2025-06-21T02:29:03.231867
MIT
true
484f35b9ef7b5027514f3459c2ed0590
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_mixed.cpython-313.pyc
test_mixed.cpython-313.pyc
Other
2,066
0.8
0.034483
0
vue-tools
892
2023-11-06T12:20:33.010495
Apache-2.0
true
a6e2fa2bf78244a3c8780601c429c2a8
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_modules.cpython-313.pyc
test_modules.cpython-313.pyc
Other
4,787
0.8
0.013889
0
vue-tools
966
2023-10-23T05:48:26.630561
BSD-3-Clause
true
e09f391874aa311f8113f666d2ba39d1
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_parameter.cpython-313.pyc
test_parameter.cpython-313.pyc
Other
9,428
0.8
0
0
awesome-app
612
2023-11-29T18:30:46.477802
MIT
true
8cfdbc8d5e101f776058371307448fe6
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_pyf_src.cpython-313.pyc
test_pyf_src.cpython-313.pyc
Other
1,531
0.8
0.032258
0
awesome-app
756
2024-05-21T05:29:34.038994
Apache-2.0
true
3830e5cc18ea8845c1a6736d67679e0b
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_quoted_character.cpython-313.pyc
test_quoted_character.cpython-313.pyc
Other
1,351
0.8
0
0
vue-tools
29
2023-08-10T08:18:43.446128
BSD-3-Clause
true
007a1d4798c59b0783a8538a2cab2fff
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_regression.cpython-313.pyc
test_regression.cpython-313.pyc
Other
12,207
0.8
0.009524
0
awesome-app
181
2024-02-23T14:31:51.124094
GPL-3.0
true
7d9247df3c15f37ca542820b45af6c1f
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_return_character.cpython-313.pyc
test_return_character.cpython-313.pyc
Other
3,138
0.95
0
0
node-utils
690
2025-03-28T21:13:44.893029
GPL-3.0
true
bfb5017c5aae73388a1ab9912cfd63e4
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_return_complex.cpython-313.pyc
test_return_complex.cpython-313.pyc
Other
4,933
0.95
0
0
python-kit
890
2024-05-04T00:23:40.209714
GPL-3.0
true
70690388c56cdbab5c30c54b0bc58338
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_return_integer.cpython-313.pyc
test_return_integer.cpython-313.pyc
Other
3,592
0.95
0
0
awesome-app
29
2025-04-27T08:44:01.655630
BSD-3-Clause
true
6e5eb2cc7608dd011503d135806e442f
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_return_logical.cpython-313.pyc
test_return_logical.cpython-313.pyc
Other
4,568
0.95
0
0
python-kit
828
2024-12-17T12:14:49.630838
GPL-3.0
true
9b78b14519261c6705a7e15ad207c1de
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_return_real.cpython-313.pyc
test_return_real.cpython-313.pyc
Other
6,074
0.95
0.024691
0
python-kit
120
2024-01-11T21:04:43.306396
Apache-2.0
true
6c5043ace6930b17c51c03df1741d886
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_routines.cpython-313.pyc
test_routines.cpython-313.pyc
Other
2,093
0.7
0
0
awesome-app
220
2024-08-23T17:49:06.812467
BSD-3-Clause
true
787aa17d14f6277a360683eaaf1be438
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_semicolon_split.cpython-313.pyc
test_semicolon_split.cpython-313.pyc
Other
2,840
0.8
0
0.020408
vue-tools
746
2023-12-25T21:42:20.795625
GPL-3.0
true
8977a500bec1e46a16323601cb5a24bc
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_size.cpython-313.pyc
test_size.cpython-313.pyc
Other
3,329
0.8
0
0
vue-tools
968
2024-03-15T22:36:30.333752
BSD-3-Clause
true
6c73529d5c105751487f17aa39004921
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_string.cpython-313.pyc
test_string.cpython-313.pyc
Other
5,818
0.8
0
0
react-lib
423
2023-12-29T22:49:53.023628
GPL-3.0
true
b303c483b433d7a3db69791186410cfc
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_symbolic.cpython-313.pyc
test_symbolic.cpython-313.pyc
Other
32,004
0.95
0
0
node-utils
157
2025-03-16T11:13:38.458780
GPL-3.0
true
c735418d1e87054b337257175e79bd2a
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\test_value_attrspec.cpython-313.pyc
test_value_attrspec.cpython-313.pyc
Other
1,082
0.8
0
0
react-lib
823
2024-08-08T22:30:57.354170
BSD-3-Clause
true
d569801ebb4b441219a657b28a6bdb42
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\util.cpython-313.pyc
util.cpython-313.pyc
Other
18,466
0.95
0.010471
0
vue-tools
718
2023-12-28T11:47:54.306456
MIT
true
5cb0cb0343c11e2d55b12ef156445ed9
\n\n
.venv\Lib\site-packages\numpy\f2py\tests\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
562
0.7
0
0
react-lib
619
2024-07-29T01:50:31.439526
MIT
true
a78efa519508bd1f1943c3dfdee45ac8
project('${modulename}',\n ['c', 'fortran'],\n version : '0.1',\n meson_version: '>= 1.1.0',\n default_options : [\n 'warning_level=1',\n 'buildtype=${buildtype}'\n ])\nfc = meson.get_compiler('fortran')\n\npy = import('python').find_installation('''${python}''', pure: false)\npy_dep = py.dependency()\n\nincdir_numpy = run_command(py,\n ['-c', 'import os; os.chdir(".."); import numpy; print(numpy.get_include())'],\n check : true\n).stdout().strip()\n\nincdir_f2py = run_command(py,\n ['-c', 'import os; os.chdir(".."); import numpy.f2py; print(numpy.f2py.get_include())'],\n check : true\n).stdout().strip()\n\ninc_np = include_directories(incdir_numpy)\nnp_dep = declare_dependency(include_directories: inc_np)\n\nincdir_f2py = incdir_numpy / '..' / '..' / 'f2py' / 'src'\ninc_f2py = include_directories(incdir_f2py)\nfortranobject_c = incdir_f2py / 'fortranobject.c'\n\ninc_np = include_directories(incdir_numpy, incdir_f2py)\n# gh-25000\nquadmath_dep = fc.find_library('quadmath', required: false)\n\n${lib_declarations}\n${lib_dir_declarations}\n\npy.extension_module('${modulename}',\n [\n${source_list},\n fortranobject_c\n ],\n include_directories: [\n inc_np,\n${inc_list}\n ],\n dependencies : [\n py_dep,\n quadmath_dep,\n${dep_list}\n${lib_list}\n${lib_dir_list}\n ],\n${fortran_args}\n install : true)\n
.venv\Lib\site-packages\numpy\f2py\_backends\meson.build.template
meson.build.template
Other
1,654
0.95
0
0.021277
node-utils
916
2025-01-09T14:59:00.404176
Apache-2.0
false
92cc1da0ea4efc6c0cae58dab16154db
from abc import ABC, abstractmethod\n\n\nclass Backend(ABC):\n def __init__(\n self,\n modulename,\n sources,\n extra_objects,\n build_dir,\n include_dirs,\n library_dirs,\n libraries,\n define_macros,\n undef_macros,\n f2py_flags,\n sysinfo_flags,\n fc_flags,\n flib_flags,\n setup_flags,\n remove_build_dir,\n extra_dat,\n ):\n self.modulename = modulename\n self.sources = sources\n self.extra_objects = extra_objects\n self.build_dir = build_dir\n self.include_dirs = include_dirs\n self.library_dirs = library_dirs\n self.libraries = libraries\n self.define_macros = define_macros\n self.undef_macros = undef_macros\n self.f2py_flags = f2py_flags\n self.sysinfo_flags = sysinfo_flags\n self.fc_flags = fc_flags\n self.flib_flags = flib_flags\n self.setup_flags = setup_flags\n self.remove_build_dir = remove_build_dir\n self.extra_dat = extra_dat\n\n @abstractmethod\n def compile(self) -> None:\n """Compile the wrapper."""\n pass\n
.venv\Lib\site-packages\numpy\f2py\_backends\_backend.py
_backend.py
Python
1,195
0.85
0.068182
0
python-kit
38
2025-03-09T12:17:22.454118
BSD-3-Clause
false
2265fe07e04fc45b590079930a86a89e
import abc\nfrom pathlib import Path\nfrom typing import Any, Final\n\nclass Backend(abc.ABC):\n modulename: Final[str]\n sources: Final[list[str | Path]]\n extra_objects: Final[list[str]]\n build_dir: Final[str | Path]\n include_dirs: Final[list[str | Path]]\n library_dirs: Final[list[str | Path]]\n libraries: Final[list[str]]\n define_macros: Final[list[tuple[str, str | None]]]\n undef_macros: Final[list[str]]\n f2py_flags: Final[list[str]]\n sysinfo_flags: Final[list[str]]\n fc_flags: Final[list[str]]\n flib_flags: Final[list[str]]\n setup_flags: Final[list[str]]\n remove_build_dir: Final[bool]\n extra_dat: Final[dict[str, Any]]\n\n def __init__(\n self,\n /,\n modulename: str,\n sources: list[str | Path],\n extra_objects: list[str],\n build_dir: str | Path,\n include_dirs: list[str | Path],\n library_dirs: list[str | Path],\n libraries: list[str],\n define_macros: list[tuple[str, str | None]],\n undef_macros: list[str],\n f2py_flags: list[str],\n sysinfo_flags: list[str],\n fc_flags: list[str],\n flib_flags: list[str],\n setup_flags: list[str],\n remove_build_dir: bool,\n extra_dat: dict[str, Any],\n ) -> None: ...\n\n #\n @abc.abstractmethod\n def compile(self) -> None: ...\n
.venv\Lib\site-packages\numpy\f2py\_backends\_backend.pyi
_backend.pyi
Other
1,388
0.95
0.065217
0.023256
node-utils
709
2024-03-14T15:59:29.589628
BSD-3-Clause
false
c3665ee13d0e09560b624b63d63a5c60
import os\nimport shutil\nimport sys\nimport warnings\n\nfrom numpy.distutils.core import Extension, setup\nfrom numpy.distutils.misc_util import dict_append\nfrom numpy.distutils.system_info import get_info\nfrom numpy.exceptions import VisibleDeprecationWarning\n\nfrom ._backend import Backend\n\n\nclass DistutilsBackend(Backend):\n def __init__(sef, *args, **kwargs):\n warnings.warn(\n "\ndistutils has been deprecated since NumPy 1.26.x\n"\n "Use the Meson backend instead, or generate wrappers"\n " without -c and use a custom build script",\n VisibleDeprecationWarning,\n stacklevel=2,\n )\n super().__init__(*args, **kwargs)\n\n def compile(self):\n num_info = {}\n if num_info:\n self.include_dirs.extend(num_info.get("include_dirs", []))\n ext_args = {\n "name": self.modulename,\n "sources": self.sources,\n "include_dirs": self.include_dirs,\n "library_dirs": self.library_dirs,\n "libraries": self.libraries,\n "define_macros": self.define_macros,\n "undef_macros": self.undef_macros,\n "extra_objects": self.extra_objects,\n "f2py_options": self.f2py_flags,\n }\n\n if self.sysinfo_flags:\n for n in self.sysinfo_flags:\n i = get_info(n)\n if not i:\n print(\n f"No {n!r} resources found"\n "in system (try `f2py --help-link`)"\n )\n dict_append(ext_args, **i)\n\n ext = Extension(**ext_args)\n\n sys.argv = [sys.argv[0]] + self.setup_flags\n sys.argv.extend(\n [\n "build",\n "--build-temp",\n self.build_dir,\n "--build-base",\n self.build_dir,\n "--build-platlib",\n ".",\n "--disable-optimization",\n ]\n )\n\n if self.fc_flags:\n sys.argv.extend(["config_fc"] + self.fc_flags)\n if self.flib_flags:\n sys.argv.extend(["build_ext"] + self.flib_flags)\n\n setup(ext_modules=[ext])\n\n if self.remove_build_dir and os.path.exists(self.build_dir):\n print(f"Removing build directory {self.build_dir}")\n shutil.rmtree(self.build_dir)\n
.venv\Lib\site-packages\numpy\f2py\_backends\_distutils.py
_distutils.py
Python
2,461
0.85
0.144737
0
vue-tools
256
2024-06-27T18:51:38.477575
MIT
false
5fcd07045fd572599e327547916f4ff9
from typing_extensions import deprecated, override\n\nfrom ._backend import Backend\n\nclass DistutilsBackend(Backend):\n @deprecated(\n "distutils has been deprecated since NumPy 1.26.x. Use the Meson backend instead, or generate wrappers without -c and "\n "use a custom build script"\n )\n # NOTE: the `sef` typo matches runtime\n def __init__(sef, *args: object, **kwargs: object) -> None: ...\n @override\n def compile(self) -> None: ...\n
.venv\Lib\site-packages\numpy\f2py\_backends\_distutils.pyi
_distutils.pyi
Other
476
0.95
0.230769
0.090909
node-utils
548
2025-06-19T12:16:17.031501
Apache-2.0
false
973808f2eb436e12e06d3336a1e42b73
import errno\nimport os\nimport re\nimport shutil\nimport subprocess\nimport sys\nfrom itertools import chain\nfrom pathlib import Path\nfrom string import Template\n\nfrom ._backend import Backend\n\n\nclass MesonTemplate:\n """Template meson build file generation class."""\n\n def __init__(\n self,\n modulename: str,\n sources: list[Path],\n deps: list[str],\n libraries: list[str],\n library_dirs: list[Path],\n include_dirs: list[Path],\n object_files: list[Path],\n linker_args: list[str],\n fortran_args: list[str],\n build_type: str,\n python_exe: str,\n ):\n self.modulename = modulename\n self.build_template_path = (\n Path(__file__).parent.absolute() / "meson.build.template"\n )\n self.sources = sources\n self.deps = deps\n self.libraries = libraries\n self.library_dirs = library_dirs\n if include_dirs is not None:\n self.include_dirs = include_dirs\n else:\n self.include_dirs = []\n self.substitutions = {}\n self.objects = object_files\n # Convert args to '' wrapped variant for meson\n self.fortran_args = [\n f"'{x}'" if not (x.startswith("'") and x.endswith("'")) else x\n for x in fortran_args\n ]\n self.pipeline = [\n self.initialize_template,\n self.sources_substitution,\n self.deps_substitution,\n self.include_substitution,\n self.libraries_substitution,\n self.fortran_args_substitution,\n ]\n self.build_type = build_type\n self.python_exe = python_exe\n self.indent = " " * 21\n\n def meson_build_template(self) -> str:\n if not self.build_template_path.is_file():\n raise FileNotFoundError(\n errno.ENOENT,\n "Meson build template"\n f" {self.build_template_path.absolute()}"\n " does not exist.",\n )\n return self.build_template_path.read_text()\n\n def initialize_template(self) -> None:\n self.substitutions["modulename"] = self.modulename\n self.substitutions["buildtype"] = self.build_type\n self.substitutions["python"] = self.python_exe\n\n def sources_substitution(self) -> None:\n self.substitutions["source_list"] = ",\n".join(\n [f"{self.indent}'''{source}'''," for source in self.sources]\n )\n\n def deps_substitution(self) -> None:\n self.substitutions["dep_list"] = f",\n{self.indent}".join(\n [f"{self.indent}dependency('{dep}')," for dep in self.deps]\n )\n\n def libraries_substitution(self) -> None:\n self.substitutions["lib_dir_declarations"] = "\n".join(\n [\n f"lib_dir_{i} = declare_dependency(link_args : ['''-L{lib_dir}'''])"\n for i, lib_dir in enumerate(self.library_dirs)\n ]\n )\n\n self.substitutions["lib_declarations"] = "\n".join(\n [\n f"{lib.replace('.', '_')} = declare_dependency(link_args : ['-l{lib}'])"\n for lib in self.libraries\n ]\n )\n\n self.substitutions["lib_list"] = f"\n{self.indent}".join(\n [f"{self.indent}{lib.replace('.', '_')}," for lib in self.libraries]\n )\n self.substitutions["lib_dir_list"] = f"\n{self.indent}".join(\n [f"{self.indent}lib_dir_{i}," for i in range(len(self.library_dirs))]\n )\n\n def include_substitution(self) -> None:\n self.substitutions["inc_list"] = f",\n{self.indent}".join(\n [f"{self.indent}'''{inc}'''," for inc in self.include_dirs]\n )\n\n def fortran_args_substitution(self) -> None:\n if self.fortran_args:\n self.substitutions["fortran_args"] = (\n f"{self.indent}fortran_args: [{', '.join(list(self.fortran_args))}],"\n )\n else:\n self.substitutions["fortran_args"] = ""\n\n def generate_meson_build(self):\n for node in self.pipeline:\n node()\n template = Template(self.meson_build_template())\n meson_build = template.substitute(self.substitutions)\n meson_build = meson_build.replace(",,", ",")\n return meson_build\n\n\nclass MesonBackend(Backend):\n def __init__(self, *args, **kwargs):\n super().__init__(*args, **kwargs)\n self.dependencies = self.extra_dat.get("dependencies", [])\n self.meson_build_dir = "bbdir"\n self.build_type = (\n "debug" if any("debug" in flag for flag in self.fc_flags) else "release"\n )\n self.fc_flags = _get_flags(self.fc_flags)\n\n def _move_exec_to_root(self, build_dir: Path):\n walk_dir = Path(build_dir) / self.meson_build_dir\n path_objects = chain(\n walk_dir.glob(f"{self.modulename}*.so"),\n walk_dir.glob(f"{self.modulename}*.pyd"),\n walk_dir.glob(f"{self.modulename}*.dll"),\n )\n # Same behavior as distutils\n # https://github.com/numpy/numpy/issues/24874#issuecomment-1835632293\n for path_object in path_objects:\n dest_path = Path.cwd() / path_object.name\n if dest_path.exists():\n dest_path.unlink()\n shutil.copy2(path_object, dest_path)\n os.remove(path_object)\n\n def write_meson_build(self, build_dir: Path) -> None:\n """Writes the meson build file at specified location"""\n meson_template = MesonTemplate(\n self.modulename,\n self.sources,\n self.dependencies,\n self.libraries,\n self.library_dirs,\n self.include_dirs,\n self.extra_objects,\n self.flib_flags,\n self.fc_flags,\n self.build_type,\n sys.executable,\n )\n src = meson_template.generate_meson_build()\n Path(build_dir).mkdir(parents=True, exist_ok=True)\n meson_build_file = Path(build_dir) / "meson.build"\n meson_build_file.write_text(src)\n return meson_build_file\n\n def _run_subprocess_command(self, command, cwd):\n subprocess.run(command, cwd=cwd, check=True)\n\n def run_meson(self, build_dir: Path):\n setup_command = ["meson", "setup", self.meson_build_dir]\n self._run_subprocess_command(setup_command, build_dir)\n compile_command = ["meson", "compile", "-C", self.meson_build_dir]\n self._run_subprocess_command(compile_command, build_dir)\n\n def compile(self) -> None:\n self.sources = _prepare_sources(self.modulename, self.sources, self.build_dir)\n self.write_meson_build(self.build_dir)\n self.run_meson(self.build_dir)\n self._move_exec_to_root(self.build_dir)\n\n\ndef _prepare_sources(mname, sources, bdir):\n extended_sources = sources.copy()\n Path(bdir).mkdir(parents=True, exist_ok=True)\n # Copy sources\n for source in sources:\n if Path(source).exists() and Path(source).is_file():\n shutil.copy(source, bdir)\n generated_sources = [\n Path(f"{mname}module.c"),\n Path(f"{mname}-f2pywrappers2.f90"),\n Path(f"{mname}-f2pywrappers.f"),\n ]\n bdir = Path(bdir)\n for generated_source in generated_sources:\n if generated_source.exists():\n shutil.copy(generated_source, bdir / generated_source.name)\n extended_sources.append(generated_source.name)\n generated_source.unlink()\n extended_sources = [\n Path(source).name\n for source in extended_sources\n if not Path(source).suffix == ".pyf"\n ]\n return extended_sources\n\n\ndef _get_flags(fc_flags):\n flag_values = []\n flag_pattern = re.compile(r"--f(77|90)flags=(.*)")\n for flag in fc_flags:\n match_result = flag_pattern.match(flag)\n if match_result:\n values = match_result.group(2).strip().split()\n values = [val.strip("'\"") for val in values]\n flag_values.extend(values)\n # Hacky way to preserve order of flags\n unique_flags = list(dict.fromkeys(flag_values))\n return unique_flags\n
.venv\Lib\site-packages\numpy\f2py\_backends\_meson.py
_meson.py
Python
8,338
0.95
0.203463
0.024272
vue-tools
958
2025-04-08T11:43:42.992094
GPL-3.0
false
0e21fc5c73572e7e2b98f65988cd34c0
from collections.abc import Callable\nfrom pathlib import Path\nfrom typing import Final\nfrom typing import Literal as L\n\nfrom typing_extensions import override\n\nfrom ._backend import Backend\n\nclass MesonTemplate:\n modulename: Final[str]\n build_template_path: Final[Path]\n sources: Final[list[str | Path]]\n deps: Final[list[str]]\n libraries: Final[list[str]]\n library_dirs: Final[list[str | Path]]\n include_dirs: Final[list[str | Path]]\n substitutions: Final[dict[str, str]]\n objects: Final[list[str | Path]]\n fortran_args: Final[list[str]]\n pipeline: Final[list[Callable[[], None]]]\n build_type: Final[str]\n python_exe: Final[str]\n indent: Final[str]\n\n def __init__(\n self,\n /,\n modulename: str,\n sources: list[Path],\n deps: list[str],\n libraries: list[str],\n library_dirs: list[str | Path],\n include_dirs: list[str | Path],\n object_files: list[str | Path],\n linker_args: list[str],\n fortran_args: list[str],\n build_type: str,\n python_exe: str,\n ) -> None: ...\n\n #\n def initialize_template(self) -> None: ...\n def sources_substitution(self) -> None: ...\n def deps_substitution(self) -> None: ...\n def libraries_substitution(self) -> None: ...\n def include_substitution(self) -> None: ...\n def fortran_args_substitution(self) -> None: ...\n\n #\n def meson_build_template(self) -> str: ...\n def generate_meson_build(self) -> str: ...\n\nclass MesonBackend(Backend):\n dependencies: list[str]\n meson_build_dir: L["bdir"]\n build_type: L["debug", "release"]\n\n def __init__(self, /, *args: object, **kwargs: object) -> None: ...\n def write_meson_build(self, /, build_dir: Path) -> None: ...\n def run_meson(self, /, build_dir: Path) -> None: ...\n @override\n def compile(self) -> None: ...\n
.venv\Lib\site-packages\numpy\f2py\_backends\_meson.pyi
_meson.pyi
Other
1,932
0.95
0.238095
0.036364
vue-tools
778
2024-12-21T04:53:44.856163
GPL-3.0
false
664b859fad3a93dc3a155f6e0cce1ab0
def f2py_build_generator(name):\n if name == "meson":\n from ._meson import MesonBackend\n return MesonBackend\n elif name == "distutils":\n from ._distutils import DistutilsBackend\n return DistutilsBackend\n else:\n raise ValueError(f"Unknown backend: {name}")\n
.venv\Lib\site-packages\numpy\f2py\_backends\__init__.py
__init__.py
Python
308
0.85
0.222222
0
node-utils
821
2025-03-15T05:46:11.181458
BSD-3-Clause
false
f997c7e4896ac5a47b2489a1a439ab48
from typing import Literal as L\n\nfrom ._backend import Backend\n\ndef f2py_build_generator(name: L["distutils", "meson"]) -> Backend: ...\n
.venv\Lib\site-packages\numpy\f2py\_backends\__init__.pyi
__init__.pyi
Other
141
0.85
0.2
0
react-lib
207
2024-12-07T13:07:05.393536
Apache-2.0
false
8b62bd007d2af8c274e77028daa9806d
\n\n
.venv\Lib\site-packages\numpy\f2py\_backends\__pycache__\_backend.cpython-313.pyc
_backend.cpython-313.pyc
Other
1,451
0.8
0
0
node-utils
594
2024-03-16T10:45:48.829473
GPL-3.0
false
0469c351910e667436d90ee31a274bbf
\n\n
.venv\Lib\site-packages\numpy\f2py\_backends\__pycache__\_distutils.cpython-313.pyc
_distutils.cpython-313.pyc
Other
3,691
0.8
0.030303
0
vue-tools
857
2025-04-21T18:30:51.759523
GPL-3.0
false
c845f306af68b10be5bf28abd2b3bba3
\n\n
.venv\Lib\site-packages\numpy\f2py\_backends\__pycache__\_meson.cpython-313.pyc
_meson.cpython-313.pyc
Other
13,763
0.8
0.008403
0
react-lib
826
2023-12-12T20:33:39.057770
BSD-3-Clause
false
8bbcc2c33f8ce2754da567bff622042b
\n\n
.venv\Lib\site-packages\numpy\f2py\_backends\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
571
0.7
0
0
node-utils
78
2024-11-03T17:44:08.800469
GPL-3.0
false
856c617cb4374dfb2616d26aa6dcbf6a
\n\n
.venv\Lib\site-packages\numpy\f2py\__pycache__\auxfuncs.cpython-313.pyc
auxfuncs.cpython-313.pyc
Other
40,862
0.95
0.016892
0.014286
vue-tools
257
2025-03-06T19:41:32.787973
GPL-3.0
false
fcb753c522fb89b3cc5e564c58971771
\n\n
.venv\Lib\site-packages\numpy\f2py\__pycache__\capi_maps.cpython-313.pyc
capi_maps.cpython-313.pyc
Other
32,443
0.95
0.035191
0.026946
python-kit
773
2023-12-22T18:23:03.089414
GPL-3.0
false
1f25c5e1e9ff56a77c52c8087f907550
\n\n
.venv\Lib\site-packages\numpy\f2py\__pycache__\cb_rules.cpython-313.pyc
cb_rules.cpython-313.pyc
Other
22,674
0.95
0.13
0.186047
node-utils
20
2024-02-29T16:06:47.032790
GPL-3.0
false
950ad2edb08c9ef29c0b6b35df655ec8