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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fc73dfb33f4e19d649672f19a1dc4cf09b229d29 | echo_server.py | echo_server.py | #! /usr/bin/env python
"""Echo server in socket connection: receives and sends back a message."""
import socket
if __name__ == '__main__':
"""Run from terminal, this will recieve a messages and send them back."""
server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM,
... | #! /usr/bin/env python
"""Echo server in socket connection: receives and sends back a message."""
import socket
def response_ok():
"""Return byte string 200 ok response."""
return u"HTTP/1.1 200 OK\nContent-Type: text/plain\nContent-length: 18\n\r\neverything is okay".encode('utf-8')
def reponse_error(error... | Add response_ok and response_error methods which return byte strings. | Add response_ok and response_error methods which return byte strings.
| Python | mit | bm5w/network_tools | #! /usr/bin/env python
"""Echo server in socket connection: receives and sends back a message."""
import socket
if __name__ == '__main__':
"""Run from terminal, this will recieve a messages and send them back."""
server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM,
... | #! /usr/bin/env python
"""Echo server in socket connection: receives and sends back a message."""
import socket
def response_ok():
"""Return byte string 200 ok response."""
return u"HTTP/1.1 200 OK\nContent-Type: text/plain\nContent-length: 18\n\r\neverything is okay".encode('utf-8')
def reponse_error(error... | <commit_before>#! /usr/bin/env python
"""Echo server in socket connection: receives and sends back a message."""
import socket
if __name__ == '__main__':
"""Run from terminal, this will recieve a messages and send them back."""
server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM,
... | #! /usr/bin/env python
"""Echo server in socket connection: receives and sends back a message."""
import socket
def response_ok():
"""Return byte string 200 ok response."""
return u"HTTP/1.1 200 OK\nContent-Type: text/plain\nContent-length: 18\n\r\neverything is okay".encode('utf-8')
def reponse_error(error... | #! /usr/bin/env python
"""Echo server in socket connection: receives and sends back a message."""
import socket
if __name__ == '__main__':
"""Run from terminal, this will recieve a messages and send them back."""
server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM,
... | <commit_before>#! /usr/bin/env python
"""Echo server in socket connection: receives and sends back a message."""
import socket
if __name__ == '__main__':
"""Run from terminal, this will recieve a messages and send them back."""
server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM,
... |
d97144e2b45750c416d3adbf9f49f78bfa8e7e6e | Lib/sandbox/pyem/misc.py | Lib/sandbox/pyem/misc.py | # Last Change: Sat Jun 09 07:00 PM 2007 J
#========================================================
# Constants used throughout the module (def args, etc...)
#========================================================
# This is the default dimension for representing confidence ellipses
DEF_VIS_DIM = [0, 1]
DEF_ELL_NP = ... | # Last Change: Sat Jun 09 08:00 PM 2007 J
#========================================================
# Constants used throughout the module (def args, etc...)
#========================================================
# This is the default dimension for representing confidence ellipses
DEF_VIS_DIM = (0, 1)
DEF_ELL_NP = ... | Set def arguments to immutable to avoid nasty side effect. | Set def arguments to immutable to avoid nasty side effect.
git-svn-id: 003f22d385e25de9cff933a5ea4efd77cb5e7b28@3086 d6536bca-fef9-0310-8506-e4c0a848fbcf
| Python | bsd-3-clause | scipy/scipy-svn,lesserwhirls/scipy-cwt,jasonmccampbell/scipy-refactor,lesserwhirls/scipy-cwt,lesserwhirls/scipy-cwt,scipy/scipy-svn,lesserwhirls/scipy-cwt,scipy/scipy-svn,scipy/scipy-svn,jasonmccampbell/scipy-refactor,jasonmccampbell/scipy-refactor,jasonmccampbell/scipy-refactor | # Last Change: Sat Jun 09 07:00 PM 2007 J
#========================================================
# Constants used throughout the module (def args, etc...)
#========================================================
# This is the default dimension for representing confidence ellipses
DEF_VIS_DIM = [0, 1]
DEF_ELL_NP = ... | # Last Change: Sat Jun 09 08:00 PM 2007 J
#========================================================
# Constants used throughout the module (def args, etc...)
#========================================================
# This is the default dimension for representing confidence ellipses
DEF_VIS_DIM = (0, 1)
DEF_ELL_NP = ... | <commit_before># Last Change: Sat Jun 09 07:00 PM 2007 J
#========================================================
# Constants used throughout the module (def args, etc...)
#========================================================
# This is the default dimension for representing confidence ellipses
DEF_VIS_DIM = [0, 1... | # Last Change: Sat Jun 09 08:00 PM 2007 J
#========================================================
# Constants used throughout the module (def args, etc...)
#========================================================
# This is the default dimension for representing confidence ellipses
DEF_VIS_DIM = (0, 1)
DEF_ELL_NP = ... | # Last Change: Sat Jun 09 07:00 PM 2007 J
#========================================================
# Constants used throughout the module (def args, etc...)
#========================================================
# This is the default dimension for representing confidence ellipses
DEF_VIS_DIM = [0, 1]
DEF_ELL_NP = ... | <commit_before># Last Change: Sat Jun 09 07:00 PM 2007 J
#========================================================
# Constants used throughout the module (def args, etc...)
#========================================================
# This is the default dimension for representing confidence ellipses
DEF_VIS_DIM = [0, 1... |
de2e3dd947660b4b1222820141c5c7cd66098349 | django_split/models.py | django_split/models.py | from django.db import models
class ExperimentGroup(models.Model):
experiment = models.CharField(max_length=48)
user = models.ForeignKey('auth.User', related_name=None)
group = models.IntegerField()
class Meta:
unique_together = (
('experiment', 'user'),
)
class Experimen... | from django.db import models
class ExperimentGroup(models.Model):
experiment = models.CharField(max_length=48)
user = models.ForeignKey(
'auth.User',
related_name='django_split_experiment_groups',
)
group = models.IntegerField()
class Meta:
unique_together = (
... | Add an explicit related name | Add an explicit related name
| Python | mit | prophile/django_split | from django.db import models
class ExperimentGroup(models.Model):
experiment = models.CharField(max_length=48)
user = models.ForeignKey('auth.User', related_name=None)
group = models.IntegerField()
class Meta:
unique_together = (
('experiment', 'user'),
)
class Experimen... | from django.db import models
class ExperimentGroup(models.Model):
experiment = models.CharField(max_length=48)
user = models.ForeignKey(
'auth.User',
related_name='django_split_experiment_groups',
)
group = models.IntegerField()
class Meta:
unique_together = (
... | <commit_before>from django.db import models
class ExperimentGroup(models.Model):
experiment = models.CharField(max_length=48)
user = models.ForeignKey('auth.User', related_name=None)
group = models.IntegerField()
class Meta:
unique_together = (
('experiment', 'user'),
)
... | from django.db import models
class ExperimentGroup(models.Model):
experiment = models.CharField(max_length=48)
user = models.ForeignKey(
'auth.User',
related_name='django_split_experiment_groups',
)
group = models.IntegerField()
class Meta:
unique_together = (
... | from django.db import models
class ExperimentGroup(models.Model):
experiment = models.CharField(max_length=48)
user = models.ForeignKey('auth.User', related_name=None)
group = models.IntegerField()
class Meta:
unique_together = (
('experiment', 'user'),
)
class Experimen... | <commit_before>from django.db import models
class ExperimentGroup(models.Model):
experiment = models.CharField(max_length=48)
user = models.ForeignKey('auth.User', related_name=None)
group = models.IntegerField()
class Meta:
unique_together = (
('experiment', 'user'),
)
... |
4299f4f410f768066aaacf885ff0a38e8af175c9 | intro-django/readit/books/forms.py | intro-django/readit/books/forms.py | from django import forms
from .models import Book
class ReviewForm(forms.Form):
"""
Form for reviewing a book
"""
is_favourite = forms.BooleanField(
label = 'Favourite?',
help_text = 'In your top 100 books of all time?',
required = False,
)
review = forms.CharField(
widget = forms.Textarea,
min_lengt... | from django import forms
from .models import Book
class ReviewForm(forms.Form):
"""
Form for reviewing a book
"""
is_favourite = forms.BooleanField(
label = 'Favourite?',
help_text = 'In your top 100 books of all time?',
required = False,
)
review = forms.CharField(
widget = forms.Textarea,
min_lengt... | Add custom form validation enforcing that each new book is unique | Add custom form validation enforcing that each new book is unique
| Python | mit | nirajkvinit/python3-study,nirajkvinit/python3-study,nirajkvinit/python3-study,nirajkvinit/python3-study | from django import forms
from .models import Book
class ReviewForm(forms.Form):
"""
Form for reviewing a book
"""
is_favourite = forms.BooleanField(
label = 'Favourite?',
help_text = 'In your top 100 books of all time?',
required = False,
)
review = forms.CharField(
widget = forms.Textarea,
min_lengt... | from django import forms
from .models import Book
class ReviewForm(forms.Form):
"""
Form for reviewing a book
"""
is_favourite = forms.BooleanField(
label = 'Favourite?',
help_text = 'In your top 100 books of all time?',
required = False,
)
review = forms.CharField(
widget = forms.Textarea,
min_lengt... | <commit_before>from django import forms
from .models import Book
class ReviewForm(forms.Form):
"""
Form for reviewing a book
"""
is_favourite = forms.BooleanField(
label = 'Favourite?',
help_text = 'In your top 100 books of all time?',
required = False,
)
review = forms.CharField(
widget = forms.Textar... | from django import forms
from .models import Book
class ReviewForm(forms.Form):
"""
Form for reviewing a book
"""
is_favourite = forms.BooleanField(
label = 'Favourite?',
help_text = 'In your top 100 books of all time?',
required = False,
)
review = forms.CharField(
widget = forms.Textarea,
min_lengt... | from django import forms
from .models import Book
class ReviewForm(forms.Form):
"""
Form for reviewing a book
"""
is_favourite = forms.BooleanField(
label = 'Favourite?',
help_text = 'In your top 100 books of all time?',
required = False,
)
review = forms.CharField(
widget = forms.Textarea,
min_lengt... | <commit_before>from django import forms
from .models import Book
class ReviewForm(forms.Form):
"""
Form for reviewing a book
"""
is_favourite = forms.BooleanField(
label = 'Favourite?',
help_text = 'In your top 100 books of all time?',
required = False,
)
review = forms.CharField(
widget = forms.Textar... |
ddeffc09ce1eab426fe46129bead712059f93f45 | docker/settings/web.py | docker/settings/web.py | from .docker_compose import DockerBaseSettings
class WebDevSettings(DockerBaseSettings):
# Needed to serve 404 pages properly
# NOTE: it may introduce some strange behavior
DEBUG = False
WebDevSettings.load_settings(__name__)
| from .docker_compose import DockerBaseSettings
class WebDevSettings(DockerBaseSettings):
pass
WebDevSettings.load_settings(__name__)
| Remove DEBUG=False that's not needed anymore | Remove DEBUG=False that's not needed anymore
Now we are serving 404s via El Proxito and forcing DEBUG=False is not
needed anymore.
| Python | mit | rtfd/readthedocs.org,rtfd/readthedocs.org,rtfd/readthedocs.org,rtfd/readthedocs.org | from .docker_compose import DockerBaseSettings
class WebDevSettings(DockerBaseSettings):
# Needed to serve 404 pages properly
# NOTE: it may introduce some strange behavior
DEBUG = False
WebDevSettings.load_settings(__name__)
Remove DEBUG=False that's not needed anymore
Now we are serving 404s via El Pr... | from .docker_compose import DockerBaseSettings
class WebDevSettings(DockerBaseSettings):
pass
WebDevSettings.load_settings(__name__)
| <commit_before>from .docker_compose import DockerBaseSettings
class WebDevSettings(DockerBaseSettings):
# Needed to serve 404 pages properly
# NOTE: it may introduce some strange behavior
DEBUG = False
WebDevSettings.load_settings(__name__)
<commit_msg>Remove DEBUG=False that's not needed anymore
Now we... | from .docker_compose import DockerBaseSettings
class WebDevSettings(DockerBaseSettings):
pass
WebDevSettings.load_settings(__name__)
| from .docker_compose import DockerBaseSettings
class WebDevSettings(DockerBaseSettings):
# Needed to serve 404 pages properly
# NOTE: it may introduce some strange behavior
DEBUG = False
WebDevSettings.load_settings(__name__)
Remove DEBUG=False that's not needed anymore
Now we are serving 404s via El Pr... | <commit_before>from .docker_compose import DockerBaseSettings
class WebDevSettings(DockerBaseSettings):
# Needed to serve 404 pages properly
# NOTE: it may introduce some strange behavior
DEBUG = False
WebDevSettings.load_settings(__name__)
<commit_msg>Remove DEBUG=False that's not needed anymore
Now we... |
01e1900a139d7525a0803d5a160a9d91210fe219 | csv2kmz/csv2kmz.py | csv2kmz/csv2kmz.py | import os
import argparse
from buildkmz import create_kmz_from_csv
def main():
""" Build file as per user inputs
"""
args = get_cmd_args()
iPath = args.input
sPath = args.styles
oDir = args.output
create_kmz_from_csv(iPath,sPath,oDir)
def get_cmd_args():
"""Get, proc... | import os
import argparse
import logging
from buildkmz import create_kmz_from_csv
def main():
""" Build file as per user inputs
"""
logging.basicConfig(format='%(asctime)s %(levelname)s: %(message)s', level=logging.INFO)
args = get_cmd_args()
iPath = args.input
sPath = args.s... | Add logging output when called from command line | Add logging output when called from command line | Python | mit | aguinane/csvtokmz | import os
import argparse
from buildkmz import create_kmz_from_csv
def main():
""" Build file as per user inputs
"""
args = get_cmd_args()
iPath = args.input
sPath = args.styles
oDir = args.output
create_kmz_from_csv(iPath,sPath,oDir)
def get_cmd_args():
"""Get, proc... | import os
import argparse
import logging
from buildkmz import create_kmz_from_csv
def main():
""" Build file as per user inputs
"""
logging.basicConfig(format='%(asctime)s %(levelname)s: %(message)s', level=logging.INFO)
args = get_cmd_args()
iPath = args.input
sPath = args.s... | <commit_before>import os
import argparse
from buildkmz import create_kmz_from_csv
def main():
""" Build file as per user inputs
"""
args = get_cmd_args()
iPath = args.input
sPath = args.styles
oDir = args.output
create_kmz_from_csv(iPath,sPath,oDir)
def get_cmd_args():
... | import os
import argparse
import logging
from buildkmz import create_kmz_from_csv
def main():
""" Build file as per user inputs
"""
logging.basicConfig(format='%(asctime)s %(levelname)s: %(message)s', level=logging.INFO)
args = get_cmd_args()
iPath = args.input
sPath = args.s... | import os
import argparse
from buildkmz import create_kmz_from_csv
def main():
""" Build file as per user inputs
"""
args = get_cmd_args()
iPath = args.input
sPath = args.styles
oDir = args.output
create_kmz_from_csv(iPath,sPath,oDir)
def get_cmd_args():
"""Get, proc... | <commit_before>import os
import argparse
from buildkmz import create_kmz_from_csv
def main():
""" Build file as per user inputs
"""
args = get_cmd_args()
iPath = args.input
sPath = args.styles
oDir = args.output
create_kmz_from_csv(iPath,sPath,oDir)
def get_cmd_args():
... |
984c395e3f43764a4d8125aea7556179bb4766dd | test/_mysqldb_test.py | test/_mysqldb_test.py | '''
$ mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 211
Server version: 5.6.15 Homebrew
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks... | import mysql.connector
from luigi.contrib.mysqldb import MySqlTarget
import unittest
host = 'localhost'
port = 3306
database = 'luigi_test'
username = None
password = None
table_updates = 'table_updates'
def _create_test_database():
con = mysql.connector.connect(user=username,
p... | Remove the doc that describes the setup. Setup is automated now | Remove the doc that describes the setup. Setup is automated now
| Python | apache-2.0 | moritzschaefer/luigi,kalaidin/luigi,riga/luigi,foursquare/luigi,dylanjbarth/luigi,Dawny33/luigi,harveyxia/luigi,graingert/luigi,slvnperron/luigi,harveyxia/luigi,sahitya-pavurala/luigi,hadesbox/luigi,rayrrr/luigi,humanlongevity/luigi,Tarrasch/luigi,Magnetic/luigi,percyfal/luigi,torypages/luigi,stroykova/luigi,theoryno3/... | '''
$ mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 211
Server version: 5.6.15 Homebrew
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks... | import mysql.connector
from luigi.contrib.mysqldb import MySqlTarget
import unittest
host = 'localhost'
port = 3306
database = 'luigi_test'
username = None
password = None
table_updates = 'table_updates'
def _create_test_database():
con = mysql.connector.connect(user=username,
p... | <commit_before>'''
$ mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 211
Server version: 5.6.15 Homebrew
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names ma... | import mysql.connector
from luigi.contrib.mysqldb import MySqlTarget
import unittest
host = 'localhost'
port = 3306
database = 'luigi_test'
username = None
password = None
table_updates = 'table_updates'
def _create_test_database():
con = mysql.connector.connect(user=username,
p... | '''
$ mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 211
Server version: 5.6.15 Homebrew
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks... | <commit_before>'''
$ mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 211
Server version: 5.6.15 Homebrew
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names ma... |
a48f651435d212907cb34164470a9028ba161300 | test/test_vasp_raman.py | test/test_vasp_raman.py | # -*- coding: utf-8 -*-
import os
import time
import unittest
import vasp_raman
class VaspRamanTester(unittest.TestCase):
def testMAT_m_VEC(self):
self.assertTrue(False)
| # -*- coding: utf-8 -*-
import os
import time
import unittest
import vasp_raman
class VaspRamanTester(unittest.TestCase):
def testT(self):
m = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
mref = [[1, 4, 7], [2, 5, 8], [3, 6, 9]]
mres = vasp_raman.T(m)
for i in range(len(m)):
self.... | Add a test for vasp_raman.T | Add a test for vasp_raman.T
| Python | mit | raman-sc/VASP,raman-sc/VASP | # -*- coding: utf-8 -*-
import os
import time
import unittest
import vasp_raman
class VaspRamanTester(unittest.TestCase):
def testMAT_m_VEC(self):
self.assertTrue(False)
Add a test for vasp_raman.T | # -*- coding: utf-8 -*-
import os
import time
import unittest
import vasp_raman
class VaspRamanTester(unittest.TestCase):
def testT(self):
m = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
mref = [[1, 4, 7], [2, 5, 8], [3, 6, 9]]
mres = vasp_raman.T(m)
for i in range(len(m)):
self.... | <commit_before># -*- coding: utf-8 -*-
import os
import time
import unittest
import vasp_raman
class VaspRamanTester(unittest.TestCase):
def testMAT_m_VEC(self):
self.assertTrue(False)
<commit_msg>Add a test for vasp_raman.T<commit_after> | # -*- coding: utf-8 -*-
import os
import time
import unittest
import vasp_raman
class VaspRamanTester(unittest.TestCase):
def testT(self):
m = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
mref = [[1, 4, 7], [2, 5, 8], [3, 6, 9]]
mres = vasp_raman.T(m)
for i in range(len(m)):
self.... | # -*- coding: utf-8 -*-
import os
import time
import unittest
import vasp_raman
class VaspRamanTester(unittest.TestCase):
def testMAT_m_VEC(self):
self.assertTrue(False)
Add a test for vasp_raman.T# -*- coding: utf-8 -*-
import os
import time
import unittest
import vasp_raman
class VaspRamanTester(unittes... | <commit_before># -*- coding: utf-8 -*-
import os
import time
import unittest
import vasp_raman
class VaspRamanTester(unittest.TestCase):
def testMAT_m_VEC(self):
self.assertTrue(False)
<commit_msg>Add a test for vasp_raman.T<commit_after># -*- coding: utf-8 -*-
import os
import time
import unittest
import ... |
c99bbc0a30dca8aaa72a4c79543400d9fbf97ebb | tests/test_compat.py | tests/test_compat.py | import click
import pytest
if click.__version__ >= '3.0':
def test_legacy_callbacks(runner):
def legacy_callback(ctx, value):
return value.upper()
@click.command()
@click.option('--foo', callback=legacy_callback)
def cli(foo):
click.echo(foo)
with ... | import click
import pytest
if click.__version__ >= '3.0':
def test_legacy_callbacks(runner):
def legacy_callback(ctx, value):
return value.upper()
@click.command()
@click.option('--foo', callback=legacy_callback)
def cli(foo):
click.echo(foo)
with ... | Fix failing bash completion function test signature. | Fix failing bash completion function test signature.
| Python | bsd-3-clause | pallets/click,mitsuhiko/click | import click
import pytest
if click.__version__ >= '3.0':
def test_legacy_callbacks(runner):
def legacy_callback(ctx, value):
return value.upper()
@click.command()
@click.option('--foo', callback=legacy_callback)
def cli(foo):
click.echo(foo)
with ... | import click
import pytest
if click.__version__ >= '3.0':
def test_legacy_callbacks(runner):
def legacy_callback(ctx, value):
return value.upper()
@click.command()
@click.option('--foo', callback=legacy_callback)
def cli(foo):
click.echo(foo)
with ... | <commit_before>import click
import pytest
if click.__version__ >= '3.0':
def test_legacy_callbacks(runner):
def legacy_callback(ctx, value):
return value.upper()
@click.command()
@click.option('--foo', callback=legacy_callback)
def cli(foo):
click.echo(foo)... | import click
import pytest
if click.__version__ >= '3.0':
def test_legacy_callbacks(runner):
def legacy_callback(ctx, value):
return value.upper()
@click.command()
@click.option('--foo', callback=legacy_callback)
def cli(foo):
click.echo(foo)
with ... | import click
import pytest
if click.__version__ >= '3.0':
def test_legacy_callbacks(runner):
def legacy_callback(ctx, value):
return value.upper()
@click.command()
@click.option('--foo', callback=legacy_callback)
def cli(foo):
click.echo(foo)
with ... | <commit_before>import click
import pytest
if click.__version__ >= '3.0':
def test_legacy_callbacks(runner):
def legacy_callback(ctx, value):
return value.upper()
@click.command()
@click.option('--foo', callback=legacy_callback)
def cli(foo):
click.echo(foo)... |
22a1e02efae195ef8f93a34eedfc28a8d9bb40ba | tests/test_prompt.py | tests/test_prompt.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_prompt
--------------
Tests for `cookiecutter.prompt` module.
"""
import unittest
from cookiecutter import prompt
class TestPrompt(unittest.TestCase):
def test_prompt_for_config(self):
context = {"cookiecutter": {"full_name": "Your Name",
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_prompt
--------------
Tests for `cookiecutter.prompt` module.
"""
import unittest
from unittest.mock import patch
from cookiecutter import prompt
# class TestPrompt(unittest.TestCase):
# def test_prompt_for_config(self):
# context = {"cookiecutter... | Add many tests for prompt.query_yes_no(). | Add many tests for prompt.query_yes_no().
| Python | bsd-3-clause | kkujawinski/cookiecutter,utek/cookiecutter,foodszhang/cookiecutter,audreyr/cookiecutter,alex/cookiecutter,letolab/cookiecutter,venumech/cookiecutter,dajose/cookiecutter,venumech/cookiecutter,michaeljoseph/cookiecutter,atlassian/cookiecutter,willingc/cookiecutter,pjbull/cookiecutter,vincentbernat/cookiecutter,sp1rs/cook... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_prompt
--------------
Tests for `cookiecutter.prompt` module.
"""
import unittest
from cookiecutter import prompt
class TestPrompt(unittest.TestCase):
def test_prompt_for_config(self):
context = {"cookiecutter": {"full_name": "Your Name",
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_prompt
--------------
Tests for `cookiecutter.prompt` module.
"""
import unittest
from unittest.mock import patch
from cookiecutter import prompt
# class TestPrompt(unittest.TestCase):
# def test_prompt_for_config(self):
# context = {"cookiecutter... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_prompt
--------------
Tests for `cookiecutter.prompt` module.
"""
import unittest
from cookiecutter import prompt
class TestPrompt(unittest.TestCase):
def test_prompt_for_config(self):
context = {"cookiecutter": {"full_name": "Your ... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_prompt
--------------
Tests for `cookiecutter.prompt` module.
"""
import unittest
from unittest.mock import patch
from cookiecutter import prompt
# class TestPrompt(unittest.TestCase):
# def test_prompt_for_config(self):
# context = {"cookiecutter... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_prompt
--------------
Tests for `cookiecutter.prompt` module.
"""
import unittest
from cookiecutter import prompt
class TestPrompt(unittest.TestCase):
def test_prompt_for_config(self):
context = {"cookiecutter": {"full_name": "Your Name",
... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_prompt
--------------
Tests for `cookiecutter.prompt` module.
"""
import unittest
from cookiecutter import prompt
class TestPrompt(unittest.TestCase):
def test_prompt_for_config(self):
context = {"cookiecutter": {"full_name": "Your ... |
eed78d3a671aee0fcc0760f15087085f2918da6c | travis_ci/settings.py | travis_ci/settings.py | """GeoKey settings."""
from geokey.core.settings.dev import *
DEFAULT_FROM_EMAIL = 'no-reply@travis-ci.org'
ACCOUNT_EMAIL_VERIFICATION = 'optional'
SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxx'
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'geokey',
'... | """GeoKey settings."""
from geokey.core.settings.dev import *
DEFAULT_FROM_EMAIL = 'no-reply@travis-ci.org'
ACCOUNT_EMAIL_VERIFICATION = 'optional'
SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxx'
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'geokey',
'... | Add "localhost" in the allowed hosts for testing purposes | Add "localhost" in the allowed hosts for testing purposes
| Python | mit | ExCiteS/geokey-epicollect,ExCiteS/geokey-epicollect | """GeoKey settings."""
from geokey.core.settings.dev import *
DEFAULT_FROM_EMAIL = 'no-reply@travis-ci.org'
ACCOUNT_EMAIL_VERIFICATION = 'optional'
SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxx'
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'geokey',
'... | """GeoKey settings."""
from geokey.core.settings.dev import *
DEFAULT_FROM_EMAIL = 'no-reply@travis-ci.org'
ACCOUNT_EMAIL_VERIFICATION = 'optional'
SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxx'
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'geokey',
'... | <commit_before>"""GeoKey settings."""
from geokey.core.settings.dev import *
DEFAULT_FROM_EMAIL = 'no-reply@travis-ci.org'
ACCOUNT_EMAIL_VERIFICATION = 'optional'
SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxx'
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'geo... | """GeoKey settings."""
from geokey.core.settings.dev import *
DEFAULT_FROM_EMAIL = 'no-reply@travis-ci.org'
ACCOUNT_EMAIL_VERIFICATION = 'optional'
SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxx'
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'geokey',
'... | """GeoKey settings."""
from geokey.core.settings.dev import *
DEFAULT_FROM_EMAIL = 'no-reply@travis-ci.org'
ACCOUNT_EMAIL_VERIFICATION = 'optional'
SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxx'
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'geokey',
'... | <commit_before>"""GeoKey settings."""
from geokey.core.settings.dev import *
DEFAULT_FROM_EMAIL = 'no-reply@travis-ci.org'
ACCOUNT_EMAIL_VERIFICATION = 'optional'
SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxx'
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'geo... |
4c6fb23dd40216604f914d4f869b40d23b13bf73 | django/__init__.py | django/__init__.py | VERSION = (1, 4, 5, 'final', 0)
def get_version(version=None):
"""Derives a PEP386-compliant version number from VERSION."""
if version is None:
version = VERSION
assert len(version) == 5
assert version[3] in ('alpha', 'beta', 'rc', 'final')
# Now build the two parts of the version number:... | VERSION = (1, 4, 6, 'alpha', 0)
def get_version(version=None):
"""Derives a PEP386-compliant version number from VERSION."""
if version is None:
version = VERSION
assert len(version) == 5
assert version[3] in ('alpha', 'beta', 'rc', 'final')
# Now build the two parts of the version number:... | Bump version to no longer claim to be 1.4.5 final. | [1.4.x] Bump version to no longer claim to be 1.4.5 final.
| Python | bsd-3-clause | riklaunim/django-custom-multisite,riklaunim/django-custom-multisite,riklaunim/django-custom-multisite | VERSION = (1, 4, 5, 'final', 0)
def get_version(version=None):
"""Derives a PEP386-compliant version number from VERSION."""
if version is None:
version = VERSION
assert len(version) == 5
assert version[3] in ('alpha', 'beta', 'rc', 'final')
# Now build the two parts of the version number:... | VERSION = (1, 4, 6, 'alpha', 0)
def get_version(version=None):
"""Derives a PEP386-compliant version number from VERSION."""
if version is None:
version = VERSION
assert len(version) == 5
assert version[3] in ('alpha', 'beta', 'rc', 'final')
# Now build the two parts of the version number:... | <commit_before>VERSION = (1, 4, 5, 'final', 0)
def get_version(version=None):
"""Derives a PEP386-compliant version number from VERSION."""
if version is None:
version = VERSION
assert len(version) == 5
assert version[3] in ('alpha', 'beta', 'rc', 'final')
# Now build the two parts of the ... | VERSION = (1, 4, 6, 'alpha', 0)
def get_version(version=None):
"""Derives a PEP386-compliant version number from VERSION."""
if version is None:
version = VERSION
assert len(version) == 5
assert version[3] in ('alpha', 'beta', 'rc', 'final')
# Now build the two parts of the version number:... | VERSION = (1, 4, 5, 'final', 0)
def get_version(version=None):
"""Derives a PEP386-compliant version number from VERSION."""
if version is None:
version = VERSION
assert len(version) == 5
assert version[3] in ('alpha', 'beta', 'rc', 'final')
# Now build the two parts of the version number:... | <commit_before>VERSION = (1, 4, 5, 'final', 0)
def get_version(version=None):
"""Derives a PEP386-compliant version number from VERSION."""
if version is None:
version = VERSION
assert len(version) == 5
assert version[3] in ('alpha', 'beta', 'rc', 'final')
# Now build the two parts of the ... |
0e46b47a3053e63f50d6fd90b1ba810e4694c9be | blo/__init__.py | blo/__init__.py | from blo.BloArticle import BloArticle
from blo.DBControl import DBControl
class Blo:
def __init__(self, db_file_path, template_dir=""):
self.template_dir = template_dir
# create tables
self.db_file_path = db_file_path
self.db_control = DBControl(self.db_file_path)
self.db_c... | import configparser
from blo.BloArticle import BloArticle
from blo.DBControl import DBControl
class Blo:
def __init__(self, config_file_path):
config = configparser.ConfigParser()
config.read(config_file_path)
self.template_dir = config['TEMPLATE']['TEMPLATE_DIR']
self.db_file_path... | Implement system configurations load from file. | Implement system configurations load from file.
| Python | mit | 10nin/blo,10nin/blo | from blo.BloArticle import BloArticle
from blo.DBControl import DBControl
class Blo:
def __init__(self, db_file_path, template_dir=""):
self.template_dir = template_dir
# create tables
self.db_file_path = db_file_path
self.db_control = DBControl(self.db_file_path)
self.db_c... | import configparser
from blo.BloArticle import BloArticle
from blo.DBControl import DBControl
class Blo:
def __init__(self, config_file_path):
config = configparser.ConfigParser()
config.read(config_file_path)
self.template_dir = config['TEMPLATE']['TEMPLATE_DIR']
self.db_file_path... | <commit_before>from blo.BloArticle import BloArticle
from blo.DBControl import DBControl
class Blo:
def __init__(self, db_file_path, template_dir=""):
self.template_dir = template_dir
# create tables
self.db_file_path = db_file_path
self.db_control = DBControl(self.db_file_path)
... | import configparser
from blo.BloArticle import BloArticle
from blo.DBControl import DBControl
class Blo:
def __init__(self, config_file_path):
config = configparser.ConfigParser()
config.read(config_file_path)
self.template_dir = config['TEMPLATE']['TEMPLATE_DIR']
self.db_file_path... | from blo.BloArticle import BloArticle
from blo.DBControl import DBControl
class Blo:
def __init__(self, db_file_path, template_dir=""):
self.template_dir = template_dir
# create tables
self.db_file_path = db_file_path
self.db_control = DBControl(self.db_file_path)
self.db_c... | <commit_before>from blo.BloArticle import BloArticle
from blo.DBControl import DBControl
class Blo:
def __init__(self, db_file_path, template_dir=""):
self.template_dir = template_dir
# create tables
self.db_file_path = db_file_path
self.db_control = DBControl(self.db_file_path)
... |
91d24b3ce272ff166d1e828f0822e7b9a0124d2c | tests/test_dataset.py | tests/test_dataset.py | import pytest
from zfssnap import Host, Dataset
import subprocess
PROPERTY_PREFIX = 'zfssnap'
class TestDataset(object):
@pytest.fixture
def fs(self):
fs_name = 'zpool/dataset'
host = Host()
return Dataset(host, fs_name)
@pytest.fixture
def ssh_fs(self):
ssh_user = '... | import pytest
from zfssnap import autotype, Host, Dataset
import subprocess
PROPERTY_PREFIX = 'zfssnap'
class TestDataset(object):
@pytest.fixture
def fs(self):
fs_name = 'zpool/dataset'
host = Host()
return Dataset(host, fs_name)
@pytest.fixture
def ssh_fs(self):
ss... | Fix broken tests after moving _autoconvert to autotype | Fix broken tests after moving _autoconvert to autotype
| Python | mit | hkbakke/zfssnap,hkbakke/zfssnap | import pytest
from zfssnap import Host, Dataset
import subprocess
PROPERTY_PREFIX = 'zfssnap'
class TestDataset(object):
@pytest.fixture
def fs(self):
fs_name = 'zpool/dataset'
host = Host()
return Dataset(host, fs_name)
@pytest.fixture
def ssh_fs(self):
ssh_user = '... | import pytest
from zfssnap import autotype, Host, Dataset
import subprocess
PROPERTY_PREFIX = 'zfssnap'
class TestDataset(object):
@pytest.fixture
def fs(self):
fs_name = 'zpool/dataset'
host = Host()
return Dataset(host, fs_name)
@pytest.fixture
def ssh_fs(self):
ss... | <commit_before>import pytest
from zfssnap import Host, Dataset
import subprocess
PROPERTY_PREFIX = 'zfssnap'
class TestDataset(object):
@pytest.fixture
def fs(self):
fs_name = 'zpool/dataset'
host = Host()
return Dataset(host, fs_name)
@pytest.fixture
def ssh_fs(self):
... | import pytest
from zfssnap import autotype, Host, Dataset
import subprocess
PROPERTY_PREFIX = 'zfssnap'
class TestDataset(object):
@pytest.fixture
def fs(self):
fs_name = 'zpool/dataset'
host = Host()
return Dataset(host, fs_name)
@pytest.fixture
def ssh_fs(self):
ss... | import pytest
from zfssnap import Host, Dataset
import subprocess
PROPERTY_PREFIX = 'zfssnap'
class TestDataset(object):
@pytest.fixture
def fs(self):
fs_name = 'zpool/dataset'
host = Host()
return Dataset(host, fs_name)
@pytest.fixture
def ssh_fs(self):
ssh_user = '... | <commit_before>import pytest
from zfssnap import Host, Dataset
import subprocess
PROPERTY_PREFIX = 'zfssnap'
class TestDataset(object):
@pytest.fixture
def fs(self):
fs_name = 'zpool/dataset'
host = Host()
return Dataset(host, fs_name)
@pytest.fixture
def ssh_fs(self):
... |
a0a1606d115efd3521ac957aa9a39efec60eda8c | tests/test_issuers.py | tests/test_issuers.py | from mollie.api.objects.issuer import Issuer
from .utils import assert_list_object
def test_get_issuers(client, response):
"""Get all the iDeal issuers via the include querystring parameter."""
response.get('https://api.mollie.com/v2/methods/ideal?include=issuers', 'method_get_ideal_with_includes')
issu... | from mollie.api.objects.issuer import Issuer
from .utils import assert_list_object
def test_get_issuers(client, response):
"""Get all the iDeal issuers via the include querystring parameter."""
response.get('https://api.mollie.com/v2/methods/ideal?include=issuers', 'method_get_ideal_with_includes')
issu... | Test the first item of the list, not the last | Test the first item of the list, not the last
| Python | bsd-2-clause | mollie/mollie-api-python | from mollie.api.objects.issuer import Issuer
from .utils import assert_list_object
def test_get_issuers(client, response):
"""Get all the iDeal issuers via the include querystring parameter."""
response.get('https://api.mollie.com/v2/methods/ideal?include=issuers', 'method_get_ideal_with_includes')
issu... | from mollie.api.objects.issuer import Issuer
from .utils import assert_list_object
def test_get_issuers(client, response):
"""Get all the iDeal issuers via the include querystring parameter."""
response.get('https://api.mollie.com/v2/methods/ideal?include=issuers', 'method_get_ideal_with_includes')
issu... | <commit_before>from mollie.api.objects.issuer import Issuer
from .utils import assert_list_object
def test_get_issuers(client, response):
"""Get all the iDeal issuers via the include querystring parameter."""
response.get('https://api.mollie.com/v2/methods/ideal?include=issuers', 'method_get_ideal_with_inclu... | from mollie.api.objects.issuer import Issuer
from .utils import assert_list_object
def test_get_issuers(client, response):
"""Get all the iDeal issuers via the include querystring parameter."""
response.get('https://api.mollie.com/v2/methods/ideal?include=issuers', 'method_get_ideal_with_includes')
issu... | from mollie.api.objects.issuer import Issuer
from .utils import assert_list_object
def test_get_issuers(client, response):
"""Get all the iDeal issuers via the include querystring parameter."""
response.get('https://api.mollie.com/v2/methods/ideal?include=issuers', 'method_get_ideal_with_includes')
issu... | <commit_before>from mollie.api.objects.issuer import Issuer
from .utils import assert_list_object
def test_get_issuers(client, response):
"""Get all the iDeal issuers via the include querystring parameter."""
response.get('https://api.mollie.com/v2/methods/ideal?include=issuers', 'method_get_ideal_with_inclu... |
1ccd9e7f15cfaccfadf7e4e977dbde724885cab9 | tests/test_sync_call.py | tests/test_sync_call.py | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
"""
Tests for synchronous call helper
"""
import time
from switchy import sync_caller
from switchy.apps.players import To... | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
"""
Tests for synchronous call helper
"""
import time
from switchy import sync_caller
from switchy.apps.players import To... | Add a `PlayRec` app unit test | Add a `PlayRec` app unit test
Merely checks that all sessions are recorded as expected and that the call
is hung up afterwards. None of the recorded audio content is verified.
| Python | mpl-2.0 | sangoma/switchy,wwezhuimeng/switch | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
"""
Tests for synchronous call helper
"""
import time
from switchy import sync_caller
from switchy.apps.players import To... | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
"""
Tests for synchronous call helper
"""
import time
from switchy import sync_caller
from switchy.apps.players import To... | <commit_before># This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
"""
Tests for synchronous call helper
"""
import time
from switchy import sync_caller
from switchy.apps.pl... | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
"""
Tests for synchronous call helper
"""
import time
from switchy import sync_caller
from switchy.apps.players import To... | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
"""
Tests for synchronous call helper
"""
import time
from switchy import sync_caller
from switchy.apps.players import To... | <commit_before># This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
"""
Tests for synchronous call helper
"""
import time
from switchy import sync_caller
from switchy.apps.pl... |
8793b1a2c4adf480534cf2a669337032edf77020 | golang/main.py | golang/main.py | #!/usr/bin/env python
from evolution_master.runners import pkg, download
# Install for Arch
with pkg.pacman() as pkg_man:
pkg_man.install('go')
# Install for Debian & Ubuntu
with pkg.apt() as pkg_man:
pkg_man.install('golang')
# Install for OSX
with pkg.brew() as pkg_man:
pkg_man.install('go')
# Instal... | from evolution_master.runners import pkg, download
# Install for Arch
with pkg.pacman() as pkg_man:
pkg_man.install('go')
# Install for Debian & Ubuntu
with pkg.apt() as pkg_man:
pkg_man.install('golang')
# Install for OSX
with pkg.brew() as pkg_man:
pkg_man.install('go')
# Install for Windows
with dow... | Remove header, this will be imported by a runner | Remove header, this will be imported by a runner | Python | mit | hatchery/Genepool2,hatchery/genepool | #!/usr/bin/env python
from evolution_master.runners import pkg, download
# Install for Arch
with pkg.pacman() as pkg_man:
pkg_man.install('go')
# Install for Debian & Ubuntu
with pkg.apt() as pkg_man:
pkg_man.install('golang')
# Install for OSX
with pkg.brew() as pkg_man:
pkg_man.install('go')
# Instal... | from evolution_master.runners import pkg, download
# Install for Arch
with pkg.pacman() as pkg_man:
pkg_man.install('go')
# Install for Debian & Ubuntu
with pkg.apt() as pkg_man:
pkg_man.install('golang')
# Install for OSX
with pkg.brew() as pkg_man:
pkg_man.install('go')
# Install for Windows
with dow... | <commit_before>#!/usr/bin/env python
from evolution_master.runners import pkg, download
# Install for Arch
with pkg.pacman() as pkg_man:
pkg_man.install('go')
# Install for Debian & Ubuntu
with pkg.apt() as pkg_man:
pkg_man.install('golang')
# Install for OSX
with pkg.brew() as pkg_man:
pkg_man.install(... | from evolution_master.runners import pkg, download
# Install for Arch
with pkg.pacman() as pkg_man:
pkg_man.install('go')
# Install for Debian & Ubuntu
with pkg.apt() as pkg_man:
pkg_man.install('golang')
# Install for OSX
with pkg.brew() as pkg_man:
pkg_man.install('go')
# Install for Windows
with dow... | #!/usr/bin/env python
from evolution_master.runners import pkg, download
# Install for Arch
with pkg.pacman() as pkg_man:
pkg_man.install('go')
# Install for Debian & Ubuntu
with pkg.apt() as pkg_man:
pkg_man.install('golang')
# Install for OSX
with pkg.brew() as pkg_man:
pkg_man.install('go')
# Instal... | <commit_before>#!/usr/bin/env python
from evolution_master.runners import pkg, download
# Install for Arch
with pkg.pacman() as pkg_man:
pkg_man.install('go')
# Install for Debian & Ubuntu
with pkg.apt() as pkg_man:
pkg_man.install('golang')
# Install for OSX
with pkg.brew() as pkg_man:
pkg_man.install(... |
6f24aa5e1e1ff78e95ed17ff75acc2646280bdd8 | typedmarshal/util.py | typedmarshal/util.py | def pretty_print_recursive(obj, indent=0):
def i_print(s):
print(' ' * indent + s)
if obj is None:
i_print('None')
elif isinstance(obj, (int, float, str)):
i_print(f'{obj}')
elif isinstance(obj, list):
for l in obj:
pretty_print_recursive(l, indent=indent+2)
... | def pretty_print_recursive(obj, indent=0):
def i_print(s):
print(' ' * indent + s)
if obj is None:
i_print('None')
elif isinstance(obj, (int, float, str)):
i_print(f'{obj}')
elif isinstance(obj, list):
for l in obj:
pretty_print_recursive(l, indent=indent+2)
... | Add None identifier / repr print | Add None identifier / repr print
| Python | bsd-3-clause | puhitaku/typedmarshal | def pretty_print_recursive(obj, indent=0):
def i_print(s):
print(' ' * indent + s)
if obj is None:
i_print('None')
elif isinstance(obj, (int, float, str)):
i_print(f'{obj}')
elif isinstance(obj, list):
for l in obj:
pretty_print_recursive(l, indent=indent+2)
... | def pretty_print_recursive(obj, indent=0):
def i_print(s):
print(' ' * indent + s)
if obj is None:
i_print('None')
elif isinstance(obj, (int, float, str)):
i_print(f'{obj}')
elif isinstance(obj, list):
for l in obj:
pretty_print_recursive(l, indent=indent+2)
... | <commit_before>def pretty_print_recursive(obj, indent=0):
def i_print(s):
print(' ' * indent + s)
if obj is None:
i_print('None')
elif isinstance(obj, (int, float, str)):
i_print(f'{obj}')
elif isinstance(obj, list):
for l in obj:
pretty_print_recursive(l, in... | def pretty_print_recursive(obj, indent=0):
def i_print(s):
print(' ' * indent + s)
if obj is None:
i_print('None')
elif isinstance(obj, (int, float, str)):
i_print(f'{obj}')
elif isinstance(obj, list):
for l in obj:
pretty_print_recursive(l, indent=indent+2)
... | def pretty_print_recursive(obj, indent=0):
def i_print(s):
print(' ' * indent + s)
if obj is None:
i_print('None')
elif isinstance(obj, (int, float, str)):
i_print(f'{obj}')
elif isinstance(obj, list):
for l in obj:
pretty_print_recursive(l, indent=indent+2)
... | <commit_before>def pretty_print_recursive(obj, indent=0):
def i_print(s):
print(' ' * indent + s)
if obj is None:
i_print('None')
elif isinstance(obj, (int, float, str)):
i_print(f'{obj}')
elif isinstance(obj, list):
for l in obj:
pretty_print_recursive(l, in... |
4c8dd2b074d2c2227729ff0bd87cf60d06e97485 | retry.py | retry.py | # Define retry util function
class RetryException(Exception):
pass
def retry(func, max_retry=10):
"""
@param func: The function that needs to be retry
(to pass function with arguments use partial object)
@param max_retry: Maximum retry of `func` function, default is `10`
@return... | # Helper script with retry utility function
# set logging for `retry` channel
import logging
logger = logging.getLogger('retry')
# Define Exception class for retry
class RetryException(Exception):
DESCRIPTION = "Exception ({}) raised after {} tries."
def __init__(self, exception, max_retry):
self.ex... | Extend custom exception and add additional logging | Extend custom exception and add additional logging | Python | mit | duboviy/misc | # Define retry util function
class RetryException(Exception):
pass
def retry(func, max_retry=10):
"""
@param func: The function that needs to be retry
(to pass function with arguments use partial object)
@param max_retry: Maximum retry of `func` function, default is `10`
@return... | # Helper script with retry utility function
# set logging for `retry` channel
import logging
logger = logging.getLogger('retry')
# Define Exception class for retry
class RetryException(Exception):
DESCRIPTION = "Exception ({}) raised after {} tries."
def __init__(self, exception, max_retry):
self.ex... | <commit_before># Define retry util function
class RetryException(Exception):
pass
def retry(func, max_retry=10):
"""
@param func: The function that needs to be retry
(to pass function with arguments use partial object)
@param max_retry: Maximum retry of `func` function, default is `... | # Helper script with retry utility function
# set logging for `retry` channel
import logging
logger = logging.getLogger('retry')
# Define Exception class for retry
class RetryException(Exception):
DESCRIPTION = "Exception ({}) raised after {} tries."
def __init__(self, exception, max_retry):
self.ex... | # Define retry util function
class RetryException(Exception):
pass
def retry(func, max_retry=10):
"""
@param func: The function that needs to be retry
(to pass function with arguments use partial object)
@param max_retry: Maximum retry of `func` function, default is `10`
@return... | <commit_before># Define retry util function
class RetryException(Exception):
pass
def retry(func, max_retry=10):
"""
@param func: The function that needs to be retry
(to pass function with arguments use partial object)
@param max_retry: Maximum retry of `func` function, default is `... |
5fbb833cf5fa33f2d364d6b56fcc90240297a57b | src/sentry/utils/metrics.py | src/sentry/utils/metrics.py | from __future__ import absolute_import
__all__ = ['timing', 'incr']
from django_statsd.clients import statsd
from django.conf import settings
from random import random
def _get_key(key):
prefix = settings.SENTRY_METRICS_PREFIX
if prefix:
return '{}{}'.format(prefix, key)
return key
def incr(ke... | from __future__ import absolute_import
__all__ = ['timing', 'incr']
from django_statsd.clients import statsd
from django.conf import settings
from random import random
def _get_key(key):
prefix = settings.SENTRY_METRICS_PREFIX
if prefix:
return '{}{}'.format(prefix, key)
return key
def incr(ke... | Handle sample rate in counts | Handle sample rate in counts
| Python | bsd-3-clause | JackDanger/sentry,zenefits/sentry,argonemyth/sentry,jean/sentry,zenefits/sentry,nicholasserra/sentry,1tush/sentry,songyi199111/sentry,JamesMura/sentry,korealerts1/sentry,gg7/sentry,jean/sentry,zenefits/sentry,argonemyth/sentry,boneyao/sentry,Kryz/sentry,jean/sentry,vperron/sentry,kevinastone/sentry,looker/sentry,ifduyu... | from __future__ import absolute_import
__all__ = ['timing', 'incr']
from django_statsd.clients import statsd
from django.conf import settings
from random import random
def _get_key(key):
prefix = settings.SENTRY_METRICS_PREFIX
if prefix:
return '{}{}'.format(prefix, key)
return key
def incr(ke... | from __future__ import absolute_import
__all__ = ['timing', 'incr']
from django_statsd.clients import statsd
from django.conf import settings
from random import random
def _get_key(key):
prefix = settings.SENTRY_METRICS_PREFIX
if prefix:
return '{}{}'.format(prefix, key)
return key
def incr(ke... | <commit_before>from __future__ import absolute_import
__all__ = ['timing', 'incr']
from django_statsd.clients import statsd
from django.conf import settings
from random import random
def _get_key(key):
prefix = settings.SENTRY_METRICS_PREFIX
if prefix:
return '{}{}'.format(prefix, key)
return ke... | from __future__ import absolute_import
__all__ = ['timing', 'incr']
from django_statsd.clients import statsd
from django.conf import settings
from random import random
def _get_key(key):
prefix = settings.SENTRY_METRICS_PREFIX
if prefix:
return '{}{}'.format(prefix, key)
return key
def incr(ke... | from __future__ import absolute_import
__all__ = ['timing', 'incr']
from django_statsd.clients import statsd
from django.conf import settings
from random import random
def _get_key(key):
prefix = settings.SENTRY_METRICS_PREFIX
if prefix:
return '{}{}'.format(prefix, key)
return key
def incr(ke... | <commit_before>from __future__ import absolute_import
__all__ = ['timing', 'incr']
from django_statsd.clients import statsd
from django.conf import settings
from random import random
def _get_key(key):
prefix = settings.SENTRY_METRICS_PREFIX
if prefix:
return '{}{}'.format(prefix, key)
return ke... |
c2138a35123969651212b1d9cd6cdefef89663ec | openedx/core/djangoapps/programs/migrations/0003_auto_20151120_1613.py | openedx/core/djangoapps/programs/migrations/0003_auto_20151120_1613.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('programs', '0002_programsapiconfig_cache_ttl'),
]
operations = [
migrations.AddField(
model_name='programsapicon... | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('programs', '0002_programsapiconfig_cache_ttl'),
]
operations = [
migrations.AddField(
model_name='programsapicon... | Modify existing Programs migration to account for help_text change | Modify existing Programs migration to account for help_text change
Prevents makemigrations from creating a new migration for the programs app.
| Python | agpl-3.0 | shurihell/testasia,fintech-circle/edx-platform,doganov/edx-platform,synergeticsedx/deployment-wipro,proversity-org/edx-platform,stvstnfrd/edx-platform,shurihell/testasia,amir-qayyum-khan/edx-platform,RPI-OPENEDX/edx-platform,analyseuc3m/ANALYSE-v1,kmoocdev2/edx-platform,devs1991/test_edx_docmode,UOMx/edx-platform,solas... | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('programs', '0002_programsapiconfig_cache_ttl'),
]
operations = [
migrations.AddField(
model_name='programsapicon... | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('programs', '0002_programsapiconfig_cache_ttl'),
]
operations = [
migrations.AddField(
model_name='programsapicon... | <commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('programs', '0002_programsapiconfig_cache_ttl'),
]
operations = [
migrations.AddField(
model_name=... | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('programs', '0002_programsapiconfig_cache_ttl'),
]
operations = [
migrations.AddField(
model_name='programsapicon... | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('programs', '0002_programsapiconfig_cache_ttl'),
]
operations = [
migrations.AddField(
model_name='programsapicon... | <commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('programs', '0002_programsapiconfig_cache_ttl'),
]
operations = [
migrations.AddField(
model_name=... |
e34ce0033e1ffc3f6a81d37260056166ac5f582d | setup.py | setup.py | from setuptools import setup, find_packages
version = '3.7'
setup(name='jarn.mkrelease',
version=version,
description='Python egg releaser',
long_description=open('README.txt').read() + '\n' +
open('CHANGES.txt').read(),
classifiers=[
'Development Status :: 5 -... | from setuptools import setup, find_packages
version = '3.7'
setup(name='jarn.mkrelease',
version=version,
description='Python egg releaser',
long_description=open('README.txt').read() + '\n' +
open('CHANGES.txt').read(),
classifiers=[
'Development Status :: 5 -... | Exclude filter and xrange fixers. | Exclude filter and xrange fixers.
| Python | bsd-2-clause | Jarn/jarn.mkrelease | from setuptools import setup, find_packages
version = '3.7'
setup(name='jarn.mkrelease',
version=version,
description='Python egg releaser',
long_description=open('README.txt').read() + '\n' +
open('CHANGES.txt').read(),
classifiers=[
'Development Status :: 5 -... | from setuptools import setup, find_packages
version = '3.7'
setup(name='jarn.mkrelease',
version=version,
description='Python egg releaser',
long_description=open('README.txt').read() + '\n' +
open('CHANGES.txt').read(),
classifiers=[
'Development Status :: 5 -... | <commit_before>from setuptools import setup, find_packages
version = '3.7'
setup(name='jarn.mkrelease',
version=version,
description='Python egg releaser',
long_description=open('README.txt').read() + '\n' +
open('CHANGES.txt').read(),
classifiers=[
'Developmen... | from setuptools import setup, find_packages
version = '3.7'
setup(name='jarn.mkrelease',
version=version,
description='Python egg releaser',
long_description=open('README.txt').read() + '\n' +
open('CHANGES.txt').read(),
classifiers=[
'Development Status :: 5 -... | from setuptools import setup, find_packages
version = '3.7'
setup(name='jarn.mkrelease',
version=version,
description='Python egg releaser',
long_description=open('README.txt').read() + '\n' +
open('CHANGES.txt').read(),
classifiers=[
'Development Status :: 5 -... | <commit_before>from setuptools import setup, find_packages
version = '3.7'
setup(name='jarn.mkrelease',
version=version,
description='Python egg releaser',
long_description=open('README.txt').read() + '\n' +
open('CHANGES.txt').read(),
classifiers=[
'Developmen... |
f2eb45ea24429fd3e4d32a490dbe3f8a2f383d9f | scuole/stats/models/base.py | scuole/stats/models/base.py | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
from .staff_student import StaffStudentBase
@python_2_unicode_compatible
class SchoolYear(models.Model):
name = models.CharField(max_length=... | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
from .staff_student import StaffStudentBase
from .postsecondary_readiness import PostSecondaryReadinessBase
@python_2_unicode_compatible
class S... | Add postsecondary stats to the StatsBase model | Add postsecondary stats to the StatsBase model
| Python | mit | texastribune/scuole,texastribune/scuole,texastribune/scuole,texastribune/scuole | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
from .staff_student import StaffStudentBase
@python_2_unicode_compatible
class SchoolYear(models.Model):
name = models.CharField(max_length=... | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
from .staff_student import StaffStudentBase
from .postsecondary_readiness import PostSecondaryReadinessBase
@python_2_unicode_compatible
class S... | <commit_before># -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
from .staff_student import StaffStudentBase
@python_2_unicode_compatible
class SchoolYear(models.Model):
name = models.CharFi... | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
from .staff_student import StaffStudentBase
from .postsecondary_readiness import PostSecondaryReadinessBase
@python_2_unicode_compatible
class S... | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
from .staff_student import StaffStudentBase
@python_2_unicode_compatible
class SchoolYear(models.Model):
name = models.CharField(max_length=... | <commit_before># -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
from .staff_student import StaffStudentBase
@python_2_unicode_compatible
class SchoolYear(models.Model):
name = models.CharFi... |
91682c5db1cb4267e719723a15de7b3f34393f9f | setup.py | setup.py | #!/usr/bin/python
from setuptools import setup
from setuptools import find_packages
__author__ = 'Ryan McGrath <ryan@venodesigns.net>'
__version__ = '1.5.0'
setup(
name='twython-django',
version=__version__,
install_requires=['twython>=3.0.0', 'django'],
author='Ryan McGrath',
author_email='ryan@... | #!/usr/bin/env python
import os
import sys
from setuptools import setup
from setuptools import find_packages
__author__ = 'Ryan McGrath <ryan@venodesigns.net>'
__version__ = '1.5.1'
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
name='twython-django',
vers... | Prepare for twython-django pip release | Prepare for twython-django pip release
| Python | mit | ryanmcgrath/twython-django,c17r/twython-django,aniversarioperu/twython-django,aniversarioperu/twython-django,c17r/twython-django | #!/usr/bin/python
from setuptools import setup
from setuptools import find_packages
__author__ = 'Ryan McGrath <ryan@venodesigns.net>'
__version__ = '1.5.0'
setup(
name='twython-django',
version=__version__,
install_requires=['twython>=3.0.0', 'django'],
author='Ryan McGrath',
author_email='ryan@... | #!/usr/bin/env python
import os
import sys
from setuptools import setup
from setuptools import find_packages
__author__ = 'Ryan McGrath <ryan@venodesigns.net>'
__version__ = '1.5.1'
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
name='twython-django',
vers... | <commit_before>#!/usr/bin/python
from setuptools import setup
from setuptools import find_packages
__author__ = 'Ryan McGrath <ryan@venodesigns.net>'
__version__ = '1.5.0'
setup(
name='twython-django',
version=__version__,
install_requires=['twython>=3.0.0', 'django'],
author='Ryan McGrath',
auth... | #!/usr/bin/env python
import os
import sys
from setuptools import setup
from setuptools import find_packages
__author__ = 'Ryan McGrath <ryan@venodesigns.net>'
__version__ = '1.5.1'
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
name='twython-django',
vers... | #!/usr/bin/python
from setuptools import setup
from setuptools import find_packages
__author__ = 'Ryan McGrath <ryan@venodesigns.net>'
__version__ = '1.5.0'
setup(
name='twython-django',
version=__version__,
install_requires=['twython>=3.0.0', 'django'],
author='Ryan McGrath',
author_email='ryan@... | <commit_before>#!/usr/bin/python
from setuptools import setup
from setuptools import find_packages
__author__ = 'Ryan McGrath <ryan@venodesigns.net>'
__version__ = '1.5.0'
setup(
name='twython-django',
version=__version__,
install_requires=['twython>=3.0.0', 'django'],
author='Ryan McGrath',
auth... |
26d3b8eb1992b19aebe8f0e3eae386e8b95822fb | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages, Command
import os
packages = find_packages()
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup, Command
import os
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
import subprocess
errno =... | Switch to distutils, fix install for py3.4 | Switch to distutils, fix install for py3.4
setuptools is goddamned terrible | Python | mit | njvack/scorify | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages, Command
import os
packages = find_packages()
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup, Command
import os
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
import subprocess
errno =... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages, Command
import os
packages = find_packages()
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup, Command
import os
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
import subprocess
errno =... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages, Command
import os
packages = find_packages()
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages, Command
import os
packages = find_packages()
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
... |
6e18192da18b6d1b9c6443981f007126ea7e6927 | setup.py | setup.py | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from csdms.dakota import __version__, plugin_script
package_name = 'csdms.dakota'
setup(name=package_name,
version=__version__,
author='Mark Piper',
author_email='mark.piper@colora... | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from csdms.dakota import __version__, plugin_script
setup(name='csdms-dakota',
version=__version__,
author='Mark Piper',
author_email='mark.piper@colorado.edu',
license='MIT',... | Change package name to use hyphen | Change package name to use hyphen
| Python | mit | csdms/dakota,csdms/dakota | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from csdms.dakota import __version__, plugin_script
package_name = 'csdms.dakota'
setup(name=package_name,
version=__version__,
author='Mark Piper',
author_email='mark.piper@colora... | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from csdms.dakota import __version__, plugin_script
setup(name='csdms-dakota',
version=__version__,
author='Mark Piper',
author_email='mark.piper@colorado.edu',
license='MIT',... | <commit_before>#! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from csdms.dakota import __version__, plugin_script
package_name = 'csdms.dakota'
setup(name=package_name,
version=__version__,
author='Mark Piper',
author_email='ma... | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from csdms.dakota import __version__, plugin_script
setup(name='csdms-dakota',
version=__version__,
author='Mark Piper',
author_email='mark.piper@colorado.edu',
license='MIT',... | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from csdms.dakota import __version__, plugin_script
package_name = 'csdms.dakota'
setup(name=package_name,
version=__version__,
author='Mark Piper',
author_email='mark.piper@colora... | <commit_before>#! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from csdms.dakota import __version__, plugin_script
package_name = 'csdms.dakota'
setup(name=package_name,
version=__version__,
author='Mark Piper',
author_email='ma... |
0f22ce31a7067386a0b29b6d107c3e9481fc1492 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name = "open511-server",
version = "0.1",
url='',
license = "",
packages = find_packages(),
install_requires = [
'open511==0.5',
'lxml>=3.0,<=4.0',
'WebOb==1.5.1',
'python-dateutil==2.4.2',
'requests==2.8... | from setuptools import setup, find_packages
setup(
name = "open511-server",
version = "0.1",
url='',
license = "",
packages = find_packages(),
install_requires = [
'open511==0.5',
'lxml>=3.0,<=4.0',
'WebOb==1.5.1',
'python-dateutil==2.4.2',
'requests==2.8... | Change Django requirement to avoid 1.10 alpha | Change Django requirement to avoid 1.10 alpha
| Python | mit | Open511/open511-server,Open511/open511-server,Open511/open511-server | from setuptools import setup, find_packages
setup(
name = "open511-server",
version = "0.1",
url='',
license = "",
packages = find_packages(),
install_requires = [
'open511==0.5',
'lxml>=3.0,<=4.0',
'WebOb==1.5.1',
'python-dateutil==2.4.2',
'requests==2.8... | from setuptools import setup, find_packages
setup(
name = "open511-server",
version = "0.1",
url='',
license = "",
packages = find_packages(),
install_requires = [
'open511==0.5',
'lxml>=3.0,<=4.0',
'WebOb==1.5.1',
'python-dateutil==2.4.2',
'requests==2.8... | <commit_before>from setuptools import setup, find_packages
setup(
name = "open511-server",
version = "0.1",
url='',
license = "",
packages = find_packages(),
install_requires = [
'open511==0.5',
'lxml>=3.0,<=4.0',
'WebOb==1.5.1',
'python-dateutil==2.4.2',
... | from setuptools import setup, find_packages
setup(
name = "open511-server",
version = "0.1",
url='',
license = "",
packages = find_packages(),
install_requires = [
'open511==0.5',
'lxml>=3.0,<=4.0',
'WebOb==1.5.1',
'python-dateutil==2.4.2',
'requests==2.8... | from setuptools import setup, find_packages
setup(
name = "open511-server",
version = "0.1",
url='',
license = "",
packages = find_packages(),
install_requires = [
'open511==0.5',
'lxml>=3.0,<=4.0',
'WebOb==1.5.1',
'python-dateutil==2.4.2',
'requests==2.8... | <commit_before>from setuptools import setup, find_packages
setup(
name = "open511-server",
version = "0.1",
url='',
license = "",
packages = find_packages(),
install_requires = [
'open511==0.5',
'lxml>=3.0,<=4.0',
'WebOb==1.5.1',
'python-dateutil==2.4.2',
... |
fcd6af0a2a02ef87eedd78aa3c09836cc0799a29 | utils/python_version.py | utils/python_version.py | #! /usr/bin/env python
"""Print Python interpreter path and version."""
import sys
sys.stdout.write(sys.executable + '\n')
sys.stdout.write(sys.version + '\n')
sys.stdout.flush()
| #! /usr/bin/env python
"""Print Python interpreter path and version."""
import sys
sys.stdout.write('%s\n' % sys.executable)
sys.stdout.write('%s\n' % sys.version)
try:
import icu # pylint: disable=g-import-not-at-top
sys.stdout.write('ICU %s\n' % icu.ICU_VERSION)
sys.stdout.write('Unicode %s\n' % icu.UNICOD... | Print ICU and Unicode version, if available | Print ICU and Unicode version, if available
| Python | apache-2.0 | googlei18n/language-resources,googlei18n/language-resources,googlei18n/language-resources,googlei18n/language-resources,google/language-resources,google/language-resources,google/language-resources,google/language-resources,googlei18n/language-resources,googlei18n/language-resources,google/language-resources,google/lan... | #! /usr/bin/env python
"""Print Python interpreter path and version."""
import sys
sys.stdout.write(sys.executable + '\n')
sys.stdout.write(sys.version + '\n')
sys.stdout.flush()
Print ICU and Unicode version, if available | #! /usr/bin/env python
"""Print Python interpreter path and version."""
import sys
sys.stdout.write('%s\n' % sys.executable)
sys.stdout.write('%s\n' % sys.version)
try:
import icu # pylint: disable=g-import-not-at-top
sys.stdout.write('ICU %s\n' % icu.ICU_VERSION)
sys.stdout.write('Unicode %s\n' % icu.UNICOD... | <commit_before>#! /usr/bin/env python
"""Print Python interpreter path and version."""
import sys
sys.stdout.write(sys.executable + '\n')
sys.stdout.write(sys.version + '\n')
sys.stdout.flush()
<commit_msg>Print ICU and Unicode version, if available<commit_after> | #! /usr/bin/env python
"""Print Python interpreter path and version."""
import sys
sys.stdout.write('%s\n' % sys.executable)
sys.stdout.write('%s\n' % sys.version)
try:
import icu # pylint: disable=g-import-not-at-top
sys.stdout.write('ICU %s\n' % icu.ICU_VERSION)
sys.stdout.write('Unicode %s\n' % icu.UNICOD... | #! /usr/bin/env python
"""Print Python interpreter path and version."""
import sys
sys.stdout.write(sys.executable + '\n')
sys.stdout.write(sys.version + '\n')
sys.stdout.flush()
Print ICU and Unicode version, if available#! /usr/bin/env python
"""Print Python interpreter path and version."""
import sys
sys.stdou... | <commit_before>#! /usr/bin/env python
"""Print Python interpreter path and version."""
import sys
sys.stdout.write(sys.executable + '\n')
sys.stdout.write(sys.version + '\n')
sys.stdout.flush()
<commit_msg>Print ICU and Unicode version, if available<commit_after>#! /usr/bin/env python
"""Print Python interpreter pa... |
15b8810b3bf244295f38b628a0ebb1cb72f46bb3 | service_time.py | service_time.py | """ service_time.py """
from datetime import datetime
from flask import Flask, jsonify
app = Flask(__name__)
count = 0
@app.route("/time", methods=['GET'])
def get_datetime():
global count
count += 1
return jsonify(count=count,
datetime=datetime.now().isoformat())
if __name__ == "... | """ service_time.py """
from datetime import datetime
from time import sleep
from flask import Flask, jsonify
app = Flask(__name__)
count = 0
@app.route("/time", methods=['GET'])
def get_datetime():
global count
# sleep to simulate the service response time degrading
sleep(count)
count += 1
re... | Update time service to simulate gradually increasing slow response times. | Update time service to simulate gradually increasing slow response times.
| Python | mit | danriti/short-circuit,danriti/short-circuit | """ service_time.py """
from datetime import datetime
from flask import Flask, jsonify
app = Flask(__name__)
count = 0
@app.route("/time", methods=['GET'])
def get_datetime():
global count
count += 1
return jsonify(count=count,
datetime=datetime.now().isoformat())
if __name__ == "... | """ service_time.py """
from datetime import datetime
from time import sleep
from flask import Flask, jsonify
app = Flask(__name__)
count = 0
@app.route("/time", methods=['GET'])
def get_datetime():
global count
# sleep to simulate the service response time degrading
sleep(count)
count += 1
re... | <commit_before>""" service_time.py """
from datetime import datetime
from flask import Flask, jsonify
app = Flask(__name__)
count = 0
@app.route("/time", methods=['GET'])
def get_datetime():
global count
count += 1
return jsonify(count=count,
datetime=datetime.now().isoformat())
i... | """ service_time.py """
from datetime import datetime
from time import sleep
from flask import Flask, jsonify
app = Flask(__name__)
count = 0
@app.route("/time", methods=['GET'])
def get_datetime():
global count
# sleep to simulate the service response time degrading
sleep(count)
count += 1
re... | """ service_time.py """
from datetime import datetime
from flask import Flask, jsonify
app = Flask(__name__)
count = 0
@app.route("/time", methods=['GET'])
def get_datetime():
global count
count += 1
return jsonify(count=count,
datetime=datetime.now().isoformat())
if __name__ == "... | <commit_before>""" service_time.py """
from datetime import datetime
from flask import Flask, jsonify
app = Flask(__name__)
count = 0
@app.route("/time", methods=['GET'])
def get_datetime():
global count
count += 1
return jsonify(count=count,
datetime=datetime.now().isoformat())
i... |
38c33a772532f33751dbbebe3ee0ecd0ad993616 | alembic/versions/1fbbb727e1dc_change_last_ip_to_inet.py | alembic/versions/1fbbb727e1dc_change_last_ip_to_inet.py | """Change last_ip to inet.
Revision ID: 1fbbb727e1dc
Revises: 2dd8b091742b
Create Date: 2015-08-31 20:54:43.824788
"""
# revision identifiers, used by Alembic.
revision = '1fbbb727e1dc'
down_revision = '2dd8b091742b'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
def upgrade... | """Change last_ip to inet.
Revision ID: 1fbbb727e1dc
Revises: 2dd8b091742b
Create Date: 2015-08-31 20:54:43.824788
"""
# revision identifiers, used by Alembic.
revision = '1fbbb727e1dc'
down_revision = '2dd8b091742b'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
def upgrade... | Fix migrations from text to inet. | Fix migrations from text to inet.
| Python | agpl-3.0 | MSPARP/newparp,MSPARP/newparp,MSPARP/newparp | """Change last_ip to inet.
Revision ID: 1fbbb727e1dc
Revises: 2dd8b091742b
Create Date: 2015-08-31 20:54:43.824788
"""
# revision identifiers, used by Alembic.
revision = '1fbbb727e1dc'
down_revision = '2dd8b091742b'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
def upgrade... | """Change last_ip to inet.
Revision ID: 1fbbb727e1dc
Revises: 2dd8b091742b
Create Date: 2015-08-31 20:54:43.824788
"""
# revision identifiers, used by Alembic.
revision = '1fbbb727e1dc'
down_revision = '2dd8b091742b'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
def upgrade... | <commit_before>"""Change last_ip to inet.
Revision ID: 1fbbb727e1dc
Revises: 2dd8b091742b
Create Date: 2015-08-31 20:54:43.824788
"""
# revision identifiers, used by Alembic.
revision = '1fbbb727e1dc'
down_revision = '2dd8b091742b'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as s... | """Change last_ip to inet.
Revision ID: 1fbbb727e1dc
Revises: 2dd8b091742b
Create Date: 2015-08-31 20:54:43.824788
"""
# revision identifiers, used by Alembic.
revision = '1fbbb727e1dc'
down_revision = '2dd8b091742b'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
def upgrade... | """Change last_ip to inet.
Revision ID: 1fbbb727e1dc
Revises: 2dd8b091742b
Create Date: 2015-08-31 20:54:43.824788
"""
# revision identifiers, used by Alembic.
revision = '1fbbb727e1dc'
down_revision = '2dd8b091742b'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
def upgrade... | <commit_before>"""Change last_ip to inet.
Revision ID: 1fbbb727e1dc
Revises: 2dd8b091742b
Create Date: 2015-08-31 20:54:43.824788
"""
# revision identifiers, used by Alembic.
revision = '1fbbb727e1dc'
down_revision = '2dd8b091742b'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as s... |
89cda8553c662ac7b435516d888706e3f3193cb7 | sir/__main__.py | sir/__main__.py | import argparse
from .schema import SCHEMA
def reindex(args):
known_entities = SCHEMA.keys()
if args['entities'] is not None:
entities = []
for e in args['entities']:
entities.extend(e.split(','))
unknown_entities = set(known_entities) - set(entities)
if unknown_e... | import argparse
from .schema import SCHEMA
def reindex(args):
known_entities = SCHEMA.keys()
if args['entities'] is not None:
entities = []
for e in args['entities']:
entities.extend(e.split(','))
unknown_entities = set(entities) - set(known_entities)
if unknown_e... | Fix the unknown entity type test | Fix the unknown entity type test
We want to check if any user-supplied entity name is unkown, not if any
of the known types are not in the user-supplied list
| Python | mit | jeffweeksio/sir | import argparse
from .schema import SCHEMA
def reindex(args):
known_entities = SCHEMA.keys()
if args['entities'] is not None:
entities = []
for e in args['entities']:
entities.extend(e.split(','))
unknown_entities = set(known_entities) - set(entities)
if unknown_e... | import argparse
from .schema import SCHEMA
def reindex(args):
known_entities = SCHEMA.keys()
if args['entities'] is not None:
entities = []
for e in args['entities']:
entities.extend(e.split(','))
unknown_entities = set(entities) - set(known_entities)
if unknown_e... | <commit_before>import argparse
from .schema import SCHEMA
def reindex(args):
known_entities = SCHEMA.keys()
if args['entities'] is not None:
entities = []
for e in args['entities']:
entities.extend(e.split(','))
unknown_entities = set(known_entities) - set(entities)
... | import argparse
from .schema import SCHEMA
def reindex(args):
known_entities = SCHEMA.keys()
if args['entities'] is not None:
entities = []
for e in args['entities']:
entities.extend(e.split(','))
unknown_entities = set(entities) - set(known_entities)
if unknown_e... | import argparse
from .schema import SCHEMA
def reindex(args):
known_entities = SCHEMA.keys()
if args['entities'] is not None:
entities = []
for e in args['entities']:
entities.extend(e.split(','))
unknown_entities = set(known_entities) - set(entities)
if unknown_e... | <commit_before>import argparse
from .schema import SCHEMA
def reindex(args):
known_entities = SCHEMA.keys()
if args['entities'] is not None:
entities = []
for e in args['entities']:
entities.extend(e.split(','))
unknown_entities = set(known_entities) - set(entities)
... |
bcc206b46c089ea7f7ea5dfbc5c8b11a1fe72447 | movie_time_app/models.py | movie_time_app/models.py | from django.db import models
# Create your models here.
class Movie(models.Model):
movie_id = models.IntegerField(primary_key=True)
title = models.CharField(max_length=200)
poster = models.ImageField(null=True, blank=True)
year = models.IntegerField(null=True)
genres = models.CharField(max_length=2... | from django.db import models
# Create your models here.
class Movie(models.Model):
movie_id = models.IntegerField(primary_key=True)
title = models.CharField(max_length=200)
poster = models.ImageField(null=True, blank=True)
year = models.IntegerField(null=True)
genres = models.CharField(max_length=2... | Add self-rating flag for movies. Removed LikedOrNot table | Add self-rating flag for movies. Removed LikedOrNot table
| Python | mit | osama-haggag/movie-time,osama-haggag/movie-time | from django.db import models
# Create your models here.
class Movie(models.Model):
movie_id = models.IntegerField(primary_key=True)
title = models.CharField(max_length=200)
poster = models.ImageField(null=True, blank=True)
year = models.IntegerField(null=True)
genres = models.CharField(max_length=2... | from django.db import models
# Create your models here.
class Movie(models.Model):
movie_id = models.IntegerField(primary_key=True)
title = models.CharField(max_length=200)
poster = models.ImageField(null=True, blank=True)
year = models.IntegerField(null=True)
genres = models.CharField(max_length=2... | <commit_before>from django.db import models
# Create your models here.
class Movie(models.Model):
movie_id = models.IntegerField(primary_key=True)
title = models.CharField(max_length=200)
poster = models.ImageField(null=True, blank=True)
year = models.IntegerField(null=True)
genres = models.CharFie... | from django.db import models
# Create your models here.
class Movie(models.Model):
movie_id = models.IntegerField(primary_key=True)
title = models.CharField(max_length=200)
poster = models.ImageField(null=True, blank=True)
year = models.IntegerField(null=True)
genres = models.CharField(max_length=2... | from django.db import models
# Create your models here.
class Movie(models.Model):
movie_id = models.IntegerField(primary_key=True)
title = models.CharField(max_length=200)
poster = models.ImageField(null=True, blank=True)
year = models.IntegerField(null=True)
genres = models.CharField(max_length=2... | <commit_before>from django.db import models
# Create your models here.
class Movie(models.Model):
movie_id = models.IntegerField(primary_key=True)
title = models.CharField(max_length=200)
poster = models.ImageField(null=True, blank=True)
year = models.IntegerField(null=True)
genres = models.CharFie... |
bf97132fd263026aea42d5af9772d378eaec67d9 | setup.py | setup.py | import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_metadata.tests.te... | import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_metadata.tests.te... | Enable markdown for PyPI README | Enable markdown for PyPI README | Python | bsd-3-clause | consbio/gis-metadata-parser | import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_metadata.tests.te... | import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_metadata.tests.te... | <commit_before>import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_me... | import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_metadata.tests.te... | import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_metadata.tests.te... | <commit_before>import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_me... |
d261a41419ab1d2f0543798743ff34607d3d455f | setup.py | setup.py | from setuptools import setup
import sys
install_requires = ['six']
if sys.version_info[0] == 2 and sys.version_info[1] == 6:
install_requires.extend(['ordereddict', 'argparse'])
setup(
name='pyfaidx',
provides='pyfaidx',
version='0.3.0',
author='Matthew Shirley',
author_email='mdshw5@gmail.co... | from setuptools import setup
import sys
install_requires = ['six']
if sys.version_info[0] == 2 and sys.version_info[1] == 6:
install_requires.extend(['ordereddict', 'argparse'])
setup(
name='pyfaidx',
provides='pyfaidx',
version='0.3.1',
author='Matthew Shirley',
author_email='mdshw5@gmail.co... | Increment version for deployment. Update trove classifier. | Increment version for deployment. Update trove classifier.
| Python | bsd-3-clause | mattions/pyfaidx | from setuptools import setup
import sys
install_requires = ['six']
if sys.version_info[0] == 2 and sys.version_info[1] == 6:
install_requires.extend(['ordereddict', 'argparse'])
setup(
name='pyfaidx',
provides='pyfaidx',
version='0.3.0',
author='Matthew Shirley',
author_email='mdshw5@gmail.co... | from setuptools import setup
import sys
install_requires = ['six']
if sys.version_info[0] == 2 and sys.version_info[1] == 6:
install_requires.extend(['ordereddict', 'argparse'])
setup(
name='pyfaidx',
provides='pyfaidx',
version='0.3.1',
author='Matthew Shirley',
author_email='mdshw5@gmail.co... | <commit_before>from setuptools import setup
import sys
install_requires = ['six']
if sys.version_info[0] == 2 and sys.version_info[1] == 6:
install_requires.extend(['ordereddict', 'argparse'])
setup(
name='pyfaidx',
provides='pyfaidx',
version='0.3.0',
author='Matthew Shirley',
author_email='... | from setuptools import setup
import sys
install_requires = ['six']
if sys.version_info[0] == 2 and sys.version_info[1] == 6:
install_requires.extend(['ordereddict', 'argparse'])
setup(
name='pyfaidx',
provides='pyfaidx',
version='0.3.1',
author='Matthew Shirley',
author_email='mdshw5@gmail.co... | from setuptools import setup
import sys
install_requires = ['six']
if sys.version_info[0] == 2 and sys.version_info[1] == 6:
install_requires.extend(['ordereddict', 'argparse'])
setup(
name='pyfaidx',
provides='pyfaidx',
version='0.3.0',
author='Matthew Shirley',
author_email='mdshw5@gmail.co... | <commit_before>from setuptools import setup
import sys
install_requires = ['six']
if sys.version_info[0] == 2 and sys.version_info[1] == 6:
install_requires.extend(['ordereddict', 'argparse'])
setup(
name='pyfaidx',
provides='pyfaidx',
version='0.3.0',
author='Matthew Shirley',
author_email='... |
cd7584645548758e59e05531d44121fb29c2e27c | setup.py | setup.py | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a8',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU-... | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a10',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU... | Upgrade django-local-settings 1.0a8 => 1.0a10 | Upgrade django-local-settings 1.0a8 => 1.0a10
| Python | mit | PSU-OIT-ARC/django-arcutils,wylee/django-arcutils,PSU-OIT-ARC/django-arcutils,wylee/django-arcutils | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a8',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU-... | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a10',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU... | <commit_before>import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a8',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://... | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a10',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU... | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a8',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU-... | <commit_before>import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a8',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://... |
35b49a952da9cb95fae4fd8eb25752ca9faee5ef | setup.py | setup.py |
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'Logging wrapper',
'author': 'Feth Arezki',
'url': 'https://github.com/majerteam/quicklogging',
'download_url': 'https://github.com/majerteam/quicklogging',
'author_email': 'tec... |
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'Logging wrapper',
'author': 'Feth Arezki',
'url': 'https://github.com/majerteam/quicklogging',
'download_url': 'https://github.com/majerteam/quicklogging',
'author_email': 'tec... | Update test deps: pytest-coverage -> pytest-cov | Update test deps: pytest-coverage -> pytest-cov
| Python | mit | majerteam/quicklogging,majerteam/quicklogging |
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'Logging wrapper',
'author': 'Feth Arezki',
'url': 'https://github.com/majerteam/quicklogging',
'download_url': 'https://github.com/majerteam/quicklogging',
'author_email': 'tec... |
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'Logging wrapper',
'author': 'Feth Arezki',
'url': 'https://github.com/majerteam/quicklogging',
'download_url': 'https://github.com/majerteam/quicklogging',
'author_email': 'tec... | <commit_before>
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'Logging wrapper',
'author': 'Feth Arezki',
'url': 'https://github.com/majerteam/quicklogging',
'download_url': 'https://github.com/majerteam/quicklogging',
'auth... |
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'Logging wrapper',
'author': 'Feth Arezki',
'url': 'https://github.com/majerteam/quicklogging',
'download_url': 'https://github.com/majerteam/quicklogging',
'author_email': 'tec... |
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'Logging wrapper',
'author': 'Feth Arezki',
'url': 'https://github.com/majerteam/quicklogging',
'download_url': 'https://github.com/majerteam/quicklogging',
'author_email': 'tec... | <commit_before>
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'Logging wrapper',
'author': 'Feth Arezki',
'url': 'https://github.com/majerteam/quicklogging',
'download_url': 'https://github.com/majerteam/quicklogging',
'auth... |
48dc523d438425b2aae9820e835f535b8783d661 | setup.py | setup.py | from paperpal import __version__ as version
def slurp(filename):
with open(filename) as opened_file:
return opened_file.read()
from setuptools import setup
setup(name='paperpal',
version=version,
description='Helper to export Zotero data',
long_description=slurp('README.rst'),
url... | from setuptools import setup, find_packages
from paperpal import __version__ as version
def slurp(filename):
with open(filename) as opened_file:
return opened_file.read()
setup(name='paperpal',
version=version,
description='Paper management with Zotero',
long_description=slurp('README... | Add JavaScript files as package data. | Add JavaScript files as package data.
| Python | apache-2.0 | eddieantonio/paperpal,eddieantonio/paperpal | from paperpal import __version__ as version
def slurp(filename):
with open(filename) as opened_file:
return opened_file.read()
from setuptools import setup
setup(name='paperpal',
version=version,
description='Helper to export Zotero data',
long_description=slurp('README.rst'),
url... | from setuptools import setup, find_packages
from paperpal import __version__ as version
def slurp(filename):
with open(filename) as opened_file:
return opened_file.read()
setup(name='paperpal',
version=version,
description='Paper management with Zotero',
long_description=slurp('README... | <commit_before>from paperpal import __version__ as version
def slurp(filename):
with open(filename) as opened_file:
return opened_file.read()
from setuptools import setup
setup(name='paperpal',
version=version,
description='Helper to export Zotero data',
long_description=slurp('README.r... | from setuptools import setup, find_packages
from paperpal import __version__ as version
def slurp(filename):
with open(filename) as opened_file:
return opened_file.read()
setup(name='paperpal',
version=version,
description='Paper management with Zotero',
long_description=slurp('README... | from paperpal import __version__ as version
def slurp(filename):
with open(filename) as opened_file:
return opened_file.read()
from setuptools import setup
setup(name='paperpal',
version=version,
description='Helper to export Zotero data',
long_description=slurp('README.rst'),
url... | <commit_before>from paperpal import __version__ as version
def slurp(filename):
with open(filename) as opened_file:
return opened_file.read()
from setuptools import setup
setup(name='paperpal',
version=version,
description='Helper to export Zotero data',
long_description=slurp('README.r... |
798b7976084748d7966b3fc3e4ae2e9a634c99de | setup.py | setup.py | import os
from setuptools import setup, find_packages
import glob
VERSION = "0.6.3"
src_dir = os.path.dirname(__file__)
install_requires = [
"troposphere>=1.8.0",
"boto3>=1.3.1",
"botocore>=1.4.38",
"PyYAML>=3.11",
"awacs>=0.6.0",
"colorama==0.3.7",
]
tests_require = [
"nose>=1.0",
"... | import os
from setuptools import setup, find_packages
import glob
VERSION = "0.6.3"
src_dir = os.path.dirname(__file__)
install_requires = [
"troposphere~=1.8.0",
"boto3~=1.3.1",
"botocore~=1.4.38",
"PyYAML~=3.11",
"awacs~=0.6.0",
"colorama~=0.3.7",
]
tests_require = [
"nose~=1.0",
"... | Use compatible release versions for all dependencies | Use compatible release versions for all dependencies
| Python | bsd-2-clause | remind101/stacker,remind101/stacker,mhahn/stacker,mhahn/stacker | import os
from setuptools import setup, find_packages
import glob
VERSION = "0.6.3"
src_dir = os.path.dirname(__file__)
install_requires = [
"troposphere>=1.8.0",
"boto3>=1.3.1",
"botocore>=1.4.38",
"PyYAML>=3.11",
"awacs>=0.6.0",
"colorama==0.3.7",
]
tests_require = [
"nose>=1.0",
"... | import os
from setuptools import setup, find_packages
import glob
VERSION = "0.6.3"
src_dir = os.path.dirname(__file__)
install_requires = [
"troposphere~=1.8.0",
"boto3~=1.3.1",
"botocore~=1.4.38",
"PyYAML~=3.11",
"awacs~=0.6.0",
"colorama~=0.3.7",
]
tests_require = [
"nose~=1.0",
"... | <commit_before>import os
from setuptools import setup, find_packages
import glob
VERSION = "0.6.3"
src_dir = os.path.dirname(__file__)
install_requires = [
"troposphere>=1.8.0",
"boto3>=1.3.1",
"botocore>=1.4.38",
"PyYAML>=3.11",
"awacs>=0.6.0",
"colorama==0.3.7",
]
tests_require = [
"no... | import os
from setuptools import setup, find_packages
import glob
VERSION = "0.6.3"
src_dir = os.path.dirname(__file__)
install_requires = [
"troposphere~=1.8.0",
"boto3~=1.3.1",
"botocore~=1.4.38",
"PyYAML~=3.11",
"awacs~=0.6.0",
"colorama~=0.3.7",
]
tests_require = [
"nose~=1.0",
"... | import os
from setuptools import setup, find_packages
import glob
VERSION = "0.6.3"
src_dir = os.path.dirname(__file__)
install_requires = [
"troposphere>=1.8.0",
"boto3>=1.3.1",
"botocore>=1.4.38",
"PyYAML>=3.11",
"awacs>=0.6.0",
"colorama==0.3.7",
]
tests_require = [
"nose>=1.0",
"... | <commit_before>import os
from setuptools import setup, find_packages
import glob
VERSION = "0.6.3"
src_dir = os.path.dirname(__file__)
install_requires = [
"troposphere>=1.8.0",
"boto3>=1.3.1",
"botocore>=1.4.38",
"PyYAML>=3.11",
"awacs>=0.6.0",
"colorama==0.3.7",
]
tests_require = [
"no... |
a2bd15575f6799a6d473c7fef9bfd4a629a8350a | setup.py | setup.py | from setuptools import setup
with open('README.md') as file:
long_description = file.read()
setup(
name="guacamole-files",
version="0.1.0",
author="Antonin Messinger",
author_email="antonin.messinger@gmail.com",
description=" Upload any file, get a URL back",
long_description=long_descrip... | from setuptools import setup
with open('README.md') as file:
long_description = file.read()
setup(
name="guacamole-files",
version="0.1.0",
author="Antonin Messinger",
author_email="antonin.messinger@gmail.com",
description=" Upload any file, get a URL back",
long_description=long_descrip... | Upgrade to Flask 0.12.3 to fix CVE-2018-1000656 | Upgrade to Flask 0.12.3 to fix CVE-2018-1000656
| Python | mit | Antojitos/guacamole | from setuptools import setup
with open('README.md') as file:
long_description = file.read()
setup(
name="guacamole-files",
version="0.1.0",
author="Antonin Messinger",
author_email="antonin.messinger@gmail.com",
description=" Upload any file, get a URL back",
long_description=long_descrip... | from setuptools import setup
with open('README.md') as file:
long_description = file.read()
setup(
name="guacamole-files",
version="0.1.0",
author="Antonin Messinger",
author_email="antonin.messinger@gmail.com",
description=" Upload any file, get a URL back",
long_description=long_descrip... | <commit_before>from setuptools import setup
with open('README.md') as file:
long_description = file.read()
setup(
name="guacamole-files",
version="0.1.0",
author="Antonin Messinger",
author_email="antonin.messinger@gmail.com",
description=" Upload any file, get a URL back",
long_descripti... | from setuptools import setup
with open('README.md') as file:
long_description = file.read()
setup(
name="guacamole-files",
version="0.1.0",
author="Antonin Messinger",
author_email="antonin.messinger@gmail.com",
description=" Upload any file, get a URL back",
long_description=long_descrip... | from setuptools import setup
with open('README.md') as file:
long_description = file.read()
setup(
name="guacamole-files",
version="0.1.0",
author="Antonin Messinger",
author_email="antonin.messinger@gmail.com",
description=" Upload any file, get a URL back",
long_description=long_descrip... | <commit_before>from setuptools import setup
with open('README.md') as file:
long_description = file.read()
setup(
name="guacamole-files",
version="0.1.0",
author="Antonin Messinger",
author_email="antonin.messinger@gmail.com",
description=" Upload any file, get a URL back",
long_descripti... |
8ed470f474b2cac84a18fe3709e67b3a160cfdc6 | 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='2.0.0',
packages=['djexmo'],
i... | 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='2.0.0',
packages=['djexmo'],
i... | Move lib dependency to nexmo | Move lib dependency to nexmo
| 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='2.0.0',
packages=['djexmo'],
i... | 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='2.0.0',
packages=['djexmo'],
i... | <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='2.0.0',
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='2.0.0',
packages=['djexmo'],
i... | 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='2.0.0',
packages=['djexmo'],
i... | <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='2.0.0',
packages=['... |
59761e83b240fe7573370f542ea6e877c5850907 | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup, Extension
uinput = Extension('libuinput',
sources = ['src/uinput.c'])
setup(name='python-steamcontroller',
version='1.0',
description='Steam Controller userland driver',
author='Stany MARCEL',
author_email='stanypub@gm... | #!/usr/bin/env python
from distutils.core import setup, Extension
uinput = Extension('libuinput',
sources = ['src/uinput.c'])
setup(name='python-steamcontroller',
version='1.0',
description='Steam Controller userland driver',
author='Stany MARCEL',
author_email='stanypub@gm... | Add json to from vdf scripts | Add json to from vdf scripts
Signed-off-by: Stany MARCEL <3e139d47b96f775f4bc13af807cbc2ea7c67e72b@gmail.com>
| Python | mit | ynsta/steamcontroller,oneru/steamcontroller,oneru/steamcontroller,ynsta/steamcontroller | #!/usr/bin/env python
from distutils.core import setup, Extension
uinput = Extension('libuinput',
sources = ['src/uinput.c'])
setup(name='python-steamcontroller',
version='1.0',
description='Steam Controller userland driver',
author='Stany MARCEL',
author_email='stanypub@gm... | #!/usr/bin/env python
from distutils.core import setup, Extension
uinput = Extension('libuinput',
sources = ['src/uinput.c'])
setup(name='python-steamcontroller',
version='1.0',
description='Steam Controller userland driver',
author='Stany MARCEL',
author_email='stanypub@gm... | <commit_before>#!/usr/bin/env python
from distutils.core import setup, Extension
uinput = Extension('libuinput',
sources = ['src/uinput.c'])
setup(name='python-steamcontroller',
version='1.0',
description='Steam Controller userland driver',
author='Stany MARCEL',
author_ema... | #!/usr/bin/env python
from distutils.core import setup, Extension
uinput = Extension('libuinput',
sources = ['src/uinput.c'])
setup(name='python-steamcontroller',
version='1.0',
description='Steam Controller userland driver',
author='Stany MARCEL',
author_email='stanypub@gm... | #!/usr/bin/env python
from distutils.core import setup, Extension
uinput = Extension('libuinput',
sources = ['src/uinput.c'])
setup(name='python-steamcontroller',
version='1.0',
description='Steam Controller userland driver',
author='Stany MARCEL',
author_email='stanypub@gm... | <commit_before>#!/usr/bin/env python
from distutils.core import setup, Extension
uinput = Extension('libuinput',
sources = ['src/uinput.c'])
setup(name='python-steamcontroller',
version='1.0',
description='Steam Controller userland driver',
author='Stany MARCEL',
author_ema... |
ca06378b83a2cef1902bff1204cb3f506433f974 | setup.py | setup.py | try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
DESCRIPTION = "Convert Matplotlib plots into Leaflet web maps"
LONG_DESCRIPTION = DESCRIPTION
NAME = "mplleaflet"
AUTHOR = "Jacob Wasserman"
AUTHOR_EMAIL = "jwasserman@gmail.com"
MAINTAINER = "J... | try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
with open('AUTHORS.md') as f:
authors = f.read()
description = "Convert Matplotlib plots into Leaflet web maps"
long_description = description + "\n\n" + authors
NAME = "mplleaflet"
AUTHOR ... | Add authors to long description. | Add authors to long description.
| Python | bsd-3-clause | jwass/mplleaflet,ocefpaf/mplleaflet,jwass/mplleaflet,ocefpaf/mplleaflet | try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
DESCRIPTION = "Convert Matplotlib plots into Leaflet web maps"
LONG_DESCRIPTION = DESCRIPTION
NAME = "mplleaflet"
AUTHOR = "Jacob Wasserman"
AUTHOR_EMAIL = "jwasserman@gmail.com"
MAINTAINER = "J... | try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
with open('AUTHORS.md') as f:
authors = f.read()
description = "Convert Matplotlib plots into Leaflet web maps"
long_description = description + "\n\n" + authors
NAME = "mplleaflet"
AUTHOR ... | <commit_before>try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
DESCRIPTION = "Convert Matplotlib plots into Leaflet web maps"
LONG_DESCRIPTION = DESCRIPTION
NAME = "mplleaflet"
AUTHOR = "Jacob Wasserman"
AUTHOR_EMAIL = "jwasserman@gmail.com"
... | try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
with open('AUTHORS.md') as f:
authors = f.read()
description = "Convert Matplotlib plots into Leaflet web maps"
long_description = description + "\n\n" + authors
NAME = "mplleaflet"
AUTHOR ... | try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
DESCRIPTION = "Convert Matplotlib plots into Leaflet web maps"
LONG_DESCRIPTION = DESCRIPTION
NAME = "mplleaflet"
AUTHOR = "Jacob Wasserman"
AUTHOR_EMAIL = "jwasserman@gmail.com"
MAINTAINER = "J... | <commit_before>try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
DESCRIPTION = "Convert Matplotlib plots into Leaflet web maps"
LONG_DESCRIPTION = DESCRIPTION
NAME = "mplleaflet"
AUTHOR = "Jacob Wasserman"
AUTHOR_EMAIL = "jwasserman@gmail.com"
... |
f18e291a4ebfb51c6eec18c9c64a8d928fd3aa9e | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
long_description = read_md('README.md')
except IOError:
print("warning: README.md not found")
long_description = ""
except ImportError:
print("warn... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
try:
from pypandoc import convert
long_description = convert('README.md', 'md', format='rst')
except IOError:
print("warning: README.md not found")
long_description = ""
except ImportError:
print("warning: pypandoc module n... | Fix for md to rst | Fix for md to rst
| Python | agpl-3.0 | PyBossa/pbs,PyBossa/pbs,PyBossa/pbs | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
long_description = read_md('README.md')
except IOError:
print("warning: README.md not found")
long_description = ""
except ImportError:
print("warn... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
try:
from pypandoc import convert
long_description = convert('README.md', 'md', format='rst')
except IOError:
print("warning: README.md not found")
long_description = ""
except ImportError:
print("warning: pypandoc module n... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
long_description = read_md('README.md')
except IOError:
print("warning: README.md not found")
long_description = ""
except ImportError:
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
try:
from pypandoc import convert
long_description = convert('README.md', 'md', format='rst')
except IOError:
print("warning: README.md not found")
long_description = ""
except ImportError:
print("warning: pypandoc module n... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
long_description = read_md('README.md')
except IOError:
print("warning: README.md not found")
long_description = ""
except ImportError:
print("warn... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
long_description = read_md('README.md')
except IOError:
print("warning: README.md not found")
long_description = ""
except ImportError:
... |
9b1ae7410004635dd59d07fda89c9aa93979a88f | setup.py | setup.py | import codecs
from setuptools import setup, find_packages
def long_description():
with codecs.open('README.rst', encoding='utf8') as f:
return f.read()
setup(
name='django-querysetsequence',
packages=find_packages(),
version='0.1',
description='Chain together multiple (disparate) QuerySe... | import codecs
from setuptools import setup, find_packages
def long_description():
with codecs.open('README.rst', encoding='utf8') as f:
return f.read()
setup(
name='django-querysetsequence',
py_modules=['queryset_sequence'],
version='0.1',
description='Chain together multiple (disparate)... | Use py_modules instead of packages. | Use py_modules instead of packages.
This is necessary when only having a "root package".
| Python | isc | percipient/django-querysetsequence | import codecs
from setuptools import setup, find_packages
def long_description():
with codecs.open('README.rst', encoding='utf8') as f:
return f.read()
setup(
name='django-querysetsequence',
packages=find_packages(),
version='0.1',
description='Chain together multiple (disparate) QuerySe... | import codecs
from setuptools import setup, find_packages
def long_description():
with codecs.open('README.rst', encoding='utf8') as f:
return f.read()
setup(
name='django-querysetsequence',
py_modules=['queryset_sequence'],
version='0.1',
description='Chain together multiple (disparate)... | <commit_before>import codecs
from setuptools import setup, find_packages
def long_description():
with codecs.open('README.rst', encoding='utf8') as f:
return f.read()
setup(
name='django-querysetsequence',
packages=find_packages(),
version='0.1',
description='Chain together multiple (dis... | import codecs
from setuptools import setup, find_packages
def long_description():
with codecs.open('README.rst', encoding='utf8') as f:
return f.read()
setup(
name='django-querysetsequence',
py_modules=['queryset_sequence'],
version='0.1',
description='Chain together multiple (disparate)... | import codecs
from setuptools import setup, find_packages
def long_description():
with codecs.open('README.rst', encoding='utf8') as f:
return f.read()
setup(
name='django-querysetsequence',
packages=find_packages(),
version='0.1',
description='Chain together multiple (disparate) QuerySe... | <commit_before>import codecs
from setuptools import setup, find_packages
def long_description():
with codecs.open('README.rst', encoding='utf8') as f:
return f.read()
setup(
name='django-querysetsequence',
packages=find_packages(),
version='0.1',
description='Chain together multiple (dis... |
6f2690858d41a86ee1d2f3345b544a50438a493f | setup.py | setup.py | import sys
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='blessings',
version='1.4',
description='A thin, practical wrapper around terminal coloring, styling, and positioning',
long_description=open('README.rs... | import sys
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='blessings',
version='1.4',
description='A thin, practical wrapper around terminal coloring, styling, and positioning',
long_description=open('README.rs... | Fix case of "nose" in tests_require. | Fix case of "nose" in tests_require. | Python | mit | tartley/blessings,erikrose/blessings,jquast/blessed | import sys
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='blessings',
version='1.4',
description='A thin, practical wrapper around terminal coloring, styling, and positioning',
long_description=open('README.rs... | import sys
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='blessings',
version='1.4',
description='A thin, practical wrapper around terminal coloring, styling, and positioning',
long_description=open('README.rs... | <commit_before>import sys
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='blessings',
version='1.4',
description='A thin, practical wrapper around terminal coloring, styling, and positioning',
long_description=... | import sys
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='blessings',
version='1.4',
description='A thin, practical wrapper around terminal coloring, styling, and positioning',
long_description=open('README.rs... | import sys
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='blessings',
version='1.4',
description='A thin, practical wrapper around terminal coloring, styling, and positioning',
long_description=open('README.rs... | <commit_before>import sys
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='blessings',
version='1.4',
description='A thin, practical wrapper around terminal coloring, styling, and positioning',
long_description=... |
825ab4f2a26e7a5c4348f1adfa8e5163013e43f7 | setup.py | setup.py | #!/usr/bin/env python
#coding: utf-8
from cms import VERSION
from setuptools import setup, find_packages
EXCLUDE_FROM_PACKAGES = ['cms.bin']
setup(
name="onespacemedia-cms",
version=".".join(str(n) for n in VERSION),
url="https://github.com/onespacemedia/cms",
author="Daniel Samuels",
author_ema... | #!/usr/bin/env python
#coding: utf-8
from cms import VERSION
from setuptools import setup, find_packages
EXCLUDE_FROM_PACKAGES = ['cms.bin']
setup(
name="onespacemedia-cms",
version=".".join(str(n) for n in VERSION),
url="https://github.com/onespacemedia/cms",
author="Daniel Samuels",
author_ema... | Add raven to the dependancy list. | Add raven to the dependancy list. | Python | bsd-3-clause | jamesfoley/cms,danielsamuels/cms,lewiscollard/cms,danielsamuels/cms,lewiscollard/cms,dan-gamble/cms,lewiscollard/cms,dan-gamble/cms,jamesfoley/cms,danielsamuels/cms,dan-gamble/cms,jamesfoley/cms,jamesfoley/cms | #!/usr/bin/env python
#coding: utf-8
from cms import VERSION
from setuptools import setup, find_packages
EXCLUDE_FROM_PACKAGES = ['cms.bin']
setup(
name="onespacemedia-cms",
version=".".join(str(n) for n in VERSION),
url="https://github.com/onespacemedia/cms",
author="Daniel Samuels",
author_ema... | #!/usr/bin/env python
#coding: utf-8
from cms import VERSION
from setuptools import setup, find_packages
EXCLUDE_FROM_PACKAGES = ['cms.bin']
setup(
name="onespacemedia-cms",
version=".".join(str(n) for n in VERSION),
url="https://github.com/onespacemedia/cms",
author="Daniel Samuels",
author_ema... | <commit_before>#!/usr/bin/env python
#coding: utf-8
from cms import VERSION
from setuptools import setup, find_packages
EXCLUDE_FROM_PACKAGES = ['cms.bin']
setup(
name="onespacemedia-cms",
version=".".join(str(n) for n in VERSION),
url="https://github.com/onespacemedia/cms",
author="Daniel Samuels",... | #!/usr/bin/env python
#coding: utf-8
from cms import VERSION
from setuptools import setup, find_packages
EXCLUDE_FROM_PACKAGES = ['cms.bin']
setup(
name="onespacemedia-cms",
version=".".join(str(n) for n in VERSION),
url="https://github.com/onespacemedia/cms",
author="Daniel Samuels",
author_ema... | #!/usr/bin/env python
#coding: utf-8
from cms import VERSION
from setuptools import setup, find_packages
EXCLUDE_FROM_PACKAGES = ['cms.bin']
setup(
name="onespacemedia-cms",
version=".".join(str(n) for n in VERSION),
url="https://github.com/onespacemedia/cms",
author="Daniel Samuels",
author_ema... | <commit_before>#!/usr/bin/env python
#coding: utf-8
from cms import VERSION
from setuptools import setup, find_packages
EXCLUDE_FROM_PACKAGES = ['cms.bin']
setup(
name="onespacemedia-cms",
version=".".join(str(n) for n in VERSION),
url="https://github.com/onespacemedia/cms",
author="Daniel Samuels",... |
a620066a23f21b8a736cae0238dfa3ee8549e3a7 | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
from serfclient import __version__
try:
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args ... | #!/usr/bin/env python
import os
import sys
from serfclient import __version__
try:
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args ... | Add pytest-cov as a test dependency | Add pytest-cov as a test dependency
As part of CI we want to check our code coverage as we work on this
python module.
| Python | mit | charleswhchan/serfclient-py,KushalP/serfclient-py | #!/usr/bin/env python
import os
import sys
from serfclient import __version__
try:
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args ... | #!/usr/bin/env python
import os
import sys
from serfclient import __version__
try:
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args ... | <commit_before>#!/usr/bin/env python
import os
import sys
from serfclient import __version__
try:
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
... | #!/usr/bin/env python
import os
import sys
from serfclient import __version__
try:
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args ... | #!/usr/bin/env python
import os
import sys
from serfclient import __version__
try:
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args ... | <commit_before>#!/usr/bin/env python
import os
import sys
from serfclient import __version__
try:
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
... |
3c89214e45f631d8258f75e7f96c252c181dfdab | setup.py | setup.py | from sys import version_info
from setuptools import find_packages, setup
VERSION = open('puresnmp/version.txt').read().strip()
DEPENDENCIES = []
if version_info < (3, 5):
DEPENDENCIES.append('typing')
setup(
name="puresnmp",
version=VERSION,
description="Pure Python SNMP implementation",
long_des... | from sys import version_info
from setuptools import find_packages, setup
VERSION = open('puresnmp/version.txt').read().strip()
DEPENDENCIES = []
if version_info < (3, 5):
DEPENDENCIES.append('typing')
if version_info < (3, 3):
DEPENDENCIES.append('ipaddress')
DEPENDENCIES.append('mock')
setup(
name="... | Add missing dependencies for Python 2 | Add missing dependencies for Python 2
| Python | mit | exhuma/puresnmp,exhuma/puresnmp | from sys import version_info
from setuptools import find_packages, setup
VERSION = open('puresnmp/version.txt').read().strip()
DEPENDENCIES = []
if version_info < (3, 5):
DEPENDENCIES.append('typing')
setup(
name="puresnmp",
version=VERSION,
description="Pure Python SNMP implementation",
long_des... | from sys import version_info
from setuptools import find_packages, setup
VERSION = open('puresnmp/version.txt').read().strip()
DEPENDENCIES = []
if version_info < (3, 5):
DEPENDENCIES.append('typing')
if version_info < (3, 3):
DEPENDENCIES.append('ipaddress')
DEPENDENCIES.append('mock')
setup(
name="... | <commit_before>from sys import version_info
from setuptools import find_packages, setup
VERSION = open('puresnmp/version.txt').read().strip()
DEPENDENCIES = []
if version_info < (3, 5):
DEPENDENCIES.append('typing')
setup(
name="puresnmp",
version=VERSION,
description="Pure Python SNMP implementation... | from sys import version_info
from setuptools import find_packages, setup
VERSION = open('puresnmp/version.txt').read().strip()
DEPENDENCIES = []
if version_info < (3, 5):
DEPENDENCIES.append('typing')
if version_info < (3, 3):
DEPENDENCIES.append('ipaddress')
DEPENDENCIES.append('mock')
setup(
name="... | from sys import version_info
from setuptools import find_packages, setup
VERSION = open('puresnmp/version.txt').read().strip()
DEPENDENCIES = []
if version_info < (3, 5):
DEPENDENCIES.append('typing')
setup(
name="puresnmp",
version=VERSION,
description="Pure Python SNMP implementation",
long_des... | <commit_before>from sys import version_info
from setuptools import find_packages, setup
VERSION = open('puresnmp/version.txt').read().strip()
DEPENDENCIES = []
if version_info < (3, 5):
DEPENDENCIES.append('typing')
setup(
name="puresnmp",
version=VERSION,
description="Pure Python SNMP implementation... |
179e72db3d95a41d53ebd019a5cb698a7767eb45 | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="xutils",
version="0.8",
description="A Fragmentary Python Library.",
author="xgfone",
author_email="xgfone@126.com",
maintainer="xgfone",
maintainer_email="xgfone@126.com",
url="h... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="xutils",
version="0.8.1",
description="A Fragmentary Python Library.",
author="xgfone",
author_email="xgfone@126.com",
maintainer="xgfone",
maintainer_email="xgfone@126.com",
url=... | Set the version to 0.8.1 | Set the version to 0.8.1
| Python | mit | xgfone/xutils,xgfone/pycom | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="xutils",
version="0.8",
description="A Fragmentary Python Library.",
author="xgfone",
author_email="xgfone@126.com",
maintainer="xgfone",
maintainer_email="xgfone@126.com",
url="h... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="xutils",
version="0.8.1",
description="A Fragmentary Python Library.",
author="xgfone",
author_email="xgfone@126.com",
maintainer="xgfone",
maintainer_email="xgfone@126.com",
url=... | <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="xutils",
version="0.8",
description="A Fragmentary Python Library.",
author="xgfone",
author_email="xgfone@126.com",
maintainer="xgfone",
maintainer_email="xgfone@126.c... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="xutils",
version="0.8.1",
description="A Fragmentary Python Library.",
author="xgfone",
author_email="xgfone@126.com",
maintainer="xgfone",
maintainer_email="xgfone@126.com",
url=... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="xutils",
version="0.8",
description="A Fragmentary Python Library.",
author="xgfone",
author_email="xgfone@126.com",
maintainer="xgfone",
maintainer_email="xgfone@126.com",
url="h... | <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="xutils",
version="0.8",
description="A Fragmentary Python Library.",
author="xgfone",
author_email="xgfone@126.com",
maintainer="xgfone",
maintainer_email="xgfone@126.c... |
2df022622348c568bfb2620dfa2b9803de3ca2d5 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
URL_BASE = 'https://github.com/astropy/astropy-tools/'
setup(
name='astropy-tools',
version='0.0.0.dev0',
author='The Astropy Developers',
author_email='astropy.team@gmail.com',
url=URL_BASE,
download_url=URL_BASE + 'archive/master.zip',
... | #!/usr/bin/env python
from setuptools import setup
URL_BASE = 'https://github.com/astropy/astropy-tools/'
setup(
name='astropy-tools',
version='0.0.0.dev0',
author='The Astropy Developers',
author_email='astropy.team@gmail.com',
url=URL_BASE,
download_url=URL_BASE + 'archive/master.zip',
... | Include requests module in requirements for use by the gh_issuereport script | Include requests module in requirements for use by the gh_issuereport script
| Python | bsd-3-clause | astropy/astropy-tools,astropy/astropy-tools | #!/usr/bin/env python
from setuptools import setup
URL_BASE = 'https://github.com/astropy/astropy-tools/'
setup(
name='astropy-tools',
version='0.0.0.dev0',
author='The Astropy Developers',
author_email='astropy.team@gmail.com',
url=URL_BASE,
download_url=URL_BASE + 'archive/master.zip',
... | #!/usr/bin/env python
from setuptools import setup
URL_BASE = 'https://github.com/astropy/astropy-tools/'
setup(
name='astropy-tools',
version='0.0.0.dev0',
author='The Astropy Developers',
author_email='astropy.team@gmail.com',
url=URL_BASE,
download_url=URL_BASE + 'archive/master.zip',
... | <commit_before>#!/usr/bin/env python
from setuptools import setup
URL_BASE = 'https://github.com/astropy/astropy-tools/'
setup(
name='astropy-tools',
version='0.0.0.dev0',
author='The Astropy Developers',
author_email='astropy.team@gmail.com',
url=URL_BASE,
download_url=URL_BASE + 'archive/... | #!/usr/bin/env python
from setuptools import setup
URL_BASE = 'https://github.com/astropy/astropy-tools/'
setup(
name='astropy-tools',
version='0.0.0.dev0',
author='The Astropy Developers',
author_email='astropy.team@gmail.com',
url=URL_BASE,
download_url=URL_BASE + 'archive/master.zip',
... | #!/usr/bin/env python
from setuptools import setup
URL_BASE = 'https://github.com/astropy/astropy-tools/'
setup(
name='astropy-tools',
version='0.0.0.dev0',
author='The Astropy Developers',
author_email='astropy.team@gmail.com',
url=URL_BASE,
download_url=URL_BASE + 'archive/master.zip',
... | <commit_before>#!/usr/bin/env python
from setuptools import setup
URL_BASE = 'https://github.com/astropy/astropy-tools/'
setup(
name='astropy-tools',
version='0.0.0.dev0',
author='The Astropy Developers',
author_email='astropy.team@gmail.com',
url=URL_BASE,
download_url=URL_BASE + 'archive/... |
fea6c5e84104b320c3d9475e59f7cf8625339a29 | setup.py | setup.py | from setuptools import setup
setup(
name='tangled.mako',
version='0.1a3.dev0',
description='Tangled Mako integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.mako/tags',
author='Wyatt Baldwin',
... | from setuptools import setup
setup(
name='tangled.mako',
version='0.1a3.dev0',
description='Tangled Mako integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.mako/tags',
author='Wyatt Baldwin',
... | Add generic Python 3 trove classifier | Add generic Python 3 trove classifier
| Python | mit | TangledWeb/tangled.mako | from setuptools import setup
setup(
name='tangled.mako',
version='0.1a3.dev0',
description='Tangled Mako integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.mako/tags',
author='Wyatt Baldwin',
... | from setuptools import setup
setup(
name='tangled.mako',
version='0.1a3.dev0',
description='Tangled Mako integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.mako/tags',
author='Wyatt Baldwin',
... | <commit_before>from setuptools import setup
setup(
name='tangled.mako',
version='0.1a3.dev0',
description='Tangled Mako integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.mako/tags',
author='Wyat... | from setuptools import setup
setup(
name='tangled.mako',
version='0.1a3.dev0',
description='Tangled Mako integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.mako/tags',
author='Wyatt Baldwin',
... | from setuptools import setup
setup(
name='tangled.mako',
version='0.1a3.dev0',
description='Tangled Mako integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.mako/tags',
author='Wyatt Baldwin',
... | <commit_before>from setuptools import setup
setup(
name='tangled.mako',
version='0.1a3.dev0',
description='Tangled Mako integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.mako/tags',
author='Wyat... |
82da444753249df9bbd4c516a7b1f9f5a4a7a29a | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='yg.emanate',
use_scm_version=True,
description="Lightweight event system for Python",
author="YouGov, plc",
author_email='dev@yougov.com',
url='https://github.com/yougov/yg.emanate',
packages=[
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='yg.emanate',
use_scm_version=True,
description="Lightweight event system for Python",
author="YouGov, plc",
author_email='dev@yougov.com',
url='https://github.com/yougov/yg.emanate',
packages=[
... | Remove deprecated 'zip_safe' flag. It's probably safe anyhow. | Remove deprecated 'zip_safe' flag. It's probably safe anyhow.
| Python | mit | yougov/emanate | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='yg.emanate',
use_scm_version=True,
description="Lightweight event system for Python",
author="YouGov, plc",
author_email='dev@yougov.com',
url='https://github.com/yougov/yg.emanate',
packages=[
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='yg.emanate',
use_scm_version=True,
description="Lightweight event system for Python",
author="YouGov, plc",
author_email='dev@yougov.com',
url='https://github.com/yougov/yg.emanate',
packages=[
... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='yg.emanate',
use_scm_version=True,
description="Lightweight event system for Python",
author="YouGov, plc",
author_email='dev@yougov.com',
url='https://github.com/yougov/yg.emanate',
pack... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='yg.emanate',
use_scm_version=True,
description="Lightweight event system for Python",
author="YouGov, plc",
author_email='dev@yougov.com',
url='https://github.com/yougov/yg.emanate',
packages=[
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='yg.emanate',
use_scm_version=True,
description="Lightweight event system for Python",
author="YouGov, plc",
author_email='dev@yougov.com',
url='https://github.com/yougov/yg.emanate',
packages=[
... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='yg.emanate',
use_scm_version=True,
description="Lightweight event system for Python",
author="YouGov, plc",
author_email='dev@yougov.com',
url='https://github.com/yougov/yg.emanate',
pack... |
5145e5cfccaef99be1fd7c1240e289ab132a858b | setup.py | setup.py | from setuptools import find_packages, setup
from virtualenvapi import __version__
setup(
name='virtualenv-api',
version=__version__,
license='BSD',
author='Sam Kingston and AUTHORS',
author_email='sam@sjkwi.com.au',
description='An API for virtualenv/pip',
long_description=open('README.rst... | from setuptools import find_packages, setup
from virtualenvapi import __version__
setup(
name='virtualenv-api',
version=__version__,
license='BSD',
author='Sam Kingston and AUTHORS',
author_email='sam@sjkwi.com.au',
description='An API for virtualenv/pip',
long_description=open('README.rst... | Remove python 3.3 from trove classifiers | Remove python 3.3 from trove classifiers [skip ci]
| Python | bsd-2-clause | sjkingo/virtualenv-api | from setuptools import find_packages, setup
from virtualenvapi import __version__
setup(
name='virtualenv-api',
version=__version__,
license='BSD',
author='Sam Kingston and AUTHORS',
author_email='sam@sjkwi.com.au',
description='An API for virtualenv/pip',
long_description=open('README.rst... | from setuptools import find_packages, setup
from virtualenvapi import __version__
setup(
name='virtualenv-api',
version=__version__,
license='BSD',
author='Sam Kingston and AUTHORS',
author_email='sam@sjkwi.com.au',
description='An API for virtualenv/pip',
long_description=open('README.rst... | <commit_before>from setuptools import find_packages, setup
from virtualenvapi import __version__
setup(
name='virtualenv-api',
version=__version__,
license='BSD',
author='Sam Kingston and AUTHORS',
author_email='sam@sjkwi.com.au',
description='An API for virtualenv/pip',
long_description=o... | from setuptools import find_packages, setup
from virtualenvapi import __version__
setup(
name='virtualenv-api',
version=__version__,
license='BSD',
author='Sam Kingston and AUTHORS',
author_email='sam@sjkwi.com.au',
description='An API for virtualenv/pip',
long_description=open('README.rst... | from setuptools import find_packages, setup
from virtualenvapi import __version__
setup(
name='virtualenv-api',
version=__version__,
license='BSD',
author='Sam Kingston and AUTHORS',
author_email='sam@sjkwi.com.au',
description='An API for virtualenv/pip',
long_description=open('README.rst... | <commit_before>from setuptools import find_packages, setup
from virtualenvapi import __version__
setup(
name='virtualenv-api',
version=__version__,
license='BSD',
author='Sam Kingston and AUTHORS',
author_email='sam@sjkwi.com.au',
description='An API for virtualenv/pip',
long_description=o... |
7609c1df444d13efdb8be295003af13dc9de3d96 | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.4",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approve... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.4",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approve... | Update openfisca-core requirement from <32.0,>=27.0 to >=27.0,<33.0 | Update openfisca-core requirement from <32.0,>=27.0 to >=27.0,<33.0
Updates the requirements on [openfisca-core](https://github.com/openfisca/openfisca-core) to permit the latest version.
- [Release notes](https://github.com/openfisca/openfisca-core/releases)
- [Changelog](https://github.com/openfisca/openfisca-core/b... | Python | agpl-3.0 | openfisca/country-template,openfisca/country-template | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.4",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approve... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.4",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approve... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.4",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.4",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approve... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.4",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approve... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.4",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License... |
ae290af846848a63b85e3832d694de6c5c25a4dc | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
long_description = """
Django URL routing system DRYed.
"""
requirements = [
'django>=1.8',
'six',
]
test_requirements = [
'mock',
'coveralls'
]
setup(
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
long_description = """
Django URL routing system DRYed.
"""
requirements = [
'django>=1.9',
'six',
]
test_requirements = [
'mock',
'coveralls'
]
setup(
... | Increase python compatibility version and bump to v1.2.0 | Increase python compatibility version and bump to v1.2.0
| Python | bsd-3-clause | Visgean/urljects | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
long_description = """
Django URL routing system DRYed.
"""
requirements = [
'django>=1.8',
'six',
]
test_requirements = [
'mock',
'coveralls'
]
setup(
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
long_description = """
Django URL routing system DRYed.
"""
requirements = [
'django>=1.9',
'six',
]
test_requirements = [
'mock',
'coveralls'
]
setup(
... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
long_description = """
Django URL routing system DRYed.
"""
requirements = [
'django>=1.8',
'six',
]
test_requirements = [
'mock',
'coveralls'... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
long_description = """
Django URL routing system DRYed.
"""
requirements = [
'django>=1.9',
'six',
]
test_requirements = [
'mock',
'coveralls'
]
setup(
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
long_description = """
Django URL routing system DRYed.
"""
requirements = [
'django>=1.8',
'six',
]
test_requirements = [
'mock',
'coveralls'
]
setup(
... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
long_description = """
Django URL routing system DRYed.
"""
requirements = [
'django>=1.8',
'six',
]
test_requirements = [
'mock',
'coveralls'... |
fec10deb7670abb2b0daf72c80ebdcc6346e0545 | setup.py | setup.py | from setuptools import setup
REPO_URL = 'http://github.com/okfn-brasil/serenata-toolbox'
setup(
author='Serenata de Amor',
author_email='contato@serenata.ai',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT L... | from setuptools import setup
REPO_URL = 'http://github.com/okfn-brasil/serenata-toolbox'
with open('README.rst') as fobj:
long_description = fobj.read()
setup(
author='Serenata de Amor',
author_email='contato@serenata.ai',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audi... | Add README.rst contents to PyPI page | Add README.rst contents to PyPI page
That is to say, what is visible at https://pypi.org/project/serenata-toolbox/
| Python | mit | datasciencebr/serenata-toolbox | from setuptools import setup
REPO_URL = 'http://github.com/okfn-brasil/serenata-toolbox'
setup(
author='Serenata de Amor',
author_email='contato@serenata.ai',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT L... | from setuptools import setup
REPO_URL = 'http://github.com/okfn-brasil/serenata-toolbox'
with open('README.rst') as fobj:
long_description = fobj.read()
setup(
author='Serenata de Amor',
author_email='contato@serenata.ai',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audi... | <commit_before>from setuptools import setup
REPO_URL = 'http://github.com/okfn-brasil/serenata-toolbox'
setup(
author='Serenata de Amor',
author_email='contato@serenata.ai',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Ap... | from setuptools import setup
REPO_URL = 'http://github.com/okfn-brasil/serenata-toolbox'
with open('README.rst') as fobj:
long_description = fobj.read()
setup(
author='Serenata de Amor',
author_email='contato@serenata.ai',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audi... | from setuptools import setup
REPO_URL = 'http://github.com/okfn-brasil/serenata-toolbox'
setup(
author='Serenata de Amor',
author_email='contato@serenata.ai',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT L... | <commit_before>from setuptools import setup
REPO_URL = 'http://github.com/okfn-brasil/serenata-toolbox'
setup(
author='Serenata de Amor',
author_email='contato@serenata.ai',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Ap... |
0e4abdd8ab8ced760dbd2eb2c39afd8e88e4e87f | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name = 'plumbing',
version = '2.9.9',
description = 'Helps with plumbing-type programing in python.',
license = 'MIT',
url = 'http://github.com/xapple/plumbing/',
author = 'Lucas Sinclai... | from setuptools import setup, find_packages
setup(
name = 'plumbing',
version = '2.9.9',
description = 'Helps with plumbing-type programing in python.',
license = 'MIT',
url = 'http://github.com/xapple/plumbing/',
author = 'Lucas Sinclai... | Add requests as a dependency | Add requests as a dependency
| Python | mit | xapple/plumbing | from setuptools import setup, find_packages
setup(
name = 'plumbing',
version = '2.9.9',
description = 'Helps with plumbing-type programing in python.',
license = 'MIT',
url = 'http://github.com/xapple/plumbing/',
author = 'Lucas Sinclai... | from setuptools import setup, find_packages
setup(
name = 'plumbing',
version = '2.9.9',
description = 'Helps with plumbing-type programing in python.',
license = 'MIT',
url = 'http://github.com/xapple/plumbing/',
author = 'Lucas Sinclai... | <commit_before>from setuptools import setup, find_packages
setup(
name = 'plumbing',
version = '2.9.9',
description = 'Helps with plumbing-type programing in python.',
license = 'MIT',
url = 'http://github.com/xapple/plumbing/',
author =... | from setuptools import setup, find_packages
setup(
name = 'plumbing',
version = '2.9.9',
description = 'Helps with plumbing-type programing in python.',
license = 'MIT',
url = 'http://github.com/xapple/plumbing/',
author = 'Lucas Sinclai... | from setuptools import setup, find_packages
setup(
name = 'plumbing',
version = '2.9.9',
description = 'Helps with plumbing-type programing in python.',
license = 'MIT',
url = 'http://github.com/xapple/plumbing/',
author = 'Lucas Sinclai... | <commit_before>from setuptools import setup, find_packages
setup(
name = 'plumbing',
version = '2.9.9',
description = 'Helps with plumbing-type programing in python.',
license = 'MIT',
url = 'http://github.com/xapple/plumbing/',
author =... |
6a07e4b3b0c67c442f0501f19c0253b4c99637cd | setup.py | setup.py | from setuptools import setup
import transip
setup(
name = transip.__name__,
version = transip.__version__,
author = transip.__author__,
author_email = transip.__email__,
license = transip.__license__,
description = transip.__doc__.splitlines()[0],
long_description = open('README.rst').read... | from setuptools import setup
import transip
setup(
name = transip.__name__,
version = transip.__version__,
author = transip.__author__,
author_email = transip.__email__,
license = transip.__license__,
description = transip.__doc__.splitlines()[0],
long_description = open('README.rst').read... | Add more requirements that are needed for this module | Add more requirements that are needed for this module
| Python | mit | benkonrath/transip-api,benkonrath/transip-api | from setuptools import setup
import transip
setup(
name = transip.__name__,
version = transip.__version__,
author = transip.__author__,
author_email = transip.__email__,
license = transip.__license__,
description = transip.__doc__.splitlines()[0],
long_description = open('README.rst').read... | from setuptools import setup
import transip
setup(
name = transip.__name__,
version = transip.__version__,
author = transip.__author__,
author_email = transip.__email__,
license = transip.__license__,
description = transip.__doc__.splitlines()[0],
long_description = open('README.rst').read... | <commit_before>from setuptools import setup
import transip
setup(
name = transip.__name__,
version = transip.__version__,
author = transip.__author__,
author_email = transip.__email__,
license = transip.__license__,
description = transip.__doc__.splitlines()[0],
long_description = open('RE... | from setuptools import setup
import transip
setup(
name = transip.__name__,
version = transip.__version__,
author = transip.__author__,
author_email = transip.__email__,
license = transip.__license__,
description = transip.__doc__.splitlines()[0],
long_description = open('README.rst').read... | from setuptools import setup
import transip
setup(
name = transip.__name__,
version = transip.__version__,
author = transip.__author__,
author_email = transip.__email__,
license = transip.__license__,
description = transip.__doc__.splitlines()[0],
long_description = open('README.rst').read... | <commit_before>from setuptools import setup
import transip
setup(
name = transip.__name__,
version = transip.__version__,
author = transip.__author__,
author_email = transip.__email__,
license = transip.__license__,
description = transip.__doc__.splitlines()[0],
long_description = open('RE... |
06dab661c2d3cc0e34b527654691659a054f3a5d | setup.py | setup.py | from setuptools import setup, find_packages
with open('README.rst') as file:
long_description = file.read()
setup(
name="frijoles",
version="0.1.0",
author="Pablo SEMINARIO",
author_email="pablo@seminar.io",
description="Simple notifications powered by jumping beans",
long_description=lo... | from setuptools import setup, find_packages
with open('README.rst') as file:
long_description = file.read()
setup(
name="frijoles",
version="0.1.0",
author="Pablo SEMINARIO",
author_email="pablo@seminar.io",
description="Simple notifications powered by jumping beans",
long_description=lo... | Upgrade to Flask 0.12.3 to fix CVE-2018-1000656 | Upgrade to Flask 0.12.3 to fix CVE-2018-1000656
| Python | agpl-3.0 | Antojitos/frijoles | from setuptools import setup, find_packages
with open('README.rst') as file:
long_description = file.read()
setup(
name="frijoles",
version="0.1.0",
author="Pablo SEMINARIO",
author_email="pablo@seminar.io",
description="Simple notifications powered by jumping beans",
long_description=lo... | from setuptools import setup, find_packages
with open('README.rst') as file:
long_description = file.read()
setup(
name="frijoles",
version="0.1.0",
author="Pablo SEMINARIO",
author_email="pablo@seminar.io",
description="Simple notifications powered by jumping beans",
long_description=lo... | <commit_before>from setuptools import setup, find_packages
with open('README.rst') as file:
long_description = file.read()
setup(
name="frijoles",
version="0.1.0",
author="Pablo SEMINARIO",
author_email="pablo@seminar.io",
description="Simple notifications powered by jumping beans",
long... | from setuptools import setup, find_packages
with open('README.rst') as file:
long_description = file.read()
setup(
name="frijoles",
version="0.1.0",
author="Pablo SEMINARIO",
author_email="pablo@seminar.io",
description="Simple notifications powered by jumping beans",
long_description=lo... | from setuptools import setup, find_packages
with open('README.rst') as file:
long_description = file.read()
setup(
name="frijoles",
version="0.1.0",
author="Pablo SEMINARIO",
author_email="pablo@seminar.io",
description="Simple notifications powered by jumping beans",
long_description=lo... | <commit_before>from setuptools import setup, find_packages
with open('README.rst') as file:
long_description = file.read()
setup(
name="frijoles",
version="0.1.0",
author="Pablo SEMINARIO",
author_email="pablo@seminar.io",
description="Simple notifications powered by jumping beans",
long... |
29cb760030021f97906d5eaec1c0b885e8bb2930 | example/gravity.py | example/gravity.py | """
Compute the force of gravity between the Earth and Sun.
Copyright 2012, Casey W. Stark. See LICENSE.txt for more information.
"""
# Import the gravitational constant and the Quantity class
from dimensionful import G, Quantity
# Supply the mass of Earth, mass of Sun, and the distance between.
mass_earth = Quant... | """
Compute the force of gravity between the Earth and Sun.
Copyright 2012, Casey W. Stark. See LICENSE.txt for more information.
"""
# Import the gravitational constant and the Quantity class
from dimensionful import G, Quantity
# Supply the mass of Earth, mass of Sun, and the distance between.
mass_earth = Quant... | Add what the example should output. | Add what the example should output. | Python | bsd-2-clause | caseywstark/dimensionful | """
Compute the force of gravity between the Earth and Sun.
Copyright 2012, Casey W. Stark. See LICENSE.txt for more information.
"""
# Import the gravitational constant and the Quantity class
from dimensionful import G, Quantity
# Supply the mass of Earth, mass of Sun, and the distance between.
mass_earth = Quant... | """
Compute the force of gravity between the Earth and Sun.
Copyright 2012, Casey W. Stark. See LICENSE.txt for more information.
"""
# Import the gravitational constant and the Quantity class
from dimensionful import G, Quantity
# Supply the mass of Earth, mass of Sun, and the distance between.
mass_earth = Quant... | <commit_before>"""
Compute the force of gravity between the Earth and Sun.
Copyright 2012, Casey W. Stark. See LICENSE.txt for more information.
"""
# Import the gravitational constant and the Quantity class
from dimensionful import G, Quantity
# Supply the mass of Earth, mass of Sun, and the distance between.
mas... | """
Compute the force of gravity between the Earth and Sun.
Copyright 2012, Casey W. Stark. See LICENSE.txt for more information.
"""
# Import the gravitational constant and the Quantity class
from dimensionful import G, Quantity
# Supply the mass of Earth, mass of Sun, and the distance between.
mass_earth = Quant... | """
Compute the force of gravity between the Earth and Sun.
Copyright 2012, Casey W. Stark. See LICENSE.txt for more information.
"""
# Import the gravitational constant and the Quantity class
from dimensionful import G, Quantity
# Supply the mass of Earth, mass of Sun, and the distance between.
mass_earth = Quant... | <commit_before>"""
Compute the force of gravity between the Earth and Sun.
Copyright 2012, Casey W. Stark. See LICENSE.txt for more information.
"""
# Import the gravitational constant and the Quantity class
from dimensionful import G, Quantity
# Supply the mass of Earth, mass of Sun, and the distance between.
mas... |
76127c6c7e0ae1271dfecd2a10efd2ccd6148f97 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
from oddt import __version__ as VERSION
setup(name='oddt',
version=VERSION,
description='Open Drug Discovery Toolkit',
author='Maciej Wojcikowski',
author_email='mwojcikowski@ibb.waw.pl',
url='https://github.com/oddt/oddt',... | #!/usr/bin/env python
from setuptools import setup, find_packages
from oddt import __version__ as VERSION
setup(name='oddt',
version=VERSION,
description='Open Drug Discovery Toolkit',
author='Maciej Wojcikowski',
author_email='mwojcikowski@ibb.waw.pl',
url='https://github.com/oddt/oddt',... | Add plec json to package data | Add plec json to package data
| Python | bsd-3-clause | oddt/oddt,oddt/oddt,mkukielka/oddt,mkukielka/oddt | #!/usr/bin/env python
from setuptools import setup, find_packages
from oddt import __version__ as VERSION
setup(name='oddt',
version=VERSION,
description='Open Drug Discovery Toolkit',
author='Maciej Wojcikowski',
author_email='mwojcikowski@ibb.waw.pl',
url='https://github.com/oddt/oddt',... | #!/usr/bin/env python
from setuptools import setup, find_packages
from oddt import __version__ as VERSION
setup(name='oddt',
version=VERSION,
description='Open Drug Discovery Toolkit',
author='Maciej Wojcikowski',
author_email='mwojcikowski@ibb.waw.pl',
url='https://github.com/oddt/oddt',... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
from oddt import __version__ as VERSION
setup(name='oddt',
version=VERSION,
description='Open Drug Discovery Toolkit',
author='Maciej Wojcikowski',
author_email='mwojcikowski@ibb.waw.pl',
url='https://github.... | #!/usr/bin/env python
from setuptools import setup, find_packages
from oddt import __version__ as VERSION
setup(name='oddt',
version=VERSION,
description='Open Drug Discovery Toolkit',
author='Maciej Wojcikowski',
author_email='mwojcikowski@ibb.waw.pl',
url='https://github.com/oddt/oddt',... | #!/usr/bin/env python
from setuptools import setup, find_packages
from oddt import __version__ as VERSION
setup(name='oddt',
version=VERSION,
description='Open Drug Discovery Toolkit',
author='Maciej Wojcikowski',
author_email='mwojcikowski@ibb.waw.pl',
url='https://github.com/oddt/oddt',... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
from oddt import __version__ as VERSION
setup(name='oddt',
version=VERSION,
description='Open Drug Discovery Toolkit',
author='Maciej Wojcikowski',
author_email='mwojcikowski@ibb.waw.pl',
url='https://github.... |
86a35469dd474d09457d31fe6b74a2904e0a8091 | setup.py | setup.py | from setuptools import setup, find_packages
import dynamodb_sessions
long_description = open('README.rst').read()
major_ver, minor_ver = dynamodb_sessions.__version__
version_str = '%d.%d' % (major_ver, minor_ver)
setup(
name='django-dynamodb-sessions',
version=version_str,
packages=find_packages(),
... | from setuptools import setup, find_packages
import dynamodb_sessions
long_description = open('README.rst').read()
major_ver, minor_ver = dynamodb_sessions.__version__
version_str = '%d.%d' % (major_ver, minor_ver)
setup(
name='django-dynamodb-sessions',
version=version_str,
packages=find_packages(),
... | Revert "Updated the boto requirement to 2.8.0" | Revert "Updated the boto requirement to 2.8.0"
This reverts commit add8a4a7d68b47ed5c24fefa5dde6e8e372804bf.
| Python | bsd-3-clause | gtaylor/django-dynamodb-sessions | from setuptools import setup, find_packages
import dynamodb_sessions
long_description = open('README.rst').read()
major_ver, minor_ver = dynamodb_sessions.__version__
version_str = '%d.%d' % (major_ver, minor_ver)
setup(
name='django-dynamodb-sessions',
version=version_str,
packages=find_packages(),
... | from setuptools import setup, find_packages
import dynamodb_sessions
long_description = open('README.rst').read()
major_ver, minor_ver = dynamodb_sessions.__version__
version_str = '%d.%d' % (major_ver, minor_ver)
setup(
name='django-dynamodb-sessions',
version=version_str,
packages=find_packages(),
... | <commit_before>from setuptools import setup, find_packages
import dynamodb_sessions
long_description = open('README.rst').read()
major_ver, minor_ver = dynamodb_sessions.__version__
version_str = '%d.%d' % (major_ver, minor_ver)
setup(
name='django-dynamodb-sessions',
version=version_str,
packages=find_p... | from setuptools import setup, find_packages
import dynamodb_sessions
long_description = open('README.rst').read()
major_ver, minor_ver = dynamodb_sessions.__version__
version_str = '%d.%d' % (major_ver, minor_ver)
setup(
name='django-dynamodb-sessions',
version=version_str,
packages=find_packages(),
... | from setuptools import setup, find_packages
import dynamodb_sessions
long_description = open('README.rst').read()
major_ver, minor_ver = dynamodb_sessions.__version__
version_str = '%d.%d' % (major_ver, minor_ver)
setup(
name='django-dynamodb-sessions',
version=version_str,
packages=find_packages(),
... | <commit_before>from setuptools import setup, find_packages
import dynamodb_sessions
long_description = open('README.rst').read()
major_ver, minor_ver = dynamodb_sessions.__version__
version_str = '%d.%d' % (major_ver, minor_ver)
setup(
name='django-dynamodb-sessions',
version=version_str,
packages=find_p... |
adc4575d7261c3047f88e62695445d2a70de4823 | setup.py | setup.py | """Setup script of zinnia-theme-html5"""
from setuptools import setup
from setuptools import find_packages
import zinnia_html5
setup(
name='zinnia-theme-html5',
version=zinnia_html5.__version__,
description='HTML5 theme for django-blog-zinnia',
long_description=open('README.rst').read(),
keyword... | """Setup script of zinnia-theme-html5"""
from setuptools import setup
from setuptools import find_packages
import zinnia_html5
setup(
name='zinnia-theme-html5',
version=zinnia_html5.__version__,
description='HTML5 theme for django-blog-zinnia',
long_description=open('README.rst').read(),
keyword... | Add classifier for Python 3 | Add classifier for Python 3
| Python | bsd-3-clause | django-blog-zinnia/zinnia-theme-html5 | """Setup script of zinnia-theme-html5"""
from setuptools import setup
from setuptools import find_packages
import zinnia_html5
setup(
name='zinnia-theme-html5',
version=zinnia_html5.__version__,
description='HTML5 theme for django-blog-zinnia',
long_description=open('README.rst').read(),
keyword... | """Setup script of zinnia-theme-html5"""
from setuptools import setup
from setuptools import find_packages
import zinnia_html5
setup(
name='zinnia-theme-html5',
version=zinnia_html5.__version__,
description='HTML5 theme for django-blog-zinnia',
long_description=open('README.rst').read(),
keyword... | <commit_before>"""Setup script of zinnia-theme-html5"""
from setuptools import setup
from setuptools import find_packages
import zinnia_html5
setup(
name='zinnia-theme-html5',
version=zinnia_html5.__version__,
description='HTML5 theme for django-blog-zinnia',
long_description=open('README.rst').read(... | """Setup script of zinnia-theme-html5"""
from setuptools import setup
from setuptools import find_packages
import zinnia_html5
setup(
name='zinnia-theme-html5',
version=zinnia_html5.__version__,
description='HTML5 theme for django-blog-zinnia',
long_description=open('README.rst').read(),
keyword... | """Setup script of zinnia-theme-html5"""
from setuptools import setup
from setuptools import find_packages
import zinnia_html5
setup(
name='zinnia-theme-html5',
version=zinnia_html5.__version__,
description='HTML5 theme for django-blog-zinnia',
long_description=open('README.rst').read(),
keyword... | <commit_before>"""Setup script of zinnia-theme-html5"""
from setuptools import setup
from setuptools import find_packages
import zinnia_html5
setup(
name='zinnia-theme-html5',
version=zinnia_html5.__version__,
description='HTML5 theme for django-blog-zinnia',
long_description=open('README.rst').read(... |
c3799230344487a199d75af9df401ab12e2e6cfa | setup.py | setup.py | from distutils.core import setup
setup(
name='data_processing',
version='0.1-pre',
packages=['data_processing'],
url='https://github.com/openego/data_processing',
license='GNU GENERAL PUBLIC LICENSE Version 3',
author='open_eGo development group',
author_email='',
description='Data proc... | from distutils.core import setup
setup(
name='data_processing',
version='0.1-pre',
packages=['data_processing'],
url='https://github.com/openego/data_processing',
license='GNU GENERAL PUBLIC LICENSE Version 3',
author='open_eGo development group',
author_email='',
description='Data proc... | Fix dependency and update version number | Fix dependency and update version number
| Python | agpl-3.0 | openego/data_processing | from distutils.core import setup
setup(
name='data_processing',
version='0.1-pre',
packages=['data_processing'],
url='https://github.com/openego/data_processing',
license='GNU GENERAL PUBLIC LICENSE Version 3',
author='open_eGo development group',
author_email='',
description='Data proc... | from distutils.core import setup
setup(
name='data_processing',
version='0.1-pre',
packages=['data_processing'],
url='https://github.com/openego/data_processing',
license='GNU GENERAL PUBLIC LICENSE Version 3',
author='open_eGo development group',
author_email='',
description='Data proc... | <commit_before>from distutils.core import setup
setup(
name='data_processing',
version='0.1-pre',
packages=['data_processing'],
url='https://github.com/openego/data_processing',
license='GNU GENERAL PUBLIC LICENSE Version 3',
author='open_eGo development group',
author_email='',
descrip... | from distutils.core import setup
setup(
name='data_processing',
version='0.1-pre',
packages=['data_processing'],
url='https://github.com/openego/data_processing',
license='GNU GENERAL PUBLIC LICENSE Version 3',
author='open_eGo development group',
author_email='',
description='Data proc... | from distutils.core import setup
setup(
name='data_processing',
version='0.1-pre',
packages=['data_processing'],
url='https://github.com/openego/data_processing',
license='GNU GENERAL PUBLIC LICENSE Version 3',
author='open_eGo development group',
author_email='',
description='Data proc... | <commit_before>from distutils.core import setup
setup(
name='data_processing',
version='0.1-pre',
packages=['data_processing'],
url='https://github.com/openego/data_processing',
license='GNU GENERAL PUBLIC LICENSE Version 3',
author='open_eGo development group',
author_email='',
descrip... |
46a715545e70e04cd56f97ac8d14f325b4439554 | setup.py | setup.py | from setuptools import setup, find_packages
# Dynamically calculate the version based on dbsettings.VERSION
version_tuple = (0, 7, None)
if version_tuple[2] is not None:
if type(version_tuple[2]) == int:
version = "%d.%d.%s" % version_tuple
else:
version = "%d.%d_%s" % version_tuple
else:
v... | from setuptools import setup, find_packages
# Dynamically calculate the version based on dbsettings.VERSION
version_tuple = (0, 7, None)
if version_tuple[2] is not None:
if type(version_tuple[2]) == int:
version = "%d.%d.%s" % version_tuple
else:
version = "%d.%d_%s" % version_tuple
else:
v... | Add six module as require package | Add six module as require package
The six module is imported at `values.py` | Python | bsd-3-clause | winfieldco/django-dbsettings,DjangoAdminHackers/django-dbsettings,nwaxiomatic/django-dbsettings,zlorf/django-dbsettings,sciyoshi/django-dbsettings,sciyoshi/django-dbsettings,johnpaulett/django-dbsettings,nwaxiomatic/django-dbsettings,johnpaulett/django-dbsettings,winfieldco/django-dbsettings,zlorf/django-dbsettings,hel... | from setuptools import setup, find_packages
# Dynamically calculate the version based on dbsettings.VERSION
version_tuple = (0, 7, None)
if version_tuple[2] is not None:
if type(version_tuple[2]) == int:
version = "%d.%d.%s" % version_tuple
else:
version = "%d.%d_%s" % version_tuple
else:
v... | from setuptools import setup, find_packages
# Dynamically calculate the version based on dbsettings.VERSION
version_tuple = (0, 7, None)
if version_tuple[2] is not None:
if type(version_tuple[2]) == int:
version = "%d.%d.%s" % version_tuple
else:
version = "%d.%d_%s" % version_tuple
else:
v... | <commit_before>from setuptools import setup, find_packages
# Dynamically calculate the version based on dbsettings.VERSION
version_tuple = (0, 7, None)
if version_tuple[2] is not None:
if type(version_tuple[2]) == int:
version = "%d.%d.%s" % version_tuple
else:
version = "%d.%d_%s" % version_tu... | from setuptools import setup, find_packages
# Dynamically calculate the version based on dbsettings.VERSION
version_tuple = (0, 7, None)
if version_tuple[2] is not None:
if type(version_tuple[2]) == int:
version = "%d.%d.%s" % version_tuple
else:
version = "%d.%d_%s" % version_tuple
else:
v... | from setuptools import setup, find_packages
# Dynamically calculate the version based on dbsettings.VERSION
version_tuple = (0, 7, None)
if version_tuple[2] is not None:
if type(version_tuple[2]) == int:
version = "%d.%d.%s" % version_tuple
else:
version = "%d.%d_%s" % version_tuple
else:
v... | <commit_before>from setuptools import setup, find_packages
# Dynamically calculate the version based on dbsettings.VERSION
version_tuple = (0, 7, None)
if version_tuple[2] is not None:
if type(version_tuple[2]) == int:
version = "%d.%d.%s" % version_tuple
else:
version = "%d.%d_%s" % version_tu... |
6a7ba2d366424d50b75dd97748c3a94aae96b7dd | setup.py | setup.py | try:
# Try using ez_setup to install setuptools if not already installed.
from ez_setup import use_setuptools
use_setuptools()
except ImportError:
# Ignore import error and assume Python 3 which already has setuptools.
pass
from setuptools import setup
DESC = ('This Python library for Raspberry Pi... | try:
# Try using ez_setup to install setuptools if not already installed.
from ez_setup import use_setuptools
use_setuptools()
except ImportError:
# Ignore import error and assume Python 3 which already has setuptools.
pass
from setuptools import setup
DESC = ('This Python library for Raspberry Pi... | Increment version in preperation for release of version 1.3.0 | Increment version in preperation for release of version 1.3.0
| Python | mit | chrisb2/pi_ina219 | try:
# Try using ez_setup to install setuptools if not already installed.
from ez_setup import use_setuptools
use_setuptools()
except ImportError:
# Ignore import error and assume Python 3 which already has setuptools.
pass
from setuptools import setup
DESC = ('This Python library for Raspberry Pi... | try:
# Try using ez_setup to install setuptools if not already installed.
from ez_setup import use_setuptools
use_setuptools()
except ImportError:
# Ignore import error and assume Python 3 which already has setuptools.
pass
from setuptools import setup
DESC = ('This Python library for Raspberry Pi... | <commit_before>try:
# Try using ez_setup to install setuptools if not already installed.
from ez_setup import use_setuptools
use_setuptools()
except ImportError:
# Ignore import error and assume Python 3 which already has setuptools.
pass
from setuptools import setup
DESC = ('This Python library f... | try:
# Try using ez_setup to install setuptools if not already installed.
from ez_setup import use_setuptools
use_setuptools()
except ImportError:
# Ignore import error and assume Python 3 which already has setuptools.
pass
from setuptools import setup
DESC = ('This Python library for Raspberry Pi... | try:
# Try using ez_setup to install setuptools if not already installed.
from ez_setup import use_setuptools
use_setuptools()
except ImportError:
# Ignore import error and assume Python 3 which already has setuptools.
pass
from setuptools import setup
DESC = ('This Python library for Raspberry Pi... | <commit_before>try:
# Try using ez_setup to install setuptools if not already installed.
from ez_setup import use_setuptools
use_setuptools()
except ImportError:
# Ignore import error and assume Python 3 which already has setuptools.
pass
from setuptools import setup
DESC = ('This Python library f... |
9c7aedc3b29d823d79409c5246290362a3c7ffdc | examples/arabic.py | examples/arabic.py | #!/usr/bin/env python
"""
Create wordcloud with Arabic
===============
Generating a wordcloud from Arabic text
Other dependencies: bidi.algorithm, arabic_reshaper
"""
from os import path
import codecs
from wordcloud import WordCloud
import arabic_reshaper
from bidi.algorithm import get_display
d = path.dirname(__file... | #!/usr/bin/env python
"""
Create wordcloud with Arabic
===============
Generating a wordcloud from Arabic text
Dependencies:
- bidi.algorithm
- arabic_reshaper
Dependencies installation:
pip install python-bidi arabic_reshape
"""
from os import path
import codecs
from wordcloud import WordCloud
import arabic_reshape... | Add some instructions for downloading the requirements | Add some instructions for downloading the requirements
| Python | mit | amueller/word_cloud | #!/usr/bin/env python
"""
Create wordcloud with Arabic
===============
Generating a wordcloud from Arabic text
Other dependencies: bidi.algorithm, arabic_reshaper
"""
from os import path
import codecs
from wordcloud import WordCloud
import arabic_reshaper
from bidi.algorithm import get_display
d = path.dirname(__file... | #!/usr/bin/env python
"""
Create wordcloud with Arabic
===============
Generating a wordcloud from Arabic text
Dependencies:
- bidi.algorithm
- arabic_reshaper
Dependencies installation:
pip install python-bidi arabic_reshape
"""
from os import path
import codecs
from wordcloud import WordCloud
import arabic_reshape... | <commit_before>#!/usr/bin/env python
"""
Create wordcloud with Arabic
===============
Generating a wordcloud from Arabic text
Other dependencies: bidi.algorithm, arabic_reshaper
"""
from os import path
import codecs
from wordcloud import WordCloud
import arabic_reshaper
from bidi.algorithm import get_display
d = path... | #!/usr/bin/env python
"""
Create wordcloud with Arabic
===============
Generating a wordcloud from Arabic text
Dependencies:
- bidi.algorithm
- arabic_reshaper
Dependencies installation:
pip install python-bidi arabic_reshape
"""
from os import path
import codecs
from wordcloud import WordCloud
import arabic_reshape... | #!/usr/bin/env python
"""
Create wordcloud with Arabic
===============
Generating a wordcloud from Arabic text
Other dependencies: bidi.algorithm, arabic_reshaper
"""
from os import path
import codecs
from wordcloud import WordCloud
import arabic_reshaper
from bidi.algorithm import get_display
d = path.dirname(__file... | <commit_before>#!/usr/bin/env python
"""
Create wordcloud with Arabic
===============
Generating a wordcloud from Arabic text
Other dependencies: bidi.algorithm, arabic_reshaper
"""
from os import path
import codecs
from wordcloud import WordCloud
import arabic_reshaper
from bidi.algorithm import get_display
d = path... |
89abf161e670fda99497ecc60aac0df239af5a01 | setup.py | setup.py | # encoding: utf-8
from setuptools import setup
setup(
name="Cetacean",
version="0.0.1",
author="Ben Hamill",
author_email="ben@benhamill.com",
url="http://github.com/benhamill/cetacean-python#readme",
licens="MIT",
description="The HAL client that does almost nothing for you.",
long_de... | # encoding: utf-8
"""
The HAL client that does almost nothing for you.
Cetacean is tightly coupled to Requests, but doesn't actually call it. You set
up your own Requests client and use it to make requests. You feed Cetacean
Requests response objects and it helps you figure out if they're HAL documents
and pull useful... | Move log description to a docstring. | Move log description to a docstring.
| Python | mit | benhamill/cetacean-python,nanorepublica/cetacean-python | # encoding: utf-8
from setuptools import setup
setup(
name="Cetacean",
version="0.0.1",
author="Ben Hamill",
author_email="ben@benhamill.com",
url="http://github.com/benhamill/cetacean-python#readme",
licens="MIT",
description="The HAL client that does almost nothing for you.",
long_de... | # encoding: utf-8
"""
The HAL client that does almost nothing for you.
Cetacean is tightly coupled to Requests, but doesn't actually call it. You set
up your own Requests client and use it to make requests. You feed Cetacean
Requests response objects and it helps you figure out if they're HAL documents
and pull useful... | <commit_before># encoding: utf-8
from setuptools import setup
setup(
name="Cetacean",
version="0.0.1",
author="Ben Hamill",
author_email="ben@benhamill.com",
url="http://github.com/benhamill/cetacean-python#readme",
licens="MIT",
description="The HAL client that does almost nothing for you... | # encoding: utf-8
"""
The HAL client that does almost nothing for you.
Cetacean is tightly coupled to Requests, but doesn't actually call it. You set
up your own Requests client and use it to make requests. You feed Cetacean
Requests response objects and it helps you figure out if they're HAL documents
and pull useful... | # encoding: utf-8
from setuptools import setup
setup(
name="Cetacean",
version="0.0.1",
author="Ben Hamill",
author_email="ben@benhamill.com",
url="http://github.com/benhamill/cetacean-python#readme",
licens="MIT",
description="The HAL client that does almost nothing for you.",
long_de... | <commit_before># encoding: utf-8
from setuptools import setup
setup(
name="Cetacean",
version="0.0.1",
author="Ben Hamill",
author_email="ben@benhamill.com",
url="http://github.com/benhamill/cetacean-python#readme",
licens="MIT",
description="The HAL client that does almost nothing for you... |
d16267549323c583df7aaf82768b7efef17df564 | setup.py | setup.py | #!/usr/bin/python
from setuptools import setup
dependency_links=[
'git+https://github.com/Toblerity/Shapely.git@maint#egg=Shapely',
]
setup(
name = 'hxl-proxy',
packages = ['hxl_proxy'],
version = '0.0.1',
description = 'Flask-based web proxy for HXL',
author='David Megginson',
author_emai... | #!/usr/bin/python
from setuptools import setup
dependency_links=[
'git+https://github.com/Toblerity/Shapely.git@maint#egg=Shapely',
]
setup(
name = 'hxl-proxy',
packages = ['hxl_proxy'],
version = '0.0.1',
description = 'Flask-based web proxy for HXL',
author='David Megginson',
author_emai... | Fix dependency on mock for testing. | Fix dependency on mock for testing.
| Python | unlicense | HXLStandard/hxl-proxy,HXLStandard/hxl-proxy,HXLStandard/hxl-proxy,HXLStandard/hxl-proxy | #!/usr/bin/python
from setuptools import setup
dependency_links=[
'git+https://github.com/Toblerity/Shapely.git@maint#egg=Shapely',
]
setup(
name = 'hxl-proxy',
packages = ['hxl_proxy'],
version = '0.0.1',
description = 'Flask-based web proxy for HXL',
author='David Megginson',
author_emai... | #!/usr/bin/python
from setuptools import setup
dependency_links=[
'git+https://github.com/Toblerity/Shapely.git@maint#egg=Shapely',
]
setup(
name = 'hxl-proxy',
packages = ['hxl_proxy'],
version = '0.0.1',
description = 'Flask-based web proxy for HXL',
author='David Megginson',
author_emai... | <commit_before>#!/usr/bin/python
from setuptools import setup
dependency_links=[
'git+https://github.com/Toblerity/Shapely.git@maint#egg=Shapely',
]
setup(
name = 'hxl-proxy',
packages = ['hxl_proxy'],
version = '0.0.1',
description = 'Flask-based web proxy for HXL',
author='David Megginson',
... | #!/usr/bin/python
from setuptools import setup
dependency_links=[
'git+https://github.com/Toblerity/Shapely.git@maint#egg=Shapely',
]
setup(
name = 'hxl-proxy',
packages = ['hxl_proxy'],
version = '0.0.1',
description = 'Flask-based web proxy for HXL',
author='David Megginson',
author_emai... | #!/usr/bin/python
from setuptools import setup
dependency_links=[
'git+https://github.com/Toblerity/Shapely.git@maint#egg=Shapely',
]
setup(
name = 'hxl-proxy',
packages = ['hxl_proxy'],
version = '0.0.1',
description = 'Flask-based web proxy for HXL',
author='David Megginson',
author_emai... | <commit_before>#!/usr/bin/python
from setuptools import setup
dependency_links=[
'git+https://github.com/Toblerity/Shapely.git@maint#egg=Shapely',
]
setup(
name = 'hxl-proxy',
packages = ['hxl_proxy'],
version = '0.0.1',
description = 'Flask-based web proxy for HXL',
author='David Megginson',
... |
ac73d93b5a29f4f0929551c51da837b45227f3b3 | setup.py | setup.py | from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
version = "0.0.2"
setup(name='backlash',
version=version,
description="Standalone WebOb port of the ... | from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
version = "0.0.3"
setup(name='backlash',
version=version,
description="Standalone WebOb port of the ... | Increase version due to change in streamed apps management | Increase version due to change in streamed apps management
| Python | mit | TurboGears/backlash,TurboGears/backlash | from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
version = "0.0.2"
setup(name='backlash',
version=version,
description="Standalone WebOb port of the ... | from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
version = "0.0.3"
setup(name='backlash',
version=version,
description="Standalone WebOb port of the ... | <commit_before>from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
version = "0.0.2"
setup(name='backlash',
version=version,
description="Standalone Web... | from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
version = "0.0.3"
setup(name='backlash',
version=version,
description="Standalone WebOb port of the ... | from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
version = "0.0.2"
setup(name='backlash',
version=version,
description="Standalone WebOb port of the ... | <commit_before>from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
version = "0.0.2"
setup(name='backlash',
version=version,
description="Standalone Web... |
596e850189e8c8590ac4b8c401de5930ce711929 | puppetboard/default_settings.py | puppetboard/default_settings.py | import os
PUPPETDB_HOST = 'localhost'
PUPPETDB_PORT = 8080
PUPPETDB_SSL_VERIFY = True
PUPPETDB_KEY = None
PUPPETDB_CERT = None
PUPPETDB_TIMEOUT = 20
DEFAULT_ENVIRONMENT = 'production'
SECRET_KEY = os.urandom(24)
DEV_LISTEN_HOST = '127.0.0.1'
DEV_LISTEN_PORT = 5000
DEV_COFFEE_LOCATION = 'coffee'
UNRESPONSIVE_HOURS = 2
... | import os
PUPPETDB_HOST = 'localhost'
PUPPETDB_PORT = 8080
PUPPETDB_SSL_VERIFY = True
PUPPETDB_KEY = None
PUPPETDB_CERT = None
PUPPETDB_TIMEOUT = 20
DEFAULT_ENVIRONMENT = 'production'
SECRET_KEY = os.urandom(24)
DEV_LISTEN_HOST = '127.0.0.1'
DEV_LISTEN_PORT = 5000
DEV_COFFEE_LOCATION = 'coffee'
UNRESPONSIVE_HOURS = 2
... | Add clientversion to graphing facts | Add clientversion to graphing facts
| Python | apache-2.0 | puppet-community/puppetboard,johnzimm/xx-puppetboard,tparkercbn/puppetboard,mterzo/puppetboard,stoyansbg/puppetboard,mterzo/puppetboard,holstvoogd/puppetboard,johnzimm/xx-puppetboard,johnzimm/puppetboard,tparkercbn/puppetboard,mterzo/puppetboard,stoyansbg/puppetboard,james-powis/puppetboard,tparkercbn/puppetboard,voxpu... | import os
PUPPETDB_HOST = 'localhost'
PUPPETDB_PORT = 8080
PUPPETDB_SSL_VERIFY = True
PUPPETDB_KEY = None
PUPPETDB_CERT = None
PUPPETDB_TIMEOUT = 20
DEFAULT_ENVIRONMENT = 'production'
SECRET_KEY = os.urandom(24)
DEV_LISTEN_HOST = '127.0.0.1'
DEV_LISTEN_PORT = 5000
DEV_COFFEE_LOCATION = 'coffee'
UNRESPONSIVE_HOURS = 2
... | import os
PUPPETDB_HOST = 'localhost'
PUPPETDB_PORT = 8080
PUPPETDB_SSL_VERIFY = True
PUPPETDB_KEY = None
PUPPETDB_CERT = None
PUPPETDB_TIMEOUT = 20
DEFAULT_ENVIRONMENT = 'production'
SECRET_KEY = os.urandom(24)
DEV_LISTEN_HOST = '127.0.0.1'
DEV_LISTEN_PORT = 5000
DEV_COFFEE_LOCATION = 'coffee'
UNRESPONSIVE_HOURS = 2
... | <commit_before>import os
PUPPETDB_HOST = 'localhost'
PUPPETDB_PORT = 8080
PUPPETDB_SSL_VERIFY = True
PUPPETDB_KEY = None
PUPPETDB_CERT = None
PUPPETDB_TIMEOUT = 20
DEFAULT_ENVIRONMENT = 'production'
SECRET_KEY = os.urandom(24)
DEV_LISTEN_HOST = '127.0.0.1'
DEV_LISTEN_PORT = 5000
DEV_COFFEE_LOCATION = 'coffee'
UNRESPON... | import os
PUPPETDB_HOST = 'localhost'
PUPPETDB_PORT = 8080
PUPPETDB_SSL_VERIFY = True
PUPPETDB_KEY = None
PUPPETDB_CERT = None
PUPPETDB_TIMEOUT = 20
DEFAULT_ENVIRONMENT = 'production'
SECRET_KEY = os.urandom(24)
DEV_LISTEN_HOST = '127.0.0.1'
DEV_LISTEN_PORT = 5000
DEV_COFFEE_LOCATION = 'coffee'
UNRESPONSIVE_HOURS = 2
... | import os
PUPPETDB_HOST = 'localhost'
PUPPETDB_PORT = 8080
PUPPETDB_SSL_VERIFY = True
PUPPETDB_KEY = None
PUPPETDB_CERT = None
PUPPETDB_TIMEOUT = 20
DEFAULT_ENVIRONMENT = 'production'
SECRET_KEY = os.urandom(24)
DEV_LISTEN_HOST = '127.0.0.1'
DEV_LISTEN_PORT = 5000
DEV_COFFEE_LOCATION = 'coffee'
UNRESPONSIVE_HOURS = 2
... | <commit_before>import os
PUPPETDB_HOST = 'localhost'
PUPPETDB_PORT = 8080
PUPPETDB_SSL_VERIFY = True
PUPPETDB_KEY = None
PUPPETDB_CERT = None
PUPPETDB_TIMEOUT = 20
DEFAULT_ENVIRONMENT = 'production'
SECRET_KEY = os.urandom(24)
DEV_LISTEN_HOST = '127.0.0.1'
DEV_LISTEN_PORT = 5000
DEV_COFFEE_LOCATION = 'coffee'
UNRESPON... |
fdff962aeb1aa0351fc222e005af3fa9248345fb | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf8 -*-
from setuptools import setup, find_packages
setup(
name="Burger",
packages=find_packages(),
version="0.3.0",
description="Extract information from Minecraft bytecode.",
author="Tyler Kennedy",
author_email="tk@tkte.ch",
url="http://github.com/mcd... | #!/usr/bin/env python
# -*- coding: utf8 -*-
from setuptools import setup, find_packages
setup(
name="Burger",
packages=find_packages(),
version="0.3.0",
description="Extract information from Minecraft bytecode.",
author="Tyler Kennedy",
author_email="tk@tkte.ch",
url="http://github.com/mcd... | Add six as an install requirement | Add six as an install requirement
| Python | mit | Pokechu22/Burger,mcdevs/Burger | #!/usr/bin/env python
# -*- coding: utf8 -*-
from setuptools import setup, find_packages
setup(
name="Burger",
packages=find_packages(),
version="0.3.0",
description="Extract information from Minecraft bytecode.",
author="Tyler Kennedy",
author_email="tk@tkte.ch",
url="http://github.com/mcd... | #!/usr/bin/env python
# -*- coding: utf8 -*-
from setuptools import setup, find_packages
setup(
name="Burger",
packages=find_packages(),
version="0.3.0",
description="Extract information from Minecraft bytecode.",
author="Tyler Kennedy",
author_email="tk@tkte.ch",
url="http://github.com/mcd... | <commit_before>#!/usr/bin/env python
# -*- coding: utf8 -*-
from setuptools import setup, find_packages
setup(
name="Burger",
packages=find_packages(),
version="0.3.0",
description="Extract information from Minecraft bytecode.",
author="Tyler Kennedy",
author_email="tk@tkte.ch",
url="http:/... | #!/usr/bin/env python
# -*- coding: utf8 -*-
from setuptools import setup, find_packages
setup(
name="Burger",
packages=find_packages(),
version="0.3.0",
description="Extract information from Minecraft bytecode.",
author="Tyler Kennedy",
author_email="tk@tkte.ch",
url="http://github.com/mcd... | #!/usr/bin/env python
# -*- coding: utf8 -*-
from setuptools import setup, find_packages
setup(
name="Burger",
packages=find_packages(),
version="0.3.0",
description="Extract information from Minecraft bytecode.",
author="Tyler Kennedy",
author_email="tk@tkte.ch",
url="http://github.com/mcd... | <commit_before>#!/usr/bin/env python
# -*- coding: utf8 -*-
from setuptools import setup, find_packages
setup(
name="Burger",
packages=find_packages(),
version="0.3.0",
description="Extract information from Minecraft bytecode.",
author="Tyler Kennedy",
author_email="tk@tkte.ch",
url="http:/... |
655db4e1c8aefea1699516339dd80e1c6a75d67d | setup.py | setup.py | from distutils.core import setup
import sys
import os
import re
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
PACKAGENAME)
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version
with open(versionFile, 'r') as f:... | from distutils.core import setup
import sys
import os
import re
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
'opsimsummary')
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version
with open(versionFile, 'r') as... | Revert "Revert "Revert "Changed back due to problems, will fix later""" | Revert "Revert "Revert "Changed back due to problems, will fix later"""
This reverts commit 4b35247fe384d4b2b206fa7650398511a493253c.
| Python | mit | rbiswas4/simlib | from distutils.core import setup
import sys
import os
import re
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
PACKAGENAME)
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version
with open(versionFile, 'r') as f:... | from distutils.core import setup
import sys
import os
import re
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
'opsimsummary')
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version
with open(versionFile, 'r') as... | <commit_before>from distutils.core import setup
import sys
import os
import re
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
PACKAGENAME)
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version
with open(versionF... | from distutils.core import setup
import sys
import os
import re
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
'opsimsummary')
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version
with open(versionFile, 'r') as... | from distutils.core import setup
import sys
import os
import re
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
PACKAGENAME)
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version
with open(versionFile, 'r') as f:... | <commit_before>from distutils.core import setup
import sys
import os
import re
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
PACKAGENAME)
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version
with open(versionF... |
f3c69597410119d2c88beb80a5a0ed3c8b884668 | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.1",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approve... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.1",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approve... | Update flake8 requirement from <3.6.0,>=3.5.0 to >=3.5.0,<3.8.0 | Update flake8 requirement from <3.6.0,>=3.5.0 to >=3.5.0,<3.8.0
Updates the requirements on [flake8](https://gitlab.com/pycqa/flake8) to permit the latest version.
- [Release notes](https://gitlab.com/pycqa/flake8/tags)
- [Commits](https://gitlab.com/pycqa/flake8/compare/3.5.0...3.7.7)
Signed-off-by: dependabot[bot] ... | Python | agpl-3.0 | openfisca/country-template,openfisca/country-template | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.1",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approve... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.1",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approve... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.1",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.1",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approve... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.1",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approve... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.1",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License... |
290ead5bbc57e526f0fe12d161fa5fb684ab4edf | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import materializecssform
setup(
name='django-materializecss-form',
version=materializecssform.__version__,
packages=find_packages(),
author="Kal Walkden",
author_email="kal@walkden.us",
descriptio... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import materializecssform
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='django-materializecss-form',
version=materializecssform.__version__,
packages=find_packages(),
auth... | Update meta version so that documentation looks good in pypi | Update meta version so that documentation looks good in pypi
| Python | mit | florent1933/django-materializecss-form,florent1933/django-materializecss-form | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import materializecssform
setup(
name='django-materializecss-form',
version=materializecssform.__version__,
packages=find_packages(),
author="Kal Walkden",
author_email="kal@walkden.us",
descriptio... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import materializecssform
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='django-materializecss-form',
version=materializecssform.__version__,
packages=find_packages(),
auth... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import materializecssform
setup(
name='django-materializecss-form',
version=materializecssform.__version__,
packages=find_packages(),
author="Kal Walkden",
author_email="kal@walkden.us",
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import materializecssform
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='django-materializecss-form',
version=materializecssform.__version__,
packages=find_packages(),
auth... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import materializecssform
setup(
name='django-materializecss-form',
version=materializecssform.__version__,
packages=find_packages(),
author="Kal Walkden",
author_email="kal@walkden.us",
descriptio... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import materializecssform
setup(
name='django-materializecss-form',
version=materializecssform.__version__,
packages=find_packages(),
author="Kal Walkden",
author_email="kal@walkden.us",
... |
3d1e06c6b37431ed4f6c9d426b10682be4ddc5db | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name='s3fs',
version='0.1.5',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
... | #!/usr/bin/env python
from setuptools import setup
setup(name='s3fs',
version='0.1.5',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
... | Remove 3.4 and 3.7 tags | Remove 3.4 and 3.7 tags
| Python | bsd-3-clause | fsspec/s3fs | #!/usr/bin/env python
from setuptools import setup
setup(name='s3fs',
version='0.1.5',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
... | #!/usr/bin/env python
from setuptools import setup
setup(name='s3fs',
version='0.1.5',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(name='s3fs',
version='0.1.5',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Indepen... | #!/usr/bin/env python
from setuptools import setup
setup(name='s3fs',
version='0.1.5',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
... | #!/usr/bin/env python
from setuptools import setup
setup(name='s3fs',
version='0.1.5',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(name='s3fs',
version='0.1.5',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Indepen... |
ea0094c555b499a2ad77c8b7af02d796dd5b4d92 | setup.py | setup.py | """Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='kyle@kyle-p-johnson.com',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MI... | """Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='kyle@kyle-p-johnson.com',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MI... | Bump vers for uppercase Beta Code conversion | Bump vers for uppercase Beta Code conversion
Fixed with PR https://github.com/cltk/cltk/pull/778 by Eleftheria Chatziargyriou ( @Sedictious ). | Python | mit | kylepjohnson/cltk,LBenzahia/cltk,TylerKirby/cltk,diyclassics/cltk,LBenzahia/cltk,TylerKirby/cltk,D-K-E/cltk,cltk/cltk | """Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='kyle@kyle-p-johnson.com',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MI... | """Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='kyle@kyle-p-johnson.com',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MI... | <commit_before>"""Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='kyle@kyle-p-johnson.com',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI... | """Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='kyle@kyle-p-johnson.com',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MI... | """Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='kyle@kyle-p-johnson.com',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MI... | <commit_before>"""Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='kyle@kyle-p-johnson.com',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI... |
0579da9a2cc9b8696d8071c4f1e07140d940b386 | setup.py | setup.py | # coding:utf-8
import sys
from setuptools import setup, find_packages
setup(name='flanker',
version='0.3.13',
description='Mailgun Parsing Tools',
long_description=open('README.rst').read(),
classifiers=[],
keywords='',
author='Mailgun Inc.',
author_email='admin@mailgunhq.co... | # coding:utf-8
import sys
from setuptools import setup, find_packages
setup(name='flanker',
version='0.4.13',
description='Mailgun Parsing Tools',
long_description=open('README.rst').read(),
classifiers=[],
keywords='',
author='Mailgun Inc.',
author_email='admin@mailgunhq.co... | Fix (and test coverage) for base64 encoding issue. | Fix (and test coverage) for base64 encoding issue.
| Python | apache-2.0 | ad-m/flanker,EthanBlackburn/flanker,glyph/flanker,alex/flanker,aroberts/flanker,nylas/flanker,EncircleInc/addresslib,mailgun/flanker,xjzhou/flanker,smokymountains/flanker,stefanw/flanker | # coding:utf-8
import sys
from setuptools import setup, find_packages
setup(name='flanker',
version='0.3.13',
description='Mailgun Parsing Tools',
long_description=open('README.rst').read(),
classifiers=[],
keywords='',
author='Mailgun Inc.',
author_email='admin@mailgunhq.co... | # coding:utf-8
import sys
from setuptools import setup, find_packages
setup(name='flanker',
version='0.4.13',
description='Mailgun Parsing Tools',
long_description=open('README.rst').read(),
classifiers=[],
keywords='',
author='Mailgun Inc.',
author_email='admin@mailgunhq.co... | <commit_before># coding:utf-8
import sys
from setuptools import setup, find_packages
setup(name='flanker',
version='0.3.13',
description='Mailgun Parsing Tools',
long_description=open('README.rst').read(),
classifiers=[],
keywords='',
author='Mailgun Inc.',
author_email='adm... | # coding:utf-8
import sys
from setuptools import setup, find_packages
setup(name='flanker',
version='0.4.13',
description='Mailgun Parsing Tools',
long_description=open('README.rst').read(),
classifiers=[],
keywords='',
author='Mailgun Inc.',
author_email='admin@mailgunhq.co... | # coding:utf-8
import sys
from setuptools import setup, find_packages
setup(name='flanker',
version='0.3.13',
description='Mailgun Parsing Tools',
long_description=open('README.rst').read(),
classifiers=[],
keywords='',
author='Mailgun Inc.',
author_email='admin@mailgunhq.co... | <commit_before># coding:utf-8
import sys
from setuptools import setup, find_packages
setup(name='flanker',
version='0.3.13',
description='Mailgun Parsing Tools',
long_description=open('README.rst').read(),
classifiers=[],
keywords='',
author='Mailgun Inc.',
author_email='adm... |
853481c6c6f6c27e8805c62b77bd85bec0f1535c | setup.py | setup.py | #!/usr/bin/env python
import setuptools
import sys
if not ((sys.version_info.major >= 3 and sys.version_info.minor >= 5)
or sys.version_info.major > 3):
exit("Sorry, Python's version must be later than 3.5.")
import shakyo
setuptools.setup(
name=shakyo.__name__,
version=shakyo.__version__,
descri... | #!/usr/bin/env python
import setuptools
import shutil
import sys
if not ((sys.version_info.major >= 3 and sys.version_info.minor >= 5)
or sys.version_info.major > 3):
exit("Sorry, Python's version must be later than 3.5.")
import shakyo
try:
import pypandoc
with open("README.rst", "w") as f:
f.write(... | Convert README.md file into .rst | Convert README.md file into .rst
| Python | unlicense | raviqqe/shakyo | #!/usr/bin/env python
import setuptools
import sys
if not ((sys.version_info.major >= 3 and sys.version_info.minor >= 5)
or sys.version_info.major > 3):
exit("Sorry, Python's version must be later than 3.5.")
import shakyo
setuptools.setup(
name=shakyo.__name__,
version=shakyo.__version__,
descri... | #!/usr/bin/env python
import setuptools
import shutil
import sys
if not ((sys.version_info.major >= 3 and sys.version_info.minor >= 5)
or sys.version_info.major > 3):
exit("Sorry, Python's version must be later than 3.5.")
import shakyo
try:
import pypandoc
with open("README.rst", "w") as f:
f.write(... | <commit_before>#!/usr/bin/env python
import setuptools
import sys
if not ((sys.version_info.major >= 3 and sys.version_info.minor >= 5)
or sys.version_info.major > 3):
exit("Sorry, Python's version must be later than 3.5.")
import shakyo
setuptools.setup(
name=shakyo.__name__,
version=shakyo.__versio... | #!/usr/bin/env python
import setuptools
import shutil
import sys
if not ((sys.version_info.major >= 3 and sys.version_info.minor >= 5)
or sys.version_info.major > 3):
exit("Sorry, Python's version must be later than 3.5.")
import shakyo
try:
import pypandoc
with open("README.rst", "w") as f:
f.write(... | #!/usr/bin/env python
import setuptools
import sys
if not ((sys.version_info.major >= 3 and sys.version_info.minor >= 5)
or sys.version_info.major > 3):
exit("Sorry, Python's version must be later than 3.5.")
import shakyo
setuptools.setup(
name=shakyo.__name__,
version=shakyo.__version__,
descri... | <commit_before>#!/usr/bin/env python
import setuptools
import sys
if not ((sys.version_info.major >= 3 and sys.version_info.minor >= 5)
or sys.version_info.major > 3):
exit("Sorry, Python's version must be later than 3.5.")
import shakyo
setuptools.setup(
name=shakyo.__name__,
version=shakyo.__versio... |
6707acf4c09c6aae6abf78a325a08ddd72377e6f | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='bux-grader-framework',
version='0.4.3',
author='Boston University',
author_email='webteam@bu.edu',
url='https://github.com/bu-ist/bux-grader-framework/',
descriptio... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='bux-grader-framework',
version='0.4.3',
author='Boston University',
author_email='webteam@bu.edu',
url='https://github.com/bu-ist/bux-grader-framework/',
descriptio... | Add requests[security] extras to install_requires | Add requests[security] extras to install_requires
Installs pyopenssl, ndg-httpsclient, and pyasn1 packages to avoid SSL InsecurePlatformWarning messages
| Python | agpl-3.0 | bu-ist/bux-grader-framework,abduld/bux-grader-framework | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='bux-grader-framework',
version='0.4.3',
author='Boston University',
author_email='webteam@bu.edu',
url='https://github.com/bu-ist/bux-grader-framework/',
descriptio... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='bux-grader-framework',
version='0.4.3',
author='Boston University',
author_email='webteam@bu.edu',
url='https://github.com/bu-ist/bux-grader-framework/',
descriptio... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='bux-grader-framework',
version='0.4.3',
author='Boston University',
author_email='webteam@bu.edu',
url='https://github.com/bu-ist/bux-grader-framework/',... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='bux-grader-framework',
version='0.4.3',
author='Boston University',
author_email='webteam@bu.edu',
url='https://github.com/bu-ist/bux-grader-framework/',
descriptio... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='bux-grader-framework',
version='0.4.3',
author='Boston University',
author_email='webteam@bu.edu',
url='https://github.com/bu-ist/bux-grader-framework/',
descriptio... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='bux-grader-framework',
version='0.4.3',
author='Boston University',
author_email='webteam@bu.edu',
url='https://github.com/bu-ist/bux-grader-framework/',... |
cc9d23142be989662c8fedd0124fe6f99de360bb | setup.py | setup.py | import io
import os
import re
from setuptools import setup, find_packages
def find_version():
file_dir = os.path.dirname(__file__)
with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f:
version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read())
if version:
ret... | import io
import os
import re
from setuptools import setup, find_packages
def find_version():
file_dir = os.path.dirname(__file__)
with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f:
version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read())
if version:
ret... | Add python_requires to help pip | Add python_requires to help pip
| Python | mit | auth0/auth0-python,auth0/auth0-python | import io
import os
import re
from setuptools import setup, find_packages
def find_version():
file_dir = os.path.dirname(__file__)
with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f:
version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read())
if version:
ret... | import io
import os
import re
from setuptools import setup, find_packages
def find_version():
file_dir = os.path.dirname(__file__)
with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f:
version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read())
if version:
ret... | <commit_before>import io
import os
import re
from setuptools import setup, find_packages
def find_version():
file_dir = os.path.dirname(__file__)
with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f:
version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read())
if version:
... | import io
import os
import re
from setuptools import setup, find_packages
def find_version():
file_dir = os.path.dirname(__file__)
with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f:
version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read())
if version:
ret... | import io
import os
import re
from setuptools import setup, find_packages
def find_version():
file_dir = os.path.dirname(__file__)
with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f:
version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read())
if version:
ret... | <commit_before>import io
import os
import re
from setuptools import setup, find_packages
def find_version():
file_dir = os.path.dirname(__file__)
with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f:
version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read())
if version:
... |
f607cf2f024c299953a0d3eb523b6be493792d0f | tasks.py | tasks.py | # -*- coding: utf-8 -*-
from invoke import task
@task
def clean(context):
context.run("rm -rf .coverage dist build")
@task(clean, default=True)
def test(context):
context.run("pytest")
@task(test)
def install(context):
context.run("python setup.py develop")
@task(test)
def release(context):
con... | # -*- coding: utf-8 -*-
from invoke import task
@task
def clean(context):
context.run("rm -rf dist build .coverage .pytest_cache .mypy_cache")
@task(clean, default=True)
def test(context):
context.run("pytest")
@task(test)
def install(context):
context.run("python setup.py develop")
@task(test)
def... | Clean cache files after pytest & mypy | Clean cache files after pytest & mypy
| Python | apache-2.0 | miso-belica/sumy,miso-belica/sumy | # -*- coding: utf-8 -*-
from invoke import task
@task
def clean(context):
context.run("rm -rf .coverage dist build")
@task(clean, default=True)
def test(context):
context.run("pytest")
@task(test)
def install(context):
context.run("python setup.py develop")
@task(test)
def release(context):
con... | # -*- coding: utf-8 -*-
from invoke import task
@task
def clean(context):
context.run("rm -rf dist build .coverage .pytest_cache .mypy_cache")
@task(clean, default=True)
def test(context):
context.run("pytest")
@task(test)
def install(context):
context.run("python setup.py develop")
@task(test)
def... | <commit_before># -*- coding: utf-8 -*-
from invoke import task
@task
def clean(context):
context.run("rm -rf .coverage dist build")
@task(clean, default=True)
def test(context):
context.run("pytest")
@task(test)
def install(context):
context.run("python setup.py develop")
@task(test)
def release(co... | # -*- coding: utf-8 -*-
from invoke import task
@task
def clean(context):
context.run("rm -rf dist build .coverage .pytest_cache .mypy_cache")
@task(clean, default=True)
def test(context):
context.run("pytest")
@task(test)
def install(context):
context.run("python setup.py develop")
@task(test)
def... | # -*- coding: utf-8 -*-
from invoke import task
@task
def clean(context):
context.run("rm -rf .coverage dist build")
@task(clean, default=True)
def test(context):
context.run("pytest")
@task(test)
def install(context):
context.run("python setup.py develop")
@task(test)
def release(context):
con... | <commit_before># -*- coding: utf-8 -*-
from invoke import task
@task
def clean(context):
context.run("rm -rf .coverage dist build")
@task(clean, default=True)
def test(context):
context.run("pytest")
@task(test)
def install(context):
context.run("python setup.py develop")
@task(test)
def release(co... |
1f545f9e921e10448b4018550620f9dc4d56931c | survey/models/__init__.py | survey/models/__init__.py | # -*- coding: utf-8 -*-
"""
Permit to import everything from survey.models without knowing the details.
"""
import sys
from .answer import Answer
from .category import Category
from .question import Question
from .response import Response
from .survey import Survey
__all__ = ["Category", "Answer", "Category", "... | # -*- coding: utf-8 -*-
"""
Permit to import everything from survey.models without knowing the details.
"""
from .answer import Answer
from .category import Category
from .question import Question
from .response import Response
from .survey import Survey
__all__ = ["Category", "Answer", "Category", "Response", "Surv... | Fix F401 'sys' imported but unused | Fix F401 'sys' imported but unused
| Python | agpl-3.0 | Pierre-Sassoulas/django-survey,Pierre-Sassoulas/django-survey,Pierre-Sassoulas/django-survey | # -*- coding: utf-8 -*-
"""
Permit to import everything from survey.models without knowing the details.
"""
import sys
from .answer import Answer
from .category import Category
from .question import Question
from .response import Response
from .survey import Survey
__all__ = ["Category", "Answer", "Category", "... | # -*- coding: utf-8 -*-
"""
Permit to import everything from survey.models without knowing the details.
"""
from .answer import Answer
from .category import Category
from .question import Question
from .response import Response
from .survey import Survey
__all__ = ["Category", "Answer", "Category", "Response", "Surv... | <commit_before># -*- coding: utf-8 -*-
"""
Permit to import everything from survey.models without knowing the details.
"""
import sys
from .answer import Answer
from .category import Category
from .question import Question
from .response import Response
from .survey import Survey
__all__ = ["Category", "Answer"... | # -*- coding: utf-8 -*-
"""
Permit to import everything from survey.models without knowing the details.
"""
from .answer import Answer
from .category import Category
from .question import Question
from .response import Response
from .survey import Survey
__all__ = ["Category", "Answer", "Category", "Response", "Surv... | # -*- coding: utf-8 -*-
"""
Permit to import everything from survey.models without knowing the details.
"""
import sys
from .answer import Answer
from .category import Category
from .question import Question
from .response import Response
from .survey import Survey
__all__ = ["Category", "Answer", "Category", "... | <commit_before># -*- coding: utf-8 -*-
"""
Permit to import everything from survey.models without knowing the details.
"""
import sys
from .answer import Answer
from .category import Category
from .question import Question
from .response import Response
from .survey import Survey
__all__ = ["Category", "Answer"... |
42964d986a0e86c3c93ad152d99b5a4e5cbc2a8e | plots/mapplot/_shelve.py | plots/mapplot/_shelve.py | '''
Cache results to disk.
'''
import inspect
import os
import shelve
class shelved:
def __init__(self, func):
self._func = func
# Put the cache file in the same directory as the caller.
funcdir = os.path.dirname(inspect.getfile(self._func))
cachedir = os.path.join(funcdir, '_she... | '''
Cache results to disk.
'''
import inspect
import os
import shelve
class shelved:
def __init__(self, func):
self._func = func
# Put the cache file in the same directory as the caller.
funcdir = os.path.dirname(inspect.getfile(self._func))
cachedir = os.path.join(funcdir, '_she... | Revert "Maybe fixed weakref error by explicitly closing shelf." This did not fix the weakref error. Maybe it's something in cartopy. | Revert "Maybe fixed weakref error by explicitly closing shelf."
This did not fix the weakref error. Maybe it's something in cartopy.
This reverts commit 30d5b38cbc7a771e636e689b281ebc09356c3a49.
| Python | agpl-3.0 | janmedlock/HIV-95-vaccine | '''
Cache results to disk.
'''
import inspect
import os
import shelve
class shelved:
def __init__(self, func):
self._func = func
# Put the cache file in the same directory as the caller.
funcdir = os.path.dirname(inspect.getfile(self._func))
cachedir = os.path.join(funcdir, '_she... | '''
Cache results to disk.
'''
import inspect
import os
import shelve
class shelved:
def __init__(self, func):
self._func = func
# Put the cache file in the same directory as the caller.
funcdir = os.path.dirname(inspect.getfile(self._func))
cachedir = os.path.join(funcdir, '_she... | <commit_before>'''
Cache results to disk.
'''
import inspect
import os
import shelve
class shelved:
def __init__(self, func):
self._func = func
# Put the cache file in the same directory as the caller.
funcdir = os.path.dirname(inspect.getfile(self._func))
cachedir = os.path.join... | '''
Cache results to disk.
'''
import inspect
import os
import shelve
class shelved:
def __init__(self, func):
self._func = func
# Put the cache file in the same directory as the caller.
funcdir = os.path.dirname(inspect.getfile(self._func))
cachedir = os.path.join(funcdir, '_she... | '''
Cache results to disk.
'''
import inspect
import os
import shelve
class shelved:
def __init__(self, func):
self._func = func
# Put the cache file in the same directory as the caller.
funcdir = os.path.dirname(inspect.getfile(self._func))
cachedir = os.path.join(funcdir, '_she... | <commit_before>'''
Cache results to disk.
'''
import inspect
import os
import shelve
class shelved:
def __init__(self, func):
self._func = func
# Put the cache file in the same directory as the caller.
funcdir = os.path.dirname(inspect.getfile(self._func))
cachedir = os.path.join... |
3736d7fb32e20a64591f949d6ff431430447d421 | stock.py | stock.py | class Stock:
def __init__(self, symbol):
self.symbol = symbol
self.price_history = []
@property
def price(self):
return self.price_history[-1] if self.price_history else None
def update(self, timestamp, price):
if price < 0:
raise ValueError("price should no... | import bisect
import collections
PriceEvent = collections.namedtuple("PriceEvent", ["timestamp", "price"])
class Stock:
def __init__(self, symbol):
self.symbol = symbol
self.price_history = []
@property
def price(self):
return self.price_history[-1].price if self.price_history el... | Add a named tuple PriceEvent sub class and update methods accordingly. | Add a named tuple PriceEvent sub class and update methods accordingly.
| Python | mit | bsmukasa/stock_alerter | class Stock:
def __init__(self, symbol):
self.symbol = symbol
self.price_history = []
@property
def price(self):
return self.price_history[-1] if self.price_history else None
def update(self, timestamp, price):
if price < 0:
raise ValueError("price should no... | import bisect
import collections
PriceEvent = collections.namedtuple("PriceEvent", ["timestamp", "price"])
class Stock:
def __init__(self, symbol):
self.symbol = symbol
self.price_history = []
@property
def price(self):
return self.price_history[-1].price if self.price_history el... | <commit_before>class Stock:
def __init__(self, symbol):
self.symbol = symbol
self.price_history = []
@property
def price(self):
return self.price_history[-1] if self.price_history else None
def update(self, timestamp, price):
if price < 0:
raise ValueError("... | import bisect
import collections
PriceEvent = collections.namedtuple("PriceEvent", ["timestamp", "price"])
class Stock:
def __init__(self, symbol):
self.symbol = symbol
self.price_history = []
@property
def price(self):
return self.price_history[-1].price if self.price_history el... | class Stock:
def __init__(self, symbol):
self.symbol = symbol
self.price_history = []
@property
def price(self):
return self.price_history[-1] if self.price_history else None
def update(self, timestamp, price):
if price < 0:
raise ValueError("price should no... | <commit_before>class Stock:
def __init__(self, symbol):
self.symbol = symbol
self.price_history = []
@property
def price(self):
return self.price_history[-1] if self.price_history else None
def update(self, timestamp, price):
if price < 0:
raise ValueError("... |
b6c8dd224279ad0258b1130f8105059affa7553f | Challenges/chall_04.py | Challenges/chall_04.py | #!/urs/local/bin/python3
# Python challenge - 4
# http://www.pythonchallenge.com/pc/def/linkedlist.php
import urllib.request
import re
def main():
'''
http://www.pythonchallenge.com/pc/def/linkedlist.php?nothing=12345
44827
45439
...
'''
base_url = 'http://www.pythonchallenge.com/pc/def/l... | #!/usr/local/bin/python3
# Python challenge - 4
# http://www.pythonchallenge.com/pc/def/linkedlist.html
# http://www.pythonchallenge.com/pc/def/linkedlist.php
# Keyword: peak
import urllib.request
import re
def main():
'''
html page shows: linkedlist.php
php page comment: urllib may help. DON'T TRY ALL N... | Refactor code, fix shebang path | Refactor code, fix shebang path
| Python | mit | HKuz/PythonChallenge | #!/urs/local/bin/python3
# Python challenge - 4
# http://www.pythonchallenge.com/pc/def/linkedlist.php
import urllib.request
import re
def main():
'''
http://www.pythonchallenge.com/pc/def/linkedlist.php?nothing=12345
44827
45439
...
'''
base_url = 'http://www.pythonchallenge.com/pc/def/l... | #!/usr/local/bin/python3
# Python challenge - 4
# http://www.pythonchallenge.com/pc/def/linkedlist.html
# http://www.pythonchallenge.com/pc/def/linkedlist.php
# Keyword: peak
import urllib.request
import re
def main():
'''
html page shows: linkedlist.php
php page comment: urllib may help. DON'T TRY ALL N... | <commit_before>#!/urs/local/bin/python3
# Python challenge - 4
# http://www.pythonchallenge.com/pc/def/linkedlist.php
import urllib.request
import re
def main():
'''
http://www.pythonchallenge.com/pc/def/linkedlist.php?nothing=12345
44827
45439
...
'''
base_url = 'http://www.pythonchallen... | #!/usr/local/bin/python3
# Python challenge - 4
# http://www.pythonchallenge.com/pc/def/linkedlist.html
# http://www.pythonchallenge.com/pc/def/linkedlist.php
# Keyword: peak
import urllib.request
import re
def main():
'''
html page shows: linkedlist.php
php page comment: urllib may help. DON'T TRY ALL N... | #!/urs/local/bin/python3
# Python challenge - 4
# http://www.pythonchallenge.com/pc/def/linkedlist.php
import urllib.request
import re
def main():
'''
http://www.pythonchallenge.com/pc/def/linkedlist.php?nothing=12345
44827
45439
...
'''
base_url = 'http://www.pythonchallenge.com/pc/def/l... | <commit_before>#!/urs/local/bin/python3
# Python challenge - 4
# http://www.pythonchallenge.com/pc/def/linkedlist.php
import urllib.request
import re
def main():
'''
http://www.pythonchallenge.com/pc/def/linkedlist.php?nothing=12345
44827
45439
...
'''
base_url = 'http://www.pythonchallen... |
b85a92df83563e38b84340574cde2f9dc06b563c | rest_framework_docs/api_docs.py | rest_framework_docs/api_docs.py | from django.conf import settings
from django.core.urlresolvers import RegexURLResolver, RegexURLPattern
from django.utils.module_loading import import_string
from rest_framework.views import APIView
from rest_framework_docs.api_endpoint import ApiEndpoint
class ApiDocumentation(object):
def __init__(self):
... | from django.conf import settings
from django.core.urlresolvers import RegexURLResolver, RegexURLPattern
from django.utils.module_loading import import_string
from rest_framework.views import APIView
from rest_framework_docs.api_endpoint import ApiEndpoint
class ApiDocumentation(object):
def __init__(self):
... | Exclude Endpoints with a <format> parameter | Exclude Endpoints with a <format> parameter
| Python | bsd-2-clause | ekonstantinidis/django-rest-framework-docs,manosim/django-rest-framework-docs,ekonstantinidis/django-rest-framework-docs,manosim/django-rest-framework-docs,manosim/django-rest-framework-docs,ekonstantinidis/django-rest-framework-docs | from django.conf import settings
from django.core.urlresolvers import RegexURLResolver, RegexURLPattern
from django.utils.module_loading import import_string
from rest_framework.views import APIView
from rest_framework_docs.api_endpoint import ApiEndpoint
class ApiDocumentation(object):
def __init__(self):
... | from django.conf import settings
from django.core.urlresolvers import RegexURLResolver, RegexURLPattern
from django.utils.module_loading import import_string
from rest_framework.views import APIView
from rest_framework_docs.api_endpoint import ApiEndpoint
class ApiDocumentation(object):
def __init__(self):
... | <commit_before>from django.conf import settings
from django.core.urlresolvers import RegexURLResolver, RegexURLPattern
from django.utils.module_loading import import_string
from rest_framework.views import APIView
from rest_framework_docs.api_endpoint import ApiEndpoint
class ApiDocumentation(object):
def __init... | from django.conf import settings
from django.core.urlresolvers import RegexURLResolver, RegexURLPattern
from django.utils.module_loading import import_string
from rest_framework.views import APIView
from rest_framework_docs.api_endpoint import ApiEndpoint
class ApiDocumentation(object):
def __init__(self):
... | from django.conf import settings
from django.core.urlresolvers import RegexURLResolver, RegexURLPattern
from django.utils.module_loading import import_string
from rest_framework.views import APIView
from rest_framework_docs.api_endpoint import ApiEndpoint
class ApiDocumentation(object):
def __init__(self):
... | <commit_before>from django.conf import settings
from django.core.urlresolvers import RegexURLResolver, RegexURLPattern
from django.utils.module_loading import import_string
from rest_framework.views import APIView
from rest_framework_docs.api_endpoint import ApiEndpoint
class ApiDocumentation(object):
def __init... |
a22b21e4a06525f081c6a7ce92ddc2102d7ddce8 | 5-convert-to-mw.py | 5-convert-to-mw.py | #!/usr/bin/python
from subprocess import call
import os
from os.path import join, getsize
wikiHtml = "/var/www/sp/wiki-html"
LOwikiHtml = "/var/www/sp/5-libre-wiki-html"
wikiFiles = "/var/www/sp/6-wiki-files"
for f in os.listdir(wikiHtml):
if f.endswith(".html"):
# soffice --headless --convert-to html:HTML /path... | #!/usr/bin/python
from subprocess import call
import os
from os.path import join, getsize
scriptPath = os.path.realpath(__file__)
wikiHtml = scriptPath + "/usr/sharepoint-content"
LibreOfficeOutput = scriptPath + "/usr/LibreOfficeOutput"
WikitextOutput = scriptPath + "/usr/WikitextOutput"
for f in os.listdir(wikiHtm... | Fix paths in LibreOffice and Perl converter | Fix paths in LibreOffice and Perl converter
| Python | mit | jamesmontalvo3/Sharepoint-to-MediaWiki,jamesmontalvo3/Sharepoint-to-MediaWiki | #!/usr/bin/python
from subprocess import call
import os
from os.path import join, getsize
wikiHtml = "/var/www/sp/wiki-html"
LOwikiHtml = "/var/www/sp/5-libre-wiki-html"
wikiFiles = "/var/www/sp/6-wiki-files"
for f in os.listdir(wikiHtml):
if f.endswith(".html"):
# soffice --headless --convert-to html:HTML /path... | #!/usr/bin/python
from subprocess import call
import os
from os.path import join, getsize
scriptPath = os.path.realpath(__file__)
wikiHtml = scriptPath + "/usr/sharepoint-content"
LibreOfficeOutput = scriptPath + "/usr/LibreOfficeOutput"
WikitextOutput = scriptPath + "/usr/WikitextOutput"
for f in os.listdir(wikiHtm... | <commit_before>#!/usr/bin/python
from subprocess import call
import os
from os.path import join, getsize
wikiHtml = "/var/www/sp/wiki-html"
LOwikiHtml = "/var/www/sp/5-libre-wiki-html"
wikiFiles = "/var/www/sp/6-wiki-files"
for f in os.listdir(wikiHtml):
if f.endswith(".html"):
# soffice --headless --convert-to ... | #!/usr/bin/python
from subprocess import call
import os
from os.path import join, getsize
scriptPath = os.path.realpath(__file__)
wikiHtml = scriptPath + "/usr/sharepoint-content"
LibreOfficeOutput = scriptPath + "/usr/LibreOfficeOutput"
WikitextOutput = scriptPath + "/usr/WikitextOutput"
for f in os.listdir(wikiHtm... | #!/usr/bin/python
from subprocess import call
import os
from os.path import join, getsize
wikiHtml = "/var/www/sp/wiki-html"
LOwikiHtml = "/var/www/sp/5-libre-wiki-html"
wikiFiles = "/var/www/sp/6-wiki-files"
for f in os.listdir(wikiHtml):
if f.endswith(".html"):
# soffice --headless --convert-to html:HTML /path... | <commit_before>#!/usr/bin/python
from subprocess import call
import os
from os.path import join, getsize
wikiHtml = "/var/www/sp/wiki-html"
LOwikiHtml = "/var/www/sp/5-libre-wiki-html"
wikiFiles = "/var/www/sp/6-wiki-files"
for f in os.listdir(wikiHtml):
if f.endswith(".html"):
# soffice --headless --convert-to ... |
d7133922de24c6553417eb1e25c65bb51e7451f7 | airship/__init__.py | airship/__init__.py | import os
import json
from flask import Flask, render_template
def channels_json(station, escaped=False):
channels = [{"name": channel} for channel in station.channels()]
jsonbody = json.dumps(channels)
if escaped:
jsonbody = jsonbody.replace("</", "<\\/")
return jsonbody
def make_airship(s... | import os
import json
from flask import Flask, render_template
def channels_json(station, escaped=False):
channels = [{"name": channel} for channel in station.channels()]
jsonbody = json.dumps(channels)
if escaped:
jsonbody = jsonbody.replace("</", "<\\/")
return jsonbody
def make_airship(s... | Create a route for fetching grefs | Create a route for fetching grefs
| Python | mit | richo/airship,richo/airship,richo/airship | import os
import json
from flask import Flask, render_template
def channels_json(station, escaped=False):
channels = [{"name": channel} for channel in station.channels()]
jsonbody = json.dumps(channels)
if escaped:
jsonbody = jsonbody.replace("</", "<\\/")
return jsonbody
def make_airship(s... | import os
import json
from flask import Flask, render_template
def channels_json(station, escaped=False):
channels = [{"name": channel} for channel in station.channels()]
jsonbody = json.dumps(channels)
if escaped:
jsonbody = jsonbody.replace("</", "<\\/")
return jsonbody
def make_airship(s... | <commit_before>import os
import json
from flask import Flask, render_template
def channels_json(station, escaped=False):
channels = [{"name": channel} for channel in station.channels()]
jsonbody = json.dumps(channels)
if escaped:
jsonbody = jsonbody.replace("</", "<\\/")
return jsonbody
def... | import os
import json
from flask import Flask, render_template
def channels_json(station, escaped=False):
channels = [{"name": channel} for channel in station.channels()]
jsonbody = json.dumps(channels)
if escaped:
jsonbody = jsonbody.replace("</", "<\\/")
return jsonbody
def make_airship(s... | import os
import json
from flask import Flask, render_template
def channels_json(station, escaped=False):
channels = [{"name": channel} for channel in station.channels()]
jsonbody = json.dumps(channels)
if escaped:
jsonbody = jsonbody.replace("</", "<\\/")
return jsonbody
def make_airship(s... | <commit_before>import os
import json
from flask import Flask, render_template
def channels_json(station, escaped=False):
channels = [{"name": channel} for channel in station.channels()]
jsonbody = json.dumps(channels)
if escaped:
jsonbody = jsonbody.replace("</", "<\\/")
return jsonbody
def... |
c5683cb2bf8635c6ad26aac807f47c8f1fb4c68a | http_prompt/cli.py | http_prompt/cli.py | import click
from prompt_toolkit import prompt
from prompt_toolkit.history import InMemoryHistory
from prompt_toolkit.layout.lexers import PygmentsLexer
from prompt_toolkit.styles.from_pygments import style_from_pygments
from pygments.styles import get_style_by_name
from .completer import HttpPromptCompleter
from .co... | import click
from prompt_toolkit import prompt
from prompt_toolkit.history import InMemoryHistory
from prompt_toolkit.layout.lexers import PygmentsLexer
from prompt_toolkit.styles.from_pygments import style_from_pygments
from pygments.styles import get_style_by_name
from .completer import HttpPromptCompleter
from .co... | Fix incomplete URL from command line | Fix incomplete URL from command line
| Python | mit | eliangcs/http-prompt,Yegorov/http-prompt | import click
from prompt_toolkit import prompt
from prompt_toolkit.history import InMemoryHistory
from prompt_toolkit.layout.lexers import PygmentsLexer
from prompt_toolkit.styles.from_pygments import style_from_pygments
from pygments.styles import get_style_by_name
from .completer import HttpPromptCompleter
from .co... | import click
from prompt_toolkit import prompt
from prompt_toolkit.history import InMemoryHistory
from prompt_toolkit.layout.lexers import PygmentsLexer
from prompt_toolkit.styles.from_pygments import style_from_pygments
from pygments.styles import get_style_by_name
from .completer import HttpPromptCompleter
from .co... | <commit_before>import click
from prompt_toolkit import prompt
from prompt_toolkit.history import InMemoryHistory
from prompt_toolkit.layout.lexers import PygmentsLexer
from prompt_toolkit.styles.from_pygments import style_from_pygments
from pygments.styles import get_style_by_name
from .completer import HttpPromptCom... | import click
from prompt_toolkit import prompt
from prompt_toolkit.history import InMemoryHistory
from prompt_toolkit.layout.lexers import PygmentsLexer
from prompt_toolkit.styles.from_pygments import style_from_pygments
from pygments.styles import get_style_by_name
from .completer import HttpPromptCompleter
from .co... | import click
from prompt_toolkit import prompt
from prompt_toolkit.history import InMemoryHistory
from prompt_toolkit.layout.lexers import PygmentsLexer
from prompt_toolkit.styles.from_pygments import style_from_pygments
from pygments.styles import get_style_by_name
from .completer import HttpPromptCompleter
from .co... | <commit_before>import click
from prompt_toolkit import prompt
from prompt_toolkit.history import InMemoryHistory
from prompt_toolkit.layout.lexers import PygmentsLexer
from prompt_toolkit.styles.from_pygments import style_from_pygments
from pygments.styles import get_style_by_name
from .completer import HttpPromptCom... |
3055fa16010a1b855142c2e5b866d76daee17c8f | markdown_gen/test/attributes_test.py | markdown_gen/test/attributes_test.py |
import unittest
import markdown_gen.MardownGen as md
class AttributesTests(unittest.TestCase):
def test_italic(self):
expected = "*italic text*"
self.assertEqual(expected, md.gen_italic("italic text"))
expected = "_italic text alternative_"
self.assertEqual(expected, md.gen_it... |
import unittest
import markdown_gen.MardownGen as md
class AttributesTests(unittest.TestCase):
def test_italic(self):
expected = "*italic text*"
self.assertEqual(expected, md.gen_italic("italic text"))
expected = "_italic text alternative_"
self.assertEqual(expected, md.gen_it... | Add test for bold and italic text | Add test for bold and italic text | Python | epl-1.0 | LukasWoodtli/PyMarkdownGen |
import unittest
import markdown_gen.MardownGen as md
class AttributesTests(unittest.TestCase):
def test_italic(self):
expected = "*italic text*"
self.assertEqual(expected, md.gen_italic("italic text"))
expected = "_italic text alternative_"
self.assertEqual(expected, md.gen_it... |
import unittest
import markdown_gen.MardownGen as md
class AttributesTests(unittest.TestCase):
def test_italic(self):
expected = "*italic text*"
self.assertEqual(expected, md.gen_italic("italic text"))
expected = "_italic text alternative_"
self.assertEqual(expected, md.gen_it... | <commit_before>
import unittest
import markdown_gen.MardownGen as md
class AttributesTests(unittest.TestCase):
def test_italic(self):
expected = "*italic text*"
self.assertEqual(expected, md.gen_italic("italic text"))
expected = "_italic text alternative_"
self.assertEqual(expe... |
import unittest
import markdown_gen.MardownGen as md
class AttributesTests(unittest.TestCase):
def test_italic(self):
expected = "*italic text*"
self.assertEqual(expected, md.gen_italic("italic text"))
expected = "_italic text alternative_"
self.assertEqual(expected, md.gen_it... |
import unittest
import markdown_gen.MardownGen as md
class AttributesTests(unittest.TestCase):
def test_italic(self):
expected = "*italic text*"
self.assertEqual(expected, md.gen_italic("italic text"))
expected = "_italic text alternative_"
self.assertEqual(expected, md.gen_it... | <commit_before>
import unittest
import markdown_gen.MardownGen as md
class AttributesTests(unittest.TestCase):
def test_italic(self):
expected = "*italic text*"
self.assertEqual(expected, md.gen_italic("italic text"))
expected = "_italic text alternative_"
self.assertEqual(expe... |
9c119ec89b79d27b284bb89f2507cc93f32d8d68 | app/twiggy_setup.py | app/twiggy_setup.py | import tornado.options
from twiggy import *
def twiggy_setup():
fout = outputs.FileOutput(
tornado.options.options.app_log_file, format=formats.line_format)
sout = outputs.StreamOutput(format=formats.line_format)
addEmitters(
('ipborg', levels.DEBUG, None, fout),
('ipborg', levels... | import tornado.options
from twiggy import *
def twiggy_setup():
fout = outputs.FileOutput(
tornado.options.options.app_log_file, format=formats.line_format)
sout = outputs.StreamOutput(format=formats.line_format)
addEmitters(
('ipborg.file', levels.DEBUG, None, fout),
('ipborg.std... | Use unique names for twiggy emitters. | Use unique names for twiggy emitters.
| Python | mit | jiffyclub/ipythonblocks.org,jiffyclub/ipythonblocks.org | import tornado.options
from twiggy import *
def twiggy_setup():
fout = outputs.FileOutput(
tornado.options.options.app_log_file, format=formats.line_format)
sout = outputs.StreamOutput(format=formats.line_format)
addEmitters(
('ipborg', levels.DEBUG, None, fout),
('ipborg', levels... | import tornado.options
from twiggy import *
def twiggy_setup():
fout = outputs.FileOutput(
tornado.options.options.app_log_file, format=formats.line_format)
sout = outputs.StreamOutput(format=formats.line_format)
addEmitters(
('ipborg.file', levels.DEBUG, None, fout),
('ipborg.std... | <commit_before>import tornado.options
from twiggy import *
def twiggy_setup():
fout = outputs.FileOutput(
tornado.options.options.app_log_file, format=formats.line_format)
sout = outputs.StreamOutput(format=formats.line_format)
addEmitters(
('ipborg', levels.DEBUG, None, fout),
('... | import tornado.options
from twiggy import *
def twiggy_setup():
fout = outputs.FileOutput(
tornado.options.options.app_log_file, format=formats.line_format)
sout = outputs.StreamOutput(format=formats.line_format)
addEmitters(
('ipborg.file', levels.DEBUG, None, fout),
('ipborg.std... | import tornado.options
from twiggy import *
def twiggy_setup():
fout = outputs.FileOutput(
tornado.options.options.app_log_file, format=formats.line_format)
sout = outputs.StreamOutput(format=formats.line_format)
addEmitters(
('ipborg', levels.DEBUG, None, fout),
('ipborg', levels... | <commit_before>import tornado.options
from twiggy import *
def twiggy_setup():
fout = outputs.FileOutput(
tornado.options.options.app_log_file, format=formats.line_format)
sout = outputs.StreamOutput(format=formats.line_format)
addEmitters(
('ipborg', levels.DEBUG, None, fout),
('... |
8ed4d09a9e0c0e16f179185cd3d0e6f2dece360d | tutorials/intro/utils.py | tutorials/intro/utils.py | from snorkel.models import Span, Label
from sqlalchemy.orm.exc import NoResultFound
def add_spouse_label(session, key, cls, person1, person2, value):
try:
person1 = session.query(Span).filter(Span.stable_id == person1).one()
person2 = session.query(Span).filter(Span.stable_id == person2).one()
... | from snorkel.models import Span, Label
from sqlalchemy.orm.exc import NoResultFound
def add_spouse_label(session, key, cls, person1, person2, value):
try:
person1 = session.query(Span).filter(Span.stable_id == person1).one()
person2 = session.query(Span).filter(Span.stable_id == person2).one()
... | Fix for rerunning intro tutorial on previously used database. | Fix for rerunning intro tutorial on previously used database.
| Python | apache-2.0 | HazyResearch/snorkel,HazyResearch/snorkel,jasontlam/snorkel,jasontlam/snorkel,jasontlam/snorkel,HazyResearch/snorkel | from snorkel.models import Span, Label
from sqlalchemy.orm.exc import NoResultFound
def add_spouse_label(session, key, cls, person1, person2, value):
try:
person1 = session.query(Span).filter(Span.stable_id == person1).one()
person2 = session.query(Span).filter(Span.stable_id == person2).one()
... | from snorkel.models import Span, Label
from sqlalchemy.orm.exc import NoResultFound
def add_spouse_label(session, key, cls, person1, person2, value):
try:
person1 = session.query(Span).filter(Span.stable_id == person1).one()
person2 = session.query(Span).filter(Span.stable_id == person2).one()
... | <commit_before>from snorkel.models import Span, Label
from sqlalchemy.orm.exc import NoResultFound
def add_spouse_label(session, key, cls, person1, person2, value):
try:
person1 = session.query(Span).filter(Span.stable_id == person1).one()
person2 = session.query(Span).filter(Span.stable_id == per... | from snorkel.models import Span, Label
from sqlalchemy.orm.exc import NoResultFound
def add_spouse_label(session, key, cls, person1, person2, value):
try:
person1 = session.query(Span).filter(Span.stable_id == person1).one()
person2 = session.query(Span).filter(Span.stable_id == person2).one()
... | from snorkel.models import Span, Label
from sqlalchemy.orm.exc import NoResultFound
def add_spouse_label(session, key, cls, person1, person2, value):
try:
person1 = session.query(Span).filter(Span.stable_id == person1).one()
person2 = session.query(Span).filter(Span.stable_id == person2).one()
... | <commit_before>from snorkel.models import Span, Label
from sqlalchemy.orm.exc import NoResultFound
def add_spouse_label(session, key, cls, person1, person2, value):
try:
person1 = session.query(Span).filter(Span.stable_id == person1).one()
person2 = session.query(Span).filter(Span.stable_id == per... |
23c29c4964286fc2ca8fb3a957a6e7810edb9d17 | alexia/template/context_processors.py | alexia/template/context_processors.py | from __future__ import unicode_literals
from alexia.apps.organization.models import Organization
def organization(request):
return {
'organizations': Organization.objects.all(),
'current_organization': request.organization,
}
def permissions(request):
if request.user.is_superuser:
... | from __future__ import unicode_literals
from alexia.apps.organization.models import Organization
def organization(request):
return {
'organizations': Organization.objects.all(),
'current_organization': request.organization,
}
def permissions(request):
if request.user.is_superuser:
... | Fix AttributeError: 'AnonymousUser' object has no attribute 'membership_set' | Fix AttributeError: 'AnonymousUser' object has no attribute 'membership_set'
| Python | bsd-3-clause | Inter-Actief/alexia,Inter-Actief/alexia,Inter-Actief/alexia,Inter-Actief/alexia | from __future__ import unicode_literals
from alexia.apps.organization.models import Organization
def organization(request):
return {
'organizations': Organization.objects.all(),
'current_organization': request.organization,
}
def permissions(request):
if request.user.is_superuser:
... | from __future__ import unicode_literals
from alexia.apps.organization.models import Organization
def organization(request):
return {
'organizations': Organization.objects.all(),
'current_organization': request.organization,
}
def permissions(request):
if request.user.is_superuser:
... | <commit_before>from __future__ import unicode_literals
from alexia.apps.organization.models import Organization
def organization(request):
return {
'organizations': Organization.objects.all(),
'current_organization': request.organization,
}
def permissions(request):
if request.user.is_s... | from __future__ import unicode_literals
from alexia.apps.organization.models import Organization
def organization(request):
return {
'organizations': Organization.objects.all(),
'current_organization': request.organization,
}
def permissions(request):
if request.user.is_superuser:
... | from __future__ import unicode_literals
from alexia.apps.organization.models import Organization
def organization(request):
return {
'organizations': Organization.objects.all(),
'current_organization': request.organization,
}
def permissions(request):
if request.user.is_superuser:
... | <commit_before>from __future__ import unicode_literals
from alexia.apps.organization.models import Organization
def organization(request):
return {
'organizations': Organization.objects.all(),
'current_organization': request.organization,
}
def permissions(request):
if request.user.is_s... |
540bffe17ede75bc6afd9b2d45e343e0eac4552b | rna-transcription/rna_transcription.py | rna-transcription/rna_transcription.py | DNA = {"A", "C", "T", "G"}
TRANS = {"G": "C", "C":"G", "T":"A", "A":"U"}
def to_rna(dna):
# Check validity - `difference` returns elements in dna not in DNA
if set(dna).difference(DNA):
return ""
return "".join([TRANS[n] for n in dna])
| TRANS = {"G": "C", "C":"G", "T":"A", "A":"U"}
def to_rna(dna):
try:
return "".join([TRANS[n] for n in dna])
except KeyError:
return ""
# Old version: it's slightly slower for valid DNA, but slightly faster for invalid DNA
DNA = {"A", "C", "T", "G"}
TRANS = {"G": "C", "C":"G", "T":"A", "A":"... | Add an exception based version | Add an exception based version
| Python | agpl-3.0 | CubicComet/exercism-python-solutions | DNA = {"A", "C", "T", "G"}
TRANS = {"G": "C", "C":"G", "T":"A", "A":"U"}
def to_rna(dna):
# Check validity - `difference` returns elements in dna not in DNA
if set(dna).difference(DNA):
return ""
return "".join([TRANS[n] for n in dna])
Add an exception based version | TRANS = {"G": "C", "C":"G", "T":"A", "A":"U"}
def to_rna(dna):
try:
return "".join([TRANS[n] for n in dna])
except KeyError:
return ""
# Old version: it's slightly slower for valid DNA, but slightly faster for invalid DNA
DNA = {"A", "C", "T", "G"}
TRANS = {"G": "C", "C":"G", "T":"A", "A":"... | <commit_before>DNA = {"A", "C", "T", "G"}
TRANS = {"G": "C", "C":"G", "T":"A", "A":"U"}
def to_rna(dna):
# Check validity - `difference` returns elements in dna not in DNA
if set(dna).difference(DNA):
return ""
return "".join([TRANS[n] for n in dna])
<commit_msg>Add an exception based versio... | TRANS = {"G": "C", "C":"G", "T":"A", "A":"U"}
def to_rna(dna):
try:
return "".join([TRANS[n] for n in dna])
except KeyError:
return ""
# Old version: it's slightly slower for valid DNA, but slightly faster for invalid DNA
DNA = {"A", "C", "T", "G"}
TRANS = {"G": "C", "C":"G", "T":"A", "A":"... | DNA = {"A", "C", "T", "G"}
TRANS = {"G": "C", "C":"G", "T":"A", "A":"U"}
def to_rna(dna):
# Check validity - `difference` returns elements in dna not in DNA
if set(dna).difference(DNA):
return ""
return "".join([TRANS[n] for n in dna])
Add an exception based versionTRANS = {"G": "C", "C":"G"... | <commit_before>DNA = {"A", "C", "T", "G"}
TRANS = {"G": "C", "C":"G", "T":"A", "A":"U"}
def to_rna(dna):
# Check validity - `difference` returns elements in dna not in DNA
if set(dna).difference(DNA):
return ""
return "".join([TRANS[n] for n in dna])
<commit_msg>Add an exception based versio... |
b7b67a0327feddc977a404178aae03e47947dd20 | bluebottle/bluebottle_drf2/pagination.py | bluebottle/bluebottle_drf2/pagination.py | from rest_framework.pagination import PageNumberPagination
class BluebottlePagination(PageNumberPagination):
page_size = 10
| from rest_framework.pagination import PageNumberPagination
class BluebottlePagination(PageNumberPagination):
page_size = 10
page_size_query_param = 'page_size'
| Make it possible to send a page_size parameter to all paged endpoints. | Make it possible to send a page_size parameter to all paged endpoints.
BB-9512 #resolve
| Python | bsd-3-clause | onepercentclub/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle | from rest_framework.pagination import PageNumberPagination
class BluebottlePagination(PageNumberPagination):
page_size = 10
Make it possible to send a page_size parameter to all paged endpoints.
BB-9512 #resolve | from rest_framework.pagination import PageNumberPagination
class BluebottlePagination(PageNumberPagination):
page_size = 10
page_size_query_param = 'page_size'
| <commit_before>from rest_framework.pagination import PageNumberPagination
class BluebottlePagination(PageNumberPagination):
page_size = 10
<commit_msg>Make it possible to send a page_size parameter to all paged endpoints.
BB-9512 #resolve<commit_after> | from rest_framework.pagination import PageNumberPagination
class BluebottlePagination(PageNumberPagination):
page_size = 10
page_size_query_param = 'page_size'
| from rest_framework.pagination import PageNumberPagination
class BluebottlePagination(PageNumberPagination):
page_size = 10
Make it possible to send a page_size parameter to all paged endpoints.
BB-9512 #resolvefrom rest_framework.pagination import PageNumberPagination
class BluebottlePagination(PageNumberPagi... | <commit_before>from rest_framework.pagination import PageNumberPagination
class BluebottlePagination(PageNumberPagination):
page_size = 10
<commit_msg>Make it possible to send a page_size parameter to all paged endpoints.
BB-9512 #resolve<commit_after>from rest_framework.pagination import PageNumberPagination
... |
fba44cbf5f2cf0740e1579d70e79da4ab7d57aa0 | diana/socket.py | diana/socket.py | import socket
from . import packet
BLOCKSIZE = 4096
def connect(host, port, connect=socket.create_connection):
sock = connect((host, port))
def tx(pack):
sock.send(packet.encode(pack))
def rx():
buf = b''
while True:
data = sock.recv(BLOCKSIZE)
buf += data
... | import socket
from . import packet
BLOCKSIZE = 4096
def connect(host, port=2010, connect=socket.create_connection):
sock = connect((host, port))
def tx(pack):
sock.send(packet.encode(pack))
def rx():
buf = b''
while True:
data = sock.recv(BLOCKSIZE)
buf += d... | Use a sensible default port | Use a sensible default port
| Python | mit | prophile/libdiana | import socket
from . import packet
BLOCKSIZE = 4096
def connect(host, port, connect=socket.create_connection):
sock = connect((host, port))
def tx(pack):
sock.send(packet.encode(pack))
def rx():
buf = b''
while True:
data = sock.recv(BLOCKSIZE)
buf += data
... | import socket
from . import packet
BLOCKSIZE = 4096
def connect(host, port=2010, connect=socket.create_connection):
sock = connect((host, port))
def tx(pack):
sock.send(packet.encode(pack))
def rx():
buf = b''
while True:
data = sock.recv(BLOCKSIZE)
buf += d... | <commit_before>import socket
from . import packet
BLOCKSIZE = 4096
def connect(host, port, connect=socket.create_connection):
sock = connect((host, port))
def tx(pack):
sock.send(packet.encode(pack))
def rx():
buf = b''
while True:
data = sock.recv(BLOCKSIZE)
... | import socket
from . import packet
BLOCKSIZE = 4096
def connect(host, port=2010, connect=socket.create_connection):
sock = connect((host, port))
def tx(pack):
sock.send(packet.encode(pack))
def rx():
buf = b''
while True:
data = sock.recv(BLOCKSIZE)
buf += d... | import socket
from . import packet
BLOCKSIZE = 4096
def connect(host, port, connect=socket.create_connection):
sock = connect((host, port))
def tx(pack):
sock.send(packet.encode(pack))
def rx():
buf = b''
while True:
data = sock.recv(BLOCKSIZE)
buf += data
... | <commit_before>import socket
from . import packet
BLOCKSIZE = 4096
def connect(host, port, connect=socket.create_connection):
sock = connect((host, port))
def tx(pack):
sock.send(packet.encode(pack))
def rx():
buf = b''
while True:
data = sock.recv(BLOCKSIZE)
... |
1f5c196796d8f10bc19260c2d353d880b6147be7 | backend/__init__.py | backend/__init__.py | #
# Centralized logging setup
#
import os
import logging
from .utils import getLogger
l = getLogger('backend')
logging.basicConfig(
level=logging.DEBUG,
format='[%(asctime)s][%(levelname)s] %(name)s '
'%(filename)s:%(funcName)s:%(lineno)d | %(message)s',
datefmt='%Y-%m-%d %H:%M:%S'
)
sentry_d... | #
# Centralized logging setup
#
import os
import logging
from .utils import getLogger
l = getLogger('backend')
logging.basicConfig(
level=logging.DEBUG,
format='[%(asctime)s][%(levelname)s] %(name)s '
'%(filename)s:%(funcName)s:%(lineno)d | %(message)s',
datefmt='%Y-%m-%d %H:%M:%S'
)
sentry_d... | Set Sentry log level to warning | Set Sentry log level to warning
To prevent every damn thing from being logged... | Python | mit | The-Fonz/adventure-track,The-Fonz/adventure-track,The-Fonz/adventure-track | #
# Centralized logging setup
#
import os
import logging
from .utils import getLogger
l = getLogger('backend')
logging.basicConfig(
level=logging.DEBUG,
format='[%(asctime)s][%(levelname)s] %(name)s '
'%(filename)s:%(funcName)s:%(lineno)d | %(message)s',
datefmt='%Y-%m-%d %H:%M:%S'
)
sentry_d... | #
# Centralized logging setup
#
import os
import logging
from .utils import getLogger
l = getLogger('backend')
logging.basicConfig(
level=logging.DEBUG,
format='[%(asctime)s][%(levelname)s] %(name)s '
'%(filename)s:%(funcName)s:%(lineno)d | %(message)s',
datefmt='%Y-%m-%d %H:%M:%S'
)
sentry_d... | <commit_before>#
# Centralized logging setup
#
import os
import logging
from .utils import getLogger
l = getLogger('backend')
logging.basicConfig(
level=logging.DEBUG,
format='[%(asctime)s][%(levelname)s] %(name)s '
'%(filename)s:%(funcName)s:%(lineno)d | %(message)s',
datefmt='%Y-%m-%d %H:%M:... | #
# Centralized logging setup
#
import os
import logging
from .utils import getLogger
l = getLogger('backend')
logging.basicConfig(
level=logging.DEBUG,
format='[%(asctime)s][%(levelname)s] %(name)s '
'%(filename)s:%(funcName)s:%(lineno)d | %(message)s',
datefmt='%Y-%m-%d %H:%M:%S'
)
sentry_d... | #
# Centralized logging setup
#
import os
import logging
from .utils import getLogger
l = getLogger('backend')
logging.basicConfig(
level=logging.DEBUG,
format='[%(asctime)s][%(levelname)s] %(name)s '
'%(filename)s:%(funcName)s:%(lineno)d | %(message)s',
datefmt='%Y-%m-%d %H:%M:%S'
)
sentry_d... | <commit_before>#
# Centralized logging setup
#
import os
import logging
from .utils import getLogger
l = getLogger('backend')
logging.basicConfig(
level=logging.DEBUG,
format='[%(asctime)s][%(levelname)s] %(name)s '
'%(filename)s:%(funcName)s:%(lineno)d | %(message)s',
datefmt='%Y-%m-%d %H:%M:... |
d675dbcab18d56ae4c2c2f05d342159c1032b7b4 | polling_stations/apps/data_importers/management/commands/import_fake_exeter.py | polling_stations/apps/data_importers/management/commands/import_fake_exeter.py | from data_importers.management.commands import BaseXpressDemocracyClubCsvImporter
from pathlib import Path
def make_base_folder_path():
base_folder_path = Path.cwd() / Path("test_data/pollingstations_data/EXE")
return str(base_folder_path)
class Command(BaseXpressDemocracyClubCsvImporter):
local_files =... | from django.contrib.gis.geos import Point
from addressbase.models import UprnToCouncil
from data_importers.mixins import AdvanceVotingMixin
from data_importers.management.commands import BaseXpressDemocracyClubCsvImporter
from pathlib import Path
from pollingstations.models import AdvanceVotingStation
def make_base... | Add Advance Voting stations to fake Exeter importer | Add Advance Voting stations to fake Exeter importer
| Python | bsd-3-clause | DemocracyClub/UK-Polling-Stations,DemocracyClub/UK-Polling-Stations,DemocracyClub/UK-Polling-Stations | from data_importers.management.commands import BaseXpressDemocracyClubCsvImporter
from pathlib import Path
def make_base_folder_path():
base_folder_path = Path.cwd() / Path("test_data/pollingstations_data/EXE")
return str(base_folder_path)
class Command(BaseXpressDemocracyClubCsvImporter):
local_files =... | from django.contrib.gis.geos import Point
from addressbase.models import UprnToCouncil
from data_importers.mixins import AdvanceVotingMixin
from data_importers.management.commands import BaseXpressDemocracyClubCsvImporter
from pathlib import Path
from pollingstations.models import AdvanceVotingStation
def make_base... | <commit_before>from data_importers.management.commands import BaseXpressDemocracyClubCsvImporter
from pathlib import Path
def make_base_folder_path():
base_folder_path = Path.cwd() / Path("test_data/pollingstations_data/EXE")
return str(base_folder_path)
class Command(BaseXpressDemocracyClubCsvImporter):
... | from django.contrib.gis.geos import Point
from addressbase.models import UprnToCouncil
from data_importers.mixins import AdvanceVotingMixin
from data_importers.management.commands import BaseXpressDemocracyClubCsvImporter
from pathlib import Path
from pollingstations.models import AdvanceVotingStation
def make_base... | from data_importers.management.commands import BaseXpressDemocracyClubCsvImporter
from pathlib import Path
def make_base_folder_path():
base_folder_path = Path.cwd() / Path("test_data/pollingstations_data/EXE")
return str(base_folder_path)
class Command(BaseXpressDemocracyClubCsvImporter):
local_files =... | <commit_before>from data_importers.management.commands import BaseXpressDemocracyClubCsvImporter
from pathlib import Path
def make_base_folder_path():
base_folder_path = Path.cwd() / Path("test_data/pollingstations_data/EXE")
return str(base_folder_path)
class Command(BaseXpressDemocracyClubCsvImporter):
... |
7f212a9bacfce6612c6ec435174bf9c3eddd4652 | pagoeta/apps/events/serializers.py | pagoeta/apps/events/serializers.py | from hvad.contrib.restframework import TranslatableModelSerializer
from rest_framework import serializers
from rest_framework.reverse import reverse
from .models import Category, TargetGroup, TargetAge, Event
from pagoeta.apps.core.functions import get_absolute_uri
from pagoeta.apps.places.serializers import PlaceList... | from hvad.contrib.restframework import TranslatableModelSerializer
from rest_framework import serializers
from rest_framework.reverse import reverse
from .models import Category, TargetGroup, TargetAge, Event
from pagoeta.apps.core.functions import get_absolute_uri
from pagoeta.apps.places.serializers import PlaceList... | Change camelCasing strategy for `target_age` and `target_group` | Change camelCasing strategy for `target_age` and `target_group`
| Python | mit | zarautz/pagoeta,zarautz/pagoeta,zarautz/pagoeta | from hvad.contrib.restframework import TranslatableModelSerializer
from rest_framework import serializers
from rest_framework.reverse import reverse
from .models import Category, TargetGroup, TargetAge, Event
from pagoeta.apps.core.functions import get_absolute_uri
from pagoeta.apps.places.serializers import PlaceList... | from hvad.contrib.restframework import TranslatableModelSerializer
from rest_framework import serializers
from rest_framework.reverse import reverse
from .models import Category, TargetGroup, TargetAge, Event
from pagoeta.apps.core.functions import get_absolute_uri
from pagoeta.apps.places.serializers import PlaceList... | <commit_before>from hvad.contrib.restframework import TranslatableModelSerializer
from rest_framework import serializers
from rest_framework.reverse import reverse
from .models import Category, TargetGroup, TargetAge, Event
from pagoeta.apps.core.functions import get_absolute_uri
from pagoeta.apps.places.serializers i... | from hvad.contrib.restframework import TranslatableModelSerializer
from rest_framework import serializers
from rest_framework.reverse import reverse
from .models import Category, TargetGroup, TargetAge, Event
from pagoeta.apps.core.functions import get_absolute_uri
from pagoeta.apps.places.serializers import PlaceList... | from hvad.contrib.restframework import TranslatableModelSerializer
from rest_framework import serializers
from rest_framework.reverse import reverse
from .models import Category, TargetGroup, TargetAge, Event
from pagoeta.apps.core.functions import get_absolute_uri
from pagoeta.apps.places.serializers import PlaceList... | <commit_before>from hvad.contrib.restframework import TranslatableModelSerializer
from rest_framework import serializers
from rest_framework.reverse import reverse
from .models import Category, TargetGroup, TargetAge, Event
from pagoeta.apps.core.functions import get_absolute_uri
from pagoeta.apps.places.serializers i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.