setlr 0.2.3__tar.gz → 0.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -471,10 +471,10 @@ def process_row(row, template, rowname, table, resources, transform, variables):
471
471
  trace = sys.exc_info()[2]
472
472
  logger.error("Error in conditional %s\nRelevant Environment:", value['@if'])
473
473
  for key, v in env.items():
474
- #if key in value['@if']:
475
- if hasattr(v, 'findall'):
476
- v = xml.etree.ElementTree.tostring(v)
477
- logger.error(key + "\t" + str(v)[:1000])
474
+ if key in value['@if']:
475
+ if hasattr(v, 'findall'):
476
+ v = xml.etree.ElementTree.tostring(v)
477
+ logger.error(key + "\t" + str(v)[:1000])
478
478
  raise e, None, trace
479
479
  if '@for' in value:
480
480
  f = value['@for']
@@ -557,10 +557,10 @@ def process_row(row, template, rowname, table, resources, transform, variables):
557
557
  logger.error("Error in template %s %s", value, type(value))
558
558
  logger.error("Relevant Environment:")
559
559
  for key, v in env.items():
560
- #if key in value:
561
- if hasattr(v, 'findall'):
562
- v = xml.etree.ElementTree.tostring(v)
563
- logger.error(key + "\t" + str(v)[:1000])
560
+ if key in value:
561
+ if hasattr(v, 'findall'):
562
+ v = xml.etree.ElementTree.tostring(v)
563
+ logger.error(key + "\t" + str(v)[:1000])
564
564
  raise e, None, trace
565
565
  else:
566
566
  this = value
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: setlr
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: setlr is a tool for Semantic Extraction, Transformation, and Loading.
5
5
  Home-page: http://packages.python.org/setlr
6
6
  Author: Jim McCusker
@@ -9,6 +9,6 @@ License: Apache License 2.0
9
9
  Description: SETLr is a tool for generating RDF graphs, including named graphs, from almost any kind of tabular data.
10
10
  Keywords: rdf semantic etl
11
11
  Platform: UNKNOWN
12
- Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Development Status :: 5 - Production/Stable
13
13
  Classifier: Topic :: Utilities
14
14
  Classifier: License :: OSI Approved :: Apache Software License
@@ -0,0 +1 @@
1
+ {"is_release": false, "git_version": "a612669"}
usr/local/bin/setlr ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/python
2
+ # EASY-INSTALL-ENTRY-SCRIPT: 'setlr==0.2.4','console_scripts','setlr'
3
+ __requires__ = 'setlr==0.2.4'
4
+ import sys
5
+ from pkg_resources import load_entry_point
6
+
7
+ if __name__ == '__main__':
8
+ sys.exit(
9
+ load_entry_point('setlr==0.2.4', 'console_scripts', 'setlr')()
10
+ )
@@ -1,14 +0,0 @@
1
- Metadata-Version: 1.1
2
- Name: setlr
3
- Version: 0.2.3
4
- Summary: setlr is a tool for Semantic Extraction, Transformation, and Loading.
5
- Home-page: http://packages.python.org/setlr
6
- Author: Jim McCusker
7
- Author-email: mccusj@cs.rpi.edu
8
- License: Apache License 2.0
9
- Description: SETLr is a tool for generating RDF graphs, including named graphs, from almost any kind of tabular data.
10
- Keywords: rdf semantic etl
11
- Platform: UNKNOWN
12
- Classifier: Development Status :: 3 - Alpha
13
- Classifier: Topic :: Utilities
14
- Classifier: License :: OSI Approved :: Apache Software License
@@ -1 +0,0 @@
1
- {"is_release": false, "git_version": "873f8da"}
setlr-0.2.3/setup.cfg DELETED
@@ -1,11 +0,0 @@
1
- [bdist_wheel]
2
- universal = 1
3
-
4
- [metadata]
5
- description-file = README.md
6
-
7
- [egg_info]
8
- tag_build =
9
- tag_date = 0
10
- tag_svn_revision = 0
11
-
setlr-0.2.3/setup.py DELETED
@@ -1,48 +0,0 @@
1
- import os
2
- from setuptools import setup, find_packages
3
-
4
- # Utility function to read the README file.
5
- # Used for the long_description. It's nice, because now 1) we have a top level
6
- # README file and 2) it's easier to type in the README file than to put a raw
7
- # string in below ...
8
- def read(fname):
9
- return open(os.path.join(os.path.dirname(__file__), fname)).read()
10
-
11
- setup(
12
- name = "setlr",
13
- version = "0.2.3",
14
- author = "Jim McCusker",
15
- author_email = "mccusj@cs.rpi.edu",
16
- description = ("setlr is a tool for Semantic Extraction, Transformation, and Loading."),
17
- license = "Apache License 2.0",
18
- keywords = "rdf semantic etl",
19
- url = "http://packages.python.org/setlr",
20
- packages=['setlr'],
21
- long_description='''SETLr is a tool for generating RDF graphs, including named graphs, from almost any kind of tabular data.''',
22
- include_package_data = True,
23
- install_requires = [
24
- 'pip>=9.0.0',
25
- 'cython',
26
- 'numpy',
27
- 'rdflib',
28
- 'rdflib-jsonld',
29
- 'pandas',
30
- 'requests',
31
- 'toposort',
32
- 'beautifulsoup4',
33
- 'jinja2',
34
- 'lxml',
35
- 'xlrd',
36
- 'ijson',
37
- 'requests-testadapter',
38
- 'python-slugify',
39
- ],
40
- entry_points = {
41
- 'console_scripts': ['setlr=setlr:main'],
42
- },
43
- classifiers=[
44
- "Development Status :: 3 - Alpha",
45
- "Topic :: Utilities",
46
- "License :: OSI Approved :: Apache Software License",
47
- ],
48
- )