PyLinks 0.0.0.dev54__py3-none-any.whl → 0.0.0.dev56__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.
@@ -0,0 +1,7 @@
1
+ Metadata-Version: 2.1
2
+ Name: PyLinks
3
+ Version: 0.0.0.dev56
4
+ Requires-Python: >=3.10
5
+ Requires-Dist: requests<3,>=2.31.0
6
+ Requires-Dist: ExceptionMan==0.0.0.dev43
7
+ Requires-Dist: MDit==0.0.0.dev43
@@ -6,7 +6,7 @@ pylinks/string.py,sha256=yoORoiILKAKzzfDw-bwePBTwb3Shr_RvOSB2tdEZuSU,1397
6
6
  pylinks/url.py,sha256=4YzmNn0U1nzWmcdzEW6RKaZd5uu-MZRimHGl5Xi60Cg,7815
7
7
  pylinks/api/__init__.py,sha256=q7hhZabjTajBYxDxzJy44y8Rx_-5sye9VnVnkytIua8,488
8
8
  pylinks/api/doi.py,sha256=7YnMqy4_Ct2sw9Wz4mQC5S4xAahwh6fMUPKAx_qqj-M,5899
9
- pylinks/api/github.py,sha256=sMR40PlPkPZe5HQj1cW_flrsPH6m7yaucBfwfpNdyuM,80310
9
+ pylinks/api/github.py,sha256=pC8qUh2kxCxEjLdwfG51Z8_MFsVYx30WyqLPw4FLLPo,80377
10
10
  pylinks/api/orcid.py,sha256=e0DAuziq7HdGJ4BJOI28mo1emB4_7gPsLxR7VsYPYMA,1377
11
11
  pylinks/api/zenodo.py,sha256=NcWOrFM0-3hMlIzS2mN1-5addJ-A7QDAFPcZWGedquQ,8375
12
12
  pylinks/exception/__init__.py,sha256=tU-LvaYi4NsLEZeeUN-JjemhefJ6R_DG37fIMoaZ5a4,89
@@ -17,13 +17,13 @@ pylinks/exception/uri.py,sha256=wVpxsCWiavSyGoUE9ujPtNYaFcP5cuJZZfyGimK6jYs,576
17
17
  pylinks/site/__init__.py,sha256=KLBFClp-FuLkGzw93XB3cvVrwp6Lz9ajl80DpfZR5qg,74
18
18
  pylinks/site/binder.py,sha256=cV4DVmOUQ71IMdLQoVuXCazcKYz3pL5QBFDMFvc-R7s,4311
19
19
  pylinks/site/conda.py,sha256=vw44Tamt0SEPYzhCMiKzqb5TBhlZsYFTZ9VYmypmmY8,2525
20
- pylinks/site/github.py,sha256=rGay8aoDQsHZzNaUokUkptKlt3gKcB7eXl0TT5lQhH4,10854
20
+ pylinks/site/github.py,sha256=tT9qHeiC6PV4HOg2HipgN3i8qbkOyelpDpl2m4Rlvnk,10960
21
21
  pylinks/site/lib_io.py,sha256=5DILFLkAY4BepX0M8pJLjG7wx1gx0XL5WYcSR5UB6mM,2169
22
22
  pylinks/site/pypi.py,sha256=-NSglDo-k55bALi-aN0iF2I6z1WXsjYOIVDyjNUxuuU,1944
23
23
  pylinks/site/readthedocs.py,sha256=_s27ETa3oRoeDdQvFrrtuSh2my6cjWEIEVhwHz0yZ90,1797
24
24
  pylinks/uri/__init__.py,sha256=W38fMHGgV7mg8uPWC8IMWGgmlCQO9VHIqNpInG2NS2I,29
25
25
  pylinks/uri/data.py,sha256=uD1CipMo4oFpxH8liOY24PsxMyuR5kEH2a0XDkO1dgI,6380
26
- PyLinks-0.0.0.dev54.dist-info/METADATA,sha256=Ya8S1IizuYIgM4PzvQ2Vaedq4w_zhs_56miLyCVpOHs,194
27
- PyLinks-0.0.0.dev54.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
28
- PyLinks-0.0.0.dev54.dist-info/top_level.txt,sha256=LlaTHnPw89VppYU3vCciF81IOSzvc16RkdNkOCqhAcs,8
29
- PyLinks-0.0.0.dev54.dist-info/RECORD,,
26
+ PyLinks-0.0.0.dev56.dist-info/METADATA,sha256=ij3VW6PbjrMmPFRpBbCtrP_Z-DDdnKFT26i5naA3BHs,190
27
+ PyLinks-0.0.0.dev56.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
28
+ PyLinks-0.0.0.dev56.dist-info/top_level.txt,sha256=LlaTHnPw89VppYU3vCciF81IOSzvc16RkdNkOCqhAcs,8
29
+ PyLinks-0.0.0.dev56.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.5.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
pylinks/api/github.py CHANGED
@@ -437,7 +437,7 @@ class Repo:
437
437
  - [GitHub Docs](https://docs.github.com/en/graphql/guides/using-the-graphql-api-for-discussions)
438
438
  -
439
439
  """
440
- payload = "discussionCategories(first: 100) {edges {node {name, slug, id}}}"
440
+ payload = "discussionCategories(first: 100) {edges {node {name, slug, id, emoji, emojiHTML, createdAt, updatedAt, isAnswerable, description}}}"
441
441
  data = self._graphql_query(payload)
442
442
  discussions = [entry["node"] for entry in data["discussionCategories"]["edges"]]
443
443
  return discussions
pylinks/site/github.py CHANGED
@@ -189,6 +189,9 @@ class Repo:
189
189
  """URL of commits page."""
190
190
  return self.homepage / "commits"
191
191
 
192
+ def contributors(self) -> _pylinks.url.URL:
193
+ return self.homepage / "graphs" / "contributors"
194
+
192
195
  def compare(self, base: str, head: str) -> _pylinks.url.URL:
193
196
  """
194
197
  URL of a comparison between two references, i.e., branches, tags, or hashes.
@@ -1,8 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: PyLinks
3
- Version: 0.0.0.dev54
4
- Requires-Python: >=3.10
5
- Requires-Dist: requests <3,>=2.31.0
6
- Requires-Dist: ExceptionMan ==0.0.0.dev41
7
- Requires-Dist: MDit ==0.0.0.dev41
8
-