Python Library for XSHL Target
Project description
Python Library for XSHL Target
import json
from xshl.target import Target, Targets
t = Targets(
[
"project:[\"mcode-cc\",\"xshl\"]@pypi.org/xshl-target/#https://xshl.org/schemas/1.1/definitions/target.json",
"https://github.com/mcode-cc/py-xshl-target",
"https://en.wikipedia.org/wiki/Object_database",
"https://translate.yandex.ru?value.lang=en-ru&value.text=Targets",
"https://en.wikipedia.org/wiki/Object_database"
],
unique=True
)
t.insert(0, Target("https://github.com/mcode-cc/py-xshl-target"))
t.append(
Target(
**{
"@id": "https://xshl.org/schemas/1.1/definitions/target.json",
"@type": "/xshl-target/",
"base": "pypi.org",
"entity": [
"mcode-cc",
"xshl"
],
"spot": "project"
}
)
)
print(json.dumps(t.dictionaries, ensure_ascii=False, sort_keys=True, indent=4))
[
{
"@id": "https://xshl.org/schemas/1.1/definitions/target.json",
"@type": "/xshl-target/",
"base": "pypi.org",
"entity": [
"mcode-cc",
"xshl"
],
"spot": "project"
},
{
"@type": "/mcode-cc/py-xshl-target",
"base": "github.com",
"spot": "https"
},
{
"@type": "/wiki/Object_database",
"base": "en.wikipedia.org",
"spot": "https"
},
{
"@context": {
"value": {
"lang": "en-ru",
"text": "Targets"
}
},
"base": "translate.yandex.ru",
"spot": "https"
}
]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xshl-target-0.2.2.tar.gz
(19.3 kB
view hashes)
Built Distribution
Close
Hashes for xshl_target-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14a6a3408989efb145ab8e9a44b072bba1b481c0d06cdcc038d3ce5c0f43c5f4 |
|
MD5 | 32cc0f1a897c6afee6bde5de0bfef365 |
|
BLAKE2b-256 | ab2572540100a90c097a041f1015c7fb0813e543800888487b4d0e80a2948fd1 |