redc 0.1.0.dev1__tar.gz → 0.1.0.dev3__tar.gz
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.
- redc-0.1.0.dev3/.github/workflows/build_wheels.yml +39 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/CMakeLists.txt +3 -2
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/PKG-INFO +2 -2
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/pyproject.toml +2 -2
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/redc/__init__.py +1 -1
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/redc/ext/redc.h +1 -0
- redc-0.1.0.dev1/wheelhouse/redc-0.1.0.dev1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl → redc-0.1.0.dev3/wheelhouse/redc-0.1.0.dev3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl +0 -0
- redc-0.1.0.dev1/wheelhouse/redc-0.1.0.dev1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl → redc-0.1.0.dev3/wheelhouse/redc-0.1.0.dev3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl +0 -0
- redc-0.1.0.dev1/wheelhouse/redc-0.1.0.dev1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl → redc-0.1.0.dev3/wheelhouse/redc-0.1.0.dev3-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl +0 -0
- redc-0.1.0.dev1/wheelhouse/redc-0.1.0.dev1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl → redc-0.1.0.dev3/wheelhouse/redc-0.1.0.dev3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl +0 -0
- redc-0.1.0.dev1/.github/workflows/build_wheels.yml +0 -30
- redc-0.1.0.dev1/.gitmodules +0 -3
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/.clang-format +0 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/.gitignore +0 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/CMake/PreventInSourceBuild.cmake +0 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/LICENSE +0 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/README.md +0 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/assets/images/redc-logo.png +0 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/redc/callback.py +0 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/redc/callbacks.py +0 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/redc/client.py +0 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/redc/codes.py +0 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/redc/exceptions/__init__.py +0 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/redc/ext/redc.cpp +0 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/redc/ext/utils/concurrentqueue.h +0 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/redc/ext/utils/curl_utils.h +0 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/redc/response.py +0 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/redc/utils/__init__.py +0 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/redc/utils/headers.py +0 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/redc/utils/http.py +0 -0
- {redc-0.1.0.dev1 → redc-0.1.0.dev3}/redc/utils/json_encoder.py +0 -0
@@ -0,0 +1,39 @@
|
|
1
|
+
name: Build and Publish Wheels
|
2
|
+
on:
|
3
|
+
workflow_dispatch:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- "main"
|
7
|
+
|
8
|
+
paths:
|
9
|
+
- "redc/__init__.py"
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
build-and-publish:
|
13
|
+
runs-on: ubuntu-latest
|
14
|
+
permissions:
|
15
|
+
contents: read
|
16
|
+
id-token: write
|
17
|
+
|
18
|
+
steps:
|
19
|
+
- name: Checkout code
|
20
|
+
uses: actions/checkout@v3
|
21
|
+
|
22
|
+
- name: Set up Python
|
23
|
+
uses: actions/setup-python@v4
|
24
|
+
with:
|
25
|
+
python-version: '3.13.1'
|
26
|
+
|
27
|
+
- name: Install dependencies
|
28
|
+
run: |
|
29
|
+
python -m pip install --upgrade scikit-build-core nanobind build ninja cibuildwheel auditwheel
|
30
|
+
|
31
|
+
- name: Build wheels
|
32
|
+
run: |
|
33
|
+
python -m cibuildwheel .
|
34
|
+
python -m build --sdist
|
35
|
+
mv ./wheelhouse/*.whl dist/
|
36
|
+
ls dist/
|
37
|
+
|
38
|
+
- name: Publish to PyPI
|
39
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
@@ -35,15 +35,16 @@ else()
|
|
35
35
|
set(DEV_MODULE Development.Module)
|
36
36
|
endif()
|
37
37
|
|
38
|
-
find_package(Python COMPONENTS Interpreter ${DEV_MODULE} REQUIRED)
|
38
|
+
find_package(Python COMPONENTS Interpreter ${DEV_MODULE} REQUIRED OPTIONAL_COMPONENTS Development.SABIModule)
|
39
39
|
find_package(nanobind CONFIG REQUIRED)
|
40
40
|
|
41
41
|
if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
|
42
42
|
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE)
|
43
43
|
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
|
44
44
|
endif()
|
45
|
+
set(NB_TEST_STABLE_ABI ON)
|
45
46
|
|
46
|
-
nanobind_add_module(redc_ext STABLE_ABI redc/ext/redc.cpp)
|
47
|
+
nanobind_add_module(redc_ext STABLE_ABI LTO redc/ext/redc.cpp)
|
47
48
|
|
48
49
|
target_link_libraries(redc_ext PRIVATE CURL::libcurl)
|
49
50
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: redc
|
3
|
-
Version: 0.1.0.
|
4
|
-
Summary:
|
3
|
+
Version: 0.1.0.dev3
|
4
|
+
Summary: RedC is a high-performance, asynchronous HTTP client library for Python, built on top of the powerful curl library
|
5
5
|
Keywords: asyncio,http,client,http-client,curl,libcurl
|
6
6
|
Author-Email: AYMEN Mohammed <let.me.code.safe@gmail.com>
|
7
7
|
License: MIT
|
@@ -4,8 +4,8 @@ build-backend = "scikit_build_core.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "redc"
|
7
|
-
version = "0.1.0.
|
8
|
-
description = "
|
7
|
+
version = "0.1.0.dev3"
|
8
|
+
description = "RedC is a high-performance, asynchronous HTTP client library for Python, built on top of the powerful curl library"
|
9
9
|
readme = "README.md"
|
10
10
|
authors = [{ name = "AYMEN Mohammed", email = "let.me.code.safe@gmail.com" }]
|
11
11
|
license = { text = "MIT" }
|
@@ -1,30 +0,0 @@
|
|
1
|
-
name: Build Wheels
|
2
|
-
on:
|
3
|
-
workflow_dispatch:
|
4
|
-
|
5
|
-
jobs:
|
6
|
-
build_wheels:
|
7
|
-
runs-on: ubuntu-latest
|
8
|
-
permissions:
|
9
|
-
contents: read
|
10
|
-
id-token: write
|
11
|
-
|
12
|
-
steps:
|
13
|
-
- name: Checkout code
|
14
|
-
uses: actions/checkout@v3
|
15
|
-
|
16
|
-
- name: Set up Python
|
17
|
-
uses: actions/setup-python@v4
|
18
|
-
with:
|
19
|
-
python-version: '3.13.1'
|
20
|
-
|
21
|
-
- name: Install cibuildwheel
|
22
|
-
run: |
|
23
|
-
sudo python -m pip install --upgrade scikit-build-core nanobind build ninja cibuildwheel auditwheel
|
24
|
-
sudo python -m cibuildwheel .
|
25
|
-
sudo python -m build --sdist
|
26
|
-
sudo mv ./wheelhouse/*.whl dist/
|
27
|
-
ls *
|
28
|
-
|
29
|
-
- name: Upload to pypi
|
30
|
-
uses: pypa/gh-action-pypi-publish@release/v1
|
redc-0.1.0.dev1/.gitmodules
DELETED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|