Skip to content

Commit 9ac2d45

Browse files
committed
- renamed project to tseries_patterns so as not to conflict with other packages
1 parent 29c11a8 commit 9ac2d45

File tree

9 files changed

+22
-16
lines changed

9 files changed

+22
-16
lines changed

notebooks/Intraday Example (XAUUSD).ipynb

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"import pandas as pd\n",
1010
"import numpy as np\n",
1111
"\n",
12-
"from patterns import AmplitudeBasedLabeler"
12+
"from tseries_patterns import AmplitudeBasedLabeler"
1313
]
1414
},
1515
{
@@ -156,7 +156,7 @@
156156
{
157157
"data": {
158158
"text/plain": [
159-
"<ggplot: (8777010125265)>"
159+
"<ggplot: (8763780635613)>"
160160
]
161161
},
162162
"execution_count": 4,
@@ -195,7 +195,7 @@
195195
{
196196
"data": {
197197
"text/plain": [
198-
"<ggplot: (8776927196801)>"
198+
"<ggplot: (8763715099317)>"
199199
]
200200
},
201201
"execution_count": 5,
@@ -248,7 +248,7 @@
248248
{
249249
"data": {
250250
"text/plain": [
251-
"<ggplot: (8776942633385)>"
251+
"<ggplot: (8763715064297)>"
252252
]
253253
},
254254
"execution_count": 6,
@@ -287,7 +287,7 @@
287287
{
288288
"data": {
289289
"text/plain": [
290-
"<ggplot: (8776927428517)>"
290+
"<ggplot: (8763780663593)>"
291291
]
292292
},
293293
"execution_count": 7,
@@ -308,6 +308,13 @@
308308
"outputs": [],
309309
"source": []
310310
},
311+
{
312+
"cell_type": "code",
313+
"execution_count": null,
314+
"metadata": {},
315+
"outputs": [],
316+
"source": []
317+
},
311318
{
312319
"cell_type": "code",
313320
"execution_count": null,

patterns/__init__.py

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

setup.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111
import fnmatch
1212
import numpy
1313

14-
1514
try:
1615
from Cython.Build import cythonize
1716
except ImportError:
1817
sys.exit("Cython not found. Cython is needed to build this library.")
1918

20-
def find_cython_files (basedir='patterns'):
19+
def find_cython_files (basedir='tseries_patterns'):
2120
matches = []
2221
for path, sub, files in os.walk(basedir):
2322
for filename in fnmatch.filter(files, '*.pyx'):
@@ -35,10 +34,10 @@ def requirements(filename):
3534
modules = cythonize(find_cython_files(), language='c++')
3635

3736
setup(
38-
name='patterns',
39-
version='0.7',
37+
name='tseries_patterns',
38+
version='0.1',
4039
packages=find_packages(),
41-
url='https://github.com/tr8dr/patterns',
40+
url='https://github.com/tr8dr/tseries-patterns',
4241
license='MIT License',
4342
author='Jonathan Shore',
4443
author_email='[email protected]',
@@ -63,9 +62,9 @@ def requirements(filename):
6362
]),
6463
python_requires='>=3',
6564
project_urls={
66-
'Bug Reports': 'https://github.com/tr8dr/patterns/issues',
67-
'Source': 'https://github.com/tr8dr/patterns',
68-
'Documentation': 'https://github.com/tr8dr/patterns'
65+
'Bug Reports': 'https://github.com/tr8dr/tseries-patterns/issues',
66+
'Source': 'https://github.com/tr8dr/tseries-patterns',
67+
'Documentation': 'https://github.com/tr8dr/tseries-patterns'
6968
},
7069

7170
ext_modules=modules,

tseries_patterns/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from tseries_patterns.common.PriceType import PriceType
2+
from tseries_patterns.labelers.AmplitudeBasedLabeler import AmplitudeBasedLabeler
3+
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)