Skip to content

Commit 4dd1a5f

Browse files
authored
Merge pull request #17 from ayasyrev/groups
Groups
2 parents bf39d16 + 0fbd5e6 commit 4dd1a5f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+11284
-15409
lines changed

.devcontainer.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "nbdev_template-codespaces",
3+
"dockerComposeFile": "docker-compose.yml",
4+
"service": "watcher",
5+
"settings": {"terminal.integrated.shell.linux": "/bin/bash"},
6+
"mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],
7+
"forwardPorts": [4000, 8080],
8+
"appPort": [4000, 8080],
9+
"extensions": ["ms-python.python",
10+
"ms-azuretools.vscode-docker"],
11+
"runServices": ["notebook", "jekyll", "watcher"],
12+
"postStartCommand": "pip install -e ."
13+
}

.flake8

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[flake8]
2+
select = C,E,F,W
3+
max-complexity = 10
4+
max-line-length = 120
5+
6+
application-import-names = model_constructor
7+
import-order-style = google

.github/workflows/main.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,4 @@ checklink/cookies.txt
138138

139139
# .gitconfig is now autogenerated
140140
.gitconfig
141-
# ln -s
142-
nbs/model_constructor
141+

00_core.ipynb

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": null,
6+
"metadata": {},
7+
"outputs": [],
8+
"source": [
9+
"# default_exp core"
10+
]
11+
},
12+
{
13+
"cell_type": "markdown",
14+
"metadata": {},
15+
"source": [
16+
"# module name here\n",
17+
"\n",
18+
"> API details."
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+
}
38+
],
39+
"metadata": {
40+
"kernelspec": {
41+
"display_name": "Python 3",
42+
"language": "python",
43+
"name": "python3"
44+
}
45+
},
46+
"nbformat": 4,
47+
"nbformat_minor": 2
48+
}

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__

Makefile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
SRC = $(wildcard ./*.ipynb)
1+
.ONESHELL:
2+
SHELL := /bin/bash
3+
SRC = $(wildcard Nbs/*.ipynb)
24

35
all: model_constructor docs
46

57
model_constructor: $(SRC)
68
nbdev_build_lib
79
touch model_constructor
810

11+
sync:
12+
nbdev_update_lib
13+
914
docs_serve: docs
1015
cd docs && bundle exec jekyll serve
1116

@@ -16,9 +21,12 @@ docs: $(SRC)
1621
test:
1722
nbdev_test_nbs
1823

19-
release: pypi
24+
release: pypi conda_release
2025
nbdev_bump_version
2126

27+
conda_release:
28+
fastrelease_conda_package
29+
2230
pypi: dist
2331
twine upload --repository pypi dist/*
2432

0 commit comments

Comments
 (0)