Skip to content

Commit a2b08bf

Browse files
Document (#2)
* doc : README.md updated * fix : setup.py updated * fix : codecov action updated * fix : __init__.py modified * doc : discord badge removed * doc : codecov badge added * fix : minor edit in setup.py * fix : minor edit in setup.py
1 parent 9e6228d commit a2b08bf

6 files changed

Lines changed: 15 additions & 17 deletions

File tree

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Discord
4-
url: https://discord.gg/TODO
5-
about: Ask questions and discuss with other IPForce community members
63
- name: Website
74
url: https://openscilab.com/
85
about: Check out our website for more information

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ jobs:
4646
- name: Upload coverage to Codecov
4747
uses: codecov/codecov-action@v4
4848
with:
49-
fail_ci_if_error: false
49+
fail_ci_if_error: true
50+
token: ${{ secrets.CODECOV_TOKEN }}
5051
if: matrix.python-version == env.TEST_PYTHON_VERSION && matrix.os == env.TEST_OS
5152
- name: Version check
5253
run: |

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 OpenSciLab
3+
Copyright (c) 2026 OpenSciLab
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
<div align="center">
2-
<img src="https://github.com/openscilab/ipforce/raw/main/otherfiles/logo.png" width="350">
3-
<h1>IPForce: TODO</h1>
2+
<h1>IPForce: Force IPv4/IPv6 in Python HTTP Requests</h1>
43
<br/>
54
<a href="https://badge.fury.io/py/ipforce"><img src="https://badge.fury.io/py/ipforce.svg" alt="PyPI version"></a>
65
<a href="https://www.python.org/"><img src="https://img.shields.io/badge/built%20with-Python3-green.svg" alt="built with Python3"></a>
76
<a href="https://github.com/openscilab/ipforce"><img alt="GitHub repo size" src="https://img.shields.io/github/repo-size/openscilab/ipforce"></a>
8-
<a href="https://discord.gg/TODO"><img src="https://img.shields.io/discord/TODO" alt="Discord Channel"></a>
7+
<a href="https://codecov.io/gh/openscilab/ipforce"><img src="https://codecov.io/gh/openscilab/ipforce/graph/badge.svg?token=8EJBSMPZF1"></a>
98
</div>
109
1110
## Overview
@@ -102,11 +101,6 @@ Just fill an issue and describe it. We'll check it ASAP!
102101

103102
- Please complete the issue template
104103

105-
You can also join our discord server
106-
107-
<a href="https://discord.gg/TODO">
108-
<img src="https://img.shields.io/discord/TODO.svg?style=for-the-badge" alt="Discord Channel">
109-
</a>
110104

111105
## Show Your Support
112106

ipforce/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
from .adapters import IPv4TransportAdapter, IPv6TransportAdapter
55

66
__version__ = IPFORCE_VERSION
7+
8+
__all__ = ["IPv4TransportAdapter", "IPv6TransportAdapter"]

setup.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,24 @@ def read_description() -> str:
2424
description += c.read()
2525
return description
2626
except Exception:
27-
return '''TODO'''
27+
return '''IPForce is a Python library that provides HTTP adapters for forcing specific IP protocol versions (IPv4 or IPv6) during HTTP requests.
28+
It's particularly useful for testing network connectivity, ensuring compatibility with specific network configurations,
29+
and controlling which IP protocol version is used for DNS resolution and connections.'''
2830

2931

3032
setup(
3133
name='ipforce',
3234
packages=['ipforce'],
3335
version='0.1',
34-
description='TODO',
36+
description='IPForce: Force IPv4/IPv6 in Python HTTP Requests',
3537
long_description=read_description(),
3638
long_description_content_type='text/markdown',
3739
include_package_data=True,
3840
author='IPForce Development Team',
3941
author_email='ipforce@openscilab.com',
4042
url='https://github.com/openscilab/ipforce',
4143
download_url='https://github.com/openscilab/ipforce/tarball/v0.1',
42-
keywords="ip ipv4 adapter",
44+
keywords="http ipv4 ipv6 network requests adapter dns socket protocol ip-force",
4345
project_urls={
4446
'Source': 'https://github.com/openscilab/ipforce'
4547
},
@@ -57,11 +59,13 @@ def read_description() -> str:
5759
'Programming Language :: Python :: 3.11',
5860
'Programming Language :: Python :: 3.12',
5961
'Programming Language :: Python :: 3.13',
62+
'Programming Language :: Python :: 3.14',
6063
'Intended Audience :: Developers',
6164
'Intended Audience :: Education',
62-
'Intended Audience :: End Users/Desktop',
6365
'Topic :: System :: Networking',
6466
'Topic :: Utilities',
67+
'Topic :: Internet :: WWW/HTTP',
68+
'Topic :: Software Development :: Libraries :: Python Modules',
6569
],
6670
license='MIT',
6771
)

0 commit comments

Comments
 (0)