pybase16384 0.3.3__pp310-pypy310_pp73-win_amd64.whl → 0.3.5__pp310-pypy310_pp73-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pybase16384 might be problematic. Click here for more details.

@@ -51,8 +51,7 @@ cpdef inline bytes _encode(const uint8_t[::1] data):
51
51
  with nogil:
52
52
  count = b14_encode(<const char*> &data[0],
53
53
  <int>length,
54
- output_buf,
55
- <int>output_size) # encode 整数倍的那个
54
+ output_buf) # encode 整数倍的那个
56
55
  try:
57
56
  return <bytes>output_buf[:count]
58
57
  finally:
@@ -68,8 +67,7 @@ cpdef inline bytes _decode(const uint8_t[::1] data):
68
67
  with nogil:
69
68
  count = b14_decode(<const char *> &data[0],
70
69
  <int> length,
71
- output_buf,
72
- <int> output_size) # decode
70
+ output_buf) # decode
73
71
  try:
74
72
  return <bytes> output_buf[:count]
75
73
  finally:
@@ -84,8 +82,7 @@ cpdef inline int _encode_into(const uint8_t[::1] data, uint8_t[::1] dest) except
84
82
  with nogil:
85
83
  return b14_encode(<const char *> &data[0],
86
84
  <int> input_size,
87
- <char *> &dest[0],
88
- <int> output_buf_size)
85
+ <char *> &dest[0])
89
86
 
90
87
  cpdef inline int _decode_into(const uint8_t[::1] data, uint8_t[::1] dest) except -1:
91
88
  cdef size_t input_size = data.shape[0]
@@ -96,8 +93,7 @@ cpdef inline int _decode_into(const uint8_t[::1] data, uint8_t[::1] dest) except
96
93
  with nogil:
97
94
  return b14_decode(<const char *> &data[0],
98
95
  <int> input_size,
99
- <char *> &dest[0],
100
- <int> output_buf_size)
96
+ <char *> &dest[0])
101
97
 
102
98
 
103
99
  def encode_file(object input,
@@ -140,7 +136,7 @@ def encode_file(object input,
140
136
  continue
141
137
  chunk_ptr = <const char*>PyBytes_AS_STRING(chunk)
142
138
  with nogil:
143
- count = b14_encode(chunk_ptr, <int>size, output_buf, <int> output_size)
139
+ count = b14_encode(chunk_ptr, <int>size, output_buf)
144
140
  output.write(<bytes>output_buf[:count])
145
141
  if size < 7:
146
142
  break
@@ -194,7 +190,7 @@ def decode_file(object input,
194
190
  input.seek(-2, 1)
195
191
  chunk_ptr = <const char *> PyBytes_AS_STRING(chunk)
196
192
  with nogil:
197
- count = b14_decode(chunk_ptr, <int> size, output_buf, <int> output_size)
193
+ count = b14_decode(chunk_ptr, <int> size, output_buf)
198
194
  output.write(<bytes>output_buf[:count])
199
195
  finally:
200
196
  PyMem_Free(output_buf)
@@ -21,9 +21,9 @@ cdef extern from "base16384.h" nogil:
21
21
  int b14_decode_len "base16384_decode_len" (int dlen, int offset)
22
22
 
23
23
  # encode data and write result into buf
24
- int b14_encode "base16384_encode" (const char* data, int dlen, char* buf, int blen)
24
+ int b14_encode "base16384_encode" (const char* data, int dlen, char* buf)
25
25
  # decode data and write result into buf
26
- int b14_decode "base16384_decode" (const char* data, int dlen, char* buf, int blen)
26
+ int b14_decode "base16384_decode" (const char* data, int dlen, char* buf)
27
27
 
28
28
  base16384_err_t b14_encode_file "base16384_encode_file" (const char * input, const char * output, char * encbuf, char * decbuf)
29
29
  base16384_err_t b14_decode_file "base16384_decode_file" (const char * input, const char * output, char * encbuf, char * decbuf)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pybase16384
3
- Version: 0.3.3
3
+ Version: 0.3.5
4
4
  Summary: fast base16384 encode and decode
5
5
  Home-page: https://github.com/synodriver/pybase16384
6
6
  Author: synodriver
@@ -14,18 +14,17 @@ Classifier: Topic :: Security :: Cryptography
14
14
  Classifier: Programming Language :: C
15
15
  Classifier: Programming Language :: Cython
16
16
  Classifier: Programming Language :: Python
17
- Classifier: Programming Language :: Python :: 3.6
18
- Classifier: Programming Language :: Python :: 3.7
19
17
  Classifier: Programming Language :: Python :: 3.8
20
18
  Classifier: Programming Language :: Python :: 3.9
21
19
  Classifier: Programming Language :: Python :: 3.10
22
20
  Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
23
22
  Classifier: Programming Language :: Python :: Implementation :: CPython
24
23
  Classifier: Programming Language :: Python :: Implementation :: PyPy
25
24
  Requires-Python: >=3.6
26
25
  Description-Content-Type: text/markdown
27
26
  License-File: LICENSE
28
- Requires-Dist: cffi >=1.0.0
27
+ Requires-Dist: cffi (>=1.0.0)
29
28
 
30
29
  <h1 align="center"><i>✨ pybase16384 ✨ </i></h1>
31
30
 
@@ -0,0 +1,16 @@
1
+ pybase16384/__init__.py,sha256=l9vuFXikNNKgrtNT-Ix6EPQwc-G_QipKoHaYzSlVtIQ,2540
2
+ pybase16384/backends/__init__.py,sha256=9aG9WOI42Hcgaj9QGw99OIvKZTG-sYNlLBUctorc4Kg,56
3
+ pybase16384/backends/cffi/__init__.py,sha256=FZdJJtnYanH8-3Lls_UPjm0xOicDOofwrOziIPHBUk8,7604
4
+ pybase16384/backends/cffi/_core.pypy310-pp73-win_amd64.pyd,sha256=s1p2kClh1i9qY7XKtnEPqcIZNMHkeynazY4AlEKKmuI,18944
5
+ pybase16384/backends/cffi/build.py,sha256=YNZh1_n6d5WMvqEEgvx3MyY8GeeR0mavjiJ9i6-xpP4,3095
6
+ pybase16384/backends/cython/__init__.py,sha256=zoKnXRa8Zz5ZsMFj_8cjveOZ0XJfpx5Ic7jmub2d8ec,353
7
+ pybase16384/backends/cython/_core.c,sha256=3CpP9r0tvL2IQzf2vHe8f76s3mUJo_Bt9hu_z9zpEsA,1296347
8
+ pybase16384/backends/cython/_core.pxi,sha256=SPgwG7QKofRYdJDRrhx2TWRvOuBuwTjRGg2WvGUrQw4,542
9
+ pybase16384/backends/cython/_core.pypy310-pp73-win_amd64.pyd,sha256=sAItRO-maYSQ3630Xpn1BbsK14OU-un7hp9oq9Zsaxw,169984
10
+ pybase16384/backends/cython/_core.pyx,sha256=VYqH9aNFqavFZRC7-VoW7S8WwvaJITXTjo9tjI7LFy8,11775
11
+ pybase16384/backends/cython/base16384.pxd,sha256=IiicckRLe7L9Pi6-OuPC6PIpQgqzzHRsJUcHyKQ5uRI,2326
12
+ pybase16384-0.3.5.dist-info/LICENSE,sha256=gcuuhKKc5-dwvyvHsXjlC9oM6N5gZ6umYbC8ewW1Yvg,35821
13
+ pybase16384-0.3.5.dist-info/METADATA,sha256=pssEzcLOnmL8WmuNZ0v_4JEV16k8xHAJsHTrRwhnxhI,5539
14
+ pybase16384-0.3.5.dist-info/WHEEL,sha256=u9DzvV4qYT6mp5CaQX4NQqgypzNQL4M7-mWtPosVmCI,109
15
+ pybase16384-0.3.5.dist-info/top_level.txt,sha256=kXpl7pWjnjpm74qJP0SJg3JhbiWuwKQApJgkJH0B5Mk,12
16
+ pybase16384-0.3.5.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: bdist_wheel (0.40.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: pp310-pypy310_pp73-win_amd64
5
5
 
@@ -1,16 +0,0 @@
1
- pybase16384/__init__.py,sha256=7Zp2drxjfnD94BHHy4A4tLH-5qidgQa7ESZbPpi9b3I,2540
2
- pybase16384/backends/__init__.py,sha256=9aG9WOI42Hcgaj9QGw99OIvKZTG-sYNlLBUctorc4Kg,56
3
- pybase16384/backends/cffi/__init__.py,sha256=hV1YWOOdEqr-KT2chu7SmaVI69GuDQN3iaKKWF6MGEw,7681
4
- pybase16384/backends/cffi/_core_cffi.pypy310-pp73-win_amd64.pyd,sha256=QKqBdcgrfiP1lUHn_7rkVWUwVeZQvFzz4jtRIZPajSw,16896
5
- pybase16384/backends/cffi/build.py,sha256=EF5s2lAJh7Y6uFWpWS0Yo4By3kNpr04BjENwfDUqTe0,3120
6
- pybase16384/backends/cython/__init__.py,sha256=PGNLWLyotqZYPTHSRfayVPZThk-GT9iIcY9ArEMVbgc,356
7
- pybase16384/backends/cython/_core_cy.c,sha256=ku_cgcnG3WTTdPtxuDtV7YpLeU_ghQizcdLdERgizm4,1296654
8
- pybase16384/backends/cython/_core_cy.pyi,sha256=SPgwG7QKofRYdJDRrhx2TWRvOuBuwTjRGg2WvGUrQw4,542
9
- pybase16384/backends/cython/_core_cy.pypy310-pp73-win_amd64.pyd,sha256=XuuigcWp9wv3uNrjJvZnvzDrWxj2DDxPGTZwjH4D0Ns,172032
10
- pybase16384/backends/cython/_core_cy.pyx,sha256=2gz5nn77wZo2pRH_4D0sZPt7P9jbdXH7EBfUFZ8lIw4,12044
11
- pybase16384/backends/cython/base16384.pxd,sha256=7Fz1WvyF8H1roLKN-SGYFFeCB1By2B9viJ7VtMCIQkI,2346
12
- pybase16384-0.3.3.dist-info/LICENSE,sha256=gcuuhKKc5-dwvyvHsXjlC9oM6N5gZ6umYbC8ewW1Yvg,35821
13
- pybase16384-0.3.3.dist-info/METADATA,sha256=jgqUX4C3je2Ej4W4TTWE365RXYrwqI4JDHn-ECE-ju4,5587
14
- pybase16384-0.3.3.dist-info/WHEEL,sha256=k-CVQo_nPRoSNfj2jZlvC5kSkqQkYv2eGTzb7ET4Ubc,109
15
- pybase16384-0.3.3.dist-info/top_level.txt,sha256=kXpl7pWjnjpm74qJP0SJg3JhbiWuwKQApJgkJH0B5Mk,12
16
- pybase16384-0.3.3.dist-info/RECORD,,
File without changes