semvec/pypi-packages huggingface dataset:
gw2api 1.1.4
Guild Wars 2 API
License: MIT

****************
Guild Wars 2 API
****************

gw2api is a Python library to interface with the `Guild Wars 2 API`_. It aims
to have an almost one-to-one mapping to the JSON API, with only some minor
differences.

Usage Example
-------------

.. code-block:: python

    import gw2api.v2

    for item in gw2api.v2.items.get(range(30684, 30705)):
        link = gw2api.encode_item_link(item["id"])
        print "%-26s %-9s %-10s %s" % (item["name"], item["rarity"],
                                       item["details"]["type"], link)

gw2api is available from the `Python Package Index`_ and is hosted on GitHub_.

.. _Guild Wars 2 API: http://wiki.guildwars2.com/wiki/API:Main
.. _Python Package Index: https://pypi.python.org/pypi/gw2api
.. _GitHub: https://github.com/hackedd/gw2api
pycodesim 0.0.2
A Python Code Similarity Detection Doll, just for fun. 
License: MIT


pycodesim
=========

A Python Code Similarity Detection Doll， just for fun.
用于计算python代码相似度的玩具。

背景
----

基于抽象语法树，有三种方法，第一种是最简单的jaccard相似度，第二种是树的编辑距离，第三种是遍历合适大小的子树计算anti-unification(不完全是)

demo
----

::

    code_sim('codes/code1.py', 'codes/code2.py', 'jaccard')
    code_sim('codes/code1.py', 'codes/code2.py', 'tree_edit')
    code_sim('codes/code1.py', 'codes/code2.py', 'fake_anti_uni')