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
This repository was archived by the owner on Nov 15, 2021. It is now read-only.

Commit 013247b

Browse files
Release 0.1.0
0 parents commit 013247b

File tree

14 files changed

+242
-0
lines changed

14 files changed

+242
-0
lines changed

‎.gitignore‎

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
27+
# PyInstaller
28+
# Usually these files are written by a python script from a template
29+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
30+
*.manifest
31+
*.spec
32+
33+
# Installer logs
34+
pip-log.txt
35+
pip-delete-this-directory.txt
36+
37+
# Unit test / coverage reports
38+
htmlcov/
39+
.tox/
40+
.coverage
41+
.coverage.*
42+
.cache
43+
nosetests.xml
44+
coverage.xml
45+
*,cover
46+
.hypothesis/
47+
48+
# Translations
49+
*.mo
50+
*.pot
51+
52+
# Django stuff:
53+
*.log
54+
55+
# Sphinx documentation
56+
docs/_build/
57+
58+
# PyBuilder
59+
target/
60+
61+
#Ipython Notebook
62+
.ipynb_checkpoints

‎.travis.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: python
2+
python: 3.5
3+
4+
env:
5+
- TOXENV=py35
6+
- TOXENV=py34
7+
- TOXENV=py33
8+
- TOXENV=pypy3
9+
10+
install: pip install -U tox
11+
12+
script: tox

‎HISTORY.rst‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
=======
2+
History
3+
=======
4+
5+
0.1.0 (2016年05月26日)
6+
------------------
7+
8+
* First release on PyPI.

‎LICENSE‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016 Stefan Fischer
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎MANIFEST.in‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
include HISTORY.rst
2+
include LICENSE
3+
include README.rst
4+
include tox.ini
5+
6+
recursive-include stringmetric *.py
7+
8+
recursive-include tests *
9+
recursive-exclude * __pycache__
10+
recursive-exclude * *.py[co]

‎README.rst‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
============================
2+
Python String Metric Package
3+
============================
4+
5+
.. image:: https://img.shields.io/pypi/v/stringmetric.svg
6+
:target: https://pypi.python.org/pypi/stringmetric
7+
8+
.. image:: https://img.shields.io/travis/sfischer13/python-stringmetric.svg
9+
:target: https://travis-ci.org/sfischer13/python-stringmetric
10+
11+
12+
Python implementations of common string distance and similarity algorithms.

‎setup.cfg‎

Whitespace-only changes.

‎setup.py‎

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
#!/usr/bin/env python
2+
3+
4+
try:
5+
from setuptools import setup
6+
except ImportError:
7+
from distutils.core import setup
8+
9+
10+
with open('README.rst') as readme_file:
11+
readme = readme_file.read()
12+
13+
with open('HISTORY.rst') as history_file:
14+
history = history_file.read()
15+
16+
requirements = [
17+
]
18+
19+
test_requirements = [
20+
]
21+
22+
setup(
23+
name='stringmetric',
24+
version='0.1.0',
25+
description='Python implementations of common string distance and similarity algorithms.',
26+
long_description=readme + '\n\n' + history,
27+
author='Stefan Fischer',
28+
author_email='sfischer13@ymail.com',
29+
url='https://github.com/sfischer13/python-stringmetric',
30+
packages=[
31+
'stringmetric',
32+
],
33+
package_dir={'stringmetric': 'stringmetric'},
34+
include_package_data=True,
35+
install_requires=requirements,
36+
license='MIT',
37+
zip_safe=False,
38+
keywords='string metric distance similarity phonetic hamming',
39+
classifiers=[
40+
'Development Status :: 4 - Beta',
41+
'Intended Audience :: Developers',
42+
'License :: OSI Approved :: MIT License',
43+
'Operating System :: OS Independent',
44+
'Programming Language :: Python',
45+
'Programming Language :: Python :: 3',
46+
'Programming Language :: Python :: 3.3',
47+
'Programming Language :: Python :: 3.4',
48+
'Programming Language :: Python :: 3.5',
49+
'Programming Language :: Python :: 3 :: Only',
50+
'Programming Language :: Python :: Implementation',
51+
'Programming Language :: Python :: Implementation :: CPython',
52+
'Programming Language :: Python :: Implementation :: PyPy',
53+
'Topic :: Software Development :: Libraries',
54+
'Topic :: Software Development :: Libraries :: Python Modules',
55+
'Topic :: Text Processing',
56+
'Topic :: Text Processing :: Linguistic',
57+
],
58+
test_suite='tests',
59+
tests_require=test_requirements
60+
)

‎stringmetric/__init__.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
__author__ = 'Stefan Fischer'
2+
__email__ = 'sfischer13@ymail.com'
3+
__version__ = '0.1.0'

‎stringmetric/distance/__init__.py‎

Whitespace-only changes.

0 commit comments

Comments
(0)

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