generated from astariul/github-hosted-pypi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
138 lines (138 loc) · 3.46 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport"/>
<!-- Skeleton CSS -->
<link crossorigin="anonymous" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css" rel="stylesheet"/>
<!-- Font -->
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap" rel="stylesheet" type="text/css"/>
<!-- Favicon -->
<link href="https://gist.githubusercontent.com/astariul/c09af596e802e945d3032774e10e1047/raw/f693a2e2b65966494da082887bc4be2917f615e4/random_icon.svg" rel="icon"/>
<style>
body { font-family: "Montserrat"; }
code {
font-size: 100%;
display: inline-block !important;
font-size: 1.3rem; }
.header {
margin-top: 6rem;
text-align: center; }
.text-header {
text-transform: uppercase;
font-size: 1.4rem;
letter-spacing: .2rem;
font-weight: 600; }
.card {
display: inline-block;
height: auto;
min-width: 32%;
padding: 0.5rem 2rem;
margin: 0.5rem 0.5rem;
color: #555;
font-size: 1.5rem;
font-weight: 600;
line-height: 1.5;
letter-spacing: .05rem;
text-decoration: none;
white-space: normal;
background-color: transparent;
border-radius: 4px;
border: 1px solid #bbb;
cursor: pointer;
box-sizing: border-box; }
.version {
font-size: 1rem;
font-style: italic;}
.description {
font-weight: 300; }
</style>
<title>
Pypi - YourCompany
</title>
</head>
<body>
<div class="container">
<section class="header">
<img class="value-img" src="https://gist.githubusercontent.com/astariul/c09af596e802e945d3032774e10e1047/raw/f693a2e2b65966494da082887bc4be2917f615e4/random_icon.svg" width="150"/>
<br/>
<br/>
<h2 class="title">
YourCompany own PyPi
</h2>
</section>
<br/>
<p>
Welcome to the private Python package index of YourCompany !
<br/>
You can install packages with :
<pre><code>pip install <package_name> --extra-index-url https://astariul.github.io/github-hosted-pypi/</code></pre>
</p>
<hr/>
<h6 class="text-header">
Packages
</h6>
<a class="card" href="private-hello/">
private-hello
<span>
</span>
<span class="version">
0.4.5
</span>
<br/>
<span class="description">
This is an example of a private, github-hosted package. Only me can access this repo, you can try to install it with the pip command but a password is required : only people with repo access can download it.
</span>
</a>
<a class="card" href="mydependency/">
mydependency
<span>
</span>
<span class="version">
1.0
</span>
<br/>
<span class="description">
A public github-hosted repo.
</span>
</a>
<a class="card" href="public-hello/">
public-hello
<span>
</span>
<span class="version">
1.2
</span>
<br/>
<span class="description">
A public github-hosted repo, with a dependency to another package.
</span>
</a>
<a class="card" href="test/">
test
<span>
</span>
<span class="version">
0.1
</span>
<br/>
<span class="description">
test
</span>
</a>
<a class="card" href="second-test/">
second-test
<span>
</span>
<span class="version">
1.1
</span>
<br/>
<span class="description">
testing
</span>
</a>
</div>
</body>
</html>