vunghixuan 0.1.0__tar.gz → 0.1.1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- vunghixuan-0.1.1/PKG-INFO +7 -0
- {vunghixuan-0.1.0 → vunghixuan-0.1.1}/setup.py +6 -6
- {vunghixuan-0.1.0 → vunghixuan-0.1.1}/src/vunghixuan/create_project.py +2 -1
- vunghixuan-0.1.1/src/vunghixuan.egg-info/PKG-INFO +7 -0
- vunghixuan-0.1.1/test/test_api_otp.py +14 -0
- vunghixuan-0.1.0/PKG-INFO +0 -7
- vunghixuan-0.1.0/src/vunghixuan.egg-info/PKG-INFO +0 -7
- vunghixuan-0.1.0/test/test_api_otp.py +0 -7
- {vunghixuan-0.1.0 → vunghixuan-0.1.1}/setup.cfg +0 -0
- {vunghixuan-0.1.0 → vunghixuan-0.1.1}/src/vunghixuan/__init__.py +0 -0
- {vunghixuan-0.1.0 → vunghixuan-0.1.1}/src/vunghixuan/api_and_otp.py +0 -0
- {vunghixuan-0.1.0 → vunghixuan-0.1.1}/src/vunghixuan/main.py +0 -0
- {vunghixuan-0.1.0 → vunghixuan-0.1.1}/src/vunghixuan.egg-info/SOURCES.txt +0 -0
- {vunghixuan-0.1.0 → vunghixuan-0.1.1}/src/vunghixuan.egg-info/dependency_links.txt +0 -0
- {vunghixuan-0.1.0 → vunghixuan-0.1.1}/src/vunghixuan.egg-info/entry_points.txt +0 -0
- {vunghixuan-0.1.0 → vunghixuan-0.1.1}/src/vunghixuan.egg-info/requires.txt +0 -0
- {vunghixuan-0.1.0 → vunghixuan-0.1.1}/src/vunghixuan.egg-info/top_level.txt +0 -0
@@ -23,10 +23,10 @@ from setuptools import setup, find_packages
|
|
23
23
|
|
24
24
|
setup(
|
25
25
|
name='vunghixuan',
|
26
|
-
version='0.1.
|
26
|
+
version='0.1.1',
|
27
27
|
packages=find_packages(where='src'),
|
28
|
-
description='API, OTP, Create Project',
|
29
|
-
author='
|
28
|
+
description='Get API, OTP, Create Project, Date_created = 2025-01-08',
|
29
|
+
author='Đặng Thanh Vũ',
|
30
30
|
author_email='vunghixuan@gmail.com',
|
31
31
|
package_dir={'': 'src'},
|
32
32
|
install_requires=[
|
@@ -48,11 +48,11 @@ Quy trình phát hành gói Python bao gồm nhiều bước quan trọng, mỗi
|
|
48
48
|
|
49
49
|
Vào folder dist lấy thông tin file và: Sau khi tạo gói, bạn cần vào thư mục dist để tìm file gói đã tạo.
|
50
50
|
|
51
|
-
3. pip install dist/vunghixuan-0.1-py3-none-any.whl: Lệnh này cài đặt gói đã được tạo ra từ thư mục dist.
|
51
|
+
3. pip install dist/vunghixuan-0.1.0-py3-none-any.whl: Lệnh này cài đặt gói đã được tạo ra từ thư mục dist.
|
52
52
|
|
53
53
|
4. Cập nhật nếu hỏi: pip install dist/vunghixuan-0.1-py3-none-any.whl --force-reinstall: Nếu bạn cần cập nhật gói đã cài đặt, lệnh này sẽ cài đặt lại gói, bất kể phiên bản hiện tại.
|
54
54
|
|
55
|
-
|
55
|
+
|
56
56
|
|
57
57
|
5. twine upload dist/* -u __token__ -p pypi-AgEIcHlwaS5vcmcCJDJkY2EzOTEyLTZjNzMtNDdhMy05YjBmLWM1MWY4NGZjNTZmOQACKlszLCI4OWIwMTU4NS0wNzFhLTQ1M2ItYTU2Yi1lMjU2YTAyYzUzMzkiXQAABiBFb0kaUKmOKW4r199X2i1zZMfbcNKi1DKnnR31hYkpMg
|
58
58
|
Tóm lại, bước 1 và 2 tạo môi trường local, trong khi bước 5 là bước tải lên gói lên PyPI.
|
@@ -61,7 +61,7 @@ Tóm lại, bước 1 và 2 tạo môi trường local, trong khi bước 5 là
|
|
61
61
|
|
62
62
|
"""
|
63
63
|
|
64
|
-
# pypi-AgEIcHlwaS5vcmcCJGRmOTZjMWEwLTg3YjEtNDQ4My1iMzc3LTVmZmIxMzdiYzkxMgACKlszLCI4OWIwMTU4NS0wNzFhLTQ1M2ItYTU2Yi1lMjU2YTAyYzUzMzkiXQAABiCqSM0HmXMCrq31YYQOx_5Up0gQaH0xbg21VpYen9CKlw
|
64
|
+
# Bỏ mã sau: pypi-AgEIcHlwaS5vcmcCJGRmOTZjMWEwLTg3YjEtNDQ4My1iMzc3LTVmZmIxMzdiYzkxMgACKlszLCI4OWIwMTU4NS0wNzFhLTQ1M2ItYTU2Yi1lMjU2YTAyYzUzMzkiXQAABiCqSM0HmXMCrq31YYQOx_5Up0gQaH0xbg21VpYen9CKlw
|
65
65
|
"""
|
66
66
|
[pypi]
|
67
67
|
username = __token__
|
@@ -5,7 +5,8 @@ from pathlib import Path
|
|
5
5
|
|
6
6
|
class Project:
|
7
7
|
def __init__(self):
|
8
|
-
self.root_path = Path(__file__).parent
|
8
|
+
# self.root_path = Path(__file__).parent
|
9
|
+
self.root_path = Path(os.getcwd()) # Lấy đường dẫn hiện tại
|
9
10
|
# self.create_project()
|
10
11
|
|
11
12
|
# def create_project(self):
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# from vunghixuan import APIKey, Otp
|
2
|
+
# obj = APIKey("your_api_key")
|
3
|
+
# obj.get_api()
|
4
|
+
|
5
|
+
# obj = Otp('OXATAFVTTUIVMXNQCKMZAOFZYUYE6MGZ').get_otp()
|
6
|
+
# obj = Otp()
|
7
|
+
# obj.otp_vunghixuan()
|
8
|
+
|
9
|
+
# from vunghixuan.create_project import Project
|
10
|
+
|
11
|
+
# obj = Project()
|
12
|
+
# obj.create_project()
|
13
|
+
|
14
|
+
# from .sr
|
vunghixuan-0.1.0/PKG-INFO
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
|