forked from murbard/pytezos
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
257 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,255 @@ | ||
<!DOCTYPE html> | ||
<html lang=en prefix="og: http://ogp.me/ns#"> | ||
|
||
<head> | ||
<!-- <base href="../" /> --> | ||
<meta charset=utf-8> | ||
<meta http-equiv=X-UA-Compatible content="IE=edge"> | ||
<meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"> | ||
<title>PyTezos | Baking Bad</title> | ||
<meta data-vmid="description" name="description" content="A Python library for interacting with Tezos blockchain, testing smart contracts, and writing | ||
Michelson scripts."> | ||
<link data-vmid="canonical" rel="canonical" href="https://pytezos.org"> | ||
<link rel=icon href=_static/img/favicon.ico> | ||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" | ||
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous"> | ||
<style> | ||
pre.bash { | ||
background-color: #343a40; | ||
padding: 10px 25px; | ||
border-radius: 5px; | ||
color: #fff; | ||
font-size: medium; | ||
font-family: Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace; | ||
} | ||
|
||
.img-crop { | ||
overflow: hidden; | ||
} | ||
|
||
.comment { | ||
color: #bbb; | ||
} | ||
|
||
ul.footer-links { | ||
list-style-type: none; | ||
padding-left: 0; | ||
line-height: 1.7em; | ||
padding-top: 10px; | ||
} | ||
|
||
.footer-links a { | ||
color: #555; | ||
} | ||
|
||
::-webkit-scrollbar { | ||
width: 12px; | ||
} | ||
|
||
::-webkit-scrollbar-track { | ||
background: #f0f0f0; | ||
border-left: none; | ||
} | ||
|
||
::-webkit-scrollbar-thumb { | ||
background: #99999950; | ||
border: 3px solid #f0f0f0; | ||
border-radius: 7px; | ||
} | ||
|
||
::-webkit-scrollbar-thumb:hover { | ||
background: #99999990; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body style="background: #f9f9f9;"> | ||
<div class="container-fluid" style="background: #f0f0f0;"> | ||
<div class="row no-gutters align-items-center"> | ||
<div class="col col-lg-6 col-md-10 col-sm-12 ml-auto mr-auto"> | ||
<div class="d-flex justify-content-center mt-5"> | ||
<div class="d-none d-lg-block" style="width: 150px; margin-left: -50px;"> | ||
<img src="_static/img/pytezos.png" class="img-fluid d-block" /> | ||
</div> | ||
<h1 style="font-size: 5em; font-weight: 800;">PyTezos</h1> | ||
</div> | ||
<div class="mt-3"> | ||
<p class="text-center" style="font-size: 1.5em;"> | ||
A Python library for interacting with Tezos blockchain, <br />testing smart contracts, and | ||
writing | ||
Michelson scripts. | ||
</p> | ||
</div> | ||
<div class="mt-4 text-center"> | ||
<a role="button" aria-pressed="true" class="btn btn-lg btn-outline-dark mb-1" | ||
href="contents.html">Documentation</a> | ||
<a role="button" aria-pressed="true" class="btn btn-lg btn-outline-dark mb-1" | ||
href="https://pytezos.baking-bad.org" target="_blank">Interactive course</a> | ||
</div> | ||
<div class="mt-4 mb-5 text-center"> | ||
<iframe | ||
src="https://ghbtns.com/github-btn.html?user=baking-bad&repo=pytezos&type=star&count=true&size=large" | ||
frameborder="0" scrolling="0" width="130" height="30" title="PyTezos"></iframe> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
<a id="integration-testing"></a> | ||
<div class="container-fluid pr-0 pt-4" style="background: #343a40; color: #f0f0f0;"> | ||
<div class="row no-gutters align-items-center"> | ||
<div class="col col-lg-3 col-md-12 pl-4 pr-2" style="font-size: 1.2em;"> | ||
<h2 style="text-transform: uppercase;">Integration testing</h2><br /> | ||
<p>You can run tests either on a remote node (without actual injecting) or using a builtin interpreter, | ||
<b>it | ||
takes seconds to execute</b>, not minutes.</p><br /> | ||
<p>PyTezos allows to <b>patch</b> <kbd>AMOUNT</kbd>, <kbd>SENDER</kbd>, <kbd>SOURCE</kbd>, | ||
<kbd>BALANCE</kbd>, <kbd>NOW</kbd>, <b>initial storage</b>, and <b>handle exceptions</b> raised by | ||
<kbd>FAILWITH</kbd>. | ||
</p><br /> | ||
<p>Builtin REPL allows to <b>mock cross-contract calls</b> — all you need is to validate parameters of | ||
the | ||
spawned transactions.</p><br /> | ||
<p>Contract interface is derived straight from the compiled Michelson code, <b>it doesn't matter what is | ||
the | ||
source language</b>, <a href="https://ligolang.org/" target="_blank" | ||
rel="noopener nofollow">LIGO</a>, <a href="https://www.smartpy.io/" target="_blank" | ||
rel="noopener nofollow">SmartPy</a>, or | ||
else.</p><br /> | ||
<p>Use the whole power of the Python unit testing framework, including various assert helpers and | ||
<b>interactive | ||
debugging</b> plugins in <a href="https://code.visualstudio.com/" target="_blank" | ||
rel="noopener nofollow">VSCode</a> and <a href="https://www.jetbrains.com/ru-ru/pycharm/" | ||
target="_blank" rel="noopener nofollow">PyCharm</a>. | ||
</p> | ||
</div> | ||
<div class="col col-lg-9 d-none d-lg-block"> | ||
<div style="overflow: hidden;"> | ||
<img src="_static/img/pytezos_testing.png" /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<a id="pytezos-client"></a> | ||
<div class="container-fluid pr-0 pt-5" style="background: #f0f0f0;"> | ||
<div class="row no-gutters align-items-center"> | ||
<div class="col col-lg-3 col-md-12 pl-4 pr-2" style="font-size: 1.2em;"> | ||
<h2 style="text-transform: uppercase;">PyTezos client</h2><br /> | ||
<p>The minimal setup <b>requires only a browser</b> — you can manage Tezos contracts using <a | ||
href="https://colab.research.google.com/" target="_blank" rel="noopener nofollow">Google | ||
Colaboratory</a>, | ||
or any other online service that allows you to run <a href="https://jupyter.org/" target="_blank" | ||
rel="noopener nofollow">Jupyter</a> notebooks.</p> | ||
<br /> | ||
<p>PyTezos is capable of almost everything <a href="https://tezos.gitlab.io/api/cli-commands.html" | ||
target="_blank" rel="noopener nofollow">tezos-client</a> can do, so you can <b>automate any</b> | ||
CI/CD <b>task</b>, | ||
key | ||
management, data conversion or other.</p><br /> | ||
<p>PyTezos is perfect when you need to <b>do something fast</b>: the default node and key settings allow | ||
you | ||
to get | ||
started right away, and the built-in documentation allows you to avoid switching between windows. | ||
</p> | ||
<br /> | ||
<p>PyTezos is built as flexible as possible: in most cases you will need only high-level interfaces, but | ||
at | ||
any moment you can go deeper and <b>customize the logic</b>.</p> | ||
</div> | ||
<div class="col col-lg-9 d-none d-lg-block"> | ||
<div style="overflow: hidden;"> | ||
<img src="_static/img/pytezos_interacting.png" /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<a id="michelson-kernel"></a> | ||
<div class="container-fluid pr-0 pt-5" style="background: #2f2f2f; color: #fff;"> | ||
<div class="row no-gutters align-items-center"> | ||
<div class="col col-lg-3 col-md-12 pl-4 pr-2" style="font-size: 1.2em;"> | ||
<h2 style="text-transform: uppercase;">Michelson kernel</h2><br /> | ||
<p><b>Visualize</b> and better understand <b>stack</b> transformations with the step-by-step execution | ||
and verbose logging.</p> | ||
<br /> | ||
<p>Michelson instruction set is extended with useful <b>helpers</b> for debugging and patching context. | ||
</p> | ||
<br /> | ||
<p><b>Mock blockchain bindings</b> as you wish, even complicated scenarios like <i>Big_map</i> copying | ||
can be reproduced.</p> | ||
<br /> | ||
<p>Shipped with <b>autocomplete and builtin documentation</b>, no need to switch tabs if you forget | ||
something.</p> | ||
<br /> | ||
</div> | ||
<div class="col col-lg-9 d-none d-lg-block"> | ||
<div style="overflow: hidden;"> | ||
<img src="_static/img/pytezos_kernel.png" /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<a id="built-with-users"></a> | ||
<div class="container-fluid pt-5 pb-5" style="background: #f0f0f0;"> | ||
<div class="row no-gutters align-items-center justify-content-center"> | ||
<a href="https://atomex.me" target="_blank"> | ||
<img src="_static/img/atomex.png" class="img-fluid d-block ml-4 mr-4 mb-2" | ||
style="height: 100px; margin-top: 12px;" /> | ||
</a> | ||
<a href="https://tqtezos.com/" target="_blank" rel="nofollow noreferrer"> | ||
<img src="_static/img/tqtezos.svg" class="img-fluid d-block ml-4 mr-4 mb-2" /> | ||
</a> | ||
<a href="https://www.equisafe.io/" target="_blank" rel="nofollow noreferrer"> | ||
<img src="_static/img/equisafe.png" class="img-fluid d-block ml-4 mr-4 mb-2 mt-1" /> | ||
</a> | ||
<a href="https://www.tzero.com/" target="_blank" rel="nofollow noreferrer"> | ||
<img src="_static/img/tzero.svg" class="img-fluid d-block ml-4 mr-4 mb-2" /> | ||
</a> | ||
<a href="https://www.chorus.mobi/" target="_blank" rel="nofollow noreferrer"> | ||
<img src="_static/img/chorus.png" style="height: 70px;" class="img-fluid d-block ml-4 mt-1 mr-4 mb-2" /> | ||
</a> | ||
</div> | ||
</div> | ||
|
||
<a id="contact"></a> | ||
<div class="container-fluid pt-5 pb-5" style="background: #e0e0e0;"> | ||
<div class="row no-gutters"> | ||
<div class="col-lg-6 col-md-12 ml-auto mr-auto" style="font-size: 1.2em;"> | ||
<div class="row"> | ||
<div class="col-6 col-lg-3 col-md-6"> | ||
<span>Resources</span> | ||
<ul class="footer-links"> | ||
<li><a href="https://pytezos.org/contents.html">Library reference</a></li> | ||
<li><a href="https://pytezos.baking-bad.org">Interactive course</a></li> | ||
<li><a href="https://tezos.stackexchange.com/search?q=pytezos" target="_blank" | ||
rel="noopener noreferrer">Stack exchange</a></li> | ||
</ul> | ||
</div> | ||
<div class="col-6 col-lg-3 col-md-6"> | ||
<span>Ask anything</span> | ||
<ul class="footer-links"> | ||
<li><a href="https://t.me/baking_bad_chat" target="_blank" rel="noopener noreferrer">Telegram chat</a></li> | ||
<li><a href="https://tezos-dev.slack.com/archives/CV5NX7F2L" target="_blank" rel="noopener noreferrer">Slack channel</a></li> | ||
<li><a href="https://github.com/baking-bad/pytezos/issues" target="_blank" rel="noopener noreferrer">Report an issue</a></li> | ||
</ul> | ||
</div> | ||
<div class="col-6 col-lg-3 col-md-6"> | ||
<span>Follow us</span> | ||
<ul class="footer-links"> | ||
<li><a href="https://baking-bad.org/blog/" target="_blank">Baking Bad blog</a></li> | ||
<li><a href="https://twitter.com/TezosBakingBad" target="_blank" rel="noopener noreferrer">Twitter channel</a></li> | ||
</ul> | ||
</div> | ||
<div class="col-6 col-lg-3 col-md-6"> | ||
<a href="https://baking-bad.org/docs" target="_blank"> | ||
<img src="_static/img/bb.png" class="img-fluid d-block pl-4" style="height: 100px;" /> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters