commit stringlengths 40 40 | old_file stringlengths 4 118 | new_file stringlengths 4 118 | old_contents stringlengths 0 2.94k | new_contents stringlengths 1 4.43k | subject stringlengths 15 444 | message stringlengths 16 3.45k | lang stringclasses 1
value | license stringclasses 13
values | repos stringlengths 5 43.2k | prompt stringlengths 17 4.58k | response stringlengths 1 4.43k | prompt_tagged stringlengths 58 4.62k | response_tagged stringlengths 1 4.43k | text stringlengths 132 7.29k | text_tagged stringlengths 173 7.33k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
088fdb997617380e7fe6054dfe01cf165fe92c68 | infusionsoft/query.py | infusionsoft/query.py | from typing import List, Callable
__all__ = ['consume']
def consume(query_fn: Callable[[int], List], limit=1000, start=0, max=100,
raise_exception=False):
"""Yield all rows from a paginated query.
>>> import infusionsoft
>>> query_fn = lambda page, limit: (
... infusionsoft.DataServ... | from typing import List, Callable
__all__ = ['consume']
def consume(query_fn: Callable[[int, int], List], limit=1000, start=0, max=100,
raise_exception=False):
"""Yield all rows from a paginated query.
>>> import infusionsoft
>>> query_fn = lambda page, limit: (
... infusionsoft.Dat... | Fix incorrect type annotation for consume | Fix incorrect type annotation for consume | Python | apache-2.0 | theY4Kman/infusionsoft-client | from typing import List, Callable
__all__ = ['consume']
def consume(query_fn: Callable[[int], List], limit=1000, start=0, max=100,
raise_exception=False):
"""Yield all rows from a paginated query.
>>> import infusionsoft
>>> query_fn = lambda page, limit: (
... infusionsoft.DataServ... | from typing import List, Callable
__all__ = ['consume']
def consume(query_fn: Callable[[int, int], List], limit=1000, start=0, max=100,
raise_exception=False):
"""Yield all rows from a paginated query.
>>> import infusionsoft
>>> query_fn = lambda page, limit: (
... infusionsoft.Dat... | <commit_before>from typing import List, Callable
__all__ = ['consume']
def consume(query_fn: Callable[[int], List], limit=1000, start=0, max=100,
raise_exception=False):
"""Yield all rows from a paginated query.
>>> import infusionsoft
>>> query_fn = lambda page, limit: (
... infusi... | from typing import List, Callable
__all__ = ['consume']
def consume(query_fn: Callable[[int, int], List], limit=1000, start=0, max=100,
raise_exception=False):
"""Yield all rows from a paginated query.
>>> import infusionsoft
>>> query_fn = lambda page, limit: (
... infusionsoft.Dat... | from typing import List, Callable
__all__ = ['consume']
def consume(query_fn: Callable[[int], List], limit=1000, start=0, max=100,
raise_exception=False):
"""Yield all rows from a paginated query.
>>> import infusionsoft
>>> query_fn = lambda page, limit: (
... infusionsoft.DataServ... | <commit_before>from typing import List, Callable
__all__ = ['consume']
def consume(query_fn: Callable[[int], List], limit=1000, start=0, max=100,
raise_exception=False):
"""Yield all rows from a paginated query.
>>> import infusionsoft
>>> query_fn = lambda page, limit: (
... infusi... |
37baf4b9929b7d894cdb090bb4874d7a782a2c38 | solvent/run.py | solvent/run.py | import subprocess
import logging
def run(command, cwd=None):
try:
return subprocess.check_output(
command, cwd=cwd, stderr=subprocess.STDOUT,
stdin=open("/dev/null"), close_fds=True)
except subprocess.CalledProcessError as e:
logging.error("Failed command '%s' output:\n... | import subprocess
import logging
import os
def fix_env_in_case_of_invalid_locale_name(env):
"""See https://github.com/ros-drivers/hokuyo_node/issues/3"""
env["LC_ALL"] = "C"
def run(command, cwd=None):
env = os.environ.copy()
fix_env_in_case_of_invalid_locale_name(env)
try:
return subpro... | Fix env var for osmosis when locale name is invalid | Fix env var for osmosis when locale name is invalid
See https://github.com/ros-drivers/hokuyo_node/issues/3
| Python | apache-2.0 | Stratoscale/solvent,Stratoscale/solvent | import subprocess
import logging
def run(command, cwd=None):
try:
return subprocess.check_output(
command, cwd=cwd, stderr=subprocess.STDOUT,
stdin=open("/dev/null"), close_fds=True)
except subprocess.CalledProcessError as e:
logging.error("Failed command '%s' output:\n... | import subprocess
import logging
import os
def fix_env_in_case_of_invalid_locale_name(env):
"""See https://github.com/ros-drivers/hokuyo_node/issues/3"""
env["LC_ALL"] = "C"
def run(command, cwd=None):
env = os.environ.copy()
fix_env_in_case_of_invalid_locale_name(env)
try:
return subpro... | <commit_before>import subprocess
import logging
def run(command, cwd=None):
try:
return subprocess.check_output(
command, cwd=cwd, stderr=subprocess.STDOUT,
stdin=open("/dev/null"), close_fds=True)
except subprocess.CalledProcessError as e:
logging.error("Failed command... | import subprocess
import logging
import os
def fix_env_in_case_of_invalid_locale_name(env):
"""See https://github.com/ros-drivers/hokuyo_node/issues/3"""
env["LC_ALL"] = "C"
def run(command, cwd=None):
env = os.environ.copy()
fix_env_in_case_of_invalid_locale_name(env)
try:
return subpro... | import subprocess
import logging
def run(command, cwd=None):
try:
return subprocess.check_output(
command, cwd=cwd, stderr=subprocess.STDOUT,
stdin=open("/dev/null"), close_fds=True)
except subprocess.CalledProcessError as e:
logging.error("Failed command '%s' output:\n... | <commit_before>import subprocess
import logging
def run(command, cwd=None):
try:
return subprocess.check_output(
command, cwd=cwd, stderr=subprocess.STDOUT,
stdin=open("/dev/null"), close_fds=True)
except subprocess.CalledProcessError as e:
logging.error("Failed command... |
41d8311ac83cc97e0f02800089c47b5ce4630e8e | solumclient/builder/v1/client.py | solumclient/builder/v1/client.py | # Copyright 2014 - Noorul Islam K M
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in w... | # Copyright 2014 - Noorul Islam K M
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in w... | Set the service_type for the builder | Set the service_type for the builder
If we don't do this we can't lookup the endpoint.
Change-Id: I7eae87afc9e4d9ef9dd4f5877b71a4ebe299df0a
| Python | apache-2.0 | rackerlabs/arborlabs_client,stackforge/python-solumclient,openstack/python-solumclient,rackerlabs/arborlabs_client,stackforge/python-solumclient,ed-/python-solumclient,ed-/python-solumclient | # Copyright 2014 - Noorul Islam K M
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in w... | # Copyright 2014 - Noorul Islam K M
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in w... | <commit_before># Copyright 2014 - Noorul Islam K M
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | # Copyright 2014 - Noorul Islam K M
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in w... | # Copyright 2014 - Noorul Islam K M
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in w... | <commit_before># Copyright 2014 - Noorul Islam K M
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... |
8a8b152566b92cfe0ccbc379b9871da795cd4b5b | keystoneclient/hacking/checks.py | keystoneclient/hacking/checks.py | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | Change hacking check to verify all oslo imports | Change hacking check to verify all oslo imports
The hacking check was verifying that specific oslo imports
weren't using the oslo-namespaced package. Since all the oslo
libraries used by keystoneclient are now changed to use the
new package name the hacking check can be simplified.
bp drop-namespace-packages
Change-... | Python | apache-2.0 | jamielennox/keystoneauth,citrix-openstack-build/keystoneauth,sileht/keystoneauth | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | <commit_before># Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# dist... | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | <commit_before># Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# dist... |
90bd31e43b403efa7d52ee480e89ef29235218c7 | spelling_ja.py | spelling_ja.py | # -*- coding: utf-8 -*-
"""Japanese rules and tables for the spellnum module"""
RULES = """
1x = 十{x}
ab = {a}十{b}
1xx = {100}{x}
axx = {a}{100}{x}
axxx = {a}千{x}
(a)xxxx = {a}{x}
"""
NUMBERS = {
0: '零',
1: '一',
2: '二',
3: '三',
4: '四',
5: '五',
6: '六',
7: '七',
8: '八',
9: '九',
... | # -*- coding: utf-8 -*-
"""Japanese rules and tables for the spellnum module"""
RULES = """
1x = 十{x}
ab = {a}十{b}
1xx = {100}{x}
axx = {a}{100}{x}
axxx = {a}千{x}
(a)xxxx = {a}{x}
"""
NUMBERS = {
0: '零',
1: '一',
2: '二',
3: '三',
4: '四',
5: '五',
6: '六',
7: '七',
8: '八',
9: '九',
... | Add META with 'order_separator' key to Japanese spelling | Add META with 'order_separator' key to Japanese spelling
This is required due to a change in how separators are loaded
in spellnum.py. | Python | mit | alco/numspell,alco/numspell | # -*- coding: utf-8 -*-
"""Japanese rules and tables for the spellnum module"""
RULES = """
1x = 十{x}
ab = {a}十{b}
1xx = {100}{x}
axx = {a}{100}{x}
axxx = {a}千{x}
(a)xxxx = {a}{x}
"""
NUMBERS = {
0: '零',
1: '一',
2: '二',
3: '三',
4: '四',
5: '五',
6: '六',
7: '七',
8: '八',
9: '九',
... | # -*- coding: utf-8 -*-
"""Japanese rules and tables for the spellnum module"""
RULES = """
1x = 十{x}
ab = {a}十{b}
1xx = {100}{x}
axx = {a}{100}{x}
axxx = {a}千{x}
(a)xxxx = {a}{x}
"""
NUMBERS = {
0: '零',
1: '一',
2: '二',
3: '三',
4: '四',
5: '五',
6: '六',
7: '七',
8: '八',
9: '九',
... | <commit_before># -*- coding: utf-8 -*-
"""Japanese rules and tables for the spellnum module"""
RULES = """
1x = 十{x}
ab = {a}十{b}
1xx = {100}{x}
axx = {a}{100}{x}
axxx = {a}千{x}
(a)xxxx = {a}{x}
"""
NUMBERS = {
0: '零',
1: '一',
2: '二',
3: '三',
4: '四',
5: '五',
6: '六',
7: '七',
8: '八',... | # -*- coding: utf-8 -*-
"""Japanese rules and tables for the spellnum module"""
RULES = """
1x = 十{x}
ab = {a}十{b}
1xx = {100}{x}
axx = {a}{100}{x}
axxx = {a}千{x}
(a)xxxx = {a}{x}
"""
NUMBERS = {
0: '零',
1: '一',
2: '二',
3: '三',
4: '四',
5: '五',
6: '六',
7: '七',
8: '八',
9: '九',
... | # -*- coding: utf-8 -*-
"""Japanese rules and tables for the spellnum module"""
RULES = """
1x = 十{x}
ab = {a}十{b}
1xx = {100}{x}
axx = {a}{100}{x}
axxx = {a}千{x}
(a)xxxx = {a}{x}
"""
NUMBERS = {
0: '零',
1: '一',
2: '二',
3: '三',
4: '四',
5: '五',
6: '六',
7: '七',
8: '八',
9: '九',
... | <commit_before># -*- coding: utf-8 -*-
"""Japanese rules and tables for the spellnum module"""
RULES = """
1x = 十{x}
ab = {a}十{b}
1xx = {100}{x}
axx = {a}{100}{x}
axxx = {a}千{x}
(a)xxxx = {a}{x}
"""
NUMBERS = {
0: '零',
1: '一',
2: '二',
3: '三',
4: '四',
5: '五',
6: '六',
7: '七',
8: '八',... |
beadd63461309aea804e3475ede2bb142c192a57 | dash/_watch.py | dash/_watch.py | import collections
import os
import re
import time
def watch(folders, on_change, pattern=None, sleep_time=0.1):
pattern = re.compile(pattern) if pattern else None
watched = collections.defaultdict(lambda: -1)
def walk():
walked = []
for folder in folders:
for current, _, files... | import collections
import os
import re
import time
def watch(folders, on_change, pattern=None, sleep_time=0.1):
pattern = re.compile(pattern) if pattern else None
watched = collections.defaultdict(lambda: -1)
def walk():
walked = []
for folder in folders:
for current, _, files... | Fix :bug: with assets watch deletion. | Fix :bug: with assets watch deletion.
| Python | mit | plotly/dash,plotly/dash,plotly/dash,plotly/dash,plotly/dash | import collections
import os
import re
import time
def watch(folders, on_change, pattern=None, sleep_time=0.1):
pattern = re.compile(pattern) if pattern else None
watched = collections.defaultdict(lambda: -1)
def walk():
walked = []
for folder in folders:
for current, _, files... | import collections
import os
import re
import time
def watch(folders, on_change, pattern=None, sleep_time=0.1):
pattern = re.compile(pattern) if pattern else None
watched = collections.defaultdict(lambda: -1)
def walk():
walked = []
for folder in folders:
for current, _, files... | <commit_before>import collections
import os
import re
import time
def watch(folders, on_change, pattern=None, sleep_time=0.1):
pattern = re.compile(pattern) if pattern else None
watched = collections.defaultdict(lambda: -1)
def walk():
walked = []
for folder in folders:
for cu... | import collections
import os
import re
import time
def watch(folders, on_change, pattern=None, sleep_time=0.1):
pattern = re.compile(pattern) if pattern else None
watched = collections.defaultdict(lambda: -1)
def walk():
walked = []
for folder in folders:
for current, _, files... | import collections
import os
import re
import time
def watch(folders, on_change, pattern=None, sleep_time=0.1):
pattern = re.compile(pattern) if pattern else None
watched = collections.defaultdict(lambda: -1)
def walk():
walked = []
for folder in folders:
for current, _, files... | <commit_before>import collections
import os
import re
import time
def watch(folders, on_change, pattern=None, sleep_time=0.1):
pattern = re.compile(pattern) if pattern else None
watched = collections.defaultdict(lambda: -1)
def walk():
walked = []
for folder in folders:
for cu... |
101c50d94b9cda23572f9f12043d57d73552e2ef | src/command.py | src/command.py | import subprocess
import os
from .settings import Settings
class Command():
def __init__(self, command):
self.__command = command
self.__startup_info = None
self.__shell = False
if os.name == 'nt':
self.__startup_info = subprocess.STARTUPINFO()
self.__startu... | import subprocess
import os
from .settings import Settings
class Command():
def __init__(self, command):
self.__command = command
self.__startup_info = None
self.__shell = False
if os.name == 'nt':
self.__startup_info = subprocess.STARTUPINFO()
self.__startu... | Fix extraneous self parameter in staticmethod | Fix extraneous self parameter in staticmethod
| Python | mit | Rypac/sublime-format | import subprocess
import os
from .settings import Settings
class Command():
def __init__(self, command):
self.__command = command
self.__startup_info = None
self.__shell = False
if os.name == 'nt':
self.__startup_info = subprocess.STARTUPINFO()
self.__startu... | import subprocess
import os
from .settings import Settings
class Command():
def __init__(self, command):
self.__command = command
self.__startup_info = None
self.__shell = False
if os.name == 'nt':
self.__startup_info = subprocess.STARTUPINFO()
self.__startu... | <commit_before>import subprocess
import os
from .settings import Settings
class Command():
def __init__(self, command):
self.__command = command
self.__startup_info = None
self.__shell = False
if os.name == 'nt':
self.__startup_info = subprocess.STARTUPINFO()
... | import subprocess
import os
from .settings import Settings
class Command():
def __init__(self, command):
self.__command = command
self.__startup_info = None
self.__shell = False
if os.name == 'nt':
self.__startup_info = subprocess.STARTUPINFO()
self.__startu... | import subprocess
import os
from .settings import Settings
class Command():
def __init__(self, command):
self.__command = command
self.__startup_info = None
self.__shell = False
if os.name == 'nt':
self.__startup_info = subprocess.STARTUPINFO()
self.__startu... | <commit_before>import subprocess
import os
from .settings import Settings
class Command():
def __init__(self, command):
self.__command = command
self.__startup_info = None
self.__shell = False
if os.name == 'nt':
self.__startup_info = subprocess.STARTUPINFO()
... |
6ff9e206f8bdc150b5b0562dd4a07e0e4f80a93f | enthought/traits/ui/editors/date_editor.py | enthought/traits/ui/editors/date_editor.py | #------------------------------------------------------------------------------
#
# Copyright (c) 2008, Enthought, Inc.
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
# license included in enthought/LICENSE.txt and may be redistributed only
# under the conditions... | #------------------------------------------------------------------------------
#
# Copyright (c) 2008, Enthought, Inc.
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
# license included in enthought/LICENSE.txt and may be redistributed only
# under the conditions... | Add type info in comment. | Add type info in comment.
| Python | bsd-3-clause | burnpanck/traits,burnpanck/traits | #------------------------------------------------------------------------------
#
# Copyright (c) 2008, Enthought, Inc.
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
# license included in enthought/LICENSE.txt and may be redistributed only
# under the conditions... | #------------------------------------------------------------------------------
#
# Copyright (c) 2008, Enthought, Inc.
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
# license included in enthought/LICENSE.txt and may be redistributed only
# under the conditions... | <commit_before>#------------------------------------------------------------------------------
#
# Copyright (c) 2008, Enthought, Inc.
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
# license included in enthought/LICENSE.txt and may be redistributed only
# under... | #------------------------------------------------------------------------------
#
# Copyright (c) 2008, Enthought, Inc.
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
# license included in enthought/LICENSE.txt and may be redistributed only
# under the conditions... | #------------------------------------------------------------------------------
#
# Copyright (c) 2008, Enthought, Inc.
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
# license included in enthought/LICENSE.txt and may be redistributed only
# under the conditions... | <commit_before>#------------------------------------------------------------------------------
#
# Copyright (c) 2008, Enthought, Inc.
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
# license included in enthought/LICENSE.txt and may be redistributed only
# under... |
4d86aff88c4085dc9adfc80adb8d5f07d74d89cf | parse.py | parse.py | from PIL import Image
import sys
import pyocr
import pyocr.builders
image_loc = ' '.join(sys.argv[1:])
tools = pyocr.get_available_tools()
if len(tools) == 0:
print("Error: No OCR tool found")
sys.exit(1)
# should be 'Tesseract (sh)'
tool = tools[0]
orig_image = Image.open(image_loc)
# crop to only the se... | from PIL import Image
import sys
import pyocr
import pyocr.builders
image_loc = ' '.join(sys.argv[1:])
if not len(image_loc):
print('Please provide a Project Euler badge png to parse.')
print('As an example, to parse `test.png`, run the program like this:')
print('python3 parse.py test.png')
sys.exit... | Add help message when no path is given | Add help message when no path is given
| Python | bsd-2-clause | iandioch/euler-foiler | from PIL import Image
import sys
import pyocr
import pyocr.builders
image_loc = ' '.join(sys.argv[1:])
tools = pyocr.get_available_tools()
if len(tools) == 0:
print("Error: No OCR tool found")
sys.exit(1)
# should be 'Tesseract (sh)'
tool = tools[0]
orig_image = Image.open(image_loc)
# crop to only the se... | from PIL import Image
import sys
import pyocr
import pyocr.builders
image_loc = ' '.join(sys.argv[1:])
if not len(image_loc):
print('Please provide a Project Euler badge png to parse.')
print('As an example, to parse `test.png`, run the program like this:')
print('python3 parse.py test.png')
sys.exit... | <commit_before>from PIL import Image
import sys
import pyocr
import pyocr.builders
image_loc = ' '.join(sys.argv[1:])
tools = pyocr.get_available_tools()
if len(tools) == 0:
print("Error: No OCR tool found")
sys.exit(1)
# should be 'Tesseract (sh)'
tool = tools[0]
orig_image = Image.open(image_loc)
# crop... | from PIL import Image
import sys
import pyocr
import pyocr.builders
image_loc = ' '.join(sys.argv[1:])
if not len(image_loc):
print('Please provide a Project Euler badge png to parse.')
print('As an example, to parse `test.png`, run the program like this:')
print('python3 parse.py test.png')
sys.exit... | from PIL import Image
import sys
import pyocr
import pyocr.builders
image_loc = ' '.join(sys.argv[1:])
tools = pyocr.get_available_tools()
if len(tools) == 0:
print("Error: No OCR tool found")
sys.exit(1)
# should be 'Tesseract (sh)'
tool = tools[0]
orig_image = Image.open(image_loc)
# crop to only the se... | <commit_before>from PIL import Image
import sys
import pyocr
import pyocr.builders
image_loc = ' '.join(sys.argv[1:])
tools = pyocr.get_available_tools()
if len(tools) == 0:
print("Error: No OCR tool found")
sys.exit(1)
# should be 'Tesseract (sh)'
tool = tools[0]
orig_image = Image.open(image_loc)
# crop... |
e0270d78dff4b3e58726465ef464a82ce00738a3 | utility.py | utility.py | #!/usr/bin/env python3
from datetime import datetime
#our timestamping function, accurate to milliseconds
#(remove [:-3] to display microseconds)
def get_time():
return datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f")[:-3]
def rd_print(log, *args, **kwargs):
print(get_time(), *args, **kwargs)
if log:
... | #!/usr/bin/env python3
from datetime import datetime
#our timestamping function, accurate to milliseconds
#(remove [:-3] to display microseconds)
def get_time():
return datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f")[:-3]
def rd_print(log, *args, **kwargs):
print(get_time(), *args, **kwargs)
if log:
... | Make rd_print() compatibile with Python 3.4. | Make rd_print() compatibile with Python 3.4.
| Python | bsd-2-clause | tdaede/rd_tool,tdaede/rd_tool | #!/usr/bin/env python3
from datetime import datetime
#our timestamping function, accurate to milliseconds
#(remove [:-3] to display microseconds)
def get_time():
return datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f")[:-3]
def rd_print(log, *args, **kwargs):
print(get_time(), *args, **kwargs)
if log:
... | #!/usr/bin/env python3
from datetime import datetime
#our timestamping function, accurate to milliseconds
#(remove [:-3] to display microseconds)
def get_time():
return datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f")[:-3]
def rd_print(log, *args, **kwargs):
print(get_time(), *args, **kwargs)
if log:
... | <commit_before>#!/usr/bin/env python3
from datetime import datetime
#our timestamping function, accurate to milliseconds
#(remove [:-3] to display microseconds)
def get_time():
return datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f")[:-3]
def rd_print(log, *args, **kwargs):
print(get_time(), *args, **kwargs)
... | #!/usr/bin/env python3
from datetime import datetime
#our timestamping function, accurate to milliseconds
#(remove [:-3] to display microseconds)
def get_time():
return datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f")[:-3]
def rd_print(log, *args, **kwargs):
print(get_time(), *args, **kwargs)
if log:
... | #!/usr/bin/env python3
from datetime import datetime
#our timestamping function, accurate to milliseconds
#(remove [:-3] to display microseconds)
def get_time():
return datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f")[:-3]
def rd_print(log, *args, **kwargs):
print(get_time(), *args, **kwargs)
if log:
... | <commit_before>#!/usr/bin/env python3
from datetime import datetime
#our timestamping function, accurate to milliseconds
#(remove [:-3] to display microseconds)
def get_time():
return datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f")[:-3]
def rd_print(log, *args, **kwargs):
print(get_time(), *args, **kwargs)
... |
21f234aa20a1315f2106218a402ab230e2d1a1a9 | scripts/prepared_json_to_fasta.py | scripts/prepared_json_to_fasta.py | """
Convert a prepared JSON file from augur into a FASTA file.
"""
import argparse
import Bio
import json
import logging
import pandas as pd
import sys
sys.path.append('..')
from base.sequences_process import sequence_set
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Convert a prepare... | """
Convert a prepared JSON file from augur into a FASTA file.
"""
import argparse
import Bio
import json
import logging
import pandas as pd
import sys
sys.path.append('..')
from base.sequences_process import sequence_set
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Convert a prepare... | Fix bugs in conversion of prepared JSONs to FASTA and metadata | Fix bugs in conversion of prepared JSONs to FASTA and metadata
Specifically, omit reference sequences when the prepared JSON explicitly states
that they should not be included and rename any column named "num_date" to
prevent conflicts with TreeTime in modular augur.
| Python | agpl-3.0 | nextstrain/augur,blab/nextstrain-augur,nextstrain/augur,nextstrain/augur | """
Convert a prepared JSON file from augur into a FASTA file.
"""
import argparse
import Bio
import json
import logging
import pandas as pd
import sys
sys.path.append('..')
from base.sequences_process import sequence_set
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Convert a prepare... | """
Convert a prepared JSON file from augur into a FASTA file.
"""
import argparse
import Bio
import json
import logging
import pandas as pd
import sys
sys.path.append('..')
from base.sequences_process import sequence_set
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Convert a prepare... | <commit_before>"""
Convert a prepared JSON file from augur into a FASTA file.
"""
import argparse
import Bio
import json
import logging
import pandas as pd
import sys
sys.path.append('..')
from base.sequences_process import sequence_set
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Co... | """
Convert a prepared JSON file from augur into a FASTA file.
"""
import argparse
import Bio
import json
import logging
import pandas as pd
import sys
sys.path.append('..')
from base.sequences_process import sequence_set
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Convert a prepare... | """
Convert a prepared JSON file from augur into a FASTA file.
"""
import argparse
import Bio
import json
import logging
import pandas as pd
import sys
sys.path.append('..')
from base.sequences_process import sequence_set
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Convert a prepare... | <commit_before>"""
Convert a prepared JSON file from augur into a FASTA file.
"""
import argparse
import Bio
import json
import logging
import pandas as pd
import sys
sys.path.append('..')
from base.sequences_process import sequence_set
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Co... |
6994a94f55380c7a0eafeaab28fe42bc29db8e4d | modder/utils/desktop_notification.py | modder/utils/desktop_notification.py | # coding: utf-8
import platform
if platform.system() == 'Darwin':
from Foundation import NSUserNotificationDefaultSoundName
import objc
NSUserNotification = objc.lookUpClass('NSUserNotification')
NSUserNotificationCenter = objc.lookUpClass('NSUserNotificationCenter')
def desktop_notify(text, titl... | # coding: utf-8
import os.path
import platform
import sys
if getattr(sys, 'frozen', False):
desktop_icon = os.path.abspath(
os.path.join(
os.path.dirname(sys.executable), 'resources', 'icons8-Module-128.png'
)
)
else:
desktop_icon = os.path.abspath(
os.path.join(
... | Add icon for desktop notifications | Add icon for desktop notifications
| Python | mit | JokerQyou/Modder2 | # coding: utf-8
import platform
if platform.system() == 'Darwin':
from Foundation import NSUserNotificationDefaultSoundName
import objc
NSUserNotification = objc.lookUpClass('NSUserNotification')
NSUserNotificationCenter = objc.lookUpClass('NSUserNotificationCenter')
def desktop_notify(text, titl... | # coding: utf-8
import os.path
import platform
import sys
if getattr(sys, 'frozen', False):
desktop_icon = os.path.abspath(
os.path.join(
os.path.dirname(sys.executable), 'resources', 'icons8-Module-128.png'
)
)
else:
desktop_icon = os.path.abspath(
os.path.join(
... | <commit_before># coding: utf-8
import platform
if platform.system() == 'Darwin':
from Foundation import NSUserNotificationDefaultSoundName
import objc
NSUserNotification = objc.lookUpClass('NSUserNotification')
NSUserNotificationCenter = objc.lookUpClass('NSUserNotificationCenter')
def desktop_no... | # coding: utf-8
import os.path
import platform
import sys
if getattr(sys, 'frozen', False):
desktop_icon = os.path.abspath(
os.path.join(
os.path.dirname(sys.executable), 'resources', 'icons8-Module-128.png'
)
)
else:
desktop_icon = os.path.abspath(
os.path.join(
... | # coding: utf-8
import platform
if platform.system() == 'Darwin':
from Foundation import NSUserNotificationDefaultSoundName
import objc
NSUserNotification = objc.lookUpClass('NSUserNotification')
NSUserNotificationCenter = objc.lookUpClass('NSUserNotificationCenter')
def desktop_notify(text, titl... | <commit_before># coding: utf-8
import platform
if platform.system() == 'Darwin':
from Foundation import NSUserNotificationDefaultSoundName
import objc
NSUserNotification = objc.lookUpClass('NSUserNotification')
NSUserNotificationCenter = objc.lookUpClass('NSUserNotificationCenter')
def desktop_no... |
40b76f7cc04848dcbd7fbff053f9dc711f08c414 | cuda_deps/setup.py | cuda_deps/setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='chainer-cuda-deps',
version='1.1.0',
description='Install dependent packages to use Chainer on CUDA',
author='Seiya Tokui',
author_email='tokui@preferred.jp',
url='http://chainer.org/',
packages=[],
install_requires=[
... | #!/usr/bin/env python
from setuptools import setup
setup(
name='chainer-cuda-deps',
version='1.1.0.1',
description='Install dependent packages to use Chainer on CUDA',
author='Seiya Tokui',
author_email='tokui@preferred.jp',
url='http://chainer.org/',
packages=[],
install_requires=[
... | Update cuda_deps to 1.1.0.1 (for scikit-cuda) | Update cuda_deps to 1.1.0.1 (for scikit-cuda)
| Python | mit | bayerj/chainer,hvy/chainer,jnishi/chainer,rezoo/chainer,keisuke-umezawa/chainer,niboshi/chainer,hvy/chainer,benob/chainer,kikusu/chainer,pfnet/chainer,cemoody/chainer,ktnyt/chainer,woodshop/complex-chainer,tigerneil/chainer,umitanuki/chainer,kikusu/chainer,truongdq/chainer,muupan/chainer,tkerola/chainer,t-abe/chainer,A... | #!/usr/bin/env python
from setuptools import setup
setup(
name='chainer-cuda-deps',
version='1.1.0',
description='Install dependent packages to use Chainer on CUDA',
author='Seiya Tokui',
author_email='tokui@preferred.jp',
url='http://chainer.org/',
packages=[],
install_requires=[
... | #!/usr/bin/env python
from setuptools import setup
setup(
name='chainer-cuda-deps',
version='1.1.0.1',
description='Install dependent packages to use Chainer on CUDA',
author='Seiya Tokui',
author_email='tokui@preferred.jp',
url='http://chainer.org/',
packages=[],
install_requires=[
... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
name='chainer-cuda-deps',
version='1.1.0',
description='Install dependent packages to use Chainer on CUDA',
author='Seiya Tokui',
author_email='tokui@preferred.jp',
url='http://chainer.org/',
packages=[],
install_r... | #!/usr/bin/env python
from setuptools import setup
setup(
name='chainer-cuda-deps',
version='1.1.0.1',
description='Install dependent packages to use Chainer on CUDA',
author='Seiya Tokui',
author_email='tokui@preferred.jp',
url='http://chainer.org/',
packages=[],
install_requires=[
... | #!/usr/bin/env python
from setuptools import setup
setup(
name='chainer-cuda-deps',
version='1.1.0',
description='Install dependent packages to use Chainer on CUDA',
author='Seiya Tokui',
author_email='tokui@preferred.jp',
url='http://chainer.org/',
packages=[],
install_requires=[
... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
name='chainer-cuda-deps',
version='1.1.0',
description='Install dependent packages to use Chainer on CUDA',
author='Seiya Tokui',
author_email='tokui@preferred.jp',
url='http://chainer.org/',
packages=[],
install_r... |
1de828cf54ec0e87bdf1db4d7d4abf1b822eab68 | pytips/models.py | pytips/models.py | # -*- coding: utf-8 -*-
"""Defines the model 'layer' for PyTips."""
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
from __future__ import division
from sqlalchemy import func
from flask.ext.sqlalchemy import BaseQuery
from pytips import db
clas... | # -*- coding: utf-8 -*-
"""Defines the model 'layer' for PyTips."""
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
from __future__ import division
from sqlalchemy import func
from flask.ext.sqlalchemy import BaseQuery
from pytips import db
clas... | Add `publication_date` property to `Tip` model. | Add `publication_date` property to `Tip` model.
BEFORE: We had a column in the DB, but no property on the model object.
AFTER: We have that property in the model.
| Python | isc | gthank/pytips,gthank/pytips,gthank/pytips,gthank/pytips | # -*- coding: utf-8 -*-
"""Defines the model 'layer' for PyTips."""
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
from __future__ import division
from sqlalchemy import func
from flask.ext.sqlalchemy import BaseQuery
from pytips import db
clas... | # -*- coding: utf-8 -*-
"""Defines the model 'layer' for PyTips."""
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
from __future__ import division
from sqlalchemy import func
from flask.ext.sqlalchemy import BaseQuery
from pytips import db
clas... | <commit_before># -*- coding: utf-8 -*-
"""Defines the model 'layer' for PyTips."""
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
from __future__ import division
from sqlalchemy import func
from flask.ext.sqlalchemy import BaseQuery
from pytips i... | # -*- coding: utf-8 -*-
"""Defines the model 'layer' for PyTips."""
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
from __future__ import division
from sqlalchemy import func
from flask.ext.sqlalchemy import BaseQuery
from pytips import db
clas... | # -*- coding: utf-8 -*-
"""Defines the model 'layer' for PyTips."""
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
from __future__ import division
from sqlalchemy import func
from flask.ext.sqlalchemy import BaseQuery
from pytips import db
clas... | <commit_before># -*- coding: utf-8 -*-
"""Defines the model 'layer' for PyTips."""
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
from __future__ import division
from sqlalchemy import func
from flask.ext.sqlalchemy import BaseQuery
from pytips i... |
45b4a300b81d5d41bd9737301b969c05996a9a7a | qtpy/QtOpenGL.py | qtpy/QtOpenGL.py | # -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright © 2009- The Spyder Development Team
#
# Licensed under the terms of the MIT License
# (see LICENSE.txt for details)
# -----------------------------------------------------------------------------
"""Provi... | # -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright © 2009- The Spyder Development Team
#
# Licensed under the terms of the MIT License
# (see LICENSE.txt for details)
# -----------------------------------------------------------------------------
"""Provi... | Fix typo in if statement | Fix typo in if statement
| Python | mit | davvid/qtpy,spyder-ide/qtpy,goanpeca/qtpy,goanpeca/qtpy,davvid/qtpy | # -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright © 2009- The Spyder Development Team
#
# Licensed under the terms of the MIT License
# (see LICENSE.txt for details)
# -----------------------------------------------------------------------------
"""Provi... | # -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright © 2009- The Spyder Development Team
#
# Licensed under the terms of the MIT License
# (see LICENSE.txt for details)
# -----------------------------------------------------------------------------
"""Provi... | <commit_before># -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright © 2009- The Spyder Development Team
#
# Licensed under the terms of the MIT License
# (see LICENSE.txt for details)
# -----------------------------------------------------------------------... | # -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright © 2009- The Spyder Development Team
#
# Licensed under the terms of the MIT License
# (see LICENSE.txt for details)
# -----------------------------------------------------------------------------
"""Provi... | # -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright © 2009- The Spyder Development Team
#
# Licensed under the terms of the MIT License
# (see LICENSE.txt for details)
# -----------------------------------------------------------------------------
"""Provi... | <commit_before># -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright © 2009- The Spyder Development Team
#
# Licensed under the terms of the MIT License
# (see LICENSE.txt for details)
# -----------------------------------------------------------------------... |
180d8d721d321609f18eed9f44d59d32f474dc13 | project_fish/whats_fresh/tests/test_products_model.py | project_fish/whats_fresh/tests/test_products_model.py | from django.test import TestCase
from django.conf import settings
from phonenumber_field.modelfields import PhoneNumberField
from whats_fresh.models import *
from django.contrib.gis.db import models
import os
import time
import sys
import datetime
class ProductTestCase(TestCase):
def setUp(self):
self.e... | from django.test import TestCase
from django.conf import settings
from phonenumber_field.modelfields import PhoneNumberField
from whats_fresh.models import *
from django.contrib.gis.db import models
import os
import time
import sys
import datetime
class ProductTestCase(TestCase):
def setUp(self):
self.e... | Use ForeignKey for foreign keys and NullBooleanField in tests | Use ForeignKey for foreign keys and NullBooleanField in tests
| Python | apache-2.0 | osu-cass/whats-fresh-api,iCHAIT/whats-fresh-api,osu-cass/whats-fresh-api,iCHAIT/whats-fresh-api,osu-cass/whats-fresh-api,iCHAIT/whats-fresh-api,osu-cass/whats-fresh-api,iCHAIT/whats-fresh-api | from django.test import TestCase
from django.conf import settings
from phonenumber_field.modelfields import PhoneNumberField
from whats_fresh.models import *
from django.contrib.gis.db import models
import os
import time
import sys
import datetime
class ProductTestCase(TestCase):
def setUp(self):
self.e... | from django.test import TestCase
from django.conf import settings
from phonenumber_field.modelfields import PhoneNumberField
from whats_fresh.models import *
from django.contrib.gis.db import models
import os
import time
import sys
import datetime
class ProductTestCase(TestCase):
def setUp(self):
self.e... | <commit_before>from django.test import TestCase
from django.conf import settings
from phonenumber_field.modelfields import PhoneNumberField
from whats_fresh.models import *
from django.contrib.gis.db import models
import os
import time
import sys
import datetime
class ProductTestCase(TestCase):
def setUp(self):... | from django.test import TestCase
from django.conf import settings
from phonenumber_field.modelfields import PhoneNumberField
from whats_fresh.models import *
from django.contrib.gis.db import models
import os
import time
import sys
import datetime
class ProductTestCase(TestCase):
def setUp(self):
self.e... | from django.test import TestCase
from django.conf import settings
from phonenumber_field.modelfields import PhoneNumberField
from whats_fresh.models import *
from django.contrib.gis.db import models
import os
import time
import sys
import datetime
class ProductTestCase(TestCase):
def setUp(self):
self.e... | <commit_before>from django.test import TestCase
from django.conf import settings
from phonenumber_field.modelfields import PhoneNumberField
from whats_fresh.models import *
from django.contrib.gis.db import models
import os
import time
import sys
import datetime
class ProductTestCase(TestCase):
def setUp(self):... |
94d23ec1eb22bd1d08270f9fbde41efc57859231 | login_token/models.py | login_token/models.py | import random
import re
from django.contrib.auth.models import User
from django.db import models
from instances.models import InstanceMixin
NUMBER_OF_TOKEN_WORDS = 3
def generate_token():
def useful_word(w):
# FIXME: should try to exclude offensive words
if len(w) < 4:
return False
... | import random
import re
from django.contrib.auth.models import User
from django.db import models
from instances.models import InstanceMixin
NUMBER_OF_TOKEN_WORDS = 3
def generate_token():
def useful_word(w):
# FIXME: should try to exclude offensive words
if len(w) < 4:
return False
... | Add a method to regenerate a token | Add a method to regenerate a token
| Python | agpl-3.0 | opencorato/sayit,opencorato/sayit,opencorato/sayit,opencorato/sayit | import random
import re
from django.contrib.auth.models import User
from django.db import models
from instances.models import InstanceMixin
NUMBER_OF_TOKEN_WORDS = 3
def generate_token():
def useful_word(w):
# FIXME: should try to exclude offensive words
if len(w) < 4:
return False
... | import random
import re
from django.contrib.auth.models import User
from django.db import models
from instances.models import InstanceMixin
NUMBER_OF_TOKEN_WORDS = 3
def generate_token():
def useful_word(w):
# FIXME: should try to exclude offensive words
if len(w) < 4:
return False
... | <commit_before>import random
import re
from django.contrib.auth.models import User
from django.db import models
from instances.models import InstanceMixin
NUMBER_OF_TOKEN_WORDS = 3
def generate_token():
def useful_word(w):
# FIXME: should try to exclude offensive words
if len(w) < 4:
... | import random
import re
from django.contrib.auth.models import User
from django.db import models
from instances.models import InstanceMixin
NUMBER_OF_TOKEN_WORDS = 3
def generate_token():
def useful_word(w):
# FIXME: should try to exclude offensive words
if len(w) < 4:
return False
... | import random
import re
from django.contrib.auth.models import User
from django.db import models
from instances.models import InstanceMixin
NUMBER_OF_TOKEN_WORDS = 3
def generate_token():
def useful_word(w):
# FIXME: should try to exclude offensive words
if len(w) < 4:
return False
... | <commit_before>import random
import re
from django.contrib.auth.models import User
from django.db import models
from instances.models import InstanceMixin
NUMBER_OF_TOKEN_WORDS = 3
def generate_token():
def useful_word(w):
# FIXME: should try to exclude offensive words
if len(w) < 4:
... |
11e2535f75fbfc294361b6dba3ae51cae158fd59 | migrations/versions/849170064430_.py | migrations/versions/849170064430_.py | """add enqueue_job column to smtpserver table
Revision ID: 849170064430
Revises: a63df077051a
Create Date: 2018-11-22 10:04:00.330101
"""
# revision identifiers, used by Alembic.
revision = '849170064430'
down_revision = 'a63df077051a'
from alembic import op
import sqlalchemy as sa
def upgrade():
op.add_colum... | """add enqueue_job column to smtpserver table
Revision ID: 849170064430
Revises: a63df077051a
Create Date: 2018-11-22 10:04:00.330101
"""
# revision identifiers, used by Alembic.
revision = '849170064430'
down_revision = 'a63df077051a'
from alembic import op
import sqlalchemy as sa
def upgrade():
try:
... | Add try-except block to queue migration script | Add try-except block to queue migration script
| Python | agpl-3.0 | privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea | """add enqueue_job column to smtpserver table
Revision ID: 849170064430
Revises: a63df077051a
Create Date: 2018-11-22 10:04:00.330101
"""
# revision identifiers, used by Alembic.
revision = '849170064430'
down_revision = 'a63df077051a'
from alembic import op
import sqlalchemy as sa
def upgrade():
op.add_colum... | """add enqueue_job column to smtpserver table
Revision ID: 849170064430
Revises: a63df077051a
Create Date: 2018-11-22 10:04:00.330101
"""
# revision identifiers, used by Alembic.
revision = '849170064430'
down_revision = 'a63df077051a'
from alembic import op
import sqlalchemy as sa
def upgrade():
try:
... | <commit_before>"""add enqueue_job column to smtpserver table
Revision ID: 849170064430
Revises: a63df077051a
Create Date: 2018-11-22 10:04:00.330101
"""
# revision identifiers, used by Alembic.
revision = '849170064430'
down_revision = 'a63df077051a'
from alembic import op
import sqlalchemy as sa
def upgrade():
... | """add enqueue_job column to smtpserver table
Revision ID: 849170064430
Revises: a63df077051a
Create Date: 2018-11-22 10:04:00.330101
"""
# revision identifiers, used by Alembic.
revision = '849170064430'
down_revision = 'a63df077051a'
from alembic import op
import sqlalchemy as sa
def upgrade():
try:
... | """add enqueue_job column to smtpserver table
Revision ID: 849170064430
Revises: a63df077051a
Create Date: 2018-11-22 10:04:00.330101
"""
# revision identifiers, used by Alembic.
revision = '849170064430'
down_revision = 'a63df077051a'
from alembic import op
import sqlalchemy as sa
def upgrade():
op.add_colum... | <commit_before>"""add enqueue_job column to smtpserver table
Revision ID: 849170064430
Revises: a63df077051a
Create Date: 2018-11-22 10:04:00.330101
"""
# revision identifiers, used by Alembic.
revision = '849170064430'
down_revision = 'a63df077051a'
from alembic import op
import sqlalchemy as sa
def upgrade():
... |
62e73be09289c9334c6833c205ba8580945bbafc | swh/web/ui/tests/views/test_main.py | swh/web/ui/tests/views/test_main.py | # Copyright (C) 2016 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU Affero General Public License version 3, or any later version
# See top-level LICENSE file for more information
from nose.tools import istest
from .. import test_app
class Main... | # Copyright (C) 2016 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU Affero General Public License version 3, or any later version
# See top-level LICENSE file for more information
from nose.tools import istest
from .. import test_app
class Main... | Comment out test on /about/ | api: Comment out test on /about/
Related fb0bf65356aa6a6fd6cfb6e29122e1f45925d21c
| Python | agpl-3.0 | SoftwareHeritage/swh-web-ui,SoftwareHeritage/swh-web-ui,SoftwareHeritage/swh-web-ui | # Copyright (C) 2016 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU Affero General Public License version 3, or any later version
# See top-level LICENSE file for more information
from nose.tools import istest
from .. import test_app
class Main... | # Copyright (C) 2016 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU Affero General Public License version 3, or any later version
# See top-level LICENSE file for more information
from nose.tools import istest
from .. import test_app
class Main... | <commit_before># Copyright (C) 2016 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU Affero General Public License version 3, or any later version
# See top-level LICENSE file for more information
from nose.tools import istest
from .. import test_a... | # Copyright (C) 2016 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU Affero General Public License version 3, or any later version
# See top-level LICENSE file for more information
from nose.tools import istest
from .. import test_app
class Main... | # Copyright (C) 2016 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU Affero General Public License version 3, or any later version
# See top-level LICENSE file for more information
from nose.tools import istest
from .. import test_app
class Main... | <commit_before># Copyright (C) 2016 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU Affero General Public License version 3, or any later version
# See top-level LICENSE file for more information
from nose.tools import istest
from .. import test_a... |
8037f77c27646db1c7d0cc1e8b26ebf6a2e8a9fd | test/common.py | test/common.py | # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
from __future__ import absolute_import
from __future__ import print_function
from subprocrunner import SubprocessRunner
from typepy.type import RealNumber
from tcconfig._const import Tc
from tcconfig._converter import Humanrea... | # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
from __future__ import absolute_import
from __future__ import print_function
from subprocrunner import SubprocessRunner
from typepy.type import RealNumber
from tcconfig._const import Tc
from tcconfig._converter import Humanrea... | Modify test tear down function | Modify test tear down function
| Python | mit | thombashi/tcconfig,thombashi/tcconfig | # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
from __future__ import absolute_import
from __future__ import print_function
from subprocrunner import SubprocessRunner
from typepy.type import RealNumber
from tcconfig._const import Tc
from tcconfig._converter import Humanrea... | # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
from __future__ import absolute_import
from __future__ import print_function
from subprocrunner import SubprocessRunner
from typepy.type import RealNumber
from tcconfig._const import Tc
from tcconfig._converter import Humanrea... | <commit_before># encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
from __future__ import absolute_import
from __future__ import print_function
from subprocrunner import SubprocessRunner
from typepy.type import RealNumber
from tcconfig._const import Tc
from tcconfig._converter ... | # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
from __future__ import absolute_import
from __future__ import print_function
from subprocrunner import SubprocessRunner
from typepy.type import RealNumber
from tcconfig._const import Tc
from tcconfig._converter import Humanrea... | # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
from __future__ import absolute_import
from __future__ import print_function
from subprocrunner import SubprocessRunner
from typepy.type import RealNumber
from tcconfig._const import Tc
from tcconfig._converter import Humanrea... | <commit_before># encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
from __future__ import absolute_import
from __future__ import print_function
from subprocrunner import SubprocessRunner
from typepy.type import RealNumber
from tcconfig._const import Tc
from tcconfig._converter ... |
efbb7819b4860ef123b37b121772099621f18055 | logger.py | logger.py | import logging.config
import sys
import types
LOGGING_CONFIG = {
'disable_existing_loggers': False,
'formatters': {
'standard': {
'format': '%(asctime)s - %(levelname)s - %(message)s',
'datefmt': '[%Y-%m-%dT%H:%M:%S]',
},
},
'handlers': {
'file': {
... | import logging.config
import sys
import types
LOGGING_CONFIG = {
'disable_existing_loggers': False,
'formatters': {
'standard': {
'format': '%(asctime)s - %(levelname)s - %(message)s',
'datefmt': '%Y-%m-%dT%H:%M:%S',
},
},
'handlers': {
'file': {
... | Remove brackets around data and time in logs | Remove brackets around data and time in logs
Change-Id: Ia424eecb8a30ee9f73b9b007db2fd81f07ab509f
Reviewed-on: http://review.couchbase.org/79748
Well-Formed: Build Bot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>
Tested-by: Build Bot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>
Reviewed-by: Pav... | Python | apache-2.0 | pavel-paulau/perfrunner,couchbase/perfrunner,couchbase/perfrunner,couchbase/perfrunner,pavel-paulau/perfrunner,pavel-paulau/perfrunner,couchbase/perfrunner,couchbase/perfrunner,pavel-paulau/perfrunner,pavel-paulau/perfrunner,couchbase/perfrunner | import logging.config
import sys
import types
LOGGING_CONFIG = {
'disable_existing_loggers': False,
'formatters': {
'standard': {
'format': '%(asctime)s - %(levelname)s - %(message)s',
'datefmt': '[%Y-%m-%dT%H:%M:%S]',
},
},
'handlers': {
'file': {
... | import logging.config
import sys
import types
LOGGING_CONFIG = {
'disable_existing_loggers': False,
'formatters': {
'standard': {
'format': '%(asctime)s - %(levelname)s - %(message)s',
'datefmt': '%Y-%m-%dT%H:%M:%S',
},
},
'handlers': {
'file': {
... | <commit_before>import logging.config
import sys
import types
LOGGING_CONFIG = {
'disable_existing_loggers': False,
'formatters': {
'standard': {
'format': '%(asctime)s - %(levelname)s - %(message)s',
'datefmt': '[%Y-%m-%dT%H:%M:%S]',
},
},
'handlers': {
'... | import logging.config
import sys
import types
LOGGING_CONFIG = {
'disable_existing_loggers': False,
'formatters': {
'standard': {
'format': '%(asctime)s - %(levelname)s - %(message)s',
'datefmt': '%Y-%m-%dT%H:%M:%S',
},
},
'handlers': {
'file': {
... | import logging.config
import sys
import types
LOGGING_CONFIG = {
'disable_existing_loggers': False,
'formatters': {
'standard': {
'format': '%(asctime)s - %(levelname)s - %(message)s',
'datefmt': '[%Y-%m-%dT%H:%M:%S]',
},
},
'handlers': {
'file': {
... | <commit_before>import logging.config
import sys
import types
LOGGING_CONFIG = {
'disable_existing_loggers': False,
'formatters': {
'standard': {
'format': '%(asctime)s - %(levelname)s - %(message)s',
'datefmt': '[%Y-%m-%dT%H:%M:%S]',
},
},
'handlers': {
'... |
ee1deb28a2c32b7e35a2132542edd69f3c785c9c | django/projects/mysite/run-gevent.py | django/projects/mysite/run-gevent.py | #!/usr/bin/env python
# Import gevent monkey and patch everything
from gevent import monkey
monkey.patch_all(httplib=True)
# Import the rest
from django.core.handlers.wsgi import WSGIHandler as DjangoWSGIApp
from django.core.management import setup_environ
from gevent.wsgi import WSGIServer
import sys
import settings... | #!/usr/bin/env python
# Import gevent monkey and patch everything
from gevent import monkey
monkey.patch_all()
# Import the rest
from django.core.handlers.wsgi import WSGIHandler as DjangoWSGIApp
from django.core.management import setup_environ
from gevent.wsgi import WSGIServer
import sys
import settings
setup_envi... | Fix httplib monkey patching problem with Gevent >= 1.0 | Fix httplib monkey patching problem with Gevent >= 1.0
From v1.0 on, Gevent doesn't support monkey patching of httplib anymore.
CATMAID's example script to run a Gevent WSGI server, however, was still
expecting this to be possible. This commit fixes this.
Thanks to Mikhail Kandel for reporting.
| Python | agpl-3.0 | fzadow/CATMAID,htem/CATMAID,fzadow/CATMAID,htem/CATMAID,htem/CATMAID,fzadow/CATMAID,fzadow/CATMAID,htem/CATMAID | #!/usr/bin/env python
# Import gevent monkey and patch everything
from gevent import monkey
monkey.patch_all(httplib=True)
# Import the rest
from django.core.handlers.wsgi import WSGIHandler as DjangoWSGIApp
from django.core.management import setup_environ
from gevent.wsgi import WSGIServer
import sys
import settings... | #!/usr/bin/env python
# Import gevent monkey and patch everything
from gevent import monkey
monkey.patch_all()
# Import the rest
from django.core.handlers.wsgi import WSGIHandler as DjangoWSGIApp
from django.core.management import setup_environ
from gevent.wsgi import WSGIServer
import sys
import settings
setup_envi... | <commit_before>#!/usr/bin/env python
# Import gevent monkey and patch everything
from gevent import monkey
monkey.patch_all(httplib=True)
# Import the rest
from django.core.handlers.wsgi import WSGIHandler as DjangoWSGIApp
from django.core.management import setup_environ
from gevent.wsgi import WSGIServer
import sys
... | #!/usr/bin/env python
# Import gevent monkey and patch everything
from gevent import monkey
monkey.patch_all()
# Import the rest
from django.core.handlers.wsgi import WSGIHandler as DjangoWSGIApp
from django.core.management import setup_environ
from gevent.wsgi import WSGIServer
import sys
import settings
setup_envi... | #!/usr/bin/env python
# Import gevent monkey and patch everything
from gevent import monkey
monkey.patch_all(httplib=True)
# Import the rest
from django.core.handlers.wsgi import WSGIHandler as DjangoWSGIApp
from django.core.management import setup_environ
from gevent.wsgi import WSGIServer
import sys
import settings... | <commit_before>#!/usr/bin/env python
# Import gevent monkey and patch everything
from gevent import monkey
monkey.patch_all(httplib=True)
# Import the rest
from django.core.handlers.wsgi import WSGIHandler as DjangoWSGIApp
from django.core.management import setup_environ
from gevent.wsgi import WSGIServer
import sys
... |
d5122206fe5c8e0d60fd19f08a64962577be931e | manage.py | manage.py | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
if 'test' in sys.argv and '--tag=pkg' in sys.argv:
settings = 'tola.settings.test_pkg'
os.environ['DJANGO_SETTINGS_MODULE'] = settings
elif 'test':
settings = 'tola.settings.test'
os.environ['DJANGO_SETTINGS_M... | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
if 'test' in sys.argv and '--tag=pkg' in sys.argv:
settings = 'tola.settings.test_pkg'
os.environ['DJANGO_SETTINGS_MODULE'] = settings
elif 'test' in sys.argv:
settings = 'tola.settings.test'
os.environ['DJANG... | Fix bug running always with test config in dev | Fix bug running always with test config in dev
| Python | apache-2.0 | toladata/TolaActivity,toladata/TolaActivity,toladata/TolaActivity,toladata/TolaActivity | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
if 'test' in sys.argv and '--tag=pkg' in sys.argv:
settings = 'tola.settings.test_pkg'
os.environ['DJANGO_SETTINGS_MODULE'] = settings
elif 'test':
settings = 'tola.settings.test'
os.environ['DJANGO_SETTINGS_M... | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
if 'test' in sys.argv and '--tag=pkg' in sys.argv:
settings = 'tola.settings.test_pkg'
os.environ['DJANGO_SETTINGS_MODULE'] = settings
elif 'test' in sys.argv:
settings = 'tola.settings.test'
os.environ['DJANG... | <commit_before>#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
if 'test' in sys.argv and '--tag=pkg' in sys.argv:
settings = 'tola.settings.test_pkg'
os.environ['DJANGO_SETTINGS_MODULE'] = settings
elif 'test':
settings = 'tola.settings.test'
os.environ['DJ... | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
if 'test' in sys.argv and '--tag=pkg' in sys.argv:
settings = 'tola.settings.test_pkg'
os.environ['DJANGO_SETTINGS_MODULE'] = settings
elif 'test' in sys.argv:
settings = 'tola.settings.test'
os.environ['DJANG... | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
if 'test' in sys.argv and '--tag=pkg' in sys.argv:
settings = 'tola.settings.test_pkg'
os.environ['DJANGO_SETTINGS_MODULE'] = settings
elif 'test':
settings = 'tola.settings.test'
os.environ['DJANGO_SETTINGS_M... | <commit_before>#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
if 'test' in sys.argv and '--tag=pkg' in sys.argv:
settings = 'tola.settings.test_pkg'
os.environ['DJANGO_SETTINGS_MODULE'] = settings
elif 'test':
settings = 'tola.settings.test'
os.environ['DJ... |
d414e256985def2415da10db05115f620b8fe299 | toolkit/diary/edit_prefs.py | toolkit/diary/edit_prefs.py | import logging
logger = logging.getLogger(__name__)
# Set of known preferences and default values:
KNOWN_PREFS = {
'popups': 'true',
'daysahead': '90',
}
def get_preferences(session):
edit_prefs = {
pref: session.get('editpref_' + pref, default)
for pref, default in KNOWN_PREFS.iteritems(... | import logging
logger = logging.getLogger(__name__)
# Set of known preferences and default values:
KNOWN_PREFS = {
'popups': 'true',
'daysahead': '90',
}
def get_preferences(session):
edit_prefs = dict(
(pref, session.get('editpref_' + pref, default))
for pref, default in KNOWN_PREFS.iter... | Fix for python 2.6 compatibility | Fix for python 2.6 compatibility
| Python | agpl-3.0 | BenMotz/cubetoolkit,BenMotz/cubetoolkit,BenMotz/cubetoolkit,BenMotz/cubetoolkit | import logging
logger = logging.getLogger(__name__)
# Set of known preferences and default values:
KNOWN_PREFS = {
'popups': 'true',
'daysahead': '90',
}
def get_preferences(session):
edit_prefs = {
pref: session.get('editpref_' + pref, default)
for pref, default in KNOWN_PREFS.iteritems(... | import logging
logger = logging.getLogger(__name__)
# Set of known preferences and default values:
KNOWN_PREFS = {
'popups': 'true',
'daysahead': '90',
}
def get_preferences(session):
edit_prefs = dict(
(pref, session.get('editpref_' + pref, default))
for pref, default in KNOWN_PREFS.iter... | <commit_before>import logging
logger = logging.getLogger(__name__)
# Set of known preferences and default values:
KNOWN_PREFS = {
'popups': 'true',
'daysahead': '90',
}
def get_preferences(session):
edit_prefs = {
pref: session.get('editpref_' + pref, default)
for pref, default in KNOWN_P... | import logging
logger = logging.getLogger(__name__)
# Set of known preferences and default values:
KNOWN_PREFS = {
'popups': 'true',
'daysahead': '90',
}
def get_preferences(session):
edit_prefs = dict(
(pref, session.get('editpref_' + pref, default))
for pref, default in KNOWN_PREFS.iter... | import logging
logger = logging.getLogger(__name__)
# Set of known preferences and default values:
KNOWN_PREFS = {
'popups': 'true',
'daysahead': '90',
}
def get_preferences(session):
edit_prefs = {
pref: session.get('editpref_' + pref, default)
for pref, default in KNOWN_PREFS.iteritems(... | <commit_before>import logging
logger = logging.getLogger(__name__)
# Set of known preferences and default values:
KNOWN_PREFS = {
'popups': 'true',
'daysahead': '90',
}
def get_preferences(session):
edit_prefs = {
pref: session.get('editpref_' + pref, default)
for pref, default in KNOWN_P... |
b3702552ab83b7910b7972512253a829bbc56488 | osgtest/tests/test_838_xrootd_tpc.py | osgtest/tests/test_838_xrootd_tpc.py | import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.service as service
import osgtest.library.osgunittest as osgunittest
class TestStopXrootdTPC(osgunittest.OSGTestCase):
@core.elrelease(7,8)
def test_01_stop_xrootd(self):
if core.state['xrootd.tpc.backups-e... | import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.service as service
import osgtest.library.osgunittest as osgunittest
class TestStopXrootdTPC(osgunittest.OSGTestCase):
@core.elrelease(7,8)
def setUp(self):
core.skip_ok_unless_installed("xrootd",
... | Add xrootd and non-el6 check for xrootd-tpc cleanup too | Add xrootd and non-el6 check for xrootd-tpc cleanup too
| Python | apache-2.0 | efajardo/osg-test,efajardo/osg-test | import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.service as service
import osgtest.library.osgunittest as osgunittest
class TestStopXrootdTPC(osgunittest.OSGTestCase):
@core.elrelease(7,8)
def test_01_stop_xrootd(self):
if core.state['xrootd.tpc.backups-e... | import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.service as service
import osgtest.library.osgunittest as osgunittest
class TestStopXrootdTPC(osgunittest.OSGTestCase):
@core.elrelease(7,8)
def setUp(self):
core.skip_ok_unless_installed("xrootd",
... | <commit_before>import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.service as service
import osgtest.library.osgunittest as osgunittest
class TestStopXrootdTPC(osgunittest.OSGTestCase):
@core.elrelease(7,8)
def test_01_stop_xrootd(self):
if core.state['xroot... | import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.service as service
import osgtest.library.osgunittest as osgunittest
class TestStopXrootdTPC(osgunittest.OSGTestCase):
@core.elrelease(7,8)
def setUp(self):
core.skip_ok_unless_installed("xrootd",
... | import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.service as service
import osgtest.library.osgunittest as osgunittest
class TestStopXrootdTPC(osgunittest.OSGTestCase):
@core.elrelease(7,8)
def test_01_stop_xrootd(self):
if core.state['xrootd.tpc.backups-e... | <commit_before>import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.service as service
import osgtest.library.osgunittest as osgunittest
class TestStopXrootdTPC(osgunittest.OSGTestCase):
@core.elrelease(7,8)
def test_01_stop_xrootd(self):
if core.state['xroot... |
ff19e1e6028ab53f20740845b4317782a0d088cc | static_html_generation/tests/layers_interpretations_tests.py | static_html_generation/tests/layers_interpretations_tests.py | from layers.interpretations import InterpretationsLayer
from unittest import TestCase
class InterpretationsLayerTest(TestCase):
def test_apply_layer(self):
return # @todo refactor this test to use the new format
layer = {
"200-2-b": [{
"reference": "200-Interp... | from layers.interpretations import InterpretationsLayer
from mock import Mock, patch
from unittest import TestCase
class InterpretationsLayerTest(TestCase):
@patch('layers.interpretations.api_reader')
def test_apply_layer_extra_fields(self, api_reader):
layer = {
"200-2-b-3-i": [{
... | Test for the new fields | Test for the new fields
| Python | cc0-1.0 | EricSchles/regulations-site,tadhg-ohiggins/regulations-site,ascott1/regulations-site,adderall/regulations-site,jeremiak/regulations-site,adderall/regulations-site,jeremiak/regulations-site,ascott1/regulations-site,willbarton/regulations-site,adderall/regulations-site,EricSchles/regulations-site,ascott1/regulations-site... | from layers.interpretations import InterpretationsLayer
from unittest import TestCase
class InterpretationsLayerTest(TestCase):
def test_apply_layer(self):
return # @todo refactor this test to use the new format
layer = {
"200-2-b": [{
"reference": "200-Interp... | from layers.interpretations import InterpretationsLayer
from mock import Mock, patch
from unittest import TestCase
class InterpretationsLayerTest(TestCase):
@patch('layers.interpretations.api_reader')
def test_apply_layer_extra_fields(self, api_reader):
layer = {
"200-2-b-3-i": [{
... | <commit_before>from layers.interpretations import InterpretationsLayer
from unittest import TestCase
class InterpretationsLayerTest(TestCase):
def test_apply_layer(self):
return # @todo refactor this test to use the new format
layer = {
"200-2-b": [{
"referenc... | from layers.interpretations import InterpretationsLayer
from mock import Mock, patch
from unittest import TestCase
class InterpretationsLayerTest(TestCase):
@patch('layers.interpretations.api_reader')
def test_apply_layer_extra_fields(self, api_reader):
layer = {
"200-2-b-3-i": [{
... | from layers.interpretations import InterpretationsLayer
from unittest import TestCase
class InterpretationsLayerTest(TestCase):
def test_apply_layer(self):
return # @todo refactor this test to use the new format
layer = {
"200-2-b": [{
"reference": "200-Interp... | <commit_before>from layers.interpretations import InterpretationsLayer
from unittest import TestCase
class InterpretationsLayerTest(TestCase):
def test_apply_layer(self):
return # @todo refactor this test to use the new format
layer = {
"200-2-b": [{
"referenc... |
8c480f7b566047655d45cf675d9d803c15e6d19d | Lib/ctypes/test/test_unaligned_structures.py | Lib/ctypes/test/test_unaligned_structures.py | import sys, unittest
from ctypes import *
structures = []
byteswapped_structures = []
if sys.byteorder == "little":
SwappedStructure = BigEndianStructure
else:
SwappedStructure = LittleEndianStructure
for typ in [c_short, c_int, c_long, c_longlong,
c_float, c_double,
c_... | import sys, unittest
from ctypes import *
structures = []
byteswapped_structures = []
if sys.byteorder == "little":
SwappedStructure = BigEndianStructure
else:
SwappedStructure = LittleEndianStructure
for typ in [c_short, c_int, c_long, c_longlong,
c_float, c_double,
c_ushort, c_uint... | Add missing SVN eol-style property to text files. | Add missing SVN eol-style property to text files.
| Python | mit | sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator | import sys, unittest
from ctypes import *
structures = []
byteswapped_structures = []
if sys.byteorder == "little":
SwappedStructure = BigEndianStructure
else:
SwappedStructure = LittleEndianStructure
for typ in [c_short, c_int, c_long, c_longlong,
c_float, c_double,
c_... | import sys, unittest
from ctypes import *
structures = []
byteswapped_structures = []
if sys.byteorder == "little":
SwappedStructure = BigEndianStructure
else:
SwappedStructure = LittleEndianStructure
for typ in [c_short, c_int, c_long, c_longlong,
c_float, c_double,
c_ushort, c_uint... | <commit_before>import sys, unittest
from ctypes import *
structures = []
byteswapped_structures = []
if sys.byteorder == "little":
SwappedStructure = BigEndianStructure
else:
SwappedStructure = LittleEndianStructure
for typ in [c_short, c_int, c_long, c_longlong,
c_float, c_double,
... | import sys, unittest
from ctypes import *
structures = []
byteswapped_structures = []
if sys.byteorder == "little":
SwappedStructure = BigEndianStructure
else:
SwappedStructure = LittleEndianStructure
for typ in [c_short, c_int, c_long, c_longlong,
c_float, c_double,
c_ushort, c_uint... | import sys, unittest
from ctypes import *
structures = []
byteswapped_structures = []
if sys.byteorder == "little":
SwappedStructure = BigEndianStructure
else:
SwappedStructure = LittleEndianStructure
for typ in [c_short, c_int, c_long, c_longlong,
c_float, c_double,
c_... | <commit_before>import sys, unittest
from ctypes import *
structures = []
byteswapped_structures = []
if sys.byteorder == "little":
SwappedStructure = BigEndianStructure
else:
SwappedStructure = LittleEndianStructure
for typ in [c_short, c_int, c_long, c_longlong,
c_float, c_double,
... |
ffee056415e7d1d1bcd0bb0a1c42a506ab0cd6af | mozcal/admin/forms.py | mozcal/admin/forms.py | from django.forms import ModelForm
from mozcal.events.models import Event, Space
class EventForm(ModelForm):
class Meta:
model = Event
class SpaceForm(ModelForm):
class Meta:
model = Space
| from django.forms import ModelForm
from mozcal.events.models import Event, Space
class EventForm(ModelForm):
class Meta:
model = Event
fields = ['title', 'space', 'start', 'end', 'areas', 'description', 'details']
class SpaceForm(ModelForm):
class Meta:
model = Space
fields = ['name', 'address'... | Add fields properties to all form Meta classes | Add fields properties to all form Meta classes
| Python | bsd-3-clause | ppapadeas/wprevents,yvan-sraka/wprevents,yvan-sraka/wprevents,yvan-sraka/wprevents,ppapadeas/wprevents,yvan-sraka/wprevents,ppapadeas/wprevents | from django.forms import ModelForm
from mozcal.events.models import Event, Space
class EventForm(ModelForm):
class Meta:
model = Event
class SpaceForm(ModelForm):
class Meta:
model = Space
Add fields properties to all form Meta classes | from django.forms import ModelForm
from mozcal.events.models import Event, Space
class EventForm(ModelForm):
class Meta:
model = Event
fields = ['title', 'space', 'start', 'end', 'areas', 'description', 'details']
class SpaceForm(ModelForm):
class Meta:
model = Space
fields = ['name', 'address'... | <commit_before>from django.forms import ModelForm
from mozcal.events.models import Event, Space
class EventForm(ModelForm):
class Meta:
model = Event
class SpaceForm(ModelForm):
class Meta:
model = Space
<commit_msg>Add fields properties to all form Meta classes<commit_after> | from django.forms import ModelForm
from mozcal.events.models import Event, Space
class EventForm(ModelForm):
class Meta:
model = Event
fields = ['title', 'space', 'start', 'end', 'areas', 'description', 'details']
class SpaceForm(ModelForm):
class Meta:
model = Space
fields = ['name', 'address'... | from django.forms import ModelForm
from mozcal.events.models import Event, Space
class EventForm(ModelForm):
class Meta:
model = Event
class SpaceForm(ModelForm):
class Meta:
model = Space
Add fields properties to all form Meta classesfrom django.forms import ModelForm
from mozcal.events.models import... | <commit_before>from django.forms import ModelForm
from mozcal.events.models import Event, Space
class EventForm(ModelForm):
class Meta:
model = Event
class SpaceForm(ModelForm):
class Meta:
model = Space
<commit_msg>Add fields properties to all form Meta classes<commit_after>from django.forms import Mo... |
ab9adf12300246936618347f4523bcae8db3a9dd | src/creep/target.py | src/creep/target.py | #!/usr/bin/env python
import re
import urllib
def build (connection, options):
# FIXME: should use urllib.parse
match = re.match ('([+0-9A-Za-z]+)://(?:([^#/:@]+)(?::([^#/@]+))?@)?(?:([^#/:]+)(?::([0-9]+))?)?(?:/+([^#]*))?', connection)
if match is None:
return None
host = match.group (4)
password = match.gr... | #!/usr/bin/env python
import re
import urllib
def build (connection, options):
# FIXME: should use urllib.parse
match = re.match ('([+0-9A-Za-z]+)://(?:([^#/:@]+)(?::([^#/@]+))?@)?(?:([^#/:]+)(?::([0-9]+))?)?(?:/([^#]*))?', connection)
if match is None:
return None
host = match.group (4)
password = match.gro... | Fix connection parsing for absolute paths. | Fix connection parsing for absolute paths.
| Python | mit | r3c/Creep | #!/usr/bin/env python
import re
import urllib
def build (connection, options):
# FIXME: should use urllib.parse
match = re.match ('([+0-9A-Za-z]+)://(?:([^#/:@]+)(?::([^#/@]+))?@)?(?:([^#/:]+)(?::([0-9]+))?)?(?:/+([^#]*))?', connection)
if match is None:
return None
host = match.group (4)
password = match.gr... | #!/usr/bin/env python
import re
import urllib
def build (connection, options):
# FIXME: should use urllib.parse
match = re.match ('([+0-9A-Za-z]+)://(?:([^#/:@]+)(?::([^#/@]+))?@)?(?:([^#/:]+)(?::([0-9]+))?)?(?:/([^#]*))?', connection)
if match is None:
return None
host = match.group (4)
password = match.gro... | <commit_before>#!/usr/bin/env python
import re
import urllib
def build (connection, options):
# FIXME: should use urllib.parse
match = re.match ('([+0-9A-Za-z]+)://(?:([^#/:@]+)(?::([^#/@]+))?@)?(?:([^#/:]+)(?::([0-9]+))?)?(?:/+([^#]*))?', connection)
if match is None:
return None
host = match.group (4)
pass... | #!/usr/bin/env python
import re
import urllib
def build (connection, options):
# FIXME: should use urllib.parse
match = re.match ('([+0-9A-Za-z]+)://(?:([^#/:@]+)(?::([^#/@]+))?@)?(?:([^#/:]+)(?::([0-9]+))?)?(?:/([^#]*))?', connection)
if match is None:
return None
host = match.group (4)
password = match.gro... | #!/usr/bin/env python
import re
import urllib
def build (connection, options):
# FIXME: should use urllib.parse
match = re.match ('([+0-9A-Za-z]+)://(?:([^#/:@]+)(?::([^#/@]+))?@)?(?:([^#/:]+)(?::([0-9]+))?)?(?:/+([^#]*))?', connection)
if match is None:
return None
host = match.group (4)
password = match.gr... | <commit_before>#!/usr/bin/env python
import re
import urllib
def build (connection, options):
# FIXME: should use urllib.parse
match = re.match ('([+0-9A-Za-z]+)://(?:([^#/:@]+)(?::([^#/@]+))?@)?(?:([^#/:]+)(?::([0-9]+))?)?(?:/+([^#]*))?', connection)
if match is None:
return None
host = match.group (4)
pass... |
039d7bc7f19add23670fc387b3091293d2ed94ce | parser.py | parser.py | #!/usr/bin/env python
from config import MongoSource
from manager import PluginManager
from log import LogDocGenerator
def main():
# 1. load all plugins
plugin_manager = PluginManager()
# 2. get one or more mongodb collection
ms = MongoSource()
collection = ms.get_collection("net-test", "ename_... | #!/usr/bin/env python
from config import MongoSource
from manager import PluginManager
from log import LogDocGenerator
import datetime
def main():
# 1. load all plugins
plugin_manager = PluginManager()
# 2. get one or more mongodb collection
ms = MongoSource()
collection = ms.get_collection("ne... | Add example for query datetime range | Add example for query datetime range
| Python | apache-2.0 | keepzero/fluent-mongo-parser | #!/usr/bin/env python
from config import MongoSource
from manager import PluginManager
from log import LogDocGenerator
def main():
# 1. load all plugins
plugin_manager = PluginManager()
# 2. get one or more mongodb collection
ms = MongoSource()
collection = ms.get_collection("net-test", "ename_... | #!/usr/bin/env python
from config import MongoSource
from manager import PluginManager
from log import LogDocGenerator
import datetime
def main():
# 1. load all plugins
plugin_manager = PluginManager()
# 2. get one or more mongodb collection
ms = MongoSource()
collection = ms.get_collection("ne... | <commit_before>#!/usr/bin/env python
from config import MongoSource
from manager import PluginManager
from log import LogDocGenerator
def main():
# 1. load all plugins
plugin_manager = PluginManager()
# 2. get one or more mongodb collection
ms = MongoSource()
collection = ms.get_collection("net... | #!/usr/bin/env python
from config import MongoSource
from manager import PluginManager
from log import LogDocGenerator
import datetime
def main():
# 1. load all plugins
plugin_manager = PluginManager()
# 2. get one or more mongodb collection
ms = MongoSource()
collection = ms.get_collection("ne... | #!/usr/bin/env python
from config import MongoSource
from manager import PluginManager
from log import LogDocGenerator
def main():
# 1. load all plugins
plugin_manager = PluginManager()
# 2. get one or more mongodb collection
ms = MongoSource()
collection = ms.get_collection("net-test", "ename_... | <commit_before>#!/usr/bin/env python
from config import MongoSource
from manager import PluginManager
from log import LogDocGenerator
def main():
# 1. load all plugins
plugin_manager = PluginManager()
# 2. get one or more mongodb collection
ms = MongoSource()
collection = ms.get_collection("net... |
4a2c6fa3caebe89041af13871f7538a0d46f3f78 | waterbutler/providers/weko/settings.py | waterbutler/providers/weko/settings.py | from waterbutler import settings
config = settings.child('WEKO_PROVIDER_CONFIG')
FILE_PATH_DRAFT = config.get('FILE_PATH_DRAFT', '/code/weko-draft/')
| from waterbutler import settings
config = settings.child('WEKO_PROVIDER_CONFIG')
FILE_PATH_DRAFT = config.get('FILE_PATH_DRAFT', '/code/website/wekodraft/')
| Fix default path of draft directory | Fix default path of draft directory
| Python | apache-2.0 | RCOSDP/waterbutler | from waterbutler import settings
config = settings.child('WEKO_PROVIDER_CONFIG')
FILE_PATH_DRAFT = config.get('FILE_PATH_DRAFT', '/code/weko-draft/')
Fix default path of draft directory | from waterbutler import settings
config = settings.child('WEKO_PROVIDER_CONFIG')
FILE_PATH_DRAFT = config.get('FILE_PATH_DRAFT', '/code/website/wekodraft/')
| <commit_before>from waterbutler import settings
config = settings.child('WEKO_PROVIDER_CONFIG')
FILE_PATH_DRAFT = config.get('FILE_PATH_DRAFT', '/code/weko-draft/')
<commit_msg>Fix default path of draft directory<commit_after> | from waterbutler import settings
config = settings.child('WEKO_PROVIDER_CONFIG')
FILE_PATH_DRAFT = config.get('FILE_PATH_DRAFT', '/code/website/wekodraft/')
| from waterbutler import settings
config = settings.child('WEKO_PROVIDER_CONFIG')
FILE_PATH_DRAFT = config.get('FILE_PATH_DRAFT', '/code/weko-draft/')
Fix default path of draft directoryfrom waterbutler import settings
config = settings.child('WEKO_PROVIDER_CONFIG')
FILE_PATH_DRAFT = config.get('FILE_PATH_DRAFT', '/... | <commit_before>from waterbutler import settings
config = settings.child('WEKO_PROVIDER_CONFIG')
FILE_PATH_DRAFT = config.get('FILE_PATH_DRAFT', '/code/weko-draft/')
<commit_msg>Fix default path of draft directory<commit_after>from waterbutler import settings
config = settings.child('WEKO_PROVIDER_CONFIG')
FILE_PATH... |
1407d82ded18a646ee9938d6069583d5b0caa95a | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup, Extension
from sysctl import get_version
modules = [
Extension(
'sysctl/_sysctl',
sources=['sysctl/_sysctl.c'],
extra_compile_args=["-Wall"],
)
]
setup(
name='sysctl',
version=get... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup, Extension
from sysctl import get_version
modules = [
Extension(
'sysctl/_sysctl',
sources=['sysctl/_sysctl.c'],
extra_compile_args=["-Wall"],
)
]
setup(
name='sysctl',
version=get... | Add tests to the package | Add tests to the package
| Python | bsd-2-clause | williambr/py-sysctl,williambr/py-sysctl | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup, Extension
from sysctl import get_version
modules = [
Extension(
'sysctl/_sysctl',
sources=['sysctl/_sysctl.c'],
extra_compile_args=["-Wall"],
)
]
setup(
name='sysctl',
version=get... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup, Extension
from sysctl import get_version
modules = [
Extension(
'sysctl/_sysctl',
sources=['sysctl/_sysctl.c'],
extra_compile_args=["-Wall"],
)
]
setup(
name='sysctl',
version=get... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup, Extension
from sysctl import get_version
modules = [
Extension(
'sysctl/_sysctl',
sources=['sysctl/_sysctl.c'],
extra_compile_args=["-Wall"],
)
]
setup(
name='sysctl',
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup, Extension
from sysctl import get_version
modules = [
Extension(
'sysctl/_sysctl',
sources=['sysctl/_sysctl.c'],
extra_compile_args=["-Wall"],
)
]
setup(
name='sysctl',
version=get... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup, Extension
from sysctl import get_version
modules = [
Extension(
'sysctl/_sysctl',
sources=['sysctl/_sysctl.c'],
extra_compile_args=["-Wall"],
)
]
setup(
name='sysctl',
version=get... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup, Extension
from sysctl import get_version
modules = [
Extension(
'sysctl/_sysctl',
sources=['sysctl/_sysctl.c'],
extra_compile_args=["-Wall"],
)
]
setup(
name='sysctl',
... |
dbdc82556c1e306d1830712cbfde2b037f8ad3b9 | setup.py | setup.py | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'VERSION')) as version_file:
version = version_file.read().strip()
setup(
name='django-geonode-client',
version=version,
author='Mila Frerichs',
author_email='mi... | import os
from setuptools import setup, find_packages
import subprocess
here = os.path.abspath(os.path.dirname(__file__))
def get_version(version=None):
"Returns a version number with commit id if the git repo is present"
with open(os.path.join(here, 'VERSION')) as version_file:
version = version... | Add get_version to show version and commit hash | Add get_version to show version and commit hash
| Python | mit | GeoNode/geonode-client,GeoNode/geonode-client,GeoNode/geonode-client,GeoNode/geonode-client | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'VERSION')) as version_file:
version = version_file.read().strip()
setup(
name='django-geonode-client',
version=version,
author='Mila Frerichs',
author_email='mi... | import os
from setuptools import setup, find_packages
import subprocess
here = os.path.abspath(os.path.dirname(__file__))
def get_version(version=None):
"Returns a version number with commit id if the git repo is present"
with open(os.path.join(here, 'VERSION')) as version_file:
version = version... | <commit_before>import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'VERSION')) as version_file:
version = version_file.read().strip()
setup(
name='django-geonode-client',
version=version,
author='Mila Frerichs',
a... | import os
from setuptools import setup, find_packages
import subprocess
here = os.path.abspath(os.path.dirname(__file__))
def get_version(version=None):
"Returns a version number with commit id if the git repo is present"
with open(os.path.join(here, 'VERSION')) as version_file:
version = version... | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'VERSION')) as version_file:
version = version_file.read().strip()
setup(
name='django-geonode-client',
version=version,
author='Mila Frerichs',
author_email='mi... | <commit_before>import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'VERSION')) as version_file:
version = version_file.read().strip()
setup(
name='django-geonode-client',
version=version,
author='Mila Frerichs',
a... |
fe3330f7f37c98f6de02bcba304fd05c9f8abdad | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-recurly',
url="https://chris-lamb.co.uk/projects/django-recurly",
version='3.0.1',
description="Lightlight Recurly.com integration for Django",
author="Chris Lamb",
author_email="chris@chris-lamb.co.uk",
... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-recurly',
url="https://chris-lamb.co.uk/projects/django-recurly",
version='3.0.1',
description="Lightlight Recurly.com integration for Django",
author="Chris Lamb",
author_email="chris@chris-lamb.co.uk",
... | Update Django requirement to latest LTS | Update Django requirement to latest LTS
| Python | bsd-3-clause | lamby/django-recurly | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-recurly',
url="https://chris-lamb.co.uk/projects/django-recurly",
version='3.0.1',
description="Lightlight Recurly.com integration for Django",
author="Chris Lamb",
author_email="chris@chris-lamb.co.uk",
... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-recurly',
url="https://chris-lamb.co.uk/projects/django-recurly",
version='3.0.1',
description="Lightlight Recurly.com integration for Django",
author="Chris Lamb",
author_email="chris@chris-lamb.co.uk",
... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-recurly',
url="https://chris-lamb.co.uk/projects/django-recurly",
version='3.0.1',
description="Lightlight Recurly.com integration for Django",
author="Chris Lamb",
author_email="chris@chris-... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-recurly',
url="https://chris-lamb.co.uk/projects/django-recurly",
version='3.0.1',
description="Lightlight Recurly.com integration for Django",
author="Chris Lamb",
author_email="chris@chris-lamb.co.uk",
... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-recurly',
url="https://chris-lamb.co.uk/projects/django-recurly",
version='3.0.1',
description="Lightlight Recurly.com integration for Django",
author="Chris Lamb",
author_email="chris@chris-lamb.co.uk",
... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-recurly',
url="https://chris-lamb.co.uk/projects/django-recurly",
version='3.0.1',
description="Lightlight Recurly.com integration for Django",
author="Chris Lamb",
author_email="chris@chris-... |
6ccb81d26627b95301f8508f6b85ee11550002af | setup.py | setup.py | from setuptools import setup, find_packages
import os
PACKAGE = 'polymorphism'
VERSION = open(os.path.join(os.path.dirname(os.path.realpath(__file__)),
'oldowan', PACKAGE, 'VERSION')).read().strip()
desc_lines = open('README', 'r').readlines()
setup(name='oldowan.%s' % PACKAGE,
version=VERSION,... | from setuptools import setup, find_packages
import os
PACKAGE = 'polymorphism'
VERSION = open(os.path.join(os.path.dirname(os.path.realpath(__file__)),
'oldowan', PACKAGE, 'VERSION')).read().strip()
desc_lines = open('README', 'r').readlines()
setup(name='oldowan.%s' % PACKAGE,
version=VERSION,... | Fix package data so that VERSION file actually gets installed | Fix package data so that VERSION file actually gets installed
| Python | mit | ryanraaum/oldowan.polymorphism | from setuptools import setup, find_packages
import os
PACKAGE = 'polymorphism'
VERSION = open(os.path.join(os.path.dirname(os.path.realpath(__file__)),
'oldowan', PACKAGE, 'VERSION')).read().strip()
desc_lines = open('README', 'r').readlines()
setup(name='oldowan.%s' % PACKAGE,
version=VERSION,... | from setuptools import setup, find_packages
import os
PACKAGE = 'polymorphism'
VERSION = open(os.path.join(os.path.dirname(os.path.realpath(__file__)),
'oldowan', PACKAGE, 'VERSION')).read().strip()
desc_lines = open('README', 'r').readlines()
setup(name='oldowan.%s' % PACKAGE,
version=VERSION,... | <commit_before>from setuptools import setup, find_packages
import os
PACKAGE = 'polymorphism'
VERSION = open(os.path.join(os.path.dirname(os.path.realpath(__file__)),
'oldowan', PACKAGE, 'VERSION')).read().strip()
desc_lines = open('README', 'r').readlines()
setup(name='oldowan.%s' % PACKAGE,
v... | from setuptools import setup, find_packages
import os
PACKAGE = 'polymorphism'
VERSION = open(os.path.join(os.path.dirname(os.path.realpath(__file__)),
'oldowan', PACKAGE, 'VERSION')).read().strip()
desc_lines = open('README', 'r').readlines()
setup(name='oldowan.%s' % PACKAGE,
version=VERSION,... | from setuptools import setup, find_packages
import os
PACKAGE = 'polymorphism'
VERSION = open(os.path.join(os.path.dirname(os.path.realpath(__file__)),
'oldowan', PACKAGE, 'VERSION')).read().strip()
desc_lines = open('README', 'r').readlines()
setup(name='oldowan.%s' % PACKAGE,
version=VERSION,... | <commit_before>from setuptools import setup, find_packages
import os
PACKAGE = 'polymorphism'
VERSION = open(os.path.join(os.path.dirname(os.path.realpath(__file__)),
'oldowan', PACKAGE, 'VERSION')).read().strip()
desc_lines = open('README', 'r').readlines()
setup(name='oldowan.%s' % PACKAGE,
v... |
f9137e3d3afe720315d25c9a90a18b0dd3739851 | setup.py | setup.py | # -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# file: setup.py
# License: LICENSE.TXT
#
# Copyright (c) 2011, Enthought, Inc.
# All rights reserved.
#------------------------------------------------------------------------------
from setuptools import setup,... | # -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# file: setup.py
# License: LICENSE.TXT
#
# Copyright (c) 2011, Enthought, Inc.
# All rights reserved.
#------------------------------------------------------------------------------
from setuptools import setup,... | Make compiling the real time lsprof optional | Make compiling the real time lsprof optional
| Python | bsd-3-clause | enthought/pikos,enthought/pikos,enthought/pikos | # -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# file: setup.py
# License: LICENSE.TXT
#
# Copyright (c) 2011, Enthought, Inc.
# All rights reserved.
#------------------------------------------------------------------------------
from setuptools import setup,... | # -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# file: setup.py
# License: LICENSE.TXT
#
# Copyright (c) 2011, Enthought, Inc.
# All rights reserved.
#------------------------------------------------------------------------------
from setuptools import setup,... | <commit_before># -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# file: setup.py
# License: LICENSE.TXT
#
# Copyright (c) 2011, Enthought, Inc.
# All rights reserved.
#------------------------------------------------------------------------------
from setuptool... | # -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# file: setup.py
# License: LICENSE.TXT
#
# Copyright (c) 2011, Enthought, Inc.
# All rights reserved.
#------------------------------------------------------------------------------
from setuptools import setup,... | # -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# file: setup.py
# License: LICENSE.TXT
#
# Copyright (c) 2011, Enthought, Inc.
# All rights reserved.
#------------------------------------------------------------------------------
from setuptools import setup,... | <commit_before># -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# file: setup.py
# License: LICENSE.TXT
#
# Copyright (c) 2011, Enthought, Inc.
# All rights reserved.
#------------------------------------------------------------------------------
from setuptool... |
297ab1ed8f0df41dc1d0d52cdaec8f709e2f58fe | setup.py | setup.py | #!/usr/bin/python
# -*- coding: utf8 -*-
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
setup(
name='caminae',
version='1.0.dev0',
author='Makina Corpus',
author_email='geobi@makina-corpus.com',
url='http://makina-corpus.com',
descriptio... | #!/usr/bin/python
# -*- coding: utf8 -*-
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
test_requirements = [
'factory_boy == 1.1.5',
]
setup(
name='caminae',
version='1.0.dev0',
author='Makina Corpus',
author_email='geobi@makina-corpus.co... | Add tests requirements to install requirements | Add tests requirements to install requirements
| Python | bsd-2-clause | mabhub/Geotrek,camillemonchicourt/Geotrek,johan--/Geotrek,camillemonchicourt/Geotrek,mabhub/Geotrek,Anaethelion/Geotrek,GeotrekCE/Geotrek-admin,GeotrekCE/Geotrek-admin,GeotrekCE/Geotrek-admin,makinacorpus/Geotrek,makinacorpus/Geotrek,camillemonchicourt/Geotrek,Anaethelion/Geotrek,makinacorpus/Geotrek,makinacorpus/Geotr... | #!/usr/bin/python
# -*- coding: utf8 -*-
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
setup(
name='caminae',
version='1.0.dev0',
author='Makina Corpus',
author_email='geobi@makina-corpus.com',
url='http://makina-corpus.com',
descriptio... | #!/usr/bin/python
# -*- coding: utf8 -*-
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
test_requirements = [
'factory_boy == 1.1.5',
]
setup(
name='caminae',
version='1.0.dev0',
author='Makina Corpus',
author_email='geobi@makina-corpus.co... | <commit_before>#!/usr/bin/python
# -*- coding: utf8 -*-
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
setup(
name='caminae',
version='1.0.dev0',
author='Makina Corpus',
author_email='geobi@makina-corpus.com',
url='http://makina-corpus.com',... | #!/usr/bin/python
# -*- coding: utf8 -*-
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
test_requirements = [
'factory_boy == 1.1.5',
]
setup(
name='caminae',
version='1.0.dev0',
author='Makina Corpus',
author_email='geobi@makina-corpus.co... | #!/usr/bin/python
# -*- coding: utf8 -*-
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
setup(
name='caminae',
version='1.0.dev0',
author='Makina Corpus',
author_email='geobi@makina-corpus.com',
url='http://makina-corpus.com',
descriptio... | <commit_before>#!/usr/bin/python
# -*- coding: utf8 -*-
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
setup(
name='caminae',
version='1.0.dev0',
author='Makina Corpus',
author_email='geobi@makina-corpus.com',
url='http://makina-corpus.com',... |
eb32aafe67c604d6fe0582cbbd022097f725e88f | setup.py | setup.py | #! /usr/bin/env python
from setuptools import setup
setup(
name='django-nomination',
version='1.0.0',
packages=['nomination'],
description='',
long_description='See the home page for more information.',
include_package_data=True,
install_requires=[
'simplejson>=3.8.1',
'djan... | #! /usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-nomination',
version='1.0.0',
packages=find_packages(exclude=['tests*']),
description='',
long_description='See the home page for more information.',
include_package_data=True,
install_requires=[
... | Fix exclusion of migrations from installed app. | Fix exclusion of migrations from installed app.
| Python | bsd-3-clause | unt-libraries/django-nomination,unt-libraries/django-nomination,unt-libraries/django-nomination | #! /usr/bin/env python
from setuptools import setup
setup(
name='django-nomination',
version='1.0.0',
packages=['nomination'],
description='',
long_description='See the home page for more information.',
include_package_data=True,
install_requires=[
'simplejson>=3.8.1',
'djan... | #! /usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-nomination',
version='1.0.0',
packages=find_packages(exclude=['tests*']),
description='',
long_description='See the home page for more information.',
include_package_data=True,
install_requires=[
... | <commit_before>#! /usr/bin/env python
from setuptools import setup
setup(
name='django-nomination',
version='1.0.0',
packages=['nomination'],
description='',
long_description='See the home page for more information.',
include_package_data=True,
install_requires=[
'simplejson>=3.8.1'... | #! /usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-nomination',
version='1.0.0',
packages=find_packages(exclude=['tests*']),
description='',
long_description='See the home page for more information.',
include_package_data=True,
install_requires=[
... | #! /usr/bin/env python
from setuptools import setup
setup(
name='django-nomination',
version='1.0.0',
packages=['nomination'],
description='',
long_description='See the home page for more information.',
include_package_data=True,
install_requires=[
'simplejson>=3.8.1',
'djan... | <commit_before>#! /usr/bin/env python
from setuptools import setup
setup(
name='django-nomination',
version='1.0.0',
packages=['nomination'],
description='',
long_description='See the home page for more information.',
include_package_data=True,
install_requires=[
'simplejson>=3.8.1'... |
7bf5d1d5fe05b6a676c8b2db5b9ac1ff4cae6d21 | setup.py | setup.py | # coding: utf8
from setuptools import setup
setup(
name='pyshorteners',
version='0.1',
license='MIT',
description='A simple URL shortening Python Lib, implementing the most famous shorteners.',
long_description=open('README.md').read(),
author=u'Ellison Leão',
author_email='ellisonleao@gma... | # coding: utf8
from setuptools import setup
setup(
name='pyshorteners',
version='0.1',
license='MIT',
description='A simple URL shortening Python Lib, implementing the most famous shorteners.',
long_description=open('README.rst').read(),
author=u'Ellison Leão',
author_email='ellisonleao@gm... | Change default README to rst file | Change default README to rst file
| Python | mit | YarnSeemannsgarn/pyshorteners | # coding: utf8
from setuptools import setup
setup(
name='pyshorteners',
version='0.1',
license='MIT',
description='A simple URL shortening Python Lib, implementing the most famous shorteners.',
long_description=open('README.md').read(),
author=u'Ellison Leão',
author_email='ellisonleao@gma... | # coding: utf8
from setuptools import setup
setup(
name='pyshorteners',
version='0.1',
license='MIT',
description='A simple URL shortening Python Lib, implementing the most famous shorteners.',
long_description=open('README.rst').read(),
author=u'Ellison Leão',
author_email='ellisonleao@gm... | <commit_before># coding: utf8
from setuptools import setup
setup(
name='pyshorteners',
version='0.1',
license='MIT',
description='A simple URL shortening Python Lib, implementing the most famous shorteners.',
long_description=open('README.md').read(),
author=u'Ellison Leão',
author_email='... | # coding: utf8
from setuptools import setup
setup(
name='pyshorteners',
version='0.1',
license='MIT',
description='A simple URL shortening Python Lib, implementing the most famous shorteners.',
long_description=open('README.rst').read(),
author=u'Ellison Leão',
author_email='ellisonleao@gm... | # coding: utf8
from setuptools import setup
setup(
name='pyshorteners',
version='0.1',
license='MIT',
description='A simple URL shortening Python Lib, implementing the most famous shorteners.',
long_description=open('README.md').read(),
author=u'Ellison Leão',
author_email='ellisonleao@gma... | <commit_before># coding: utf8
from setuptools import setup
setup(
name='pyshorteners',
version='0.1',
license='MIT',
description='A simple URL shortening Python Lib, implementing the most famous shorteners.',
long_description=open('README.md').read(),
author=u'Ellison Leão',
author_email='... |
bf18ee56a885e6a707515fe523bd819088281ec3 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name="opencivicdata-django",
version='0.8.1',
author="James Turk",
author_email='james.p.turk@gmail.com',
license="BSD",
description="python opencivicdata library",
long_description="",
url="",
py_mo... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name="opencivicdata-django",
version='0.8.0',
author="James Turk",
author_email='james.p.turk@gmail.com',
license="BSD",
description="python opencivicdata library",
long_description="",
url="",
py_mo... | Revert "bump to 0.8.1 to fix packaging issue" | Revert "bump to 0.8.1 to fix packaging issue"
This reverts commit c3ea277ea65d11f7b9c6fb9d54bd0f0f3713a98d.
| Python | bsd-3-clause | opencivicdata/python-opencivicdata,opencivicdata/python-opencivicdata-django,opencivicdata/python-opencivicdata-django,opencivicdata/python-opencivicdata-django,opencivicdata/python-opencivicdata | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name="opencivicdata-django",
version='0.8.1',
author="James Turk",
author_email='james.p.turk@gmail.com',
license="BSD",
description="python opencivicdata library",
long_description="",
url="",
py_mo... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name="opencivicdata-django",
version='0.8.0',
author="James Turk",
author_email='james.p.turk@gmail.com',
license="BSD",
description="python opencivicdata library",
long_description="",
url="",
py_mo... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name="opencivicdata-django",
version='0.8.1',
author="James Turk",
author_email='james.p.turk@gmail.com',
license="BSD",
description="python opencivicdata library",
long_description="",
url=... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name="opencivicdata-django",
version='0.8.0',
author="James Turk",
author_email='james.p.turk@gmail.com',
license="BSD",
description="python opencivicdata library",
long_description="",
url="",
py_mo... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name="opencivicdata-django",
version='0.8.1',
author="James Turk",
author_email='james.p.turk@gmail.com',
license="BSD",
description="python opencivicdata library",
long_description="",
url="",
py_mo... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name="opencivicdata-django",
version='0.8.1',
author="James Turk",
author_email='james.p.turk@gmail.com',
license="BSD",
description="python opencivicdata library",
long_description="",
url=... |
8eac8f58c52848eb5c0c226786c53d3e651ac3b8 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name='imagesize',
version='1.2.0',
description='Getting image size from png/jpeg/jpeg2000/gif file',
long_description='''
It parses image files' header and return image size.
* PNG
* JPEG
* JPEG2000
* GIF
* TIFF (experimental)
* SVG
This is ... | #!/usr/bin/env python
from setuptools import setup
setup(name='imagesize',
version='1.2.0',
description='Getting image size from png/jpeg/jpeg2000/gif file',
long_description='''
It parses image files' header and return image size.
* PNG
* JPEG
* JPEG2000
* GIF
* TIFF (experimental)
* SVG
This is ... | Update to handle in-memory filelike objects | Update to handle in-memory filelike objects
| Python | mit | shibukawa/imagesize_py | #!/usr/bin/env python
from setuptools import setup
setup(name='imagesize',
version='1.2.0',
description='Getting image size from png/jpeg/jpeg2000/gif file',
long_description='''
It parses image files' header and return image size.
* PNG
* JPEG
* JPEG2000
* GIF
* TIFF (experimental)
* SVG
This is ... | #!/usr/bin/env python
from setuptools import setup
setup(name='imagesize',
version='1.2.0',
description='Getting image size from png/jpeg/jpeg2000/gif file',
long_description='''
It parses image files' header and return image size.
* PNG
* JPEG
* JPEG2000
* GIF
* TIFF (experimental)
* SVG
This is ... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(name='imagesize',
version='1.2.0',
description='Getting image size from png/jpeg/jpeg2000/gif file',
long_description='''
It parses image files' header and return image size.
* PNG
* JPEG
* JPEG2000
* GIF
* TIFF (experimental)
... | #!/usr/bin/env python
from setuptools import setup
setup(name='imagesize',
version='1.2.0',
description='Getting image size from png/jpeg/jpeg2000/gif file',
long_description='''
It parses image files' header and return image size.
* PNG
* JPEG
* JPEG2000
* GIF
* TIFF (experimental)
* SVG
This is ... | #!/usr/bin/env python
from setuptools import setup
setup(name='imagesize',
version='1.2.0',
description='Getting image size from png/jpeg/jpeg2000/gif file',
long_description='''
It parses image files' header and return image size.
* PNG
* JPEG
* JPEG2000
* GIF
* TIFF (experimental)
* SVG
This is ... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(name='imagesize',
version='1.2.0',
description='Getting image size from png/jpeg/jpeg2000/gif file',
long_description='''
It parses image files' header and return image size.
* PNG
* JPEG
* JPEG2000
* GIF
* TIFF (experimental)
... |
7ae55057bcc3904c66c8cdf698bbaed74592113c | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
classifiers = [
# Get more strings from
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programmi... | #!/usr/bin/env python
from setuptools import setup, find_packages
import os, sys
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
classifiers = [
# Get more strings from
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
"License :: OSI Approved :: MIT License",
"Natura... | Add auto long description detection | Add auto long description detection
| Python | mit | joppi/nanpy,nanpy/nanpy | #!/usr/bin/env python
from setuptools import setup, find_packages
classifiers = [
# Get more strings from
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programmi... | #!/usr/bin/env python
from setuptools import setup, find_packages
import os, sys
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
classifiers = [
# Get more strings from
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
"License :: OSI Approved :: MIT License",
"Natura... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
classifiers = [
# Get more strings from
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Pyth... | #!/usr/bin/env python
from setuptools import setup, find_packages
import os, sys
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
classifiers = [
# Get more strings from
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
"License :: OSI Approved :: MIT License",
"Natura... | #!/usr/bin/env python
from setuptools import setup, find_packages
classifiers = [
# Get more strings from
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programmi... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
classifiers = [
# Get more strings from
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Pyth... |
1a275d0f2497dda4c579dd11183d38da442919aa | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(name='omb',
version='.01',
description='OpenMicroblogging support for Django',
author='Jay Graves',
author_email='jay@skabber.com',
url='http://github.com/skabber/django-omb/tree/master',
packages=['openid', 'pydataportab... | #!/usr/bin/env python
from distutils.core import setup
setup(name='omb',
version='.01',
description='OpenMicroblogging support for Django',
author='Jay Graves',
author_email='jay@skabber.com',
url='http://github.com/skabber/django-omb/tree/master',
# packages=['openid', 'pydataporta... | Comment out the packages for now. | Comment out the packages for now.
| Python | mit | skabber/django-omb | #!/usr/bin/env python
from distutils.core import setup
setup(name='omb',
version='.01',
description='OpenMicroblogging support for Django',
author='Jay Graves',
author_email='jay@skabber.com',
url='http://github.com/skabber/django-omb/tree/master',
packages=['openid', 'pydataportab... | #!/usr/bin/env python
from distutils.core import setup
setup(name='omb',
version='.01',
description='OpenMicroblogging support for Django',
author='Jay Graves',
author_email='jay@skabber.com',
url='http://github.com/skabber/django-omb/tree/master',
# packages=['openid', 'pydataporta... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(name='omb',
version='.01',
description='OpenMicroblogging support for Django',
author='Jay Graves',
author_email='jay@skabber.com',
url='http://github.com/skabber/django-omb/tree/master',
packages=['openid'... | #!/usr/bin/env python
from distutils.core import setup
setup(name='omb',
version='.01',
description='OpenMicroblogging support for Django',
author='Jay Graves',
author_email='jay@skabber.com',
url='http://github.com/skabber/django-omb/tree/master',
# packages=['openid', 'pydataporta... | #!/usr/bin/env python
from distutils.core import setup
setup(name='omb',
version='.01',
description='OpenMicroblogging support for Django',
author='Jay Graves',
author_email='jay@skabber.com',
url='http://github.com/skabber/django-omb/tree/master',
packages=['openid', 'pydataportab... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(name='omb',
version='.01',
description='OpenMicroblogging support for Django',
author='Jay Graves',
author_email='jay@skabber.com',
url='http://github.com/skabber/django-omb/tree/master',
packages=['openid'... |
30ae4ca7f2ab189942aad204e8d4bf12d0e7e7a3 | setup.py | setup.py | from setuptools import find_packages, setup
version = '0.1.0'
setup(
author='Charlie Denton',
author_email='charlie@meshy.co.uk',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Lan... | from setuptools import find_packages, setup
version = '0.1.0'
setup(
author='Charlie Denton',
author_email='charlie@meshy.co.uk',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Lan... | Remove unsupported python 3.4 from trove classifiers | Remove unsupported python 3.4 from trove classifiers
| Python | bsd-2-clause | meshy/framewirc | from setuptools import find_packages, setup
version = '0.1.0'
setup(
author='Charlie Denton',
author_email='charlie@meshy.co.uk',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Lan... | from setuptools import find_packages, setup
version = '0.1.0'
setup(
author='Charlie Denton',
author_email='charlie@meshy.co.uk',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Lan... | <commit_before>from setuptools import find_packages, setup
version = '0.1.0'
setup(
author='Charlie Denton',
author_email='charlie@meshy.co.uk',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
... | from setuptools import find_packages, setup
version = '0.1.0'
setup(
author='Charlie Denton',
author_email='charlie@meshy.co.uk',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Lan... | from setuptools import find_packages, setup
version = '0.1.0'
setup(
author='Charlie Denton',
author_email='charlie@meshy.co.uk',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Lan... | <commit_before>from setuptools import find_packages, setup
version = '0.1.0'
setup(
author='Charlie Denton',
author_email='charlie@meshy.co.uk',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
... |
e5144a2b8df72d3fac20a8237f890171e10a0c37 | setup.py | setup.py | #!/usr/bin/python3
"""Setup.py for dirbrowser."""
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.rst'), encoding='u... | #!/usr/bin/env python3
"""Setup.py for dirbrowser."""
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.rst'), encodin... | Change shebang to /usr/bin/env for better venv support | Change shebang to /usr/bin/env for better venv support
| Python | bsd-3-clause | campenr/dirbrowser | #!/usr/bin/python3
"""Setup.py for dirbrowser."""
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.rst'), encoding='u... | #!/usr/bin/env python3
"""Setup.py for dirbrowser."""
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.rst'), encodin... | <commit_before>#!/usr/bin/python3
"""Setup.py for dirbrowser."""
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.rst... | #!/usr/bin/env python3
"""Setup.py for dirbrowser."""
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.rst'), encodin... | #!/usr/bin/python3
"""Setup.py for dirbrowser."""
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.rst'), encoding='u... | <commit_before>#!/usr/bin/python3
"""Setup.py for dirbrowser."""
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.rst... |
1ebbaf76a001bc5a360382edf6dbe7481fe20e3c | setup.py | setup.py | import sys
import setuptools
with open("twarc/version.py") as f:
exec(f.read())
with open("docs/README.md") as f:
long_description = f.read()
with open("requirements.txt") as f:
dependencies = f.read().split()
if __name__ == "__main__":
setuptools.setup(
name="twarc",
version=version... | import sys
import setuptools
with open("twarc/version.py") as f:
exec(f.read())
with open("docs/README.md") as f:
long_description = f.read()
with open("requirements.txt") as f:
dependencies = f.read().split()
if __name__ == "__main__":
setuptools.setup(
name="twarc",
version=version... | Stop pinning tomli version for tests-require | Stop pinning tomli version for tests-require
This was to work around a temporary issue with black. Pinning
prevented using the latest black version, which is the first
stable version.
| Python | mit | DocNow/twarc | import sys
import setuptools
with open("twarc/version.py") as f:
exec(f.read())
with open("docs/README.md") as f:
long_description = f.read()
with open("requirements.txt") as f:
dependencies = f.read().split()
if __name__ == "__main__":
setuptools.setup(
name="twarc",
version=version... | import sys
import setuptools
with open("twarc/version.py") as f:
exec(f.read())
with open("docs/README.md") as f:
long_description = f.read()
with open("requirements.txt") as f:
dependencies = f.read().split()
if __name__ == "__main__":
setuptools.setup(
name="twarc",
version=version... | <commit_before>import sys
import setuptools
with open("twarc/version.py") as f:
exec(f.read())
with open("docs/README.md") as f:
long_description = f.read()
with open("requirements.txt") as f:
dependencies = f.read().split()
if __name__ == "__main__":
setuptools.setup(
name="twarc",
... | import sys
import setuptools
with open("twarc/version.py") as f:
exec(f.read())
with open("docs/README.md") as f:
long_description = f.read()
with open("requirements.txt") as f:
dependencies = f.read().split()
if __name__ == "__main__":
setuptools.setup(
name="twarc",
version=version... | import sys
import setuptools
with open("twarc/version.py") as f:
exec(f.read())
with open("docs/README.md") as f:
long_description = f.read()
with open("requirements.txt") as f:
dependencies = f.read().split()
if __name__ == "__main__":
setuptools.setup(
name="twarc",
version=version... | <commit_before>import sys
import setuptools
with open("twarc/version.py") as f:
exec(f.read())
with open("docs/README.md") as f:
long_description = f.read()
with open("requirements.txt") as f:
dependencies = f.read().split()
if __name__ == "__main__":
setuptools.setup(
name="twarc",
... |
a1af9a7e98b7f8814dac19242d0e506276debfcc | setup.py | setup.py | from setuptools import setup, find_packages
import os
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.j... | from setuptools import setup, find_packages
import os
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.j... | Add missing .txt to readme so it can be read in properly. | Add missing .txt to readme so it can be read in properly. | Python | bsd-3-clause | adamfast/geodjango-uscampgrounds,adamfast/geodjango-uscampgrounds | from setuptools import setup, find_packages
import os
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.j... | from setuptools import setup, find_packages
import os
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.j... | <commit_before>from setuptools import setup, find_packages
import os
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return... | from setuptools import setup, find_packages
import os
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.j... | from setuptools import setup, find_packages
import os
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.j... | <commit_before>from setuptools import setup, find_packages
import os
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return... |
4961967ab70fc33361954314553613fe6e8b4851 | pyV2S.py | pyV2S.py | #!/usr/bin/python
# -*- coding: utf-8 -*-
import os
from file_manager.vhdl_reader import Vhdl_reader
from decorator.pdfdrawer import PdfDrawer
import sys
print 'Number of arguments:', len(sys.argv), 'arguments.'
print 'Argument List:', str(sys.argv)
filename = str(sys.argv[1])
reader = Vhdl_reader(filename)
drawe... | #!/usr/bin/python
# -*- coding: utf-8 -*-
import os
from file_manager.vhdl_reader import Vhdl_reader
from decorator.pdfdrawer import PdfDrawer
import sys
try:
filename = str(sys.argv[1])
except:
filename = "datas/test_files/demo.vhd"
reader = Vhdl_reader(filename)
drawer = PdfDrawer("%s.pdf" % reader.entity.name... | Add a demo mode : if no vhdl file is given the demo one is used datas/test_files/demo.vhd | Add a demo mode :
if no vhdl file is given the demo one is used
datas/test_files/demo.vhd
| Python | bsd-2-clause | LaurentCabaret/pyVhdl2Sch,LaurentCabaret/pyVhdl2Sch | #!/usr/bin/python
# -*- coding: utf-8 -*-
import os
from file_manager.vhdl_reader import Vhdl_reader
from decorator.pdfdrawer import PdfDrawer
import sys
print 'Number of arguments:', len(sys.argv), 'arguments.'
print 'Argument List:', str(sys.argv)
filename = str(sys.argv[1])
reader = Vhdl_reader(filename)
drawe... | #!/usr/bin/python
# -*- coding: utf-8 -*-
import os
from file_manager.vhdl_reader import Vhdl_reader
from decorator.pdfdrawer import PdfDrawer
import sys
try:
filename = str(sys.argv[1])
except:
filename = "datas/test_files/demo.vhd"
reader = Vhdl_reader(filename)
drawer = PdfDrawer("%s.pdf" % reader.entity.name... | <commit_before>#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
from file_manager.vhdl_reader import Vhdl_reader
from decorator.pdfdrawer import PdfDrawer
import sys
print 'Number of arguments:', len(sys.argv), 'arguments.'
print 'Argument List:', str(sys.argv)
filename = str(sys.argv[1])
reader = Vhdl_reader(f... | #!/usr/bin/python
# -*- coding: utf-8 -*-
import os
from file_manager.vhdl_reader import Vhdl_reader
from decorator.pdfdrawer import PdfDrawer
import sys
try:
filename = str(sys.argv[1])
except:
filename = "datas/test_files/demo.vhd"
reader = Vhdl_reader(filename)
drawer = PdfDrawer("%s.pdf" % reader.entity.name... | #!/usr/bin/python
# -*- coding: utf-8 -*-
import os
from file_manager.vhdl_reader import Vhdl_reader
from decorator.pdfdrawer import PdfDrawer
import sys
print 'Number of arguments:', len(sys.argv), 'arguments.'
print 'Argument List:', str(sys.argv)
filename = str(sys.argv[1])
reader = Vhdl_reader(filename)
drawe... | <commit_before>#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
from file_manager.vhdl_reader import Vhdl_reader
from decorator.pdfdrawer import PdfDrawer
import sys
print 'Number of arguments:', len(sys.argv), 'arguments.'
print 'Argument List:', str(sys.argv)
filename = str(sys.argv[1])
reader = Vhdl_reader(f... |
cf5ef473c9f92d2770a7110cb0b45809edd31863 | setup.py | setup.py | # coding: utf-8
from setuptools import setup, find_packages
setup(
name='tc_aws',
version='6.0.5',
description='Thumbor AWS extensions',
author='Thumbor-Community & William King',
author_email='willtrking@gmail.com',
zip_safe=False,
include_package_data=True,
packages=find_packages(),
... | # coding: utf-8
from setuptools import setup, find_packages
setup(
name='tc_aws',
version='6.0.5',
description='Thumbor AWS extensions',
author='Thumbor-Community & William King',
author_email='willtrking@gmail.com',
zip_safe=False,
include_package_data=True,
packages=find_packages(),
... | Set min requirement for tornado-botocore | Set min requirement for tornado-botocore
| Python | mit | thumbor-community/aws | # coding: utf-8
from setuptools import setup, find_packages
setup(
name='tc_aws',
version='6.0.5',
description='Thumbor AWS extensions',
author='Thumbor-Community & William King',
author_email='willtrking@gmail.com',
zip_safe=False,
include_package_data=True,
packages=find_packages(),
... | # coding: utf-8
from setuptools import setup, find_packages
setup(
name='tc_aws',
version='6.0.5',
description='Thumbor AWS extensions',
author='Thumbor-Community & William King',
author_email='willtrking@gmail.com',
zip_safe=False,
include_package_data=True,
packages=find_packages(),
... | <commit_before># coding: utf-8
from setuptools import setup, find_packages
setup(
name='tc_aws',
version='6.0.5',
description='Thumbor AWS extensions',
author='Thumbor-Community & William King',
author_email='willtrking@gmail.com',
zip_safe=False,
include_package_data=True,
packages=fi... | # coding: utf-8
from setuptools import setup, find_packages
setup(
name='tc_aws',
version='6.0.5',
description='Thumbor AWS extensions',
author='Thumbor-Community & William King',
author_email='willtrking@gmail.com',
zip_safe=False,
include_package_data=True,
packages=find_packages(),
... | # coding: utf-8
from setuptools import setup, find_packages
setup(
name='tc_aws',
version='6.0.5',
description='Thumbor AWS extensions',
author='Thumbor-Community & William King',
author_email='willtrking@gmail.com',
zip_safe=False,
include_package_data=True,
packages=find_packages(),
... | <commit_before># coding: utf-8
from setuptools import setup, find_packages
setup(
name='tc_aws',
version='6.0.5',
description='Thumbor AWS extensions',
author='Thumbor-Community & William King',
author_email='willtrking@gmail.com',
zip_safe=False,
include_package_data=True,
packages=fi... |
1d6cb4690956d8926c2f0170d9fa984d0637ef29 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
from fandjango import __version__
setup(
name = 'fandjango',
version = __version__,
description = "Fandjango makes it stupidly easy to create Facebook applications with Django.",
author = "Johannes Gorset",
author_email = "jgorset@gmail.com",
... | #!/usr/bin/env python
from setuptools import setup
from fandjango import __version__
setup(
name = 'fandjango',
version = __version__,
description = "Fandjango makes it stupidly easy to create Facebook applications with Django.",
author = "Johannes Gorset",
author_email = "jgorset@gmail.com",
... | Add locale to package data | Add locale to package data
| Python | mit | jgorset/fandjango,jgorset/fandjango | #!/usr/bin/env python
from setuptools import setup
from fandjango import __version__
setup(
name = 'fandjango',
version = __version__,
description = "Fandjango makes it stupidly easy to create Facebook applications with Django.",
author = "Johannes Gorset",
author_email = "jgorset@gmail.com",
... | #!/usr/bin/env python
from setuptools import setup
from fandjango import __version__
setup(
name = 'fandjango',
version = __version__,
description = "Fandjango makes it stupidly easy to create Facebook applications with Django.",
author = "Johannes Gorset",
author_email = "jgorset@gmail.com",
... | <commit_before>#!/usr/bin/env python
from setuptools import setup
from fandjango import __version__
setup(
name = 'fandjango',
version = __version__,
description = "Fandjango makes it stupidly easy to create Facebook applications with Django.",
author = "Johannes Gorset",
author_email = "jgorset@... | #!/usr/bin/env python
from setuptools import setup
from fandjango import __version__
setup(
name = 'fandjango',
version = __version__,
description = "Fandjango makes it stupidly easy to create Facebook applications with Django.",
author = "Johannes Gorset",
author_email = "jgorset@gmail.com",
... | #!/usr/bin/env python
from setuptools import setup
from fandjango import __version__
setup(
name = 'fandjango',
version = __version__,
description = "Fandjango makes it stupidly easy to create Facebook applications with Django.",
author = "Johannes Gorset",
author_email = "jgorset@gmail.com",
... | <commit_before>#!/usr/bin/env python
from setuptools import setup
from fandjango import __version__
setup(
name = 'fandjango',
version = __version__,
description = "Fandjango makes it stupidly easy to create Facebook applications with Django.",
author = "Johannes Gorset",
author_email = "jgorset@... |
04923693f30dc2eb41a0b2e406645a1dea29b4c7 | setup.py | setup.py | from distutils.core import setup
setup(
name='Flask-Roots',
version='0.0.1',
description='Lightweight personal git server.',
url='http://github.com/mikeboers/Flask-Roots',
packages=['flask_roots'],
author='Mike Boers',
author_email='flask-roots@mikeboers.com',
license='BSD-3',... | from distutils.core import setup
setup(
name='Flask-Roots',
version='0.0.1',
description='Lightweight personal git server.',
url='http://github.com/mikeboers/Flask-Roots',
packages=['flask_roots'],
author='Mike Boers',
author_email='flask-roots@mikeboers.com',
license='BSD-3',... | Tidy up the installation process a little | Tidy up the installation process a little
| Python | bsd-3-clause | mikeboers/Flask-Roots,mikeboers/Flask-Roots | from distutils.core import setup
setup(
name='Flask-Roots',
version='0.0.1',
description='Lightweight personal git server.',
url='http://github.com/mikeboers/Flask-Roots',
packages=['flask_roots'],
author='Mike Boers',
author_email='flask-roots@mikeboers.com',
license='BSD-3',... | from distutils.core import setup
setup(
name='Flask-Roots',
version='0.0.1',
description='Lightweight personal git server.',
url='http://github.com/mikeboers/Flask-Roots',
packages=['flask_roots'],
author='Mike Boers',
author_email='flask-roots@mikeboers.com',
license='BSD-3',... | <commit_before>from distutils.core import setup
setup(
name='Flask-Roots',
version='0.0.1',
description='Lightweight personal git server.',
url='http://github.com/mikeboers/Flask-Roots',
packages=['flask_roots'],
author='Mike Boers',
author_email='flask-roots@mikeboers.com',
l... | from distutils.core import setup
setup(
name='Flask-Roots',
version='0.0.1',
description='Lightweight personal git server.',
url='http://github.com/mikeboers/Flask-Roots',
packages=['flask_roots'],
author='Mike Boers',
author_email='flask-roots@mikeboers.com',
license='BSD-3',... | from distutils.core import setup
setup(
name='Flask-Roots',
version='0.0.1',
description='Lightweight personal git server.',
url='http://github.com/mikeboers/Flask-Roots',
packages=['flask_roots'],
author='Mike Boers',
author_email='flask-roots@mikeboers.com',
license='BSD-3',... | <commit_before>from distutils.core import setup
setup(
name='Flask-Roots',
version='0.0.1',
description='Lightweight personal git server.',
url='http://github.com/mikeboers/Flask-Roots',
packages=['flask_roots'],
author='Mike Boers',
author_email='flask-roots@mikeboers.com',
l... |
172675716f9766ad8c3d228a297c982dd6dab971 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
PROJECT = 'overalls'
VERSION = '0.1'
AUTHOR = 'Simon Cross'
AUTHOR_EMAIL = 'hodgestar@gmail.com'
DESC = "Coveralls coverage uploader."
setup(
name=PROJECT,
version=VERSION,
description=DESC,
long_description=open('README.rst').read(),... | #!/usr/bin/env python
from setuptools import setup, find_packages
PROJECT = 'overalls'
VERSION = '0.1'
AUTHOR = 'Simon Cross'
AUTHOR_EMAIL = 'hodgestar@gmail.com'
DESC = "Coveralls coverage uploader."
setup(
name=PROJECT,
version=VERSION,
description=DESC,
long_description=open('README.rst').read(),... | Add pep8 as a build dependency. | Add pep8 as a build dependency.
| Python | bsd-3-clause | hodgestar/overalls | #!/usr/bin/env python
from setuptools import setup, find_packages
PROJECT = 'overalls'
VERSION = '0.1'
AUTHOR = 'Simon Cross'
AUTHOR_EMAIL = 'hodgestar@gmail.com'
DESC = "Coveralls coverage uploader."
setup(
name=PROJECT,
version=VERSION,
description=DESC,
long_description=open('README.rst').read(),... | #!/usr/bin/env python
from setuptools import setup, find_packages
PROJECT = 'overalls'
VERSION = '0.1'
AUTHOR = 'Simon Cross'
AUTHOR_EMAIL = 'hodgestar@gmail.com'
DESC = "Coveralls coverage uploader."
setup(
name=PROJECT,
version=VERSION,
description=DESC,
long_description=open('README.rst').read(),... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
PROJECT = 'overalls'
VERSION = '0.1'
AUTHOR = 'Simon Cross'
AUTHOR_EMAIL = 'hodgestar@gmail.com'
DESC = "Coveralls coverage uploader."
setup(
name=PROJECT,
version=VERSION,
description=DESC,
long_description=open('READM... | #!/usr/bin/env python
from setuptools import setup, find_packages
PROJECT = 'overalls'
VERSION = '0.1'
AUTHOR = 'Simon Cross'
AUTHOR_EMAIL = 'hodgestar@gmail.com'
DESC = "Coveralls coverage uploader."
setup(
name=PROJECT,
version=VERSION,
description=DESC,
long_description=open('README.rst').read(),... | #!/usr/bin/env python
from setuptools import setup, find_packages
PROJECT = 'overalls'
VERSION = '0.1'
AUTHOR = 'Simon Cross'
AUTHOR_EMAIL = 'hodgestar@gmail.com'
DESC = "Coveralls coverage uploader."
setup(
name=PROJECT,
version=VERSION,
description=DESC,
long_description=open('README.rst').read(),... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
PROJECT = 'overalls'
VERSION = '0.1'
AUTHOR = 'Simon Cross'
AUTHOR_EMAIL = 'hodgestar@gmail.com'
DESC = "Coveralls coverage uploader."
setup(
name=PROJECT,
version=VERSION,
description=DESC,
long_description=open('READM... |
cdbb42aa9c62a05ff2f8897de513db987533187c | setup.py | setup.py | import os
from setuptools import find_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
DESCR = ('This package provides a Deform autocomplete widget that '
'st... | import os
from setuptools import find_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
DESCR = ('This package provides a Deform autocomplete widget that '
'st... | Mark as compatible with Python 3 with the proper classifier. | Mark as compatible with Python 3 with the proper classifier.
| Python | bsd-3-clause | dbaty/deform_ext_autocomplete,dbaty/deform_ext_autocomplete | import os
from setuptools import find_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
DESCR = ('This package provides a Deform autocomplete widget that '
'st... | import os
from setuptools import find_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
DESCR = ('This package provides a Deform autocomplete widget that '
'st... | <commit_before>import os
from setuptools import find_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
DESCR = ('This package provides a Deform autocomplete widget that... | import os
from setuptools import find_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
DESCR = ('This package provides a Deform autocomplete widget that '
'st... | import os
from setuptools import find_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
DESCR = ('This package provides a Deform autocomplete widget that '
'st... | <commit_before>import os
from setuptools import find_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
DESCR = ('This package provides a Deform autocomplete widget that... |
6b90cbb373c4484a51ec25c8bf3ca1c346c97000 | setup.py | setup.py | import os
from setuptools import setup # type: ignore
VERSION = '4.4.1'
setup(
name='conllu',
packages=["conllu"],
python_requires=">=3.6",
package_data={
"": ["py.typed"]
},
version=VERSION,
description='CoNLL-U Parser parses a CoNLL-U formatted string into a nested python dicti... | import os
from setuptools import setup # type: ignore
VERSION = '4.4.1'
setup(
name='conllu',
packages=["conllu"],
python_requires=">=3.6",
package_data={
"": ["py.typed"]
},
version=VERSION,
license='MIT License',
description='CoNLL-U Parser parses a CoNLL-U formatted string... | Add official OSI name in the license metadata (thanks @ecederstrand) | Add official OSI name in the license metadata (thanks @ecederstrand)
| Python | mit | EmilStenstrom/conllu | import os
from setuptools import setup # type: ignore
VERSION = '4.4.1'
setup(
name='conllu',
packages=["conllu"],
python_requires=">=3.6",
package_data={
"": ["py.typed"]
},
version=VERSION,
description='CoNLL-U Parser parses a CoNLL-U formatted string into a nested python dicti... | import os
from setuptools import setup # type: ignore
VERSION = '4.4.1'
setup(
name='conllu',
packages=["conllu"],
python_requires=">=3.6",
package_data={
"": ["py.typed"]
},
version=VERSION,
license='MIT License',
description='CoNLL-U Parser parses a CoNLL-U formatted string... | <commit_before>import os
from setuptools import setup # type: ignore
VERSION = '4.4.1'
setup(
name='conllu',
packages=["conllu"],
python_requires=">=3.6",
package_data={
"": ["py.typed"]
},
version=VERSION,
description='CoNLL-U Parser parses a CoNLL-U formatted string into a nest... | import os
from setuptools import setup # type: ignore
VERSION = '4.4.1'
setup(
name='conllu',
packages=["conllu"],
python_requires=">=3.6",
package_data={
"": ["py.typed"]
},
version=VERSION,
license='MIT License',
description='CoNLL-U Parser parses a CoNLL-U formatted string... | import os
from setuptools import setup # type: ignore
VERSION = '4.4.1'
setup(
name='conllu',
packages=["conllu"],
python_requires=">=3.6",
package_data={
"": ["py.typed"]
},
version=VERSION,
description='CoNLL-U Parser parses a CoNLL-U formatted string into a nested python dicti... | <commit_before>import os
from setuptools import setup # type: ignore
VERSION = '4.4.1'
setup(
name='conllu',
packages=["conllu"],
python_requires=">=3.6",
package_data={
"": ["py.typed"]
},
version=VERSION,
description='CoNLL-U Parser parses a CoNLL-U formatted string into a nest... |
c4e429a1a4b26fcd710941fab174c0c085335c29 | setup.py | setup.py | import os
from setuptools import setup
def read(fname1, fname2):
if os.path.exists(fname1):
fname = fname1
else:
fname = fname2
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "django-pubsubpull",
version = "0.0.0.5",
author = "Kirit Saelensmind... | import os
from setuptools import setup
def read(fname1, fname2):
if os.path.exists(fname1):
fname = fname1
else:
fname = fname2
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "django-pubsubpull",
version = "0.0.0.5",
author = "Kirit Saelensmind... | Include the SQL scripts in the installation. | Include the SQL scripts in the installation.
| Python | mit | KayEss/django-pubsubpull,KayEss/django-pubsubpull,KayEss/django-pubsubpull | import os
from setuptools import setup
def read(fname1, fname2):
if os.path.exists(fname1):
fname = fname1
else:
fname = fname2
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "django-pubsubpull",
version = "0.0.0.5",
author = "Kirit Saelensmind... | import os
from setuptools import setup
def read(fname1, fname2):
if os.path.exists(fname1):
fname = fname1
else:
fname = fname2
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "django-pubsubpull",
version = "0.0.0.5",
author = "Kirit Saelensmind... | <commit_before>import os
from setuptools import setup
def read(fname1, fname2):
if os.path.exists(fname1):
fname = fname1
else:
fname = fname2
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "django-pubsubpull",
version = "0.0.0.5",
author = "Ki... | import os
from setuptools import setup
def read(fname1, fname2):
if os.path.exists(fname1):
fname = fname1
else:
fname = fname2
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "django-pubsubpull",
version = "0.0.0.5",
author = "Kirit Saelensmind... | import os
from setuptools import setup
def read(fname1, fname2):
if os.path.exists(fname1):
fname = fname1
else:
fname = fname2
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "django-pubsubpull",
version = "0.0.0.5",
author = "Kirit Saelensmind... | <commit_before>import os
from setuptools import setup
def read(fname1, fname2):
if os.path.exists(fname1):
fname = fname1
else:
fname = fname2
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "django-pubsubpull",
version = "0.0.0.5",
author = "Ki... |
342e64ce5d4ff76903f7ca93cd635b5fd0c30cd8 | setup.py | setup.py | """setup.py"""
from codecs import open as codecs_open
from setuptools import setup
with codecs_open("README.md", "r", "utf-8") as f:
README = f.read()
setup(
author="Beau Barker",
author_email="beauinmelbourne@gmail.com",
classifiers=[
"Programming Language :: Python :: 2.7",
"Programm... | """setup.py"""
from codecs import open as codecs_open
from setuptools import setup
with codecs_open("README.md", "r", "utf-8") as f:
README = f.read()
setup(
author="Beau Barker",
author_email="beauinmelbourne@gmail.com",
classifiers=[
"Programming Language :: Python :: 3.5",
"Programm... | Remove unsupported pythons from classifiers | Remove unsupported pythons from classifiers
| Python | mit | bcb/jsonrpcclient | """setup.py"""
from codecs import open as codecs_open
from setuptools import setup
with codecs_open("README.md", "r", "utf-8") as f:
README = f.read()
setup(
author="Beau Barker",
author_email="beauinmelbourne@gmail.com",
classifiers=[
"Programming Language :: Python :: 2.7",
"Programm... | """setup.py"""
from codecs import open as codecs_open
from setuptools import setup
with codecs_open("README.md", "r", "utf-8") as f:
README = f.read()
setup(
author="Beau Barker",
author_email="beauinmelbourne@gmail.com",
classifiers=[
"Programming Language :: Python :: 3.5",
"Programm... | <commit_before>"""setup.py"""
from codecs import open as codecs_open
from setuptools import setup
with codecs_open("README.md", "r", "utf-8") as f:
README = f.read()
setup(
author="Beau Barker",
author_email="beauinmelbourne@gmail.com",
classifiers=[
"Programming Language :: Python :: 2.7",
... | """setup.py"""
from codecs import open as codecs_open
from setuptools import setup
with codecs_open("README.md", "r", "utf-8") as f:
README = f.read()
setup(
author="Beau Barker",
author_email="beauinmelbourne@gmail.com",
classifiers=[
"Programming Language :: Python :: 3.5",
"Programm... | """setup.py"""
from codecs import open as codecs_open
from setuptools import setup
with codecs_open("README.md", "r", "utf-8") as f:
README = f.read()
setup(
author="Beau Barker",
author_email="beauinmelbourne@gmail.com",
classifiers=[
"Programming Language :: Python :: 2.7",
"Programm... | <commit_before>"""setup.py"""
from codecs import open as codecs_open
from setuptools import setup
with codecs_open("README.md", "r", "utf-8") as f:
README = f.read()
setup(
author="Beau Barker",
author_email="beauinmelbourne@gmail.com",
classifiers=[
"Programming Language :: Python :: 2.7",
... |
241f1248695fe6444019caab0f9371609c9a2dd9 | setup.py | setup.py |
import wsgi_intercept
from setuptools import setup, find_packages
CLASSIFIERS = """
Environment :: Web Environment
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language... | import wsgi_intercept
from setuptools import setup, find_packages
CLASSIFIERS = """
Environment :: Web Environment
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 2
Programming Language :: Python :: 2.6
Programming Language ::... | Include the meta-python versions in the classifiers | Include the meta-python versions in the classifiers | Python | mit | sileht/python3-wsgi-intercept,cdent/wsgi-intercept |
import wsgi_intercept
from setuptools import setup, find_packages
CLASSIFIERS = """
Environment :: Web Environment
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language... | import wsgi_intercept
from setuptools import setup, find_packages
CLASSIFIERS = """
Environment :: Web Environment
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 2
Programming Language :: Python :: 2.6
Programming Language ::... | <commit_before>
import wsgi_intercept
from setuptools import setup, find_packages
CLASSIFIERS = """
Environment :: Web Environment
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Progr... | import wsgi_intercept
from setuptools import setup, find_packages
CLASSIFIERS = """
Environment :: Web Environment
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 2
Programming Language :: Python :: 2.6
Programming Language ::... |
import wsgi_intercept
from setuptools import setup, find_packages
CLASSIFIERS = """
Environment :: Web Environment
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language... | <commit_before>
import wsgi_intercept
from setuptools import setup, find_packages
CLASSIFIERS = """
Environment :: Web Environment
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Progr... |
5caa22112a11f2cabdacd8302536580012a2bf98 | setup.py | setup.py | from distutils.core import setup
from pexpect import __version__
setup (name='pexpect',
version=__version__,
py_modules=['pxssh', 'fdpexpect', 'FSM', 'screen', 'ANSI'],
packages=['pexpect'],
description='Pexpect allows easy control of interactive console applications.',
author='Noah Spurrier; Thom... | from distutils.core import setup
from pexpect import __version__
setup (name='pexpect',
version=__version__,
py_modules=['pxssh', 'fdpexpect', 'FSM', 'screen', 'ANSI'],
packages=['pexpect'],
description='Pexpect allows easy control of interactive console applications.',
author='Noah Spurrier; Thom... | Fix Trove classifiers to allow PyPI upload | Fix Trove classifiers to allow PyPI upload
| Python | isc | dongguangming/pexpect,crdoconnor/pexpect,nodish/pexpect,dongguangming/pexpect,blink1073/pexpect,Depado/pexpect,quatanium/pexpect,nodish/pexpect,bangi123/pexpect,bangi123/pexpect,Wakeupbuddy/pexpect,Wakeupbuddy/pexpect,nodish/pexpect,crdoconnor/pexpect,bangi123/pexpect,quatanium/pexpect,Depado/pexpect,crdoconnor/pexpect... | from distutils.core import setup
from pexpect import __version__
setup (name='pexpect',
version=__version__,
py_modules=['pxssh', 'fdpexpect', 'FSM', 'screen', 'ANSI'],
packages=['pexpect'],
description='Pexpect allows easy control of interactive console applications.',
author='Noah Spurrier; Thom... | from distutils.core import setup
from pexpect import __version__
setup (name='pexpect',
version=__version__,
py_modules=['pxssh', 'fdpexpect', 'FSM', 'screen', 'ANSI'],
packages=['pexpect'],
description='Pexpect allows easy control of interactive console applications.',
author='Noah Spurrier; Thom... | <commit_before>from distutils.core import setup
from pexpect import __version__
setup (name='pexpect',
version=__version__,
py_modules=['pxssh', 'fdpexpect', 'FSM', 'screen', 'ANSI'],
packages=['pexpect'],
description='Pexpect allows easy control of interactive console applications.',
author='Noah... | from distutils.core import setup
from pexpect import __version__
setup (name='pexpect',
version=__version__,
py_modules=['pxssh', 'fdpexpect', 'FSM', 'screen', 'ANSI'],
packages=['pexpect'],
description='Pexpect allows easy control of interactive console applications.',
author='Noah Spurrier; Thom... | from distutils.core import setup
from pexpect import __version__
setup (name='pexpect',
version=__version__,
py_modules=['pxssh', 'fdpexpect', 'FSM', 'screen', 'ANSI'],
packages=['pexpect'],
description='Pexpect allows easy control of interactive console applications.',
author='Noah Spurrier; Thom... | <commit_before>from distutils.core import setup
from pexpect import __version__
setup (name='pexpect',
version=__version__,
py_modules=['pxssh', 'fdpexpect', 'FSM', 'screen', 'ANSI'],
packages=['pexpect'],
description='Pexpect allows easy control of interactive console applications.',
author='Noah... |
69b91e3f8c4aebd0546c6fe0defad5c893d2a1c8 | dsub/_dsub_version.py | dsub/_dsub_version.py | # Copyright 2017 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | # Copyright 2017 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | Update dsub version to 0.3.5 | Update dsub version to 0.3.5
PiperOrigin-RevId: 276119452
| Python | apache-2.0 | DataBiosphere/dsub,DataBiosphere/dsub | # Copyright 2017 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | # Copyright 2017 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | <commit_before># Copyright 2017 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | # Copyright 2017 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | # Copyright 2017 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | <commit_before># Copyright 2017 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... |
792e073317f75f4b9a687c4a647a2b7f9f5656c1 | test_project/runtests.py | test_project/runtests.py | #This file mainly exists to allow python setup.py test to work.
import os, sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'test_project.settings'
test_dir = os.path.dirname(__file__)
sys.path.insert(0, test_dir)
from django.test.utils import get_runner
from django.conf import settings
def runtests():
test_runner = ... | #This file mainly exists to allow python setup.py test to work.
import os, sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'test_project.settings'
test_dir = os.path.dirname(__file__)
sys.path.insert(0, test_dir)
from django.test.utils import get_runner
from django.conf import settings
def runtests():
test_runner = ... | Fix the running of tests. Wonder if this is a django regression. | Fix the running of tests. Wonder if this is a django regression.
| Python | mit | ericholscher/django-test-utils,frac/django-test-utils,ericholscher/django-test-utils,acdha/django-test-utils,frac/django-test-utils,acdha/django-test-utils | #This file mainly exists to allow python setup.py test to work.
import os, sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'test_project.settings'
test_dir = os.path.dirname(__file__)
sys.path.insert(0, test_dir)
from django.test.utils import get_runner
from django.conf import settings
def runtests():
test_runner = ... | #This file mainly exists to allow python setup.py test to work.
import os, sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'test_project.settings'
test_dir = os.path.dirname(__file__)
sys.path.insert(0, test_dir)
from django.test.utils import get_runner
from django.conf import settings
def runtests():
test_runner = ... | <commit_before>#This file mainly exists to allow python setup.py test to work.
import os, sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'test_project.settings'
test_dir = os.path.dirname(__file__)
sys.path.insert(0, test_dir)
from django.test.utils import get_runner
from django.conf import settings
def runtests():
... | #This file mainly exists to allow python setup.py test to work.
import os, sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'test_project.settings'
test_dir = os.path.dirname(__file__)
sys.path.insert(0, test_dir)
from django.test.utils import get_runner
from django.conf import settings
def runtests():
test_runner = ... | #This file mainly exists to allow python setup.py test to work.
import os, sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'test_project.settings'
test_dir = os.path.dirname(__file__)
sys.path.insert(0, test_dir)
from django.test.utils import get_runner
from django.conf import settings
def runtests():
test_runner = ... | <commit_before>#This file mainly exists to allow python setup.py test to work.
import os, sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'test_project.settings'
test_dir = os.path.dirname(__file__)
sys.path.insert(0, test_dir)
from django.test.utils import get_runner
from django.conf import settings
def runtests():
... |
12d021a546a8af3ceccfc0a705d03c9cb8dbdba3 | flocker/route/functional/__init__.py | flocker/route/functional/__init__.py | # Copyright Hybrid Logic Ltd. See LICENSE file for details.
"""
Tests for :py:mod:`flocker.route`.
"""
| # Copyright Hybrid Logic Ltd. See LICENSE file for details.
"""
Tests for :py:mod:`flocker.route`.
"""
from eliot.twisted import redirectLogsForTrial
redirectLogsForTrial()
del redirectLogsForTrial
| Send eliot logs to trial output. | Send eliot logs to trial output.
| Python | apache-2.0 | w4ngyi/flocker,AndyHuu/flocker,jml/flocker,beni55/flocker,achanda/flocker,1d4Nf6/flocker,AndyHuu/flocker,jml/flocker,Azulinho/flocker,agonzalezro/flocker,LaynePeng/flocker,adamtheturtle/flocker,adamtheturtle/flocker,wallnerryan/flocker-profiles,agonzalezro/flocker,1d4Nf6/flocker,beni55/flocker,Azulinho/flocker,hackday-... | # Copyright Hybrid Logic Ltd. See LICENSE file for details.
"""
Tests for :py:mod:`flocker.route`.
"""
Send eliot logs to trial output. | # Copyright Hybrid Logic Ltd. See LICENSE file for details.
"""
Tests for :py:mod:`flocker.route`.
"""
from eliot.twisted import redirectLogsForTrial
redirectLogsForTrial()
del redirectLogsForTrial
| <commit_before># Copyright Hybrid Logic Ltd. See LICENSE file for details.
"""
Tests for :py:mod:`flocker.route`.
"""
<commit_msg>Send eliot logs to trial output.<commit_after> | # Copyright Hybrid Logic Ltd. See LICENSE file for details.
"""
Tests for :py:mod:`flocker.route`.
"""
from eliot.twisted import redirectLogsForTrial
redirectLogsForTrial()
del redirectLogsForTrial
| # Copyright Hybrid Logic Ltd. See LICENSE file for details.
"""
Tests for :py:mod:`flocker.route`.
"""
Send eliot logs to trial output.# Copyright Hybrid Logic Ltd. See LICENSE file for details.
"""
Tests for :py:mod:`flocker.route`.
"""
from eliot.twisted import redirectLogsForTrial
redirectLogsForTrial()
del... | <commit_before># Copyright Hybrid Logic Ltd. See LICENSE file for details.
"""
Tests for :py:mod:`flocker.route`.
"""
<commit_msg>Send eliot logs to trial output.<commit_after># Copyright Hybrid Logic Ltd. See LICENSE file for details.
"""
Tests for :py:mod:`flocker.route`.
"""
from eliot.twisted import redirectLo... |
042609827b7aed94a5bc37f2c0cb3c8ae734ca8b | django_cloud_deploy/__version__.py | django_cloud_deploy/__version__.py | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | Fix a bug for failing to deploy to GAE. | Fix a bug for failing to deploy to GAE.
| Python | apache-2.0 | GoogleCloudPlatform/django-cloud-deploy,GoogleCloudPlatform/django-cloud-deploy | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | <commit_before># Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | <commit_before># Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
1731bb581eff4cb62100863cea23af81cd8f2ef5 | tests/e2e/client/main.py | tests/e2e/client/main.py | import argparse
import sys
import requests
def main(url):
requests.get(url + 'refresh')
response = requests.get(url + 'test')
print(response.text)
if response.status_code != 200:
sys.exit(1)
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('url')
... | import argparse
import sys
import requests
def main(url):
response = requests.get(url + 'refresh')
if response.status_code != 200:
print(response.status_code)
print(response.headers)
print(response.text)
sys.exit(1)
response = requests.get(url + 'test')
print(respons... | Add error checking and more verbose error messages. | Add error checking and more verbose error messages.
| Python | apache-2.0 | GoogleCloudPlatform/python-compat-runtime,GoogleCloudPlatform/python-compat-runtime,GoogleCloudPlatform/python-compat-runtime,GoogleCloudPlatform/python-compat-runtime,GoogleCloudPlatform/python-compat-runtime | import argparse
import sys
import requests
def main(url):
requests.get(url + 'refresh')
response = requests.get(url + 'test')
print(response.text)
if response.status_code != 200:
sys.exit(1)
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('url')
... | import argparse
import sys
import requests
def main(url):
response = requests.get(url + 'refresh')
if response.status_code != 200:
print(response.status_code)
print(response.headers)
print(response.text)
sys.exit(1)
response = requests.get(url + 'test')
print(respons... | <commit_before>import argparse
import sys
import requests
def main(url):
requests.get(url + 'refresh')
response = requests.get(url + 'test')
print(response.text)
if response.status_code != 200:
sys.exit(1)
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_ar... | import argparse
import sys
import requests
def main(url):
response = requests.get(url + 'refresh')
if response.status_code != 200:
print(response.status_code)
print(response.headers)
print(response.text)
sys.exit(1)
response = requests.get(url + 'test')
print(respons... | import argparse
import sys
import requests
def main(url):
requests.get(url + 'refresh')
response = requests.get(url + 'test')
print(response.text)
if response.status_code != 200:
sys.exit(1)
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('url')
... | <commit_before>import argparse
import sys
import requests
def main(url):
requests.get(url + 'refresh')
response = requests.get(url + 'test')
print(response.text)
if response.status_code != 200:
sys.exit(1)
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_ar... |
545dedba3c3074e8ceacf0a4b639e515c85df671 | tasks.py | tasks.py | from os import mkdir
from os.path import join
from shutil import rmtree, copytree
from invoke import Collection, ctask as task
from invocations.docs import docs, www
from invocations.packaging import publish
# Until we move to spec-based testing
@task
def test(ctx, coverage=False, flags=""):
if "--verbose" not i... | from os import mkdir
from os.path import join
from shutil import rmtree, copytree
from invoke import Collection, ctask as task
from invocations.docs import docs, www, sites
from invocations.packaging import publish
# Until we move to spec-based testing
@task
def test(ctx, coverage=False, flags=""):
if "--verbose... | Add 'sites' task for rigorous doc error discovery | Add 'sites' task for rigorous doc error discovery
| Python | lgpl-2.1 | paramiko/paramiko,jaraco/paramiko,dorianpula/paramiko,mirrorcoder/paramiko,ameily/paramiko,SebastianDeiss/paramiko,reaperhulk/paramiko | from os import mkdir
from os.path import join
from shutil import rmtree, copytree
from invoke import Collection, ctask as task
from invocations.docs import docs, www
from invocations.packaging import publish
# Until we move to spec-based testing
@task
def test(ctx, coverage=False, flags=""):
if "--verbose" not i... | from os import mkdir
from os.path import join
from shutil import rmtree, copytree
from invoke import Collection, ctask as task
from invocations.docs import docs, www, sites
from invocations.packaging import publish
# Until we move to spec-based testing
@task
def test(ctx, coverage=False, flags=""):
if "--verbose... | <commit_before>from os import mkdir
from os.path import join
from shutil import rmtree, copytree
from invoke import Collection, ctask as task
from invocations.docs import docs, www
from invocations.packaging import publish
# Until we move to spec-based testing
@task
def test(ctx, coverage=False, flags=""):
if "-... | from os import mkdir
from os.path import join
from shutil import rmtree, copytree
from invoke import Collection, ctask as task
from invocations.docs import docs, www, sites
from invocations.packaging import publish
# Until we move to spec-based testing
@task
def test(ctx, coverage=False, flags=""):
if "--verbose... | from os import mkdir
from os.path import join
from shutil import rmtree, copytree
from invoke import Collection, ctask as task
from invocations.docs import docs, www
from invocations.packaging import publish
# Until we move to spec-based testing
@task
def test(ctx, coverage=False, flags=""):
if "--verbose" not i... | <commit_before>from os import mkdir
from os.path import join
from shutil import rmtree, copytree
from invoke import Collection, ctask as task
from invocations.docs import docs, www
from invocations.packaging import publish
# Until we move to spec-based testing
@task
def test(ctx, coverage=False, flags=""):
if "-... |
e21b0d2bf7d7f0700d4ac812301b9568b5e7816a | setup.py | setup.py | # setup.py
from setuptools import setup
setup(
name="drench",
version="0.0.8",
install_requires=['bitarray>=0.8.1', 'requests>=2.0.0'],
packages=['drench'],
# metadata for upload to PyPI
maintainer="Jeffrey Blagdon",
maintainer_email="jeffblagdon@gmail.com",
description="A simple BitTo... | # setup.py
from setuptools import setup
setup(
name="drench",
version="0.0.9",
install_requires=['bitarray>=0.8.1', 'requests>=2.0.0'],
packages=['drench'],
# metadata for upload to PyPI
maintainer="Jeffrey Blagdon",
maintainer_email="jeffblagdon@gmail.com",
description="A simple BitTo... | Set for push to PyPI | Set for push to PyPI
| Python | mit | arthurcolle/drench-udp,cainiaocome/drench,jefflovejapan/drench | # setup.py
from setuptools import setup
setup(
name="drench",
version="0.0.8",
install_requires=['bitarray>=0.8.1', 'requests>=2.0.0'],
packages=['drench'],
# metadata for upload to PyPI
maintainer="Jeffrey Blagdon",
maintainer_email="jeffblagdon@gmail.com",
description="A simple BitTo... | # setup.py
from setuptools import setup
setup(
name="drench",
version="0.0.9",
install_requires=['bitarray>=0.8.1', 'requests>=2.0.0'],
packages=['drench'],
# metadata for upload to PyPI
maintainer="Jeffrey Blagdon",
maintainer_email="jeffblagdon@gmail.com",
description="A simple BitTo... | <commit_before># setup.py
from setuptools import setup
setup(
name="drench",
version="0.0.8",
install_requires=['bitarray>=0.8.1', 'requests>=2.0.0'],
packages=['drench'],
# metadata for upload to PyPI
maintainer="Jeffrey Blagdon",
maintainer_email="jeffblagdon@gmail.com",
description=... | # setup.py
from setuptools import setup
setup(
name="drench",
version="0.0.9",
install_requires=['bitarray>=0.8.1', 'requests>=2.0.0'],
packages=['drench'],
# metadata for upload to PyPI
maintainer="Jeffrey Blagdon",
maintainer_email="jeffblagdon@gmail.com",
description="A simple BitTo... | # setup.py
from setuptools import setup
setup(
name="drench",
version="0.0.8",
install_requires=['bitarray>=0.8.1', 'requests>=2.0.0'],
packages=['drench'],
# metadata for upload to PyPI
maintainer="Jeffrey Blagdon",
maintainer_email="jeffblagdon@gmail.com",
description="A simple BitTo... | <commit_before># setup.py
from setuptools import setup
setup(
name="drench",
version="0.0.8",
install_requires=['bitarray>=0.8.1', 'requests>=2.0.0'],
packages=['drench'],
# metadata for upload to PyPI
maintainer="Jeffrey Blagdon",
maintainer_email="jeffblagdon@gmail.com",
description=... |
ae80cb38ae502af5d4b7d599958c325ad6b7b0f6 | setup.py | setup.py | from setuptools import setup, find_packages
import dnschain
setup(
name="dnschain",
version=dnschain.__version__,
url='https://github.com/okturtles/pydnschain',
license='MPL',
description="A Python DNSChain library",
author='Greg Slepak',
author_email='hi@okturtles.com',
packages=find_... | from setuptools import setup, find_packages
import dnschain
setup(
name="dnschain",
version=dnschain.__version__,
url='https://github.com/okturtles/pydnschain',
license='MPL',
description="A Python DNSChain library",
author='Greg Slepak',
author_email='hi@okturtles.com',
packages=find_... | Add a development status classifier. | Add a development status classifier.
| Python | mpl-2.0 | okTurtles/pydnschain | from setuptools import setup, find_packages
import dnschain
setup(
name="dnschain",
version=dnschain.__version__,
url='https://github.com/okturtles/pydnschain',
license='MPL',
description="A Python DNSChain library",
author='Greg Slepak',
author_email='hi@okturtles.com',
packages=find_... | from setuptools import setup, find_packages
import dnschain
setup(
name="dnschain",
version=dnschain.__version__,
url='https://github.com/okturtles/pydnschain',
license='MPL',
description="A Python DNSChain library",
author='Greg Slepak',
author_email='hi@okturtles.com',
packages=find_... | <commit_before>from setuptools import setup, find_packages
import dnschain
setup(
name="dnschain",
version=dnschain.__version__,
url='https://github.com/okturtles/pydnschain',
license='MPL',
description="A Python DNSChain library",
author='Greg Slepak',
author_email='hi@okturtles.com',
... | from setuptools import setup, find_packages
import dnschain
setup(
name="dnschain",
version=dnschain.__version__,
url='https://github.com/okturtles/pydnschain',
license='MPL',
description="A Python DNSChain library",
author='Greg Slepak',
author_email='hi@okturtles.com',
packages=find_... | from setuptools import setup, find_packages
import dnschain
setup(
name="dnschain",
version=dnschain.__version__,
url='https://github.com/okturtles/pydnschain',
license='MPL',
description="A Python DNSChain library",
author='Greg Slepak',
author_email='hi@okturtles.com',
packages=find_... | <commit_before>from setuptools import setup, find_packages
import dnschain
setup(
name="dnschain",
version=dnschain.__version__,
url='https://github.com/okturtles/pydnschain',
license='MPL',
description="A Python DNSChain library",
author='Greg Slepak',
author_email='hi@okturtles.com',
... |
4460b665b0aec3ad907afd53f84ca1240f7ebd74 | setup.py | setup.py | #!/usr/bin/env python
# coding=utf-8
from setuptools import setup
# Get long description (used on PyPI project page)
def get_long_description():
with open('README.md', 'r') as readme_file:
return readme_file.read()
setup(
name='alfred-workflow-packager',
version='1.2.1',
description='A CLI ... | #!/usr/bin/env python
# coding=utf-8
from setuptools import setup
# Get long description (used on PyPI project page)
def get_long_description():
with open('README.md', 'r') as readme_file:
return readme_file.read()
setup(
name='alfred-workflow-packager',
version='1.2.1',
description='A CLI ... | Upgrade jsonschema to latest (v4.4.0) | Upgrade jsonschema to latest (v4.4.0)
| Python | mit | caleb531/alfred-workflow-packager | #!/usr/bin/env python
# coding=utf-8
from setuptools import setup
# Get long description (used on PyPI project page)
def get_long_description():
with open('README.md', 'r') as readme_file:
return readme_file.read()
setup(
name='alfred-workflow-packager',
version='1.2.1',
description='A CLI ... | #!/usr/bin/env python
# coding=utf-8
from setuptools import setup
# Get long description (used on PyPI project page)
def get_long_description():
with open('README.md', 'r') as readme_file:
return readme_file.read()
setup(
name='alfred-workflow-packager',
version='1.2.1',
description='A CLI ... | <commit_before>#!/usr/bin/env python
# coding=utf-8
from setuptools import setup
# Get long description (used on PyPI project page)
def get_long_description():
with open('README.md', 'r') as readme_file:
return readme_file.read()
setup(
name='alfred-workflow-packager',
version='1.2.1',
desc... | #!/usr/bin/env python
# coding=utf-8
from setuptools import setup
# Get long description (used on PyPI project page)
def get_long_description():
with open('README.md', 'r') as readme_file:
return readme_file.read()
setup(
name='alfred-workflow-packager',
version='1.2.1',
description='A CLI ... | #!/usr/bin/env python
# coding=utf-8
from setuptools import setup
# Get long description (used on PyPI project page)
def get_long_description():
with open('README.md', 'r') as readme_file:
return readme_file.read()
setup(
name='alfred-workflow-packager',
version='1.2.1',
description='A CLI ... | <commit_before>#!/usr/bin/env python
# coding=utf-8
from setuptools import setup
# Get long description (used on PyPI project page)
def get_long_description():
with open('README.md', 'r') as readme_file:
return readme_file.read()
setup(
name='alfred-workflow-packager',
version='1.2.1',
desc... |
b717372c14ffe67a52875014509bba527c9be3cd | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
from setuptools import setup
from py_razor_client.version import VERSION
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
from py_razor_client.version import VERSION
setup(
name="py_razor_client",
version=VERSION,
author="Fred Hatfull",
author_email="fred.hatfull@gmail.com",
description=("A simple Python library for interacting with Razor"),
license="... | Fix up some distribution things | Fix up some distribution things
| Python | mit | fhats/py_razor_client | # -*- coding: utf-8 -*-
import os
from setuptools import setup
from py_razor_client.version import VERSION
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
from py_razor_client.version import VERSION
setup(
name="py_razor_client",
version=VERSION,
author="Fred Hatfull",
author_email="fred.hatfull@gmail.com",
description=("A simple Python library for interacting with Razor"),
license="... | <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup
from py_razor_client.version import VERSION
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
from py_razor_client.version import VERSION
setup(
name="py_razor_client",
version=VERSION,
author="Fred Hatfull",
author_email="fred.hatfull@gmail.com",
description=("A simple Python library for interacting with Razor"),
license="... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
from py_razor_client.version import VERSION
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string... | <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup
from py_razor_client.version import VERSION
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put... |
d2a86102f3fb35731b8aa1c7560c72bd69e487d7 | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.21',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.22',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | Update the PyPI version to 0.2.22. | Update the PyPI version to 0.2.22.
| Python | mit | Doist/todoist-python | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.21',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.22',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.21',
packages=['todoist', 'todoist.managers'],
aut... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.22',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.21',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.21',
packages=['todoist', 'todoist.managers'],
aut... |
0544a5eb02f1818f3276f735679cf3caa164c94d | setup.py | setup.py | from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
djl_url = "http://douglatornell.ca/software/python/Nosy/"
nosy_version = "1.1"
version_classifiers = ['Programming Language :: Python :: %s' % version
for version in ['2', '2.5', '2.6', '2.7'... | from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
version_classifiers = ['Programming Language :: Python :: %s' % version
for version in ['2', '2.5', '2.6', '2.7']]
other_classifiers = [
'Development Status :: 5 - Production/Stable',
... | Delete download_url. Let PyPI provide the bandwidth. | Delete download_url. Let PyPI provide the bandwidth.
| Python | bsd-3-clause | dougbeal/nosy | from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
djl_url = "http://douglatornell.ca/software/python/Nosy/"
nosy_version = "1.1"
version_classifiers = ['Programming Language :: Python :: %s' % version
for version in ['2', '2.5', '2.6', '2.7'... | from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
version_classifiers = ['Programming Language :: Python :: %s' % version
for version in ['2', '2.5', '2.6', '2.7']]
other_classifiers = [
'Development Status :: 5 - Production/Stable',
... | <commit_before>from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
djl_url = "http://douglatornell.ca/software/python/Nosy/"
nosy_version = "1.1"
version_classifiers = ['Programming Language :: Python :: %s' % version
for version in ['2', '2.5... | from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
version_classifiers = ['Programming Language :: Python :: %s' % version
for version in ['2', '2.5', '2.6', '2.7']]
other_classifiers = [
'Development Status :: 5 - Production/Stable',
... | from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
djl_url = "http://douglatornell.ca/software/python/Nosy/"
nosy_version = "1.1"
version_classifiers = ['Programming Language :: Python :: %s' % version
for version in ['2', '2.5', '2.6', '2.7'... | <commit_before>from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
djl_url = "http://douglatornell.ca/software/python/Nosy/"
nosy_version = "1.1"
version_classifiers = ['Programming Language :: Python :: %s' % version
for version in ['2', '2.5... |
a59eea30cb34bb301c610089d467e927a4d0f312 | setup.py | setup.py | import husk
from setuptools import setup, find_packages
kwargs = {
'packages': find_packages(),
'include_package_data': True,
'test_suite': 'tests',
'name': 'husk',
'version': husk.__version__,
'author': 'Byron Ruth, Patrick Henning',
'author_email': 'b@devel.io',
'description': husk.__... | import husk
from setuptools import setup, find_packages
kwargs = {
'packages': find_packages(),
'include_package_data': True,
'test_suite': 'tests',
'name': 'husk',
'version': husk.__version__,
'author': 'Byron Ruth, Patrick Henning',
'author_email': 'b@devel.io',
'description': husk.__... | Update URL to point to new repository/website | Update URL to point to new repository/website | Python | bsd-2-clause | husk/husk | import husk
from setuptools import setup, find_packages
kwargs = {
'packages': find_packages(),
'include_package_data': True,
'test_suite': 'tests',
'name': 'husk',
'version': husk.__version__,
'author': 'Byron Ruth, Patrick Henning',
'author_email': 'b@devel.io',
'description': husk.__... | import husk
from setuptools import setup, find_packages
kwargs = {
'packages': find_packages(),
'include_package_data': True,
'test_suite': 'tests',
'name': 'husk',
'version': husk.__version__,
'author': 'Byron Ruth, Patrick Henning',
'author_email': 'b@devel.io',
'description': husk.__... | <commit_before>import husk
from setuptools import setup, find_packages
kwargs = {
'packages': find_packages(),
'include_package_data': True,
'test_suite': 'tests',
'name': 'husk',
'version': husk.__version__,
'author': 'Byron Ruth, Patrick Henning',
'author_email': 'b@devel.io',
'descri... | import husk
from setuptools import setup, find_packages
kwargs = {
'packages': find_packages(),
'include_package_data': True,
'test_suite': 'tests',
'name': 'husk',
'version': husk.__version__,
'author': 'Byron Ruth, Patrick Henning',
'author_email': 'b@devel.io',
'description': husk.__... | import husk
from setuptools import setup, find_packages
kwargs = {
'packages': find_packages(),
'include_package_data': True,
'test_suite': 'tests',
'name': 'husk',
'version': husk.__version__,
'author': 'Byron Ruth, Patrick Henning',
'author_email': 'b@devel.io',
'description': husk.__... | <commit_before>import husk
from setuptools import setup, find_packages
kwargs = {
'packages': find_packages(),
'include_package_data': True,
'test_suite': 'tests',
'name': 'husk',
'version': husk.__version__,
'author': 'Byron Ruth, Patrick Henning',
'author_email': 'b@devel.io',
'descri... |
40789da2c8d0a0a4367c4599f48fed6ba90ce212 | setup.py | setup.py | from setuptools import setup
setup(
name='slacker',
version='0.9.10',
packages=['slacker'],
description='Slack API client',
author='Oktay Sancak',
author_email='oktaysancak@gmail.com',
url='http://github.com/os/slacker/',
install_requires=['requests >= 2.2.1'],
license='http://www.... | from setuptools import setup
setup(
name='slacker',
version='0.9.15',
packages=['slacker'],
description='Slack API client',
author='Oktay Sancak',
author_email='oktaysancak@gmail.com',
url='http://github.com/os/slacker/',
install_requires=['requests >= 2.2.1'],
license='http://www.... | Set version number to 0.9.15 | Set version number to 0.9.15
| Python | apache-2.0 | os/slacker | from setuptools import setup
setup(
name='slacker',
version='0.9.10',
packages=['slacker'],
description='Slack API client',
author='Oktay Sancak',
author_email='oktaysancak@gmail.com',
url='http://github.com/os/slacker/',
install_requires=['requests >= 2.2.1'],
license='http://www.... | from setuptools import setup
setup(
name='slacker',
version='0.9.15',
packages=['slacker'],
description='Slack API client',
author='Oktay Sancak',
author_email='oktaysancak@gmail.com',
url='http://github.com/os/slacker/',
install_requires=['requests >= 2.2.1'],
license='http://www.... | <commit_before>from setuptools import setup
setup(
name='slacker',
version='0.9.10',
packages=['slacker'],
description='Slack API client',
author='Oktay Sancak',
author_email='oktaysancak@gmail.com',
url='http://github.com/os/slacker/',
install_requires=['requests >= 2.2.1'],
licen... | from setuptools import setup
setup(
name='slacker',
version='0.9.15',
packages=['slacker'],
description='Slack API client',
author='Oktay Sancak',
author_email='oktaysancak@gmail.com',
url='http://github.com/os/slacker/',
install_requires=['requests >= 2.2.1'],
license='http://www.... | from setuptools import setup
setup(
name='slacker',
version='0.9.10',
packages=['slacker'],
description='Slack API client',
author='Oktay Sancak',
author_email='oktaysancak@gmail.com',
url='http://github.com/os/slacker/',
install_requires=['requests >= 2.2.1'],
license='http://www.... | <commit_before>from setuptools import setup
setup(
name='slacker',
version='0.9.10',
packages=['slacker'],
description='Slack API client',
author='Oktay Sancak',
author_email='oktaysancak@gmail.com',
url='http://github.com/os/slacker/',
install_requires=['requests >= 2.2.1'],
licen... |
7b7e106eb26eac964aae6445fd2565fa70847a2b | setup.py | setup.py | """A setuptools based setup module."""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open as c_open
from os import path
HERE = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with c_open(pat... | """A setuptools based setup module."""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open as c_open
from os import path
HERE = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with c_open(pat... | Cut a new version, literally just to make the PyPI page look nicer. | Cut a new version, literally just to make the PyPI page look nicer.
| Python | mit | mwchase/class-namespaces,mwchase/class-namespaces | """A setuptools based setup module."""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open as c_open
from os import path
HERE = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with c_open(pat... | """A setuptools based setup module."""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open as c_open
from os import path
HERE = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with c_open(pat... | <commit_before>"""A setuptools based setup module."""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open as c_open
from os import path
HERE = path.abspath(path.dirname(__file__))
# Get the long description from the README file
... | """A setuptools based setup module."""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open as c_open
from os import path
HERE = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with c_open(pat... | """A setuptools based setup module."""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open as c_open
from os import path
HERE = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with c_open(pat... | <commit_before>"""A setuptools based setup module."""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open as c_open
from os import path
HERE = path.abspath(path.dirname(__file__))
# Get the long description from the README file
... |
01eb74ebca81f79ab829073f163b028d3e98f055 | setup.py | setup.py | '''
cd dropbox/codes/check_forbidden
py -3.4 setup.py py2exe
Libraries used:
import tkinter
import tkinter.filedialog
import csv
import os
import re
from time import sleep
import zipfile
'''
from distutils.core import setup
import py2exe
setup(
console=[{'author': 'Shun Sakurai',
... | '''
cd dropbox/codes/check_forbidden
py -3.4 setup.py py2exe
Libraries used:
import tkinter
import tkinter.filedialog
import csv
import os
import re
from time import sleep
import zipfile
'''
from distutils.core import setup
import py2exe
setup(
console=[{'author': 'Shun Sakurai',
... | Change the application name to 'Check Forbidden' | Change the application name to 'Check Forbidden'
| Python | mit | ShunSakurai/check_forbidden,ShunSakurai/check_forbidden | '''
cd dropbox/codes/check_forbidden
py -3.4 setup.py py2exe
Libraries used:
import tkinter
import tkinter.filedialog
import csv
import os
import re
from time import sleep
import zipfile
'''
from distutils.core import setup
import py2exe
setup(
console=[{'author': 'Shun Sakurai',
... | '''
cd dropbox/codes/check_forbidden
py -3.4 setup.py py2exe
Libraries used:
import tkinter
import tkinter.filedialog
import csv
import os
import re
from time import sleep
import zipfile
'''
from distutils.core import setup
import py2exe
setup(
console=[{'author': 'Shun Sakurai',
... | <commit_before>'''
cd dropbox/codes/check_forbidden
py -3.4 setup.py py2exe
Libraries used:
import tkinter
import tkinter.filedialog
import csv
import os
import re
from time import sleep
import zipfile
'''
from distutils.core import setup
import py2exe
setup(
console=[{'author': 'Shun Sakurai',... | '''
cd dropbox/codes/check_forbidden
py -3.4 setup.py py2exe
Libraries used:
import tkinter
import tkinter.filedialog
import csv
import os
import re
from time import sleep
import zipfile
'''
from distutils.core import setup
import py2exe
setup(
console=[{'author': 'Shun Sakurai',
... | '''
cd dropbox/codes/check_forbidden
py -3.4 setup.py py2exe
Libraries used:
import tkinter
import tkinter.filedialog
import csv
import os
import re
from time import sleep
import zipfile
'''
from distutils.core import setup
import py2exe
setup(
console=[{'author': 'Shun Sakurai',
... | <commit_before>'''
cd dropbox/codes/check_forbidden
py -3.4 setup.py py2exe
Libraries used:
import tkinter
import tkinter.filedialog
import csv
import os
import re
from time import sleep
import zipfile
'''
from distutils.core import setup
import py2exe
setup(
console=[{'author': 'Shun Sakurai',... |
50e438eeaca4910f1d1938acd7c8b02eb18bfc71 | setup.py | setup.py | import ez_setup
ez_setup.use_setuptools()
from setuptools import setup
# TODO: setup crontab entry on install
setup(
name='plex-tvst-sync',
version='0.1.0',
author='sprt',
author_email='hellosprt@gmail.com',
url='https://github.com/sprt/plex-tvst-sync',
install_requires=[
'PlexAPI==1.... | import ez_setup
ez_setup.use_setuptools()
from distutils.command.install import install
from setuptools import setup
from setuptools import Command
class CustomInstall(install):
def _setup_cron(self):
import crontab
cron = crontab.CronTab(user=True)
job = cron.new(command='plex-t... | Add a crontab entry on install | Add a crontab entry on install
| Python | mit | sprt/plex-tvst-sync | import ez_setup
ez_setup.use_setuptools()
from setuptools import setup
# TODO: setup crontab entry on install
setup(
name='plex-tvst-sync',
version='0.1.0',
author='sprt',
author_email='hellosprt@gmail.com',
url='https://github.com/sprt/plex-tvst-sync',
install_requires=[
'PlexAPI==1.... | import ez_setup
ez_setup.use_setuptools()
from distutils.command.install import install
from setuptools import setup
from setuptools import Command
class CustomInstall(install):
def _setup_cron(self):
import crontab
cron = crontab.CronTab(user=True)
job = cron.new(command='plex-t... | <commit_before>import ez_setup
ez_setup.use_setuptools()
from setuptools import setup
# TODO: setup crontab entry on install
setup(
name='plex-tvst-sync',
version='0.1.0',
author='sprt',
author_email='hellosprt@gmail.com',
url='https://github.com/sprt/plex-tvst-sync',
install_requires=[
... | import ez_setup
ez_setup.use_setuptools()
from distutils.command.install import install
from setuptools import setup
from setuptools import Command
class CustomInstall(install):
def _setup_cron(self):
import crontab
cron = crontab.CronTab(user=True)
job = cron.new(command='plex-t... | import ez_setup
ez_setup.use_setuptools()
from setuptools import setup
# TODO: setup crontab entry on install
setup(
name='plex-tvst-sync',
version='0.1.0',
author='sprt',
author_email='hellosprt@gmail.com',
url='https://github.com/sprt/plex-tvst-sync',
install_requires=[
'PlexAPI==1.... | <commit_before>import ez_setup
ez_setup.use_setuptools()
from setuptools import setup
# TODO: setup crontab entry on install
setup(
name='plex-tvst-sync',
version='0.1.0',
author='sprt',
author_email='hellosprt@gmail.com',
url='https://github.com/sprt/plex-tvst-sync',
install_requires=[
... |
286b3f1661eb4316cb80039c296ffbfd7089a0b4 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='Flask-HTMLBuilder',
version='0.4',
url='http://github.com/majorz/flask-htmlbuilder',
license='MIT',
author='Zahari Petkov',
author_email='zarchaoz@gmail.com',
description='Flexible Python-only HTML gene... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='Flask-HTMLBuilder',
version='0.10',
url='http://github.com/majorz/flask-htmlbuilder',
license='MIT',
author='Zahari Petkov',
author_email='zarchaoz@gmail.com',
description='Flexible Python-only HTML gen... | BUMP VERSION to ensure update | BUMP VERSION to ensure update | Python | bsd-3-clause | quokkaproject/flask-htmlbuilder | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='Flask-HTMLBuilder',
version='0.4',
url='http://github.com/majorz/flask-htmlbuilder',
license='MIT',
author='Zahari Petkov',
author_email='zarchaoz@gmail.com',
description='Flexible Python-only HTML gene... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='Flask-HTMLBuilder',
version='0.10',
url='http://github.com/majorz/flask-htmlbuilder',
license='MIT',
author='Zahari Petkov',
author_email='zarchaoz@gmail.com',
description='Flexible Python-only HTML gen... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='Flask-HTMLBuilder',
version='0.4',
url='http://github.com/majorz/flask-htmlbuilder',
license='MIT',
author='Zahari Petkov',
author_email='zarchaoz@gmail.com',
description='Flexible Python... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='Flask-HTMLBuilder',
version='0.10',
url='http://github.com/majorz/flask-htmlbuilder',
license='MIT',
author='Zahari Petkov',
author_email='zarchaoz@gmail.com',
description='Flexible Python-only HTML gen... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='Flask-HTMLBuilder',
version='0.4',
url='http://github.com/majorz/flask-htmlbuilder',
license='MIT',
author='Zahari Petkov',
author_email='zarchaoz@gmail.com',
description='Flexible Python-only HTML gene... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='Flask-HTMLBuilder',
version='0.4',
url='http://github.com/majorz/flask-htmlbuilder',
license='MIT',
author='Zahari Petkov',
author_email='zarchaoz@gmail.com',
description='Flexible Python... |
b2fdee309a6f836b15eb9a0cf54bf50ab851b0b9 | setup.py | setup.py | #!/usr/bin/env python3
from setuptools import setup
setup(
name='LoadStone',
version='0.1',
description='Interface for FFXIV Lodestone',
author='Sami Elahmadie',
author_email='s.elahmadie@gmail.com',
url='https://github.com/Demotivated/loadstone/',
packages=['api'],
install_requires=[
... | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='LoadStone',
version='0.1',
description='Interface for FFXIV Lodestone',
author='Sami Elahmadie',
author_email='s.elahmadie@gmail.com',
url='https://github.com/Demotivated/loadstone/',
packages=find_packages(),
... | Replace manual packages list with find_packages | Replace manual packages list with find_packages
| Python | mit | Demotivated/loadstone | #!/usr/bin/env python3
from setuptools import setup
setup(
name='LoadStone',
version='0.1',
description='Interface for FFXIV Lodestone',
author='Sami Elahmadie',
author_email='s.elahmadie@gmail.com',
url='https://github.com/Demotivated/loadstone/',
packages=['api'],
install_requires=[
... | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='LoadStone',
version='0.1',
description='Interface for FFXIV Lodestone',
author='Sami Elahmadie',
author_email='s.elahmadie@gmail.com',
url='https://github.com/Demotivated/loadstone/',
packages=find_packages(),
... | <commit_before>#!/usr/bin/env python3
from setuptools import setup
setup(
name='LoadStone',
version='0.1',
description='Interface for FFXIV Lodestone',
author='Sami Elahmadie',
author_email='s.elahmadie@gmail.com',
url='https://github.com/Demotivated/loadstone/',
packages=['api'],
inst... | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='LoadStone',
version='0.1',
description='Interface for FFXIV Lodestone',
author='Sami Elahmadie',
author_email='s.elahmadie@gmail.com',
url='https://github.com/Demotivated/loadstone/',
packages=find_packages(),
... | #!/usr/bin/env python3
from setuptools import setup
setup(
name='LoadStone',
version='0.1',
description='Interface for FFXIV Lodestone',
author='Sami Elahmadie',
author_email='s.elahmadie@gmail.com',
url='https://github.com/Demotivated/loadstone/',
packages=['api'],
install_requires=[
... | <commit_before>#!/usr/bin/env python3
from setuptools import setup
setup(
name='LoadStone',
version='0.1',
description='Interface for FFXIV Lodestone',
author='Sami Elahmadie',
author_email='s.elahmadie@gmail.com',
url='https://github.com/Demotivated/loadstone/',
packages=['api'],
inst... |
e1d9e04dd63d45ee41e2db85cd1452836e1f084c | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='django-simple-url',
version='0.0.1',
description='Simpler URL specification for Django.',
author="Sjoerd Job Postmus",
author_email='sjoerdjob@sjec.nl',
url='https://github.com/sjoerdjob/django-simple-url',
packages=['django_si... | #!/usr/bin/env python
from setuptools import setup
setup(
name='django-simple-url',
version='0.0.2',
description='Simpler URL specification for Django.',
author="Sjoerd Job Postmus",
author_email='sjoerdjob@sjec.nl',
url='https://github.com/sjoerdjob/django-simple-url',
packages=['django_si... | Increment version number to 0.0.2 | Increment version number to 0.0.2
| Python | mit | sjoerdjob/django-simple-url | #!/usr/bin/env python
from setuptools import setup
setup(
name='django-simple-url',
version='0.0.1',
description='Simpler URL specification for Django.',
author="Sjoerd Job Postmus",
author_email='sjoerdjob@sjec.nl',
url='https://github.com/sjoerdjob/django-simple-url',
packages=['django_si... | #!/usr/bin/env python
from setuptools import setup
setup(
name='django-simple-url',
version='0.0.2',
description='Simpler URL specification for Django.',
author="Sjoerd Job Postmus",
author_email='sjoerdjob@sjec.nl',
url='https://github.com/sjoerdjob/django-simple-url',
packages=['django_si... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
name='django-simple-url',
version='0.0.1',
description='Simpler URL specification for Django.',
author="Sjoerd Job Postmus",
author_email='sjoerdjob@sjec.nl',
url='https://github.com/sjoerdjob/django-simple-url',
packa... | #!/usr/bin/env python
from setuptools import setup
setup(
name='django-simple-url',
version='0.0.2',
description='Simpler URL specification for Django.',
author="Sjoerd Job Postmus",
author_email='sjoerdjob@sjec.nl',
url='https://github.com/sjoerdjob/django-simple-url',
packages=['django_si... | #!/usr/bin/env python
from setuptools import setup
setup(
name='django-simple-url',
version='0.0.1',
description='Simpler URL specification for Django.',
author="Sjoerd Job Postmus",
author_email='sjoerdjob@sjec.nl',
url='https://github.com/sjoerdjob/django-simple-url',
packages=['django_si... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
name='django-simple-url',
version='0.0.1',
description='Simpler URL specification for Django.',
author="Sjoerd Job Postmus",
author_email='sjoerdjob@sjec.nl',
url='https://github.com/sjoerdjob/django-simple-url',
packa... |
6c3c379d414a0c9bfde81ff8daa0e1d40aa7a658 | setup.py | setup.py | from distutils.core import setup
import traitscli
setup(
name='traitscli',
version=traitscli.__version__,
py_modules=['traitscli'],
author=traitscli.__author__,
author_email='aka.tkf@gmail.com',
url='https://github.com/tkf/traitscli',
license=traitscli.__license__,
description='traitsc... | from distutils.core import setup
import traitscli
setup(
name='traitscli',
version=traitscli.__version__,
py_modules=['traitscli'],
author=traitscli.__author__,
author_email='aka.tkf@gmail.com',
url='https://github.com/tkf/traitscli',
license=traitscli.__license__,
description='traitsc... | Add argparse to install_requires for Python 2.6 | Add argparse to install_requires for Python 2.6
| Python | bsd-3-clause | tkf/traitscli,tkf/traitscli | from distutils.core import setup
import traitscli
setup(
name='traitscli',
version=traitscli.__version__,
py_modules=['traitscli'],
author=traitscli.__author__,
author_email='aka.tkf@gmail.com',
url='https://github.com/tkf/traitscli',
license=traitscli.__license__,
description='traitsc... | from distutils.core import setup
import traitscli
setup(
name='traitscli',
version=traitscli.__version__,
py_modules=['traitscli'],
author=traitscli.__author__,
author_email='aka.tkf@gmail.com',
url='https://github.com/tkf/traitscli',
license=traitscli.__license__,
description='traitsc... | <commit_before>from distutils.core import setup
import traitscli
setup(
name='traitscli',
version=traitscli.__version__,
py_modules=['traitscli'],
author=traitscli.__author__,
author_email='aka.tkf@gmail.com',
url='https://github.com/tkf/traitscli',
license=traitscli.__license__,
descr... | from distutils.core import setup
import traitscli
setup(
name='traitscli',
version=traitscli.__version__,
py_modules=['traitscli'],
author=traitscli.__author__,
author_email='aka.tkf@gmail.com',
url='https://github.com/tkf/traitscli',
license=traitscli.__license__,
description='traitsc... | from distutils.core import setup
import traitscli
setup(
name='traitscli',
version=traitscli.__version__,
py_modules=['traitscli'],
author=traitscli.__author__,
author_email='aka.tkf@gmail.com',
url='https://github.com/tkf/traitscli',
license=traitscli.__license__,
description='traitsc... | <commit_before>from distutils.core import setup
import traitscli
setup(
name='traitscli',
version=traitscli.__version__,
py_modules=['traitscli'],
author=traitscli.__author__,
author_email='aka.tkf@gmail.com',
url='https://github.com/tkf/traitscli',
license=traitscli.__license__,
descr... |
752da66dd895eb3e34f5c3ac15fbd8ef7eed3467 | setup.py | setup.py | from distutils.core import setup
setup(
name = 'pybenchmark',
packages = ['pybenchmark'], # this must be the same as the name above
version = '0.0.6',
description = 'A benchmark utility used in performance tests.',
author = 'Eugene Duboviy',
author_email = 'eugene.dubovoy@gmail.com',
url = 'https://github... | from distutils.core import setup
setup(
name = 'pybenchmark',
packages = ['pybenchmark'], # this must be the same as the name above
version = '1.0.0',
description = 'A benchmark utility used in performance tests.',
author = 'Eugene Duboviy',
author_email = 'eugene.dubovoy@gmail.com',
url = 'https://github... | Add new final v1.0.0 PyPI release version | Add new final v1.0.0 PyPI release version
| Python | mit | duboviy/pybenchmark | from distutils.core import setup
setup(
name = 'pybenchmark',
packages = ['pybenchmark'], # this must be the same as the name above
version = '0.0.6',
description = 'A benchmark utility used in performance tests.',
author = 'Eugene Duboviy',
author_email = 'eugene.dubovoy@gmail.com',
url = 'https://github... | from distutils.core import setup
setup(
name = 'pybenchmark',
packages = ['pybenchmark'], # this must be the same as the name above
version = '1.0.0',
description = 'A benchmark utility used in performance tests.',
author = 'Eugene Duboviy',
author_email = 'eugene.dubovoy@gmail.com',
url = 'https://github... | <commit_before>from distutils.core import setup
setup(
name = 'pybenchmark',
packages = ['pybenchmark'], # this must be the same as the name above
version = '0.0.6',
description = 'A benchmark utility used in performance tests.',
author = 'Eugene Duboviy',
author_email = 'eugene.dubovoy@gmail.com',
url = ... | from distutils.core import setup
setup(
name = 'pybenchmark',
packages = ['pybenchmark'], # this must be the same as the name above
version = '1.0.0',
description = 'A benchmark utility used in performance tests.',
author = 'Eugene Duboviy',
author_email = 'eugene.dubovoy@gmail.com',
url = 'https://github... | from distutils.core import setup
setup(
name = 'pybenchmark',
packages = ['pybenchmark'], # this must be the same as the name above
version = '0.0.6',
description = 'A benchmark utility used in performance tests.',
author = 'Eugene Duboviy',
author_email = 'eugene.dubovoy@gmail.com',
url = 'https://github... | <commit_before>from distutils.core import setup
setup(
name = 'pybenchmark',
packages = ['pybenchmark'], # this must be the same as the name above
version = '0.0.6',
description = 'A benchmark utility used in performance tests.',
author = 'Eugene Duboviy',
author_email = 'eugene.dubovoy@gmail.com',
url = ... |
2d6fa86db28f79c7a576b56279c6a38cf3804eaf | setup.py | setup.py | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-nexmo',
version='1.0.1',
packages=['nexmo'],
in... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-nexmo',
version='1.0.1',
packages=['nexmo'],
in... | Add libnexmo as a dependency | Add libnexmo as a dependency
| Python | mit | thibault/django-nexmo | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-nexmo',
version='1.0.1',
packages=['nexmo'],
in... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-nexmo',
version='1.0.1',
packages=['nexmo'],
in... | <commit_before>import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-nexmo',
version='1.0.1',
packages=['... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-nexmo',
version='1.0.1',
packages=['nexmo'],
in... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-nexmo',
version='1.0.1',
packages=['nexmo'],
in... | <commit_before>import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-nexmo',
version='1.0.1',
packages=['... |
9a646ec922a83cd971a85e6effbfcac1f77d534d | setup.py | setup.py | from setuptools import setup
setup(
name='tablo',
description='A PostGIS table to feature service app for Django',
keywords='feature service, map server, postgis, django',
version='1.1.1',
packages=['tablo', 'tablo.migrations', 'tablo.interfaces', 'tablo.interfaces.arcgis'],
install_requires=[
... | from setuptools import setup
setup(
name='tablo',
description='A PostGIS table to feature service app for Django',
keywords='feature service, map server, postgis, django',
version='1.1.2',
packages=['tablo', 'tablo.migrations', 'tablo.interfaces', 'tablo.interfaces.arcgis'],
install_requires=[
... | Fix Django version and increment tablo version | Fix Django version and increment tablo version | Python | bsd-3-clause | consbio/tablo | from setuptools import setup
setup(
name='tablo',
description='A PostGIS table to feature service app for Django',
keywords='feature service, map server, postgis, django',
version='1.1.1',
packages=['tablo', 'tablo.migrations', 'tablo.interfaces', 'tablo.interfaces.arcgis'],
install_requires=[
... | from setuptools import setup
setup(
name='tablo',
description='A PostGIS table to feature service app for Django',
keywords='feature service, map server, postgis, django',
version='1.1.2',
packages=['tablo', 'tablo.migrations', 'tablo.interfaces', 'tablo.interfaces.arcgis'],
install_requires=[
... | <commit_before>from setuptools import setup
setup(
name='tablo',
description='A PostGIS table to feature service app for Django',
keywords='feature service, map server, postgis, django',
version='1.1.1',
packages=['tablo', 'tablo.migrations', 'tablo.interfaces', 'tablo.interfaces.arcgis'],
inst... | from setuptools import setup
setup(
name='tablo',
description='A PostGIS table to feature service app for Django',
keywords='feature service, map server, postgis, django',
version='1.1.2',
packages=['tablo', 'tablo.migrations', 'tablo.interfaces', 'tablo.interfaces.arcgis'],
install_requires=[
... | from setuptools import setup
setup(
name='tablo',
description='A PostGIS table to feature service app for Django',
keywords='feature service, map server, postgis, django',
version='1.1.1',
packages=['tablo', 'tablo.migrations', 'tablo.interfaces', 'tablo.interfaces.arcgis'],
install_requires=[
... | <commit_before>from setuptools import setup
setup(
name='tablo',
description='A PostGIS table to feature service app for Django',
keywords='feature service, map server, postgis, django',
version='1.1.1',
packages=['tablo', 'tablo.migrations', 'tablo.interfaces', 'tablo.interfaces.arcgis'],
inst... |
7d3d54c18922af6203b4df7028ec6682ed5f8184 | setup.py | setup.py | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.20.0_dev",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "... | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.20.dev",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "sc... | Change version convention to conform to PEP428 | Change version convention to conform to PEP428
| Python | mit | ProgramFan/bentoo | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.20.0_dev",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "... | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.20.dev",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "sc... | <commit_before>#!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.20.0_dev",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-c... | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.20.dev",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "sc... | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.20.0_dev",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "... | <commit_before>#!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.20.0_dev",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-c... |
b6c1cfb0b0698392333107ede4ad9d437aa5623a | setup.py | setup.py | import os
from setuptools import setup
def read(fname1, fname2):
if os.path.exists(fname1):
fname = fname1
else:
fname = fname2
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "django-pubsubpull",
version = "0.0.0.16",
author = "Kirit Saelensmin... | import os
from setuptools import setup
import sys
def read(fname1, fname2):
if os.path.exists(fname1):
fname = fname1
else:
fname = fname2
return open(os.path.join(os.path.dirname(__file__), fname)).read()
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(
nam... | Use 2to3 when installing on Python 3. | Use 2to3 when installing on Python 3.
| Python | mit | KayEss/django-pubsubpull,KayEss/django-pubsubpull,KayEss/django-pubsubpull | import os
from setuptools import setup
def read(fname1, fname2):
if os.path.exists(fname1):
fname = fname1
else:
fname = fname2
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "django-pubsubpull",
version = "0.0.0.16",
author = "Kirit Saelensmin... | import os
from setuptools import setup
import sys
def read(fname1, fname2):
if os.path.exists(fname1):
fname = fname1
else:
fname = fname2
return open(os.path.join(os.path.dirname(__file__), fname)).read()
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(
nam... | <commit_before>import os
from setuptools import setup
def read(fname1, fname2):
if os.path.exists(fname1):
fname = fname1
else:
fname = fname2
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "django-pubsubpull",
version = "0.0.0.16",
author = "K... | import os
from setuptools import setup
import sys
def read(fname1, fname2):
if os.path.exists(fname1):
fname = fname1
else:
fname = fname2
return open(os.path.join(os.path.dirname(__file__), fname)).read()
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(
nam... | import os
from setuptools import setup
def read(fname1, fname2):
if os.path.exists(fname1):
fname = fname1
else:
fname = fname2
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "django-pubsubpull",
version = "0.0.0.16",
author = "Kirit Saelensmin... | <commit_before>import os
from setuptools import setup
def read(fname1, fname2):
if os.path.exists(fname1):
fname = fname1
else:
fname = fname2
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "django-pubsubpull",
version = "0.0.0.16",
author = "K... |
1eb1a79eef5e0b68ed42dfa8b192303f7153e963 | setup.py | setup.py | from setuptools import setup, find_packages
import sys, os
version = '0.20'
setup(name='velruse',
version=version,
description="Simplifying third-party authentication for web applications.",
long_description="""\
""",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=lis... | from setuptools import setup, find_packages
import sys, os
version = '0.20'
setup(name='velruse',
version=version,
description="Simplifying third-party authentication for web applications.",
long_description="""\
""",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=lis... | Remove some requirements that aren't really needed (store-specific) and add beaker and routes that are required | Remove some requirements that aren't really needed (store-specific) and add beaker and routes that are required
| Python | mit | miedzinski/velruse,bbangert/velruse,ImaginationForPeople/velruse,miedzinski/velruse,bbangert/velruse,ImaginationForPeople/velruse | from setuptools import setup, find_packages
import sys, os
version = '0.20'
setup(name='velruse',
version=version,
description="Simplifying third-party authentication for web applications.",
long_description="""\
""",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=lis... | from setuptools import setup, find_packages
import sys, os
version = '0.20'
setup(name='velruse',
version=version,
description="Simplifying third-party authentication for web applications.",
long_description="""\
""",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=lis... | <commit_before>from setuptools import setup, find_packages
import sys, os
version = '0.20'
setup(name='velruse',
version=version,
description="Simplifying third-party authentication for web applications.",
long_description="""\
""",
classifiers=[], # Get strings from http://pypi.python.org/pyp... | from setuptools import setup, find_packages
import sys, os
version = '0.20'
setup(name='velruse',
version=version,
description="Simplifying third-party authentication for web applications.",
long_description="""\
""",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=lis... | from setuptools import setup, find_packages
import sys, os
version = '0.20'
setup(name='velruse',
version=version,
description="Simplifying third-party authentication for web applications.",
long_description="""\
""",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=lis... | <commit_before>from setuptools import setup, find_packages
import sys, os
version = '0.20'
setup(name='velruse',
version=version,
description="Simplifying third-party authentication for web applications.",
long_description="""\
""",
classifiers=[], # Get strings from http://pypi.python.org/pyp... |
40f691802a13e3d196ea3b4d2ae83f331117f577 | setup.py | setup.py | #!/usr/bin/env python2
from setuptools import setup
from wok import version
setup(
name='wok',
version=version.encode("utf8"),
author='Mike Cooper',
author_email='mythmon@gmail.com',
url='http://wok.mythmon.com',
description='Static site generator',
long_description=
"Wok is a sta... | #!/usr/bin/env python2
from setuptools import setup
from wok import version
setup(
name='wok',
version=version.encode("utf8"),
author='Mike Cooper',
author_email='mythmon@gmail.com',
url='http://wok.mythmon.com',
description='Static site generator',
long_description=
"Wok is a sta... | Allow newer version of docutils (==0.8.1 changed to >=0.8.1, current version is 0.13.1) | Allow newer version of docutils (==0.8.1 changed to >=0.8.1, current version is 0.13.1)
| Python | mit | mythmon/wok,mythmon/wok,mythmon/wok | #!/usr/bin/env python2
from setuptools import setup
from wok import version
setup(
name='wok',
version=version.encode("utf8"),
author='Mike Cooper',
author_email='mythmon@gmail.com',
url='http://wok.mythmon.com',
description='Static site generator',
long_description=
"Wok is a sta... | #!/usr/bin/env python2
from setuptools import setup
from wok import version
setup(
name='wok',
version=version.encode("utf8"),
author='Mike Cooper',
author_email='mythmon@gmail.com',
url='http://wok.mythmon.com',
description='Static site generator',
long_description=
"Wok is a sta... | <commit_before>#!/usr/bin/env python2
from setuptools import setup
from wok import version
setup(
name='wok',
version=version.encode("utf8"),
author='Mike Cooper',
author_email='mythmon@gmail.com',
url='http://wok.mythmon.com',
description='Static site generator',
long_description=
... | #!/usr/bin/env python2
from setuptools import setup
from wok import version
setup(
name='wok',
version=version.encode("utf8"),
author='Mike Cooper',
author_email='mythmon@gmail.com',
url='http://wok.mythmon.com',
description='Static site generator',
long_description=
"Wok is a sta... | #!/usr/bin/env python2
from setuptools import setup
from wok import version
setup(
name='wok',
version=version.encode("utf8"),
author='Mike Cooper',
author_email='mythmon@gmail.com',
url='http://wok.mythmon.com',
description='Static site generator',
long_description=
"Wok is a sta... | <commit_before>#!/usr/bin/env python2
from setuptools import setup
from wok import version
setup(
name='wok',
version=version.encode("utf8"),
author='Mike Cooper',
author_email='mythmon@gmail.com',
url='http://wok.mythmon.com',
description='Static site generator',
long_description=
... |
643e4c32a378b6702c64e8241fb2ff136892b2cb | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
from setuptools import setup
if "publish" in sys.argv[-1]:
os.system("python setup.py sdist upload -r pypi")
sys.exit()
elif "testpublish" in sys.argv[-1]:
os.system("python setup.py sdist upload -r pypitest")
sys.exit()
# Load the __version__ variable withou... | #!/usr/bin/env python
import os
import sys
from setuptools import setup
if "publish" in sys.argv[-1]:
os.system("python setup.py sdist upload -r pypi")
sys.exit()
elif "testpublish" in sys.argv[-1]:
os.system("python setup.py sdist upload -r pypitest")
sys.exit()
# Load the __version__ variable withou... | Add requests to the requirements | Add requests to the requirements
| Python | mit | barentsen/k2mosaic | #!/usr/bin/env python
import os
import sys
from setuptools import setup
if "publish" in sys.argv[-1]:
os.system("python setup.py sdist upload -r pypi")
sys.exit()
elif "testpublish" in sys.argv[-1]:
os.system("python setup.py sdist upload -r pypitest")
sys.exit()
# Load the __version__ variable withou... | #!/usr/bin/env python
import os
import sys
from setuptools import setup
if "publish" in sys.argv[-1]:
os.system("python setup.py sdist upload -r pypi")
sys.exit()
elif "testpublish" in sys.argv[-1]:
os.system("python setup.py sdist upload -r pypitest")
sys.exit()
# Load the __version__ variable withou... | <commit_before>#!/usr/bin/env python
import os
import sys
from setuptools import setup
if "publish" in sys.argv[-1]:
os.system("python setup.py sdist upload -r pypi")
sys.exit()
elif "testpublish" in sys.argv[-1]:
os.system("python setup.py sdist upload -r pypitest")
sys.exit()
# Load the __version__ ... | #!/usr/bin/env python
import os
import sys
from setuptools import setup
if "publish" in sys.argv[-1]:
os.system("python setup.py sdist upload -r pypi")
sys.exit()
elif "testpublish" in sys.argv[-1]:
os.system("python setup.py sdist upload -r pypitest")
sys.exit()
# Load the __version__ variable withou... | #!/usr/bin/env python
import os
import sys
from setuptools import setup
if "publish" in sys.argv[-1]:
os.system("python setup.py sdist upload -r pypi")
sys.exit()
elif "testpublish" in sys.argv[-1]:
os.system("python setup.py sdist upload -r pypitest")
sys.exit()
# Load the __version__ variable withou... | <commit_before>#!/usr/bin/env python
import os
import sys
from setuptools import setup
if "publish" in sys.argv[-1]:
os.system("python setup.py sdist upload -r pypi")
sys.exit()
elif "testpublish" in sys.argv[-1]:
os.system("python setup.py sdist upload -r pypitest")
sys.exit()
# Load the __version__ ... |
9d499871ff94fc61b5022a0f3982c0337aa88878 | setup.py | setup.py | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
if sys.version_info[0] == 2:
requires = ['python-dateutil>=1.0, <2.0, >=2.1']
else:
# Py3k
requires = ['python-dateutil>=2.0']
setup(
name='freezegun',
version='0.1.10',
description='Let your Python tests travel thro... | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
if sys.version_info[0] == 2:
requires = ['python-dateutil>=1.0, <2.0, >=2.1']
else:
# Py3k
requires = ['python-dateutil>=2.0']
setup(
name='freezegun',
version='0.1.10',
description='Let your Python tests travel thro... | Exclude tests instead of option in prev commit | Exclude tests instead of option in prev commit
| Python | apache-2.0 | Affirm/freezegun,Sun77789/freezegun,spulec/freezegun,adamchainz/freezegun | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
if sys.version_info[0] == 2:
requires = ['python-dateutil>=1.0, <2.0, >=2.1']
else:
# Py3k
requires = ['python-dateutil>=2.0']
setup(
name='freezegun',
version='0.1.10',
description='Let your Python tests travel thro... | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
if sys.version_info[0] == 2:
requires = ['python-dateutil>=1.0, <2.0, >=2.1']
else:
# Py3k
requires = ['python-dateutil>=2.0']
setup(
name='freezegun',
version='0.1.10',
description='Let your Python tests travel thro... | <commit_before>#!/usr/bin/env python
import sys
from setuptools import setup, find_packages
if sys.version_info[0] == 2:
requires = ['python-dateutil>=1.0, <2.0, >=2.1']
else:
# Py3k
requires = ['python-dateutil>=2.0']
setup(
name='freezegun',
version='0.1.10',
description='Let your Python te... | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
if sys.version_info[0] == 2:
requires = ['python-dateutil>=1.0, <2.0, >=2.1']
else:
# Py3k
requires = ['python-dateutil>=2.0']
setup(
name='freezegun',
version='0.1.10',
description='Let your Python tests travel thro... | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
if sys.version_info[0] == 2:
requires = ['python-dateutil>=1.0, <2.0, >=2.1']
else:
# Py3k
requires = ['python-dateutil>=2.0']
setup(
name='freezegun',
version='0.1.10',
description='Let your Python tests travel thro... | <commit_before>#!/usr/bin/env python
import sys
from setuptools import setup, find_packages
if sys.version_info[0] == 2:
requires = ['python-dateutil>=1.0, <2.0, >=2.1']
else:
# Py3k
requires = ['python-dateutil>=2.0']
setup(
name='freezegun',
version='0.1.10',
description='Let your Python te... |
9dcee6c55a82d816843d42fcc9785f64ed9d29a2 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="lightmatchingengine",
url="https://github.com/gavincyi/LightMatchingEngine",
license='MIT',
author="Gavin Chan",
author_email="gavincyi@gmail.com",
description="A light matching engine",
packages=find_packages(exclude=('tests',)),
... | from setuptools import setup, find_packages
setup(
name="lightmatchingengine",
url="https://github.com/gavincyi/LightMatchingEngine",
license='MIT',
author="Gavin Chan",
author_email="gavincyi@gmail.com",
description="A light matching engine",
packages=find_packages(exclude=('tests',)),
... | Add tqdm into performance requires | Add tqdm into performance requires
| Python | mit | gavincyi/LightMatchingEngine | from setuptools import setup, find_packages
setup(
name="lightmatchingengine",
url="https://github.com/gavincyi/LightMatchingEngine",
license='MIT',
author="Gavin Chan",
author_email="gavincyi@gmail.com",
description="A light matching engine",
packages=find_packages(exclude=('tests',)),
... | from setuptools import setup, find_packages
setup(
name="lightmatchingengine",
url="https://github.com/gavincyi/LightMatchingEngine",
license='MIT',
author="Gavin Chan",
author_email="gavincyi@gmail.com",
description="A light matching engine",
packages=find_packages(exclude=('tests',)),
... | <commit_before>from setuptools import setup, find_packages
setup(
name="lightmatchingengine",
url="https://github.com/gavincyi/LightMatchingEngine",
license='MIT',
author="Gavin Chan",
author_email="gavincyi@gmail.com",
description="A light matching engine",
packages=find_packages(exclud... | from setuptools import setup, find_packages
setup(
name="lightmatchingengine",
url="https://github.com/gavincyi/LightMatchingEngine",
license='MIT',
author="Gavin Chan",
author_email="gavincyi@gmail.com",
description="A light matching engine",
packages=find_packages(exclude=('tests',)),
... | from setuptools import setup, find_packages
setup(
name="lightmatchingengine",
url="https://github.com/gavincyi/LightMatchingEngine",
license='MIT',
author="Gavin Chan",
author_email="gavincyi@gmail.com",
description="A light matching engine",
packages=find_packages(exclude=('tests',)),
... | <commit_before>from setuptools import setup, find_packages
setup(
name="lightmatchingengine",
url="https://github.com/gavincyi/LightMatchingEngine",
license='MIT',
author="Gavin Chan",
author_email="gavincyi@gmail.com",
description="A light matching engine",
packages=find_packages(exclud... |
731dc9338e600f2c37a3945c103930bfdc699cf0 | setup.py | setup.py | import setuptools
from simplemonitor.version import VERSION
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="simplemonitor",
version=VERSION,
author="James Seward",
author_email="james@jamesoff.net",
description="A simple network and host monitor",
l... | import setuptools
from simplemonitor.version import VERSION
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="simplemonitor",
version=VERSION,
author="James Seward",
author_email="james@jamesoff.net",
description="A simple network and host monitor",
l... | Fix winmonitor script wrapper specification | Fix winmonitor script wrapper specification
| Python | bsd-3-clause | jamesoff/simplemonitor,jamesoff/simplemonitor,jamesoff/simplemonitor,jamesoff/simplemonitor,jamesoff/simplemonitor | import setuptools
from simplemonitor.version import VERSION
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="simplemonitor",
version=VERSION,
author="James Seward",
author_email="james@jamesoff.net",
description="A simple network and host monitor",
l... | import setuptools
from simplemonitor.version import VERSION
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="simplemonitor",
version=VERSION,
author="James Seward",
author_email="james@jamesoff.net",
description="A simple network and host monitor",
l... | <commit_before>import setuptools
from simplemonitor.version import VERSION
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="simplemonitor",
version=VERSION,
author="James Seward",
author_email="james@jamesoff.net",
description="A simple network and host ... | import setuptools
from simplemonitor.version import VERSION
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="simplemonitor",
version=VERSION,
author="James Seward",
author_email="james@jamesoff.net",
description="A simple network and host monitor",
l... | import setuptools
from simplemonitor.version import VERSION
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="simplemonitor",
version=VERSION,
author="James Seward",
author_email="james@jamesoff.net",
description="A simple network and host monitor",
l... | <commit_before>import setuptools
from simplemonitor.version import VERSION
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="simplemonitor",
version=VERSION,
author="James Seward",
author_email="james@jamesoff.net",
description="A simple network and host ... |
660f1f9265fd00f6ec8db16190293ed0b88481b8 | setup.py | setup.py | from setuptools import setup
setup(name='emopy',
version='0.1',
description='Emotion Recognition Package for Python',
url='http://github.com/selameab/emopy',
author='Selameab',
author_email='email@selameab.com',
license='',
package_data={'emopy': ['models/*.h5', 'models/*.json... | from setuptools import setup
setup(name='emopy',
version='0.1',
description='Emotion Recognition Package for Python',
url='http://github.com/selameab/emopy',
author='Selameab',
author_email='email@selameab.com',
license='',
package_data={'emopy': ['models/*.h5', 'models/*.json... | Add h5py as a dependency | Add h5py as a dependency
| Python | mit | Selameab/emopy | from setuptools import setup
setup(name='emopy',
version='0.1',
description='Emotion Recognition Package for Python',
url='http://github.com/selameab/emopy',
author='Selameab',
author_email='email@selameab.com',
license='',
package_data={'emopy': ['models/*.h5', 'models/*.json... | from setuptools import setup
setup(name='emopy',
version='0.1',
description='Emotion Recognition Package for Python',
url='http://github.com/selameab/emopy',
author='Selameab',
author_email='email@selameab.com',
license='',
package_data={'emopy': ['models/*.h5', 'models/*.json... | <commit_before>from setuptools import setup
setup(name='emopy',
version='0.1',
description='Emotion Recognition Package for Python',
url='http://github.com/selameab/emopy',
author='Selameab',
author_email='email@selameab.com',
license='',
package_data={'emopy': ['models/*.h5',... | from setuptools import setup
setup(name='emopy',
version='0.1',
description='Emotion Recognition Package for Python',
url='http://github.com/selameab/emopy',
author='Selameab',
author_email='email@selameab.com',
license='',
package_data={'emopy': ['models/*.h5', 'models/*.json... | from setuptools import setup
setup(name='emopy',
version='0.1',
description='Emotion Recognition Package for Python',
url='http://github.com/selameab/emopy',
author='Selameab',
author_email='email@selameab.com',
license='',
package_data={'emopy': ['models/*.h5', 'models/*.json... | <commit_before>from setuptools import setup
setup(name='emopy',
version='0.1',
description='Emotion Recognition Package for Python',
url='http://github.com/selameab/emopy',
author='Selameab',
author_email='email@selameab.com',
license='',
package_data={'emopy': ['models/*.h5',... |
49898caae2c1209de839bc8d1361c93eed3e8dac | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
from setuptools import setup # type: ignore
VERSION = '4.2.2'
setup(
name='conllu',
packages=["conllu"],
package_data={
"": ["py.typed"]
},
version=VERSION,
description='CoNLL-U Parser parses a CoNLL-U formatted string into a nested python dictionary... | # -*- coding: utf-8 -*-
import os
from setuptools import setup # type: ignore
VERSION = '4.2.2'
setup(
name='conllu',
packages=["conllu"],
package_data={
"": ["py.typed"]
},
version=VERSION,
description='CoNLL-U Parser parses a CoNLL-U formatted string into a nested python dictionary... | Update to new e-mail adress. | Update to new e-mail adress.
| Python | mit | EmilStenstrom/conllu | # -*- coding: utf-8 -*-
import os
from setuptools import setup # type: ignore
VERSION = '4.2.2'
setup(
name='conllu',
packages=["conllu"],
package_data={
"": ["py.typed"]
},
version=VERSION,
description='CoNLL-U Parser parses a CoNLL-U formatted string into a nested python dictionary... | # -*- coding: utf-8 -*-
import os
from setuptools import setup # type: ignore
VERSION = '4.2.2'
setup(
name='conllu',
packages=["conllu"],
package_data={
"": ["py.typed"]
},
version=VERSION,
description='CoNLL-U Parser parses a CoNLL-U formatted string into a nested python dictionary... | <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup # type: ignore
VERSION = '4.2.2'
setup(
name='conllu',
packages=["conllu"],
package_data={
"": ["py.typed"]
},
version=VERSION,
description='CoNLL-U Parser parses a CoNLL-U formatted string into a nested py... | # -*- coding: utf-8 -*-
import os
from setuptools import setup # type: ignore
VERSION = '4.2.2'
setup(
name='conllu',
packages=["conllu"],
package_data={
"": ["py.typed"]
},
version=VERSION,
description='CoNLL-U Parser parses a CoNLL-U formatted string into a nested python dictionary... | # -*- coding: utf-8 -*-
import os
from setuptools import setup # type: ignore
VERSION = '4.2.2'
setup(
name='conllu',
packages=["conllu"],
package_data={
"": ["py.typed"]
},
version=VERSION,
description='CoNLL-U Parser parses a CoNLL-U formatted string into a nested python dictionary... | <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup # type: ignore
VERSION = '4.2.2'
setup(
name='conllu',
packages=["conllu"],
package_data={
"": ["py.typed"]
},
version=VERSION,
description='CoNLL-U Parser parses a CoNLL-U formatted string into a nested py... |
e8991855ac757bc52c1f72c3861c7790bbb68aba | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='symsynd',
version='0.1',
url='http://github.com/getsentry/symsynd',
description='Helps symbolicating crash dumps.',
license='BSD',
author='Sentry',
author_email='hello@getsentry.com',
packages=find_packages(),
cffi_modules=['... | import os
from setuptools import setup, find_packages
# Build with clang if not otherwise specified.
os.environ.setdefault('CC', 'clang')
setup(
name='symsynd',
version='0.1',
url='http://github.com/getsentry/symsynd',
description='Helps symbolicating crash dumps.',
license='BSD',
author='Se... | Build with clang by default | Build with clang by default
| Python | bsd-3-clause | getsentry/symsynd,getsentry/symsynd,getsentry/symsynd,getsentry/symsynd,getsentry/symsynd | from setuptools import setup, find_packages
setup(
name='symsynd',
version='0.1',
url='http://github.com/getsentry/symsynd',
description='Helps symbolicating crash dumps.',
license='BSD',
author='Sentry',
author_email='hello@getsentry.com',
packages=find_packages(),
cffi_modules=['... | import os
from setuptools import setup, find_packages
# Build with clang if not otherwise specified.
os.environ.setdefault('CC', 'clang')
setup(
name='symsynd',
version='0.1',
url='http://github.com/getsentry/symsynd',
description='Helps symbolicating crash dumps.',
license='BSD',
author='Se... | <commit_before>from setuptools import setup, find_packages
setup(
name='symsynd',
version='0.1',
url='http://github.com/getsentry/symsynd',
description='Helps symbolicating crash dumps.',
license='BSD',
author='Sentry',
author_email='hello@getsentry.com',
packages=find_packages(),
... | import os
from setuptools import setup, find_packages
# Build with clang if not otherwise specified.
os.environ.setdefault('CC', 'clang')
setup(
name='symsynd',
version='0.1',
url='http://github.com/getsentry/symsynd',
description='Helps symbolicating crash dumps.',
license='BSD',
author='Se... | from setuptools import setup, find_packages
setup(
name='symsynd',
version='0.1',
url='http://github.com/getsentry/symsynd',
description='Helps symbolicating crash dumps.',
license='BSD',
author='Sentry',
author_email='hello@getsentry.com',
packages=find_packages(),
cffi_modules=['... | <commit_before>from setuptools import setup, find_packages
setup(
name='symsynd',
version='0.1',
url='http://github.com/getsentry/symsynd',
description='Helps symbolicating crash dumps.',
license='BSD',
author='Sentry',
author_email='hello@getsentry.com',
packages=find_packages(),
... |
a0d358d1c4d8b3edfde96b6e413e62c450dcc200 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import find_packages, Command
setup_params = dict(
name='bugimporters',
version=0.1,
author='Various contributers to the OpenHatch project, Berry Phillips',
author_email='all@openhatch.org, berryphillips@gmail.com',
packages=find_packages(),
description='B... | #!/usr/bin/env python
from setuptools import find_packages, Command
setup_params = dict(
name='bugimporters',
version=0.1,
author='Various contributers to the OpenHatch project, Berry Phillips',
author_email='all@openhatch.org, berryphillips@gmail.com',
packages=find_packages(),
description='B... | Add dependency on little scrapy autoresponse tool | Add dependency on little scrapy autoresponse tool
| Python | agpl-3.0 | openhatch/oh-bugimporters,openhatch/oh-bugimporters,openhatch/oh-bugimporters | #!/usr/bin/env python
from setuptools import find_packages, Command
setup_params = dict(
name='bugimporters',
version=0.1,
author='Various contributers to the OpenHatch project, Berry Phillips',
author_email='all@openhatch.org, berryphillips@gmail.com',
packages=find_packages(),
description='B... | #!/usr/bin/env python
from setuptools import find_packages, Command
setup_params = dict(
name='bugimporters',
version=0.1,
author='Various contributers to the OpenHatch project, Berry Phillips',
author_email='all@openhatch.org, berryphillips@gmail.com',
packages=find_packages(),
description='B... | <commit_before>#!/usr/bin/env python
from setuptools import find_packages, Command
setup_params = dict(
name='bugimporters',
version=0.1,
author='Various contributers to the OpenHatch project, Berry Phillips',
author_email='all@openhatch.org, berryphillips@gmail.com',
packages=find_packages(),
... | #!/usr/bin/env python
from setuptools import find_packages, Command
setup_params = dict(
name='bugimporters',
version=0.1,
author='Various contributers to the OpenHatch project, Berry Phillips',
author_email='all@openhatch.org, berryphillips@gmail.com',
packages=find_packages(),
description='B... | #!/usr/bin/env python
from setuptools import find_packages, Command
setup_params = dict(
name='bugimporters',
version=0.1,
author='Various contributers to the OpenHatch project, Berry Phillips',
author_email='all@openhatch.org, berryphillips@gmail.com',
packages=find_packages(),
description='B... | <commit_before>#!/usr/bin/env python
from setuptools import find_packages, Command
setup_params = dict(
name='bugimporters',
version=0.1,
author='Various contributers to the OpenHatch project, Berry Phillips',
author_email='all@openhatch.org, berryphillips@gmail.com',
packages=find_packages(),
... |
8bacc59bce6ed09c1aa9afa83572e607cf7083c9 | setup.py | setup.py | from setuptools import find_packages
from setuptools import setup
setup(
name='Schema',
version='0.0.1',
url='https://github.com/xethorn/schema',
author='Michael Ortali',
author_email='hello@xethorn.net',
description=(
'Standardized way to perform CRUD operations with Field validation'... | from setuptools import find_packages
from setuptools import setup
setup(
name='Schema',
version='0.0.1a1',
url='https://github.com/xethorn/schema',
author='Michael Ortali',
author_email='hello@xethorn.net',
description=(
'Standardized way to perform CRUD operations with Field validatio... | Boost the version to 0.0.1a1 | Boost the version to 0.0.1a1
| Python | mit | xethorn/sukimu | from setuptools import find_packages
from setuptools import setup
setup(
name='Schema',
version='0.0.1',
url='https://github.com/xethorn/schema',
author='Michael Ortali',
author_email='hello@xethorn.net',
description=(
'Standardized way to perform CRUD operations with Field validation'... | from setuptools import find_packages
from setuptools import setup
setup(
name='Schema',
version='0.0.1a1',
url='https://github.com/xethorn/schema',
author='Michael Ortali',
author_email='hello@xethorn.net',
description=(
'Standardized way to perform CRUD operations with Field validatio... | <commit_before>from setuptools import find_packages
from setuptools import setup
setup(
name='Schema',
version='0.0.1',
url='https://github.com/xethorn/schema',
author='Michael Ortali',
author_email='hello@xethorn.net',
description=(
'Standardized way to perform CRUD operations with Fi... | from setuptools import find_packages
from setuptools import setup
setup(
name='Schema',
version='0.0.1a1',
url='https://github.com/xethorn/schema',
author='Michael Ortali',
author_email='hello@xethorn.net',
description=(
'Standardized way to perform CRUD operations with Field validatio... | from setuptools import find_packages
from setuptools import setup
setup(
name='Schema',
version='0.0.1',
url='https://github.com/xethorn/schema',
author='Michael Ortali',
author_email='hello@xethorn.net',
description=(
'Standardized way to perform CRUD operations with Field validation'... | <commit_before>from setuptools import find_packages
from setuptools import setup
setup(
name='Schema',
version='0.0.1',
url='https://github.com/xethorn/schema',
author='Michael Ortali',
author_email='hello@xethorn.net',
description=(
'Standardized way to perform CRUD operations with Fi... |
10f6841a55b58392ece996da6a837c72027a3fa9 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
try:
with open('VERSION.txt', 'r') as v:
version = v.read().strip()
except FileNotFoundError:
version = '0.0.0.dev0'
with open('DESCRIPTION', 'r') as d:
long_description = d.read()
setup(
name='tukio',
description='An even... | #!/usr/bin/env python
from setuptools import setup, find_packages
try:
with open('VERSION.txt', 'r') as v:
version = v.read().strip()
except FileNotFoundError:
version = '0.0.0.dev0'
with open('DESCRIPTION', 'r') as d:
long_description = d.read()
setup(
name='tukio',
description='An even... | Add back 3.5, 3.6 classifiers | Add back 3.5, 3.6 classifiers
| Python | apache-2.0 | optiflows/tukio,optiflows/tukio | #!/usr/bin/env python
from setuptools import setup, find_packages
try:
with open('VERSION.txt', 'r') as v:
version = v.read().strip()
except FileNotFoundError:
version = '0.0.0.dev0'
with open('DESCRIPTION', 'r') as d:
long_description = d.read()
setup(
name='tukio',
description='An even... | #!/usr/bin/env python
from setuptools import setup, find_packages
try:
with open('VERSION.txt', 'r') as v:
version = v.read().strip()
except FileNotFoundError:
version = '0.0.0.dev0'
with open('DESCRIPTION', 'r') as d:
long_description = d.read()
setup(
name='tukio',
description='An even... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
try:
with open('VERSION.txt', 'r') as v:
version = v.read().strip()
except FileNotFoundError:
version = '0.0.0.dev0'
with open('DESCRIPTION', 'r') as d:
long_description = d.read()
setup(
name='tukio',
descr... | #!/usr/bin/env python
from setuptools import setup, find_packages
try:
with open('VERSION.txt', 'r') as v:
version = v.read().strip()
except FileNotFoundError:
version = '0.0.0.dev0'
with open('DESCRIPTION', 'r') as d:
long_description = d.read()
setup(
name='tukio',
description='An even... | #!/usr/bin/env python
from setuptools import setup, find_packages
try:
with open('VERSION.txt', 'r') as v:
version = v.read().strip()
except FileNotFoundError:
version = '0.0.0.dev0'
with open('DESCRIPTION', 'r') as d:
long_description = d.read()
setup(
name='tukio',
description='An even... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
try:
with open('VERSION.txt', 'r') as v:
version = v.read().strip()
except FileNotFoundError:
version = '0.0.0.dev0'
with open('DESCRIPTION', 'r') as d:
long_description = d.read()
setup(
name='tukio',
descr... |
7b0f1a2a3ec22bb6a4142efb6112f90f89c297b8 | setup.py | setup.py | from setuptools import setup, find_packages
setup(name='rnaseq-lib',
version='1.0a27',
description='Library of convenience functions related to current research',
url='http://github.com/jvivian/rnaseq-lib',
author='John Vivian',
author_email='jtvivian@gmail.com',
license='MIT',
... | from setuptools import setup, find_packages
setup(name='rnaseq-lib',
version='1.0a27',
description='Library of convenience functions related to current research',
url='http://github.com/jvivian/rnaseq-lib',
author='John Vivian',
author_email='jtvivian@gmail.com',
license='MIT',
... | Add annoy dependency for Trimap | Add annoy dependency for Trimap
| Python | mit | jvivian/rnaseq-lib,jvivian/rnaseq-lib | from setuptools import setup, find_packages
setup(name='rnaseq-lib',
version='1.0a27',
description='Library of convenience functions related to current research',
url='http://github.com/jvivian/rnaseq-lib',
author='John Vivian',
author_email='jtvivian@gmail.com',
license='MIT',
... | from setuptools import setup, find_packages
setup(name='rnaseq-lib',
version='1.0a27',
description='Library of convenience functions related to current research',
url='http://github.com/jvivian/rnaseq-lib',
author='John Vivian',
author_email='jtvivian@gmail.com',
license='MIT',
... | <commit_before>from setuptools import setup, find_packages
setup(name='rnaseq-lib',
version='1.0a27',
description='Library of convenience functions related to current research',
url='http://github.com/jvivian/rnaseq-lib',
author='John Vivian',
author_email='jtvivian@gmail.com',
lice... | from setuptools import setup, find_packages
setup(name='rnaseq-lib',
version='1.0a27',
description='Library of convenience functions related to current research',
url='http://github.com/jvivian/rnaseq-lib',
author='John Vivian',
author_email='jtvivian@gmail.com',
license='MIT',
... | from setuptools import setup, find_packages
setup(name='rnaseq-lib',
version='1.0a27',
description='Library of convenience functions related to current research',
url='http://github.com/jvivian/rnaseq-lib',
author='John Vivian',
author_email='jtvivian@gmail.com',
license='MIT',
... | <commit_before>from setuptools import setup, find_packages
setup(name='rnaseq-lib',
version='1.0a27',
description='Library of convenience functions related to current research',
url='http://github.com/jvivian/rnaseq-lib',
author='John Vivian',
author_email='jtvivian@gmail.com',
lice... |
86c64091bf2b871fe4123cda41a868ef3431ae62 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
except:
README = ''
setup(name='ppagent',
version='0.2.2',
description='A statistics coll... | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
import sys
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
except:
README = ''
requires = []
# add argparse to be installed for earlier versions of p... | Fix compat with 2.7 by only requiring argparse on 2.6 | Fix compat with 2.7 by only requiring argparse on 2.6
| Python | bsd-2-clause | simplecrypto/ppagent,simplecrypto/ppagent | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
except:
README = ''
setup(name='ppagent',
version='0.2.2',
description='A statistics coll... | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
import sys
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
except:
README = ''
requires = []
# add argparse to be installed for earlier versions of p... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
import os
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
except:
README = ''
setup(name='ppagent',
version='0.2.2',
description='A ... | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
import sys
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
except:
README = ''
requires = []
# add argparse to be installed for earlier versions of p... | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
except:
README = ''
setup(name='ppagent',
version='0.2.2',
description='A statistics coll... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
import os
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
except:
README = ''
setup(name='ppagent',
version='0.2.2',
description='A ... |
88fe2dedc9fb69380668ad6b6e9133799dcb0e0c | setup.py | setup.py | import os
import sys
import setuptools
from keystoneclient.openstack.common import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()
tests_require = setup.parse_requirements(['tools/test-r... | import os
import sys
import setuptools
from keystoneclient.openstack.common import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()
tests_require = setup.parse_requirements(['tools/test-r... | Add OpenStack trove classifier for PyPI | Add OpenStack trove classifier for PyPI
Add trove classifier to have the client listed among the
other OpenStack-related projets on PyPI.
Change-Id: I1ddae8d1272a2b1c5e4c666c9aa4e4a274431415
Signed-off-by: Doug Hellmann <8c845c26a3868dadec615703cd974244eb2ac6d1@dreamhost.com>
| Python | apache-2.0 | darren-wang/ksc,citrix-openstack-build/python-keystoneclient,metacloud/python-keystoneclient,ntt-sic/python-keystoneclient,citrix-openstack-build/python-keystoneclient,klmitch/python-keystoneclient,metacloud/python-keystoneclient,jamielennox/python-keystoneclient,alexpilotti/python-keystoneclient,magic0704/python-keyst... | import os
import sys
import setuptools
from keystoneclient.openstack.common import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()
tests_require = setup.parse_requirements(['tools/test-r... | import os
import sys
import setuptools
from keystoneclient.openstack.common import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()
tests_require = setup.parse_requirements(['tools/test-r... | <commit_before>import os
import sys
import setuptools
from keystoneclient.openstack.common import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()
tests_require = setup.parse_requirements... | import os
import sys
import setuptools
from keystoneclient.openstack.common import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()
tests_require = setup.parse_requirements(['tools/test-r... | import os
import sys
import setuptools
from keystoneclient.openstack.common import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()
tests_require = setup.parse_requirements(['tools/test-r... | <commit_before>import os
import sys
import setuptools
from keystoneclient.openstack.common import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()
tests_require = setup.parse_requirements... |
97cf30e3f05b2ede7f166ea69bd75ca3fbe40e43 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
def readreq(filename):
result = []
with open(filename) as f:
for req in f:
req = req.partition('#')[0].strip()
if not req:
continue
result.append(req)
return result
def readfile(filename):
... | #!/usr/bin/env python
from setuptools import setup
def readreq(filename):
result = []
with open(filename) as f:
for req in f:
req = req.partition('#')[0].strip()
if not req:
continue
result.append(req)
return result
def readfile(filename):
... | Add the heyu-notifier command line script. | Add the heyu-notifier command line script.
| Python | apache-2.0 | klmitch/heyu | #!/usr/bin/env python
from setuptools import setup
def readreq(filename):
result = []
with open(filename) as f:
for req in f:
req = req.partition('#')[0].strip()
if not req:
continue
result.append(req)
return result
def readfile(filename):
... | #!/usr/bin/env python
from setuptools import setup
def readreq(filename):
result = []
with open(filename) as f:
for req in f:
req = req.partition('#')[0].strip()
if not req:
continue
result.append(req)
return result
def readfile(filename):
... | <commit_before>#!/usr/bin/env python
from setuptools import setup
def readreq(filename):
result = []
with open(filename) as f:
for req in f:
req = req.partition('#')[0].strip()
if not req:
continue
result.append(req)
return result
def readfile... | #!/usr/bin/env python
from setuptools import setup
def readreq(filename):
result = []
with open(filename) as f:
for req in f:
req = req.partition('#')[0].strip()
if not req:
continue
result.append(req)
return result
def readfile(filename):
... | #!/usr/bin/env python
from setuptools import setup
def readreq(filename):
result = []
with open(filename) as f:
for req in f:
req = req.partition('#')[0].strip()
if not req:
continue
result.append(req)
return result
def readfile(filename):
... | <commit_before>#!/usr/bin/env python
from setuptools import setup
def readreq(filename):
result = []
with open(filename) as f:
for req in f:
req = req.partition('#')[0].strip()
if not req:
continue
result.append(req)
return result
def readfile... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.