rust-crate-pipeline 1.5.3__py3-none-any.whl → 1.5.4__py3-none-any.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.
@@ -219,8 +219,7 @@ class CrateAPIClient:
219
219
 
220
220
  except Exception as e:
221
221
  logging.error(
222
- f"Failed fetching metadata for {crate_name}: {
223
- str(e)}")
222
+ f"Failed fetching metadata for {crate_name}: {str(e)}")
224
223
  raise
225
224
 
226
225
  # If crates.io fails, try lib.rs
@@ -230,8 +229,8 @@ class CrateAPIClient:
230
229
  soup = BeautifulSoup(r.text, 'html.parser')
231
230
 
232
231
  # Extract metadata from lib.rs page
233
- name = soup.select_one('h1').text.strip(
234
- ) if soup.select_one('h1') else crate_name
232
+ h1 = soup.select_one('h1')
233
+ name = h1.text.strip() if h1 else ""
235
234
 
236
235
  # Find description
237
236
  desc_elem = soup.select_one('.description')
@@ -240,7 +239,8 @@ class CrateAPIClient:
240
239
  # Find repository link
241
240
  repo_link = None
242
241
  for a in soup.select('a'):
243
- if 'github.com' in a.get('hre', ''):
242
+ # Fix: typo 'hre' -> 'href' and None check
243
+ if a and 'github.com' in (a.get('href') or ''):
244
244
  repo_link = a['href']
245
245
  break
246
246
 
@@ -1,10 +1,11 @@
1
1
  """Version inf - New CLI options: --enable-crawl4ai, --disable-crawl4ai, --crawl4ai-model
2
2
  - Enhanced configuration with local GGUF model paths and crawl4ai_timeoutmation for rust-crate-pipeline."""
3
3
 
4
- __version__ = "1.5.3"
4
+ __version__ = "1.5.4"
5
5
  __version_info__ = tuple(int(x) for x in __version__.split("."))
6
6
 
7
7
  # Version history
8
+ # 1.5.4 - Robust bugfix: BeautifulSoup None checks, href typo, Rule Zero audit
8
9
  # 1.5.3 - Minor bug fix: GitHub Authorization header f-string
9
10
  # 1.5.2 - Rule Zero, PEP8, async/test compliance, crate_list injection
10
11
  # - Standardized all configuration to use GGUF model paths
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rust-crate-pipeline
3
- Version: 1.5.3
3
+ Version: 1.5.4
4
4
  Summary: A comprehensive system for gathering, enriching, and analyzing metadata for Rust crates using AI-powered insights
5
5
  Home-page: https://github.com/Superuser666-Sigil/SigilDERG-Data_Production
6
6
  Author: SuperUser666-Sigil
@@ -5,15 +5,15 @@ rust_crate_pipeline/analysis.py,sha256=jcHHTBZ_zg5n4VGPXJYM7-NkNeL5hRdgvowkiim0o
5
5
  rust_crate_pipeline/config.py,sha256=J8OgIDgBDR7fjlcL0iEsCXsGjWou9dKUGkgPB1CuS6Q,2570
6
6
  rust_crate_pipeline/github_token_checker.py,sha256=_cyOiSYc1bCVczr6pUUJc_s822ic7Qi_IW3JtI_4C0w,3796
7
7
  rust_crate_pipeline/main.py,sha256=UZj2pcHAzG5MdrgHhahWnsz3MuTQfVQ6yzf91jPtli0,10224
8
- rust_crate_pipeline/network.py,sha256=SFr_cgdfGykBcUVqJrKBcRv93Uuup42q653EMSTOudA,12603
8
+ rust_crate_pipeline/network.py,sha256=CvlsnSjr9lQbAKow58aGuSYDXTwY3eNWz5S7fCUrByE,12636
9
9
  rust_crate_pipeline/pipeline.py,sha256=aOLuIpfvDbPDCvft8ppUa0vRiFVdiz2wltpi26ZJaes,22769
10
10
  rust_crate_pipeline/production_config.py,sha256=24YWT68Fo2Kl8v7Hn1WgqfPrikXma9VZEuEcMr7iDik,2282
11
- rust_crate_pipeline/version.py,sha256=IHYN4TYFr4lI_merHqGDKk6bazoPyx_Ugz6fb050434,4811
11
+ rust_crate_pipeline/version.py,sha256=RfXeFEP8CYL3BcohzkjrdSC4gtDa8ptB-8vJFkKlzIw,4891
12
12
  rust_crate_pipeline/utils/file_utils.py,sha256=IJOBBp6-w9pnCdqyGcRNwBph_iwI_zzULCdAULGFUy0,2097
13
13
  rust_crate_pipeline/utils/logging_utils.py,sha256=5-o6ohm38sH1ozjZWHPlm9Wj7yILiUzvMsLJDeu11lk,2350
14
- rust_crate_pipeline-1.5.3.dist-info/licenses/LICENSE,sha256=tpd4XNpbssrSx9-iErATOLrOh0ivNPfO2I5MAPUpats,1088
15
- rust_crate_pipeline-1.5.3.dist-info/METADATA,sha256=rraGhIpHt_x62RoVK3oiMQ3Mxb8aF9lPg8yjrwau0eM,21349
16
- rust_crate_pipeline-1.5.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
- rust_crate_pipeline-1.5.3.dist-info/entry_points.txt,sha256=9Rr_IRuFRIridXxUSdEJbB3ba0NnpEfKmknZXFdYRC0,70
18
- rust_crate_pipeline-1.5.3.dist-info/top_level.txt,sha256=GUdB7RyxHLhijQxui_KTy3B8p_L2APui9C6RYa0FuaE,20
19
- rust_crate_pipeline-1.5.3.dist-info/RECORD,,
14
+ rust_crate_pipeline-1.5.4.dist-info/licenses/LICENSE,sha256=tpd4XNpbssrSx9-iErATOLrOh0ivNPfO2I5MAPUpats,1088
15
+ rust_crate_pipeline-1.5.4.dist-info/METADATA,sha256=PublMOaVkf3Y-m8pRZwmfFs43t3gkI4sMR319yd2oSI,21349
16
+ rust_crate_pipeline-1.5.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
+ rust_crate_pipeline-1.5.4.dist-info/entry_points.txt,sha256=9Rr_IRuFRIridXxUSdEJbB3ba0NnpEfKmknZXFdYRC0,70
18
+ rust_crate_pipeline-1.5.4.dist-info/top_level.txt,sha256=GUdB7RyxHLhijQxui_KTy3B8p_L2APui9C6RYa0FuaE,20
19
+ rust_crate_pipeline-1.5.4.dist-info/RECORD,,