Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 66cb51c

Browse files
committed
shorter name and pypi
1 parent bf2d144 commit 66cb51c

File tree

4 files changed

+26
-13
lines changed

4 files changed

+26
-13
lines changed

‎README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,24 @@ See this library in the wild, for example:
1818

1919
## Installation
2020

21+
From PyPI:
22+
23+
```
24+
pip install keras_sequential_ascii
25+
```
26+
27+
Or from this repo:
28+
29+
2130
```
2231
pip install git+git://github.com/stared/keras-sequential-ascii.git
2332
```
2433

2534
## Usage
2635

2736
```
28-
from keras_sequential_ascii import sequential_model_to_ascii_printout
29-
sequential_model_to_ascii_printout(model)
37+
from keras_sequential_ascii import keras2ascii
38+
keras2ascii(model)
3039
```
3140

3241
## Examples

‎example.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"from keras.models import Sequential\n",
2020
"from keras import layers as l\n",
2121
"from keras.applications.vgg16 import VGG16\n",
22-
"from keras_sequential_ascii import sequential_model_to_ascii_printout"
22+
"from keras_sequential_ascii import keras2ascii"
2323
]
2424
},
2525
{
@@ -70,7 +70,7 @@
7070
"model.add(l.Dropout(0.5))\n",
7171
"model.add(l.Dense(3, activation='softmax'))\n",
7272
"\n",
73-
"sequential_model_to_ascii_printout(model)"
73+
"keras2ascii(model)"
7474
]
7575
},
7676
{
@@ -138,7 +138,7 @@
138138
],
139139
"source": [
140140
"vgg16 = VGG16(weights=None)\n",
141-
"sequential_model_to_ascii_printout(vgg16)"
141+
"keras2ascii(vgg16)"
142142
]
143143
},
144144
{

‎keras_sequential_ascii/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
from .main import sequential_model_to_ascii_printout
2+
3+
# also a shorter name
4+
keras2ascii = sequential_model_to_ascii_printout

‎setup.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
from setuptools import setup, find_packages
22

33
setup(name='keras_sequential_ascii',
4-
version='0.1.0',
4+
version='0.1.1',
55
install_requires=['keras'],
6-
author="Piotr Migdal",
6+
author="Piotr Migdał",
77
author_email="pmigdal@gmail.com",
88
url="https://github.com/stared/keras-sequential-ascii",
99
# download_url='https://github.com/stared/keras-sequential-ascii/tarball/v0.0.1',
1010
description="ASCII summary for simple sequential models in Keras",
1111
keywords=['keras', 'ascii'],
1212
license='MIT',
1313
classifiers=[
14-
# Indicate who your project is intended for
15-
'Intended Audience :: Developers',
16-
# Pick your license as you wish (should match "license" above)
14+
'Development Status :: 3 - Alpha',
15+
'Framework :: Jupyter',
16+
'Intended Audience :: Education',
17+
'Intended Audience :: Science/Research',
18+
'Topic :: Scientific/Engineering',
19+
'Topic :: Scientific/Engineering :: Artificial Intelligence',
20+
'Topic :: Scientific/Engineering :: Visualization',
1721
'License :: OSI Approved :: MIT License',
18-
19-
# Specify the Python versions you support here. In particular, ensure
20-
# that you indicate whether you support Python 2, Python 3 or both.
2122
'Programming Language :: Python :: 2',
2223
'Programming Language :: Python :: 3'
2324
],

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /