Skip to content

Commit c73f0b7

Browse files
Gianni CrivelloGianni Crivello
Gianni Crivello
authored and
Gianni Crivello
committed
init
1 parent f401753 commit c73f0b7

File tree

16 files changed

+909
-0
lines changed

16 files changed

+909
-0
lines changed

.github/workflows/deploy.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Deploy to GitHub Pages
2+
3+
permissions:
4+
contents: write
5+
pages: write
6+
7+
on:
8+
push:
9+
branches: [ "main", "master" ]
10+
workflow_dispatch:
11+
jobs:
12+
deploy:
13+
runs-on: ubuntu-latest
14+
steps: [uses: fastai/workflows/quarto-ghp@master]

.github/workflows/test.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: CI
2+
on: [workflow_dispatch, pull_request, push]
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
steps: [uses: fastai/workflows/nbdev-ci@master]

.gitignore

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
_docs/
2+
_proc/
3+
4+
*.bak
5+
.gitattributes
6+
.last_checked
7+
.gitconfig
8+
*.bak
9+
*.log
10+
*~
11+
~*
12+
_tmp*
13+
tmp*
14+
tags
15+
*.pkg
16+
17+
# Byte-compiled / optimized / DLL files
18+
__pycache__/
19+
*.py[cod]
20+
*$py.class
21+
22+
# C extensions
23+
*.so
24+
25+
# Distribution / packaging
26+
.Python
27+
env/
28+
build/
29+
develop-eggs/
30+
dist/
31+
downloads/
32+
eggs/
33+
.eggs/
34+
lib/
35+
lib64/
36+
parts/
37+
sdist/
38+
var/
39+
wheels/
40+
*.egg-info/
41+
.installed.cfg
42+
*.egg
43+
44+
# PyInstaller
45+
# Usually these files are written by a python script from a template
46+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
47+
*.manifest
48+
*.spec
49+
50+
# Installer logs
51+
pip-log.txt
52+
pip-delete-this-directory.txt
53+
54+
# Unit test / coverage reports
55+
htmlcov/
56+
.tox/
57+
.coverage
58+
.coverage.*
59+
.cache
60+
nosetests.xml
61+
coverage.xml
62+
*.cover
63+
.hypothesis/
64+
65+
# Translations
66+
*.mo
67+
*.pot
68+
69+
# Django stuff:
70+
*.log
71+
local_settings.py
72+
73+
# Flask stuff:
74+
instance/
75+
.webassets-cache
76+
77+
# Scrapy stuff:
78+
.scrapy
79+
80+
# Sphinx documentation
81+
docs/_build/
82+
83+
# PyBuilder
84+
target/
85+
86+
# Jupyter Notebook
87+
.ipynb_checkpoints
88+
89+
# pyenv
90+
.python-version
91+
92+
# celery beat schedule file
93+
celerybeat-schedule
94+
95+
# SageMath parsed files
96+
*.sage.py
97+
98+
# dotenv
99+
.env
100+
101+
# virtualenv
102+
.venv
103+
venv/
104+
ENV/
105+
106+
# Spyder project settings
107+
.spyderproject
108+
.spyproject
109+
110+
# Rope project settings
111+
.ropeproject
112+
113+
# mkdocs documentation
114+
/site
115+
116+
# mypy
117+
.mypy_cache/
118+
119+
.vscode
120+
*.swp
121+
122+
# osx generated files
123+
.DS_Store
124+
.DS_Store?
125+
.Trashes
126+
ehthumbs.db
127+
Thumbs.db
128+
.idea
129+
130+
# pytest
131+
.pytest_cache
132+
133+
# tools/trust-doc-nbs
134+
docs_src/.last_checked
135+
136+
# symlinks to fastai
137+
docs_src/fastai
138+
tools/fastai
139+
140+
# link checker
141+
checklink/cookies.txt
142+
143+
# .gitconfig is now autogenerated
144+
.gitconfig
145+
146+
# Quarto installer
147+
.deb
148+
.pkg
149+
150+
# Quarto
151+
.quarto

GraphFormer/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "0.0.1"

GraphFormer/_modidx.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Autogenerated by nbdev
2+
3+
d = { 'settings': { 'branch': 'main',
4+
'doc_baseurl': '/GraphFormer',
5+
'doc_host': 'https://Techolution.github.io',
6+
'git_url': 'https://github.com/Techolution/GraphFormer',
7+
'lib_path': 'GraphFormer'},
8+
'syms': {'GraphFormer.core': {'GraphFormer.core.foo': ('core.html#foo', 'GraphFormer/core.py')}}}

GraphFormer/core.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/00_core.ipynb.
2+
3+
# %% auto 0
4+
__all__ = ['foo']
5+
6+
# %% ../nbs/00_core.ipynb 3
7+
def foo(): pass

MANIFEST.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
include settings.ini
2+
include LICENSE
3+
include CONTRIBUTING.md
4+
include README.md
5+
recursive-exclude * __pycache__

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# GraphFormer
2+
3+
4+
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
5+
6+
This file will become your README and also the index of your
7+
documentation.
8+
9+
## Install
10+
11+
``` sh
12+
pip install GraphFormer
13+
```
14+
15+
## How to use
16+
17+
Fill me in please! Don’t forget code examples:
18+
19+
``` python
20+
1+1
21+
```
22+
23+
2

nbs/00_core.ipynb

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"# core\n",
8+
"\n",
9+
"> Fill in a module description here"
10+
]
11+
},
12+
{
13+
"cell_type": "code",
14+
"execution_count": null,
15+
"metadata": {},
16+
"outputs": [],
17+
"source": [
18+
"#| default_exp core"
19+
]
20+
},
21+
{
22+
"cell_type": "code",
23+
"execution_count": null,
24+
"metadata": {},
25+
"outputs": [],
26+
"source": [
27+
"#| hide\n",
28+
"from nbdev.showdoc import *"
29+
]
30+
},
31+
{
32+
"cell_type": "code",
33+
"execution_count": null,
34+
"metadata": {},
35+
"outputs": [],
36+
"source": [
37+
"#| export\n",
38+
"def foo(): pass"
39+
]
40+
},
41+
{
42+
"cell_type": "code",
43+
"execution_count": null,
44+
"metadata": {},
45+
"outputs": [],
46+
"source": [
47+
"#| hide\n",
48+
"import nbdev; nbdev.nbdev_export()"
49+
]
50+
}
51+
],
52+
"metadata": {
53+
"kernelspec": {
54+
"display_name": "python3",
55+
"language": "python",
56+
"name": "python3"
57+
}
58+
},
59+
"nbformat": 4,
60+
"nbformat_minor": 4
61+
}

nbs/_quarto.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
project:
2+
type: website
3+
4+
format:
5+
html:
6+
theme: cosmo
7+
css: styles.css
8+
toc: true
9+
10+
website:
11+
twitter-card: true
12+
open-graph: true
13+
repo-actions: [issue]
14+
navbar:
15+
background: primary
16+
search: true
17+
sidebar:
18+
style: floating
19+
20+
metadata-files: [nbdev.yml, sidebar.yml]

nbs/index.ipynb

Lines changed: 459 additions & 0 deletions
Large diffs are not rendered by default.

nbs/nbdev.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
project:
2+
output-dir: _docs
3+
4+
website:
5+
title: "GraphFormer"
6+
site-url: "https://Techolution.github.io/GraphFormer"
7+
description: "GraphFormer"
8+
repo-branch: main
9+
repo-url: "https://github.com/Techolution/GraphFormer"

nbs/sidebar.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
website:
2+
sidebar:
3+
contents:
4+
- index.ipynb
5+
- 00_core.ipynb

nbs/styles.css

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
.cell {
2+
margin-bottom: 1rem;
3+
}
4+
5+
.cell > .sourceCode {
6+
margin-bottom: 0;
7+
}
8+
9+
.cell-output > pre {
10+
margin-bottom: 0;
11+
}
12+
13+
.cell-output > pre, .cell-output > .sourceCode > pre, .cell-output-stdout > pre {
14+
margin-left: 0.8rem;
15+
margin-top: 0;
16+
background: none;
17+
border-left: 2px solid lightsalmon;
18+
border-top-left-radius: 0;
19+
border-top-right-radius: 0;
20+
}
21+
22+
.cell-output > .sourceCode {
23+
border: none;
24+
}
25+
26+
.cell-output > .sourceCode {
27+
background: none;
28+
margin-top: 0;
29+
}
30+
31+
div.description {
32+
padding-left: 2px;
33+
padding-top: 5px;
34+
font-style: italic;
35+
font-size: 135%;
36+
opacity: 70%;
37+
}

0 commit comments

Comments
 (0)