Python Library for XSHL Target
Project description
Python Library for XSHL Target
import json
from xshl.target import Target, Reference
t = Reference(
[
"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.3.2.tar.gz
(20.4 kB
view details)
Built Distribution
File details
Details for the file xshl-target-0.3.2.tar.gz
.
File metadata
- Download URL: xshl-target-0.3.2.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4236822ff75c4aee2abcf007ce5d239f45cb5e65177e5ee6ef5ad451f44ab04 |
|
MD5 | f8b5c447c896872a5fd0b7f49639af4b |
|
BLAKE2b-256 | 741c2ef1d4a5c37c7ecc9241f57413e2ca6fd9c6f21fd22eb9082bd4f5467063 |
File details
Details for the file xshl_target-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: xshl_target-0.3.2-py3-none-any.whl
- Upload date:
- Size: 31.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4b024fd7a5bbc14cdf2248e7989eaaa9e99386733f814d92a62e02b2251b7a9 |
|
MD5 | 39855a85a97fcd63438477af42251814 |
|
BLAKE2b-256 | 3a087c19bf914f19f3c51e87198205b41bd7272df04dd931eb8fffe9c5516284 |