ruyi 0.39.0__py3-none-any.whl → 0.40.0__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.
ruyi/version.py CHANGED
@@ -51,7 +51,7 @@ RUYI_SEMVER: Final = _init_pkg_semver()
51
51
  RUYI_USER_AGENT: Final = f"ruyi/{RUYI_SEMVER}"
52
52
 
53
53
  COPYRIGHT_NOTICE: Final = """\
54
- Copyright (C) 2023 Institute of Software, Chinese Academy of Sciences (ISCAS).
54
+ Copyright (C) Institute of Software, Chinese Academy of Sciences (ISCAS).
55
55
  All rights reserved.
56
56
  License: Apache-2.0 <https://www.apache.org/licenses/LICENSE-2.0>
57
57
  \
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: ruyi
3
- Version: 0.39.0
3
+ Version: 0.40.0
4
4
  Summary: Package manager for RuyiSDK
5
5
  License: Apache License
6
6
  Version 2.0, January 2004
@@ -241,33 +241,85 @@ Project-URL: github, https://github.com/ruyisdk/ruyi
241
241
  Project-URL: issues, https://github.com/ruyisdk/ruyi/issues
242
242
  Description-Content-Type: text/markdown
243
243
 
244
+ <!-- markdownlint-capture -->
245
+ <!-- markdownlint-disable MD033 MD041 -->
244
246
  <div align="center">
245
247
  <img alt="RuyiSDK Logo" src="resources/ruyi-logo-256.png" height="128" />
246
248
  <h3>Ruyi</h3>
247
- <p>The package manager for <a href="https://github.com/ruyisdk">RuyiSDK</a>.</p>
249
+ <p>The package manager for <a href="https://ruyisdk.org/en/">RuyiSDK</a>.</p>
250
+ <p><a href="https://ruyisdk.org/en/">Official website</a> |
251
+ <a href="https://ruyisdk.cn">Developer community</a> |
252
+ <a href="https://github.com/ruyisdk">Open-source</a></p>
248
253
  </div>
254
+ <!-- markdownlint-restore -->
249
255
 
250
- ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/ruyisdk/ruyi/dist.yml)
256
+ ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/ruyisdk/ruyi/ci.yml)
251
257
  ![GitHub License](https://img.shields.io/github/license/ruyisdk/ruyi)
252
258
  ![Python Version](https://img.shields.io/badge/python-%3E%3D3.10-blue)
253
259
  ![GitHub Tag](https://img.shields.io/github/v/tag/ruyisdk/ruyi?label=latest%20tag)
260
+ ![PyPI - Version](https://img.shields.io/pypi/v/ruyi)
261
+ ![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/ruyisdk/ruyi/total?label=all%20github%20dl)
262
+ ![PyPI - Downloads](https://img.shields.io/pypi/dm/ruyi?label=pypi%20dl)
254
263
 
255
- ## Installation and usage
264
+ 🌍 English | [简体中文](./README.zh.md)
265
+
266
+ ## ⬇️ Installation
267
+
268
+ `ruyi` is available in two forms: the PyPI package or the one-file binary
269
+ distribution. Performance of various `ruyi` operations will be better with the
270
+ PyPI installation, but the one-file distribution is a bit easier to set up
271
+ because one doesn't have to first configure a Python environment. Either way,
272
+ the feature set should be the same.
273
+
274
+ ### ✅ Recommended: Install from PyPI
275
+
276
+ This is the recommended way to install `ruyi` on your machine. In any Python
277
+ virtual environment, simply type:
278
+
279
+ ```sh
280
+ pip install ruyi
281
+ ```
282
+
283
+ Or the equivalent with any other Python package manager you prefer. After the
284
+ installation completes, the `ruyi` command will then show up in the Python
285
+ virtual environment's `bin` directory; if you have already activated the
286
+ environment, you may now start using `ruyi`.
287
+
288
+ ### Alternative: Use the one-file distribution
256
289
 
257
290
  You can get pre-built binaries of `ruyi` from [GitHub Releases][ghr] or
258
- [the RuyiSDK mirror][mirror-testing] for easier testing.
291
+ [the RuyiSDK mirror][mirror-iscas] for easier testing.
259
292
  Rename the downloaded file to `ruyi`, make it executable,
260
293
  put inside your `$PATH` and you're ready to go.
261
294
 
262
295
  [ghr]: https://github.com/ruyisdk/ruyi/releases
263
- [mirror-testing]: https://mirror.iscas.ac.cn/ruyisdk/ruyi/testing/
296
+ [mirror-iscas]: https://mirror.iscas.ac.cn/ruyisdk/ruyi/tags/
297
+
298
+ ### Platform compatibility notes
299
+
300
+ Because `ruyi` is written in platform-independent Python, you may be able to
301
+ install `ruyi` on any system with a Python package manager. However, you may
302
+ not be able to install binary packages from the official RuyiSDK Software Repository
303
+ if you are on a system not listed on
304
+ [RuyiSDK's platform support documentation][ruyisdk-plat-support-en]
305
+ ([中文][ruyisdk-plat-support-zh]), due to the packages being only built for the
306
+ officially supported systems. You may be able to obtain community-provided
307
+ support from [the RuyiSDK developer community][ruyisdk-community] in such cases.
308
+
309
+ [ruyisdk-plat-support-en]: https://ruyisdk.org/en/docs/Other/platform-support/
310
+ [ruyisdk-plat-support-zh]: https://ruyisdk.org/docs/Other/platform-support/
311
+ [ruyisdk-community]: https://ruyisdk.cn/
264
312
 
265
- You can browse the documentation at [the dedicated RuyiSDK docs site][docs]
266
- (only available in Chinese right now).
313
+ ## 🖥️ Usage
267
314
 
268
- [docs]: https://ruyisdk.org/docs/intro
315
+ You can browse our documentation at [the dedicated RuyiSDK docs site][docs-en]
316
+ ([中文][docs-zh]). In case you need any assistance, feel
317
+ free to search and post on [our community forum][ruyisdk-community].
269
318
 
270
- ## Configuration
319
+ [docs-en]: https://ruyisdk.org/en/docs/intro/
320
+ [docs-zh]: https://ruyisdk.org/docs/intro/
321
+
322
+ ## ⚙️ Configuration
271
323
 
272
324
  Various aspects of `ruyi` can be configured with files or environment variables.
273
325
 
@@ -337,7 +389,7 @@ Currently the following environment variables are supported by `ruyi`:
337
389
  For boolean variables, the values `1`, `true`, `x`, `y` or `yes` (all case-insensitive)
338
390
  are all treated as "true".
339
391
 
340
- ### Telemetry
392
+ ## 📞 Telemetry
341
393
 
342
394
  The Ruyi package manager collects usage data in order to help us improve your
343
395
  experience. It is collected by the RuyiSDK team and shared with the community.
@@ -360,8 +412,8 @@ The upload will happen on a random weekday which is determined by the
360
412
  installation's anonymous ID alone.
361
413
 
362
414
  You can change the telemetry mode by editing `ruyi`'s config file, or simply
363
- by setting the `RUYI_TELEMETRY_OPTOUT` environment variable to any of the
364
- values accepted as truthy.
415
+ disable telemetry altogether by setting the `RUYI_TELEMETRY_OPTOUT` environment
416
+ variable to any of the values accepted as truthy.
365
417
 
366
418
  We collect the following information with `ruyi`:
367
419
 
@@ -381,13 +433,20 @@ We collect the following information with `ruyi`:
381
433
 
382
434
  You can see our Privacy Policy on the RuyiSDK website.
383
435
 
384
- ## Contributing
436
+ You can see [our Privacy Policy][privacy-policy-en] ([中文][privacy-policy-zh])
437
+ on the RuyiSDK website.
438
+
439
+ [privacy-policy-en]: https://ruyisdk.org/en/docs/legal/privacyPolicy/
440
+ [privacy-policy-zh]: https://ruyisdk.org/docs/legal/privacyPolicy/
441
+
442
+ ## 🙋 Contributing
385
443
 
386
- We welcome contributions to Ruyi! Please see our [contribution guidelines](./CONTRIBUTING.md) ([中文](./CONTRIBUTING.zh.md)) for details on how to get started.
444
+ We welcome contributions to RuyiSDK! Please see our [contribution guidelines](./CONTRIBUTING.md)
445
+ ([中文](./CONTRIBUTING.zh.md)) for details on how to get started.
387
446
 
388
- ## License
447
+ ## ⚖️ License
389
448
 
390
- Copyright &copy; 2023-2024 Institute of Software, Chinese Academy of Sciences (ISCAS).
449
+ Copyright &copy; Institute of Software, Chinese Academy of Sciences (ISCAS).
391
450
  All rights reserved.
392
451
 
393
452
  `ruyi` is licensed under the [Apache 2.0 license](./LICENSE-Apache.txt).
@@ -93,9 +93,9 @@ ruyi/utils/templating.py,sha256=94xBJTkIfDqmUBTc9hnLO54zQoC7hwGWONGF3YbaqHk,966
93
93
  ruyi/utils/toml.py,sha256=ri97Ki0xhBwoDtrjngCc6hlPXuEsma1ShPFFuFMYqpA,3192
94
94
  ruyi/utils/url.py,sha256=Wyct6syS4GmZC6mY7SK-YgBWxKl3cOOBXtp9UtvGkto,186
95
95
  ruyi/utils/xdg_basedir.py,sha256=vd9p-JZru2DkXvt_W3gCS1_Wj4QkuftErI1MLPaBiz4,2478
96
- ruyi/version.py,sha256=P_4CSkRKyv8S28dZ5iPhLa0Po-L_K4OY8FP-1SOnl80,2147
97
- ruyi-0.39.0.dist-info/LICENSE-Apache.txt,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
98
- ruyi-0.39.0.dist-info/METADATA,sha256=QwEOSGcKAK2Ndxb82IHmkqwk_s19v-XA01zL17n2d-g,21093
99
- ruyi-0.39.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
100
- ruyi-0.39.0.dist-info/entry_points.txt,sha256=GXSNSy7OgFrnlU5xm5dE3l3PGO92Qf6VDIUCdvQNm8E,49
101
- ruyi-0.39.0.dist-info/RECORD,,
96
+ ruyi/version.py,sha256=KLJkvKexU07mu-GVDbYKsQvReRvwlVFYkRmcvnyfQNY,2142
97
+ ruyi-0.40.0.dist-info/LICENSE-Apache.txt,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
98
+ ruyi-0.40.0.dist-info/METADATA,sha256=9UsnuC7RFQHxk_dtnU9YRkiITp7OFIJdUya8rA1i1Uw,23764
99
+ ruyi-0.40.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
100
+ ruyi-0.40.0.dist-info/entry_points.txt,sha256=GXSNSy7OgFrnlU5xm5dE3l3PGO92Qf6VDIUCdvQNm8E,49
101
+ ruyi-0.40.0.dist-info/RECORD,,
File without changes