A Parser for Prompt Markup Language.
Project description
PromptML
Prompt Markup Language Parser.
PromptML
- PromptML is a simple markup language.
- It inserts control strings in common string, wrapped by
[]
, (e. g.[mask]
,[sep]
) - The control strings can have some options, seperated with string by
|
, (e. g.[title|upper]
,[text|lower]
) - The control options can be multiple, seperated by
,
, (e. g.[title|upper,rmpunt]
)
Examples will be prased
[cls]A [mask] news : [sent_0|lower,fix][sep|+]
- String:
cls
Control Options: {} - String:
A
Control Options: None - String:
mask
Control Options: {} - String:
news :
Control Options: None - String:
sent_0
Control Options: {lower
,fix
} - String:
sep
Control Options: {+
}
- String:
[cls]\\[ Topic : [mask] \\][sent_0][sep|+]
- String:
cls
Control Options: {} - String:
[ Topic :
Control Options: None - String:
mask
Control Options: {} - String:
]
Control Options: None - String:
sent_0
Control Options: {} - String:
sep
Control Options: {+
}
- String:
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
promptml-0.2.2-cp310-none-win32.whl
(142.9 kB
view hashes)
promptml-0.2.2-cp39-none-win32.whl
(142.9 kB
view hashes)
promptml-0.2.2-cp38-none-win32.whl
(142.4 kB
view hashes)
promptml-0.2.2-cp37-none-win32.whl
(142.4 kB
view hashes)
Close
Hashes for promptml-0.2.2-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5aab3101f67821297ec8b02691b73b5e04d00581a1ccd4396e6c21c8105ab4c |
|
MD5 | d532f522ea063e8f9ef6802a34730eec |
|
BLAKE2b-256 | 953f269f1863aaca1c9991d84f0f14cc22be0543232c2ce512ec5b15faf8558c |
Close
Hashes for promptml-0.2.2-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f2ef02ad591a53543146c6cca30ba8c7595c634a8f52174cc1e743a102cfbd1 |
|
MD5 | 7c83e4f859f7a85f017863389dc9730c |
|
BLAKE2b-256 | 9442e5a39bd554fb3790c1c23646a836fd117369c27db9b7e7d38463b8073809 |
Close
Hashes for promptml-0.2.2-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd54e3611a28fea801ab6e37870f0faa568f11ea39cdd8264067b9f70a94c0a5 |
|
MD5 | f80f125f1415b303065bcfdfd615c625 |
|
BLAKE2b-256 | 66ff913a572f9ed4b7e9515cf0b910af5c68dd71f313dd17465ab8d36edec16d |
Close
Hashes for promptml-0.2.2-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1571e79013c87e1d666cec3d4bd75fc9b4e43ded6004541372a6692916996edc |
|
MD5 | 19b47c158a924c7dbbc89303815272e0 |
|
BLAKE2b-256 | efe170c83c87e8900b2cc214431cf3368edfd36213b2c209da2faf9aae9823bb |
Close
Hashes for promptml-0.2.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71ce823fb0fb2f075c49c88d75c9d5fa088523bdaa60ec24de0ed7328e639494 |
|
MD5 | d9f078aa8fcaa010307eec931895b241 |
|
BLAKE2b-256 | 3c603b6b415b1947f3b48aee193796780b04fe489ea58f721d54ca602e5b2098 |
Close
Hashes for promptml-0.2.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f533c46f3583c459f89438d3d5b5664b82765d4d3f4596b0cfbf450da82c5717 |
|
MD5 | 70612bed8c93f79b9f09e6f912ca3322 |
|
BLAKE2b-256 | 560380b8dbfec8a8012d6d337949067baf57443edcdab1771f6ba5ec5cdc7645 |
Close
Hashes for promptml-0.2.2-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd4e48b01638ecfb7e8a0edb7d7a42052231cab762d9a96d0962e6041242323b |
|
MD5 | a9d9ff9f8f779cd0b9a02fa50769d56f |
|
BLAKE2b-256 | 1e1a375803427cb014f7e0b70e8f19c948771bbdef23249595a2cc5c8a51c9e0 |
Close
Hashes for promptml-0.2.2-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 913c8744a7017e44458d84cc703fb20d34b9fd26cac2939927efb9ef4e55cda9 |
|
MD5 | 4701c33f39fd05abf0ff6839fe8f4254 |
|
BLAKE2b-256 | c844db550f0050c95d5a0dd55e7ebd44ff80385f23d856c3beabb50c2c71480c |
Close
Hashes for promptml-0.2.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4138f3736f4cc5f2784d5115438b75d2bff66db5a9571d3c15910ced4f30efa8 |
|
MD5 | 48ca4e087834cef83575edc5eb9f28bc |
|
BLAKE2b-256 | 64c8b3ceace888c86b5b44312a681f9cfc0b2f5fe02bfedb01bdc55059642b41 |
Close
Hashes for promptml-0.2.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 936c89956a30f39b09970d4318839f219e983889d4c15f7ea80c4f92cae2e9eb |
|
MD5 | 5cffacaf6480ded9f3ef1e95c85f16c8 |
|
BLAKE2b-256 | 8bfda3c1beedb1849dca92845fc6b9619db7a4219ba3f49ca0c76f071ef46310 |
Close
Hashes for promptml-0.2.2-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 529f0be8628a20163de51955054d286f66dcdef29459a711864d498e6941a581 |
|
MD5 | 6fce9742bc16959ea65d4d8610a90959 |
|
BLAKE2b-256 | 79c2bc61774761722eb7aaa1e3c0e6b54988807887bc276abe5e60792b79a854 |
Close
Hashes for promptml-0.2.2-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd054df5a4cfc48a8130e355d498b738f7827c6a5f50c85b9bb8762bd7ad0311 |
|
MD5 | 5fc5b00d525f560830847224ca132299 |
|
BLAKE2b-256 | 45dcf1b43ac56f6e4f504560b200cba867ceb0146c7904860b63c670b668a85f |
Close
Hashes for promptml-0.2.2-cp38-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e65c8d803da90c05f45b3419aa6232b0412d9cf37c44e6b39bb10e4d27727c5a |
|
MD5 | 450f36afc0cdc9947c7ee712a27cd67e |
|
BLAKE2b-256 | 2b4d0b361c1b520d6a4b4e9cbe691feb48b7cddcd6164ee3d743b78176dd8f24 |
Close
Hashes for promptml-0.2.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8988a2285e326a3b3dbb3774b7a31a191da3c9bede2e059683faa6f86a846b4 |
|
MD5 | eb8257c43cb8d5e004a3326ff1b346d5 |
|
BLAKE2b-256 | 46d49318a65c803c49af1fb21cfcf8dad648f16f6daac28f0a422e3341cea90e |
Close
Hashes for promptml-0.2.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6927bb9faf342401538926c9827efe8d5d096d8342b6474f82c98da7a34d0d8 |
|
MD5 | 44c25c707504db45fc3af9ee990ced0c |
|
BLAKE2b-256 | a7e1578b95eafa8d6c7fd130d672448546da3a6f7ba81a329ec7c7726f2a4fa2 |
Close
Hashes for promptml-0.2.2-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f963afa7bcb9e5a5cd1d9a856e230e9c71b70685fd06d8721c7980bc7e17bf15 |
|
MD5 | e98f3f91eea8d1ef847024b45788b4b4 |
|
BLAKE2b-256 | 172ab14455d70c09c3b04467b5606993345c55a4ed405d453d006335b2cb8b68 |
Close
Hashes for promptml-0.2.2-cp37-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 381cc0b661dadb1d0358cd7609aa543ec6ade909b417ec77adc9fdb1d0141357 |
|
MD5 | 432cf54b50156021a3430cbabe61653c |
|
BLAKE2b-256 | 39d580da4f2989d1a997b1dbc9d65807dbca4a7fb81cf27ea0e2f32203294835 |
Close
Hashes for promptml-0.2.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9574cb1dedcbe1c1d09bc01026b4641d2fa44ae69d50d2243879828d5e011e71 |
|
MD5 | 7d492385dac5c0f1cd68faee549e1e61 |
|
BLAKE2b-256 | 3775ec3b95fd78d5bff136cadc0ec8e208956e7936efb673fcc48fe4689a25f2 |
Close
Hashes for promptml-0.2.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4d63de9601212d91f09dac71e034f13f8500ed5ef3a28c7787384cebeec4fba |
|
MD5 | f0b769f391a3c7cf232bd2ab223ff966 |
|
BLAKE2b-256 | 903a4fd8a6b1845c9321814e29703f9642002c79e409a338007ac3dd04d68b4a |