Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions LICENSE.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
The MIT License (MIT)


Copyright 2020 Ibrahim Hamzat

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,15 @@ pymono is a python wrapper for <a href="https://mono.co"> Mono </a>
## Sanbox to test mono-connect
<!-- - React js <a href="https://codesandbox.io/s/laughing-wildflower-0te1o?file=/src/App.js">sandbox</a> from Mono -->

## check documentation <a href=""> </a>

## Sanbox to test mono-connect
<!-- - React js <a href="https://codesandbox.io/s/laughing-wildflower-0te1o?file=/src/App.js">sandbox</a> from Mono -->


## LICENSE
<a href="LICENSE.MD">MIT LICENSE</a>

## Todo
- publish to pypi
- Support Webhook
- Documentation
38 changes: 38 additions & 0 deletions pymono-doc/docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Welcome to PyMono

Py-mono is the python API wrapper for mono.co


##

## Getting Started

* Register on <a href="https://mono.co"> Mono </a> website and get your Authorization key.
* Setup your mono connect with your mono public key
* Set Your "MONO-SEC-KEY"


## Installing
```python
pip install py-mono
```

## Environment Key
```
os.environ['MONO-SEC-KEY'] = " "
```

## Usage
##### Import

```python
from pymono import Mono
```

##### Exchange Key or Authenticaton

```python
mono= Mono('mono-code')
mono.Auth()
```

4 changes: 4 additions & 0 deletions pymono-doc/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
site_name: Py-Mono
nav:
- Home: index.md
theme: readthedocs
122 changes: 122 additions & 0 deletions pymono-doc/site/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">



<link rel="shortcut icon" href="/img/favicon.ico">
<title>Py-Mono</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700" />

<link rel="stylesheet" href="/css/theme.css" />
<link rel="stylesheet" href="/css/theme_extra.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css" />

<script src="/js/jquery-2.1.1.min.js" defer></script>
<script src="/js/modernizr-2.8.3.min.js" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>

</head>

<body class="wy-body-for-nav" role="document">

<div class="wy-grid-for-nav">


<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
<div class="wy-side-scroll">
<div class="wy-side-nav-search">
<a href="/." class="icon icon-home"> Py-Mono</a>
<div role="search">
<form id ="rtd-search-form" class="wy-form" action="//search.html" method="get">
<input type="text" name="q" placeholder="Search docs" title="Type search term here" />
</form>
</div>
</div>

<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul>
<li class="toctree-l1"><a class="reference internal" href="/.">Home</a>
</li>
</ul>
</div>
</div>
</nav>

<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">


<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="/.">Py-Mono</a>
</nav>


<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="/.">Docs</a> &raquo;</li>


<li class="wy-breadcrumbs-aside">

</li>
</ul>

<hr/>
</div>
<div role="main">
<div class="section">


<h1 id="404-page-not-found">404</h1>

<p><strong>Page not found</strong></p>


</div>
</div>
<footer>


<hr/>

<div role="contentinfo">
<!-- Copyright etc -->

</div>

Built with <a href="https://www.mkdocs.org/">MkDocs</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>

</div>
</div>

</section>

</div>

<div class="rst-versions" role="note" aria-label="versions">
<span class="rst-current-version" data-toggle="rst-current-version">



</span>
</div>
<script>var base_url = '/';</script>
<script src="/js/theme.js" defer></script>
<script src="/search/main.js" defer></script>
<script defer>
window.onload = function () {
SphinxRtdTheme.Navigation.enable(true);
};
</script>

</body>
</html>
14 changes: 14 additions & 0 deletions pymono-doc/site/css/theme.css

Large diffs are not rendered by default.

140 changes: 140 additions & 0 deletions pymono-doc/site/css/theme_extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
/*
* Wrap inline code samples otherwise they shoot of the side and
* can't be read at all.
*
* https://github.com/mkdocs/mkdocs/issues/313
* https://github.com/mkdocs/mkdocs/issues/233
* https://github.com/mkdocs/mkdocs/issues/834
*/
.rst-content code {
white-space: pre-wrap;
word-wrap: break-word;
padding: 2px 5px;
}

/**
* Make code blocks display as blocks and give them the appropriate
* font size and padding.
*
* https://github.com/mkdocs/mkdocs/issues/855
* https://github.com/mkdocs/mkdocs/issues/834
* https://github.com/mkdocs/mkdocs/issues/233
*/
.rst-content pre code {
white-space: pre;
word-wrap: normal;
display: block;
padding: 12px;
font-size: 12px;
}

/**
* Fix code colors
*
* https://github.com/mkdocs/mkdocs/issues/2027
*/
.rst-content code {
color: #E74C3C;
}

.rst-content pre code {
color: #000;
background: #f8f8f8;
}

/*
* Fix link colors when the link text is inline code.
*
* https://github.com/mkdocs/mkdocs/issues/718
*/
a code {
color: #2980B9;
}
a:hover code {
color: #3091d1;
}
a:visited code {
color: #9B59B6;
}

/*
* The CSS classes from highlight.js seem to clash with the
* ReadTheDocs theme causing some code to be incorrectly made
* bold and italic.
*
* https://github.com/mkdocs/mkdocs/issues/411
*/
pre .cs, pre .c {
font-weight: inherit;
font-style: inherit;
}

/*
* Fix some issues with the theme and non-highlighted code
* samples. Without and highlighting styles attached the
* formatting is broken.
*
* https://github.com/mkdocs/mkdocs/issues/319
*/
.rst-content .no-highlight {
display: block;
padding: 0.5em;
color: #333;
}


/*
* Additions specific to the search functionality provided by MkDocs
*/

.search-results {
margin-top: 23px;
}

.search-results article {
border-top: 1px solid #E1E4E5;
padding-top: 24px;
}

.search-results article:first-child {
border-top: none;
}

form .search-query {
width: 100%;
border-radius: 50px;
padding: 6px 12px; /* csslint allow: box-model */
border-color: #D1D4D5;
}

/*
* Improve inline code blocks within admonitions.
*
* https://github.com/mkdocs/mkdocs/issues/656
*/
.rst-content .admonition code {
color: #404040;
border: 1px solid #c7c9cb;
border: 1px solid rgba(0, 0, 0, 0.2);
background: #f8fbfd;
background: rgba(255, 255, 255, 0.7);
}

/*
* Account for wide tables which go off the side.
* Override borders to avoid wierdness on narrow tables.
*
* https://github.com/mkdocs/mkdocs/issues/834
* https://github.com/mkdocs/mkdocs/pull/1034
*/
.rst-content .section .docutils {
width: 100%;
overflow: auto;
display: block;
border: none;
}

td, th {
border: 1px solid #e1e4e5 !important; /* csslint allow: important */
border-collapse: collapse;
}
Binary file added pymono-doc/site/fonts/Lato/lato-bold.eot
Binary file not shown.
Binary file added pymono-doc/site/fonts/Lato/lato-bold.ttf
Binary file not shown.
Binary file added pymono-doc/site/fonts/Lato/lato-bold.woff
Binary file not shown.
Binary file added pymono-doc/site/fonts/Lato/lato-bold.woff2
Binary file not shown.
Binary file added pymono-doc/site/fonts/Lato/lato-bolditalic.eot
Binary file not shown.
Binary file added pymono-doc/site/fonts/Lato/lato-bolditalic.ttf
Binary file not shown.
Binary file added pymono-doc/site/fonts/Lato/lato-bolditalic.woff
Binary file not shown.
Binary file added pymono-doc/site/fonts/Lato/lato-bolditalic.woff2
Binary file not shown.
Binary file added pymono-doc/site/fonts/Lato/lato-italic.eot
Binary file not shown.
Binary file added pymono-doc/site/fonts/Lato/lato-italic.ttf
Binary file not shown.
Binary file added pymono-doc/site/fonts/Lato/lato-italic.woff
Binary file not shown.
Binary file added pymono-doc/site/fonts/Lato/lato-italic.woff2
Binary file not shown.
Binary file added pymono-doc/site/fonts/Lato/lato-regular.eot
Binary file not shown.
Binary file added pymono-doc/site/fonts/Lato/lato-regular.ttf
Binary file not shown.
Binary file added pymono-doc/site/fonts/Lato/lato-regular.woff
Binary file not shown.
Binary file added pymono-doc/site/fonts/Lato/lato-regular.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added pymono-doc/site/fonts/RobotoSlab/roboto-slab.eot
Binary file not shown.
Binary file added pymono-doc/site/fonts/fontawesome-webfont.eot
Binary file not shown.
Loading