blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
d56b4958a050b2475eab08b22b64f06f36724f1c
c0973d6939ef419ed3d261d95167d537499a553a
/tests/test_forex_strategy.py
34ee96c1d1ee8c48e63da8ba1979bb1dabdcf0dc
[ "MIT" ]
permissive
mj3428/OnePy
0c6e4be9b4bb36ae66b566dfa85cd44bae2a07de
8dc13fc21502daa5786aecaa4451ccba32fc8a14
refs/heads/master
2020-04-05T10:28:33.550915
2018-11-08T04:07:05
2018-11-08T04:07:05
134,518,682
0
0
MIT
2018-05-23T05:38:12
2018-05-23T05:38:11
null
UTF-8
Python
false
false
5,956
py
from collections import defaultdict import OnePy as op from OnePy.custom_module.cleaner_talib import Talib class DemoTestStrategy(op.StrategyBase): def __init__(self): super().__init__() self.params = dict(sma1=25, sma2=9) self.set_params(self.params) d...
[ "chenjiayicjy@126.com" ]
chenjiayicjy@126.com
036fab2dffd9e95949f40381d15eede2b578ec55
000f57fa43ecf9f5353ca80ced3ad505698dbecb
/imagelib/images/admin.py
a94d0a8d37ef907f4ed79f5c646191a01efdafd6
[]
no_license
kamal0072/imagegallary
846e9ef43f6e0c42c98a4a4ad5cb22faef295936
91effde764710fd9bfc31b7dec238d143833e31e
refs/heads/master
2023-05-02T07:32:35.805297
2021-05-21T05:35:05
2021-05-21T05:35:05
359,541,161
1
0
null
null
null
null
UTF-8
Python
false
false
182
py
from django.contrib import admin from .models import MyImage @admin.register(MyImage) class MyImageAdmin(admin.ModelAdmin): list_display=['id','first_name','photo','date']
[ "hasan.kamaal0072@gmail.com" ]
hasan.kamaal0072@gmail.com
a890bdf5f55e412c518b273f855b36f0315200bf
e7a87d9eca87d8be7b23b3a57c1d49f0ad6d20bc
/django_evolution/compat/models.py
7c108ce3cd7000cd75d3b0a8dab6f26b6b38c3a9
[ "BSD-2-Clause" ]
permissive
beanbaginc/django-evolution
19a775a223b61861f503925216fb236b822122c0
756eedeacc41f77111a557fc13dee559cb94f433
refs/heads/master
2023-06-22T07:25:32.401292
2022-11-10T03:23:50
2022-11-10T03:23:50
14,189,401
22
13
null
2015-01-07T01:15:08
2013-11-07T00:04:43
Python
UTF-8
Python
false
false
9,727
py
"""Compatibility functions for model-related operations. This provides functions for working with models or importing moved fields. These translate to the various versions of Django that are supported. """ from __future__ import unicode_literals from django.db import models from django.db.models.fields import relate...
[ "christian@beanbaginc.com" ]
christian@beanbaginc.com
2225a843e02ca5a21e862f98265377310449758d
cd90bbc775cbce9a7e0bc46cbb9437e3961e587f
/misc/advent/2017/23/b.py
4d6d170eea60181e64e6b15187262a04afe567f4
[]
no_license
llimllib/personal_code
7b3f0483589e2928bf994184e3413f4b887e1f0c
4d4662d53e0ac293dea8a4208ccca4a1f272e64a
refs/heads/master
2023-09-05T04:02:05.075388
2023-09-01T12:34:09
2023-09-01T12:34:09
77,958
9
16
null
2023-08-16T13:54:39
2008-11-19T02:04:46
HTML
UTF-8
Python
false
false
1,685
py
from collections import defaultdict import sys def go(inp): registers = defaultdict(int) registers['a'] = 1 instructions = list(i.strip() for i in inp) ptr = 0 i = 0 muls = 0 while ptr < len(instructions): if i % 1000000 == 0: pass #print(registers) ...
[ "bill@billmill.org" ]
bill@billmill.org
35971ac7e0caac70225bae1f0be790575d72bcc8
1be0090ac65ee3c4ad12c9152886169d15fd6d0d
/tests/test_shelter.py
17ad185362119c38c433f2483fbbc094c649d1f4
[]
no_license
jreiher2003/Puppy-Adoption
ec652a5df68fd428605fc154b2e6fb1bf0f5d752
0d0bea549d174d903db9de1ca5be79412f333ea3
refs/heads/master
2021-01-10T09:26:38.652807
2016-04-03T18:32:17
2016-04-03T18:32:17
51,519,990
1
0
null
null
null
null
UTF-8
Python
false
false
2,836
py
import unittest from base import BaseTestCase from app.models import Shelter class TestShelterCase(BaseTestCase): def test_shelter_new_page(self): response = self.client.get('/new-shelter', content_type='html/text') self.assertEqual(response.status_code, 200) self.assertIn(b'Add a shelter'...
[ "jreiher2003@yahoo.com" ]
jreiher2003@yahoo.com
c5cf16f641ee307011a7892379838fa61d48d9d0
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/cache/55af9580d6a61621d0d6de6e2bbfd43d14841968ee1dd01113aeb5bd2473a4cc/pyexpat/model.py
e5b10af34a44317d9c92488636663935e2daa366
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
523
py
# encoding: utf-8 # module pyexpat.model # from C:\Users\Doly\Anaconda3\lib\site-packages\tables\indexesextension.cp37-win_amd64.pyd # by generator 1.147 """ Constants used to interpret content model information. """ # no imports # Variables with simple values XML_CQUANT_NONE = 0 XML_CQUANT_OPT = 1 XML_CQUANT_PLUS = ...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
acd76f51af16046ea805a215a3013626165e5c91
e440cbf65b3b3a390d851df876ecb859ddaf2c5b
/marl/environments/particles/multiagent/scenarios/simple_spread.py
df3cdec30af0fe28579adbe711aea76c550598db
[ "MIT" ]
permissive
wangjie-ubuntu/badger-2019
9ead42f9f4d4ebf2a74f02cf0a53de88cbe96a43
ccd8f428ad8aafad24f16d8e36ea31f6ab403dda
refs/heads/master
2022-08-12T07:49:36.928571
2020-01-07T16:04:33
2020-01-07T16:04:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,012
py
import numpy as np from marl.environments.particles.multiagent.core import World, Agent, Landmark from marl.environments.particles.multiagent.scenarios.custom.configurable_scenario import ConfigurableScenario class Scenario(ConfigurableScenario): """ Cooperative Navigation task in the https://arxiv.org/pdf/1706.0...
[ "jaroslav.vitku@goodai.com" ]
jaroslav.vitku@goodai.com
825a7169ffa219fdca77c3aebe9c57b21a2abdec
e7031386a884ae8ed568d8c219b4e5ef1bb06331
/venv/bin/django-admin.py
a886afcced915c9780aef5e25cbf66219dc35f94
[]
no_license
ikbolpm/ultrashop-backend
a59c54b8c4d31e009704c3bf0e963085477092cf
290fa0ecdad40ec817867a019bff2ce82f08d6fe
refs/heads/dev
2022-11-30T21:49:17.965273
2020-09-24T10:16:12
2020-09-24T10:16:12
147,561,738
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
#!/var/www/sites/ultrashop/html/venv/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "ikbolpm@gmail.com" ]
ikbolpm@gmail.com
43b7e368be72ded30b0f5741ec6aaeae9d297fc1
e535f59053b545b493c93c9945aa054ad1335178
/tests/test_scripts/test_gen_namespace.py
eedf7912de2a7e4ff6f8882cfc227d6842658f13
[ "CC0-1.0" ]
permissive
pabloalarconm/linkml
9308669d5baba2a2c60fe79f31f737e87ed59295
5ef4b2f0e89698ffc0db693fdba68d1306438749
refs/heads/main
2023-08-25T14:41:58.419628
2021-10-02T02:04:06
2021-10-02T02:04:06
411,990,387
0
0
CC0-1.0
2021-09-30T08:49:50
2021-09-30T08:49:50
null
UTF-8
Python
false
false
1,107
py
import unittest from types import ModuleType import click from linkml.generators import namespacegen from tests.test_scripts.environment import env from tests.utils.clicktestcase import ClickTestCase from tests.utils.filters import metadata_filter from tests.utils.python_comparator import compare_python class GenN...
[ "solbrig@jhu.edu" ]
solbrig@jhu.edu
1440f3b31a140e37da83c49b68ae17d0efb1a5a3
38374bd02b3d88f26e3419fd94cebf292fa8460a
/jecta.py
175470b3eb92aea6391e5733f7f49d8026c0433d
[]
no_license
thisismyrobot/jecta
fa6a78624a7f33f9804f297e377eb5ab9c84f85d
53339112229b35f24df1d30abac695e904276c12
refs/heads/master
2020-05-18T18:19:40.011909
2010-01-20T03:45:31
2010-01-20T03:45:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,136
py
import gtk import signals import widgets import gobject import database class Jecta(object): """ The Jecta application. """ def __init__(self): #create signals gobject.type_register(signals.Sender) gobject.signal_new("jecta_data_received", signals.Sender...
[ "rwallhead@gmail.com" ]
rwallhead@gmail.com
3893f258c5c51873d6deb0b0d1e87221aca5ff0f
4f0385a90230c0fe808e8672bb5b8abcceb43783
/LNH/day5-teacher/7 包的使用/xxx/yyy/aaa/bbb/m3.py
02d6ad5d10dc921920dad9cbd99a58d08fcd69df
[]
no_license
lincappu/pycharmlearningproject
4084dab7adde01db9fa82a12769a67e8b26b3382
b501523e417b61373688ba12f11b384166baf489
refs/heads/master
2023-07-10T05:21:15.163393
2023-06-29T14:02:35
2023-06-29T14:02:35
113,925,289
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
# from aaa.ccc.m4 import f4 from ..ccc.m4 import f4 def f3(): print('f3') f4()
[ "lincappu@163.com" ]
lincappu@163.com
fd2c3d282da1505204c3bfa937bae13dff575513
cb69392e87f4faa67adb45b8f7937d834922dc60
/rl_utils/actor_critic.py
45ffb2478732af03108fa9b9cb5a871c1d06f36d
[]
no_license
maxme1/rl
76c65a363f9d735af70ede4d3bf5b39e61a5ab41
d0506d96f30884259b88222a00b60f56d2b8e7a3
refs/heads/master
2021-01-24T13:28:26.617952
2020-05-04T13:13:58
2020-05-04T13:13:58
123,175,509
0
0
null
null
null
null
UTF-8
Python
false
false
2,037
py
import torch import torch.nn.functional as functional from torch.autograd import Variable from torch import nn from rl_utils.interfaces.base import to_var from rl_utils.utils import View def calculate_loss(agent, memory, prepare_batch, gamma, entropy_weight, value_weight): states, actions, rewards, done = prepar...
[ "maxs987@gmail.com" ]
maxs987@gmail.com
a1ef391297dbf1e19b7dd5ada859142e7a247bfb
2c38c2ea0328b75ba96a36346f71bd8ddeda3d35
/qa/cancel_direct_offline.py
93b77931436d654efd4d1274206fca4b23f65979
[ "MIT" ]
permissive
TheButterZone/openbazaar-go
c6b76e6b7d4cb608f09c6f4dd5d62b97d5b1758d
afa185e7a929eb4ee659c53859a73b1dd53b3ae0
refs/heads/master
2021-06-27T06:24:54.645852
2017-09-09T03:21:30
2017-09-09T03:21:30
102,985,074
1
1
null
2017-09-09T21:08:08
2017-09-09T21:08:08
null
UTF-8
Python
false
false
7,643
py
import requests import json import time from collections import OrderedDict from test_framework.test_framework import OpenBazaarTestFramework, TestFailure class CancelDirectOfflineTest(OpenBazaarTestFramework): def __init__(self): super().__init__() self.num_nodes = 3 def run_test(self): ...
[ "chris@ob1.io" ]
chris@ob1.io
7d912e6cab995381e5e36e40a34f11956d518293
fd67592b2338105e0cd0b3503552d188b814ad95
/test/test_models/test_voice_campaign.py
39c97218396b76330848b847fb334efdb7d0abde
[]
no_license
E-goi/sdk-python
175575fcd50bd5ad426b33c78bdeb08d979485b7
5cba50a46e1d288b5038d18be12af119211e5b9f
refs/heads/master
2023-04-29T20:36:02.314712
2023-04-18T07:42:46
2023-04-18T07:42:46
232,095,340
5
2
null
null
null
null
UTF-8
Python
false
false
5,039
py
# coding: utf-8 """ APIv3 (New) # Introduction This is our new version of API. We invite you to start using it and give us your feedback # Getting Started E-goi can be integrated with many environments and programming languages via our REST API. We've created a developer focused portal to give your organiza...
[ "integrations@e-goi.com" ]
integrations@e-goi.com
20743807dd344294a34fe1864a3dfc8fd8b498f9
745e6021a466797a04435cc4060836c955985b89
/apps/tickets/models.py
088b985aef25e7db82c4887619e2575e91c95e2b
[]
no_license
anykate/ticketapi
f32cf5ed31065afab76a5765f583115f7e76eca5
de816dea453c4fc5b8fc04f9296c9e0ab91749aa
refs/heads/master
2020-07-03T03:00:15.230698
2019-08-11T16:31:34
2019-08-11T16:31:34
201,763,827
0
0
null
null
null
null
UTF-8
Python
false
false
1,922
py
from django.db import models import uuid from django.contrib.auth.models import User from django.utils.text import slugify # Create your models here. def generate_ticket_id(): return str(uuid.uuid4()).split("-")[-1] # generate unique ticket id class Category(models.Model): name = models.CharFie...
[ "aryamane.aniket@gmail.com" ]
aryamane.aniket@gmail.com
be5c5e9e4c35cc10ddd8cbc5b8d36c8c0df48973
9680ba23fd13b4bc0fc3ce0c9f02bb88c6da73e4
/Brian Heinold (243) ile Python/p10611b_sınav.py
a7c32a2bf1b3f9310b20a51945735eec99e834d5
[]
no_license
mnihatyavas/Python-uygulamalar
694091545a24f50a40a2ef63a3d96354a57c8859
688e0dbde24b5605e045c8ec2a9c772ab5f0f244
refs/heads/master
2020-08-23T19:12:42.897039
2020-04-24T22:45:22
2020-04-24T22:45:22
216,670,169
0
0
null
null
null
null
ISO-8859-9
Python
false
false
759
py
# coding:iso-8859-9 Türkçe teklif1 = "Sayın " teklif2 = "\n\nSize yeni Platin Artı İkramiyeli kartımızı %47.99 gibi\nçok özel bir tanıtım indirimiyle sunmaktan gurur duyuyorum.\n" teklif3 = ", böyle bir teklif kimseye her gün pek sık yapılmaz;\nbu yüzden +90-800-314-1592 ücretsiz numaramızı hemen\naramanızı şiddet...
[ "noreply@github.com" ]
mnihatyavas.noreply@github.com
7e7b6b0a507848ab4173ff7b66c5f17459c3d342
8130c34d546c323d6d5d2ca6b4a67330af08828f
/.history/menu_app/views_20210104161734.py
1036941bea0c7c7320204735b5813ff6004c6e42
[]
no_license
lienusrob/final
ba2dad086fc97b21b537ef12df834dfadd222943
f2726e31f1d51450e4aed8c74021c33679957b28
refs/heads/master
2023-02-15T01:36:54.463034
2021-01-07T12:47:05
2021-01-07T12:47:05
327,279,792
0
0
null
null
null
null
UTF-8
Python
false
false
3,812
py
from .models import Cart, CartItem, MenuItem, ItemsCategory, Order, generate_order_id from account_app.models import Profile from .forms import AddToCartForm from django.views.generic import ListView from django.shortcuts import render, get_object_or_404, redirect from django.urls import reverse from django.utils ...
[ "lienus.rob@hotmail.de" ]
lienus.rob@hotmail.de
91603cf08d37714b4e52f6dd5ab7176a319eee9d
038131f491c44ff30e9f403cb46ff5e5c91a5528
/amuse_util/data/__init__.py
b5a3ed9db49480c30fe8fd7fee51a4dee234e689
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
nstarman/amuse_util
3d94ec44f21d5bf0da8b97c50c90f180245fecc1
5086b5db10fe96e3d797a5ed59b76fefb41a61b1
refs/heads/master
2023-04-07T11:43:19.697900
2021-06-25T18:54:18
2021-06-25T18:54:18
239,362,836
2
1
NOASSERTION
2021-06-25T18:54:19
2020-02-09T19:39:31
Python
UTF-8
Python
false
false
1,039
py
# -*- coding: utf-8 -*- # see LICENSE.rst # ---------------------------------------------------------------------------- # # TITLE : Data # AUTHOR : Nathaniel Starkman # PROJECT : amuse_util # # ---------------------------------------------------------------------------- """Data Management. Often data is packaged...
[ "nstarkman@protonmail.com" ]
nstarkman@protonmail.com
0a1ddca836a6ecb459147efae425ba4ceb743d4d
db68e4cf7ae7c9880aecdcee48c8b41aecc6eb65
/torch/distributions/gamma.py
d9db0d8883e0f9463883409e8db28837eb9a4149
[ "BSD-2-Clause" ]
permissive
mbp28/pytorch
175c8e1821dd6e4fda9d1d3f9e2edbd604bf4150
d450895a74b84672b02f3fbbaa7ccbdd9b6a3335
refs/heads/master
2021-01-25T09:08:33.799198
2017-12-14T17:31:58
2017-12-14T17:31:58
93,779,621
0
0
null
2017-06-08T18:26:15
2017-06-08T18:26:15
null
UTF-8
Python
false
false
1,814
py
from numbers import Number import torch from torch.autograd import Variable, Function from torch.autograd.function import once_differentiable from torch.distributions.distribution import Distribution from torch.distributions.utils import expand_n, broadcast_all class _StandardGamma(Function): @staticmethod d...
[ "adam.paszke@gmail.com" ]
adam.paszke@gmail.com
dfd950972cd9f6e06897317ef128b10a9abaf3ea
0f9f8e8478017da7c8d408058f78853d69ac0171
/python3/l0114_flatten_binary_tree_to_linked_list.py
bb97c41a16aab1a7c00df25c40d8b7ddb637cd41
[]
no_license
sprax/1337
dc38f1776959ec7965c33f060f4d43d939f19302
33b6b68a8136109d2aaa26bb8bf9e873f995d5ab
refs/heads/master
2022-09-06T18:43:54.850467
2020-06-04T17:19:51
2020-06-04T17:19:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
from common import TreeNode import common class Solution: def flatten(self, root: TreeNode) -> None: """ Do not return anything, modify root in-place instead. """ def flatten_and_return_end(root: TreeNode) -> TreeNode: if not root: return None ...
[ "zhoulv82@gmail.com" ]
zhoulv82@gmail.com
ce9c98fb960f27a183c05a296f22d83dfe5b8df4
ef3a7391b0a5c5d8e276355e97cbe4de621d500c
/venv/Lib/site-packages/caffe2/python/ideep/conv_transpose_test.py
be35dbd8a38205287c81fd5bdb172505e25bed67
[ "Apache-2.0" ]
permissive
countBMB/BenjiRepo
143f6da5d198ea6f06404b4559e1f4528b71b3eb
79d882263baaf2a11654ca67d2e5593074d36dfa
refs/heads/master
2022-12-11T07:37:04.807143
2019-12-25T11:26:29
2019-12-25T11:26:29
230,090,428
1
1
Apache-2.0
2022-12-08T03:21:09
2019-12-25T11:05:59
Python
UTF-8
Python
false
false
2,701
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import unittest import numpy as np from hypothesis import assume, given, settings import hypothesis.strategies as st from caffe2.python import core, workspace import caffe2.python.hypothesis_test_util as hu im...
[ "bengmen92@gmail.com" ]
bengmen92@gmail.com
3d4e3f8f4bb86020735ae4da37c49cd476e9fd41
1b12e6096c47312b67fa6ff223216945d2efb70c
/sandbox/ipython/mydemo.py
79b0812a7041ad301e881c180f2f641b25d1d440
[ "Apache-2.0" ]
permissive
rboman/progs
6e3535bc40f78d692f1f63b1a43193deb60d8d24
03eea35771e37d4b3111502c002e74014ec65dc3
refs/heads/master
2023-09-02T17:12:18.272518
2023-08-31T15:40:04
2023-08-31T15:40:04
32,989,349
5
2
Apache-2.0
2022-06-22T10:58:38
2015-03-27T14:04:01
MATLAB
UTF-8
Python
false
false
127
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- from IPython.lib.demo import Demo mydemo = Demo('myscript.py') #mydemo()
[ "romain.boman@gmail.com" ]
romain.boman@gmail.com
22f210847b373c906655532a6d7e88e2ba23996e
e25dca25850ee8ee4ff929cba26ad66bfc6f15bb
/slowedml/phylip.py
9fd44efaa6e268a049b531a3634bd36fb64ad3cf
[]
no_license
argriffing/slowedml
704db5a4d15b8a5b5eb464e480bc7dd45ad56dc5
02907cd08210e4cf550885eb42ec5372b0f45c72
refs/heads/master
2021-01-01T17:52:02.647617
2013-02-19T16:34:12
2013-02-19T16:34:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,501
py
""" Read a tiny subset of phylip interleaved alignment files. """ def read_interleaved_codon_alignment(fin): """ Yield columns of the alignment. This function is not as stream-oriented as its interface may suggest. In particular, it eats tons of memory for no good reason. @param fin: a stream open...
[ "argriffi@ncsu.edu" ]
argriffi@ncsu.edu
0e34cbf3b1e05ed06cc5806383597034a2a8b89e
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5662291475300352_0/Python/Astrae/1C.py
6537ddd1a9860397cfa68b4bd67388263edcca3f
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
3,074
py
# -*- coding: utf-8 -*- """ Created on Fri Apr 10 21:34:08 2015 @author: Fred """ import numpy as np def main(ifn='C-small-1-attempt0.in',ofn='output.txt'): with open(ifn) as inf: # ouvre l'input et le renomme en inf with open(ofn,'w') as ouf: # crée l'output...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
0d408e89af86671233cb41aa984c3d6dcb8a796c
e72ff96f633d065d23d16f550f0f7efc8901e10c
/blog/migrations/0001_initial.py
7f6a73d3cac557af73584b5dc07e3005f01e3c4f
[ "MIT" ]
permissive
mhadiahmed/eCommerce
5e9801978a62829e27566bfbc358cc3e2bb600ae
68e6013d7d66b2a44e256b65956c507bdd7d1bd1
refs/heads/master
2021-01-19T11:08:51.437886
2018-08-28T15:08:34
2018-08-28T15:08:34
87,930,716
2
1
null
null
null
null
UTF-8
Python
false
false
2,227
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-01-04 19:47 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations...
[ "mhadiahmed63@gmail.com" ]
mhadiahmed63@gmail.com
5bc79658513a89728f29d61dcd7edb8969d4b19e
bcf74743a974159566d2d6a1a4158088a64df760
/wcivf/apps/people/migrations/0010_auto_20170306_1206.py
11dff493427a935a0ac0823cf8d0b7bb3d7f99b0
[]
no_license
madcsaba/WhoCanIVoteFor
16d8b946f236358285de34c9248cde81be15433c
bb658e3f7f705fe81265149d1a50e33ba04c3fec
refs/heads/master
2021-04-06T20:19:20.254734
2018-03-12T10:30:08
2018-03-12T10:30:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-06 12:06 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('elections', '0015_auto_20170304_1354'), ('people', '0009_auto_20170303_1823'), ] op...
[ "sym.roe@talusdesign.co.uk" ]
sym.roe@talusdesign.co.uk
5dfa55cdd8c387c3fe142aa742ed535aea613cf9
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/299/100765/submittedfiles/minha_bib.py
a1cc038e961e8aaf3777812018c47bdcb9fef29c
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
2,608
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO def sorteio(x,y): import random sort=random.randint(0,2) if sort==0: return(0) if sort==2: return(2) def sorteio2(x,y): import random sort=random.randint(0,2) if sort==0: return(0) if sort==2: ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
68ce3ac1f75f709080e7a2848a47b98cf44a14ce
c426f4d6f7e5b9f9a6527ae48b2a8932f6e9a000
/mayan/apps/storage/admin.py
072790cdd14a67e38c195d64ac8f06a24de0519f
[ "Apache-2.0" ]
permissive
telsch/Mayan-EDMS
208d6dbc08e2fa76f3132c8761f247e02768333e
5f2bdfbf1f3d109e403b2d1f3f81b79bdb9cc35f
refs/heads/master
2023-03-21T13:02:40.721699
2021-03-14T05:02:54
2021-03-14T05:02:54
254,727,379
0
1
null
2020-04-10T20:15:32
2020-04-10T20:15:31
null
UTF-8
Python
false
false
280
py
from django.contrib import admin from .models import SharedUploadedFile @admin.register(SharedUploadedFile) class SharedUploadedFileAdmin(admin.ModelAdmin): date_hierarchy = 'datetime' list_display = ('file', 'filename', 'datetime',) readonly_fields = list_display
[ "roberto.rosario@mayan-edms.com" ]
roberto.rosario@mayan-edms.com
ecd4f5beea18b9c1d6195018fcc353f0c32f5dbf
c7b669b7352c9eee3d17f9e57b2fc0df0907f3eb
/Day01/ex06/my_sort.py
fba457e1793d06ff3df89dfcb97e89091546e0d6
[]
no_license
m1n-q/django-inside
89da9514c7b4d6d2d883df720b317ce4ea536590
9b70915cd798285de096974f9eb271f338756250
refs/heads/main
2023-07-18T00:18:15.327135
2021-09-02T09:22:31
2021-09-02T09:22:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
def sort_name(): d = { 'Hendrix': '1942', 'Allman': '1946', 'King': '1925', 'Clapton': '1945', 'Johnson': '1911', 'Berry': '1926', 'Vaughan': '1954', 'Cooder': '1947', 'Page': '1944', 'Richards': '19...
[ "m1n_q@naver.com" ]
m1n_q@naver.com
934096cedb5dd7e57b0fe700e2d0d53edde2c14a
da85d4caf3e5e1c9df8839fafd51f960f02daadd
/FabricUI/_version.py
df068b6b98498c361cd2a5f5a6b5c6ac6cdc9472
[ "Apache-2.0" ]
permissive
shuaih7/FabricUI
6efe58f3dbefebbd49607094a28bf2d7bc9314ca
6501e8e6370d1f90174002f5768b5ef63e8412bc
refs/heads/main
2023-04-13T10:07:42.090043
2021-04-13T02:55:12
2021-04-13T02:55:12
314,152,777
1
0
null
null
null
null
UTF-8
Python
false
false
192
py
""" package version """ VERSION_TAG = "1.0.0" __version__ = VERSION_TAG def print_version(): """ Print full version information """ print("FabricUI version: {0}".format(VERSION_TAG))
[ "shuaih7@gmail.com" ]
shuaih7@gmail.com
c896e55601b73e9c564bb1308954f7f623f82312
e44169033ae1dd01397b5ceeccb84ee6fc7a0009
/challenge5/shiyanlou/shiyanlou/spiders/github.py
1d4243d0864ba0a909fa0ffca404952c01495a62
[]
no_license
Yao-Phoenix/data_challenge
6d4f7bf666c92bdc19c04cdfd4d17ba8767a6056
287ae2c1b786596b0c9b5a36d54426e38970ba76
refs/heads/master
2021-02-20T23:55:41.852331
2020-03-31T02:19:05
2020-03-31T02:19:05
245,347,232
0
0
null
null
null
null
UTF-8
Python
false
false
1,004
py
# -*- coding: utf-8 -*- import scrapy from shiyanlou.items import ShiyanlouItem from scrapy.linkextractors import LinkExtractor from scrapy.spider import Rule class GithubSpider(scrapy.spiders.CrawlSpider): name = 'github' allowed_domains = ['github.com'] start_urls = ['https://github.com/shiyanlou?tab=rep...
[ "493867456@qq.com" ]
493867456@qq.com
449bf91a1aa96f17143c3ca9ec1f7cc62665bbc9
3562aee827438794ec17250f033818fa699d9c56
/config/settings/local.py
166824d1e6eeb7bd8df3b95e2a43af9cd26e27af
[ "MIT" ]
permissive
feastkl-app/attendance-tracker-v2
509d51142a9882e7b591b1349bce944bf2274f55
38670cbf6e1f1a44becc94fb3c90ec33fda68b9b
refs/heads/master
2021-05-02T03:47:35.547933
2018-02-10T04:49:21
2018-02-10T04:49:21
120,903,586
0
0
null
null
null
null
UTF-8
Python
false
false
2,039
py
""" Local settings for Attendance Tracker v2 project. - Run in Debug mode - Use console backend for emails - Add Django Debug Toolbar - Add django-extensions as app """ from .base import * # noqa # DEBUG # ------------------------------------------------------------------------------ DEBUG = env.bool('DJANGO_DEBU...
[ "rpebenito@xyber.ph" ]
rpebenito@xyber.ph
7521983485a9ed8ab0dbbdc43354ae8de7901ef3
a2eaa3decc385dea227da8a99203f767f32cf941
/scientific_expedition/call_to_home.py
514d1f866aac2f91ffa05e36acff4c7404569275
[]
no_license
vlad-bezden/py.checkio
94db32111eeeb2cd90c7b3c4606ea72cf2bb6678
6cd870ca3056cc9dcdce0ad520c27e92311719b3
refs/heads/master
2021-07-01T18:39:35.955671
2020-10-05T00:56:38
2020-10-05T00:56:38
93,111,389
0
1
null
null
null
null
UTF-8
Python
false
false
2,912
py
"""Call to Home https://py.checkio.org/en/mission/calls-home/ Nicola believes that Sophia calls to Home too much and her phone bill is much too expensive. He took the bills for Sophia's calls from the last few days and wants to calculate how much it costs. The bill is represented as an array with ...
[ "vlad.bezden@gmail.com" ]
vlad.bezden@gmail.com
c8a369c28a65789362fbf679e7d7872192bb9b8e
e21837ee462fb31a088bd903ecdbb96631020d0a
/Arcade/The core/Forest Edge/concatenateArray.py
dcf7dcfd033db1a5cb4ec723c39db8792f792b53
[]
no_license
delta94/Code_signal-
7965ee96a858425c65c7a51a47833d80c8e6d8d3
1383a528b4353b7b8db4a6634ea0caa2b5895f9d
refs/heads/master
2020-07-31T05:38:22.158742
2019-04-12T18:46:16
2019-04-12T18:46:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
""" Given two arrays of integers a and b, obtain the array formed by the elements of a followed by the elements of b. Example For a = [2, 2, 1] and b = [10, 11], the output should be concatenateArrays(a, b) = [2, 2, 1, 10, 11]. """ def concatenateArrays(a, b): return a + b
[ "noreply@github.com" ]
delta94.noreply@github.com
44eb9d21029ed8f03f9e1da60e1eca309c0cd116
a70da47d4a09865bf6c44b8d61069c2724cdc9a4
/friendface/web/external.py
29f7f98911492854bd69af5dd5c3b88bfab24078
[ "BSD-2-Clause" ]
permissive
eblade/friendface
f1251fd59894c2330567e3872c565049c2c13471
152e7d743cf7a4f75c95a24176127e901cfcb652
refs/heads/master
2021-01-15T15:30:58.870507
2016-01-19T07:55:51
2016-01-19T07:55:51
48,060,039
0
0
null
2016-01-19T07:33:43
2015-12-15T18:00:41
JavaScript
UTF-8
Python
false
false
1,122
py
# -*- coding: utf-8 -*- from bottle import HTTPResponse from .api import Api class ExternalApi(Api): def __init__(self, session, app): self.session = session self.app = app # Set Up External Endpoints app.route('/m/<message_id>', 'GET', self.get_message_by_id) app.route(...
[ "johan@egneblad.se" ]
johan@egneblad.se
0ad751b2366c9467449cd21b0531e918cb224cde
954ceac52dfe831ed7c2b302311a20bb92452727
/python/tvm/driver/tvmc/runner.py
216f3bb2653bc3676b0066490964781385287abf
[ "Apache-2.0", "LLVM-exception", "LicenseRef-scancode-unknown-license-reference", "MIT", "Zlib", "Unlicense", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
tqchen/tvm
a0e4aefe8b8dccbdbe6f760549bed6e9545ad4a1
678d01dd4a4e75ef6186ce356bb1a20e584a7b24
refs/heads/main
2023-08-10T02:21:48.092636
2023-02-25T18:22:10
2023-02-25T18:22:10
100,638,323
23
8
Apache-2.0
2023-02-20T16:28:46
2017-08-17T19:30:37
Python
UTF-8
Python
false
false
26,134
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
tqchen.noreply@github.com
3c6719eb8f4251d97d68d4d931cb3d06c0651282
3de87aebbd1db2b1a241415d169e4d338216975d
/tests/filter_integration_tests/test_filters_with_mongo_storage.py
ada988c2f1602bb7d1285a65a7b018f3fe8c2f74
[ "BSD-3-Clause" ]
permissive
SeppPenner/ChatterBot
42543b49343ac7336371ddbf5dbd70177b2725c1
4a1201c0697ebc787cbf348e372ced1fdceb4efb
refs/heads/master
2021-05-11T07:37:56.466278
2020-02-20T08:58:38
2020-02-20T08:58:38
118,025,056
1
0
BSD-3-Clause
2020-02-20T08:58:39
2018-01-18T19:00:50
Python
UTF-8
Python
false
false
981
py
from tests.base_case import ChatBotMongoTestCase class RepetitiveResponseFilterTestCase(ChatBotMongoTestCase): """ Test case for the RepetitiveResponseFilter class. """ def test_filter_selection(self): """ Test that repetitive responses are filtered out of the results. """ ...
[ "gunthercx@gmail.com" ]
gunthercx@gmail.com
50af79ea848568965634294186fcface1d2ec00d
5a1f77b71892745656ec9a47e58a078a49eb787f
/8_Cloudrip_Mountain/413-Medic_School/medical_school.py
89f7c27ff1d706f7e9c4bb89b27fe72157f9d8c4
[ "MIT" ]
permissive
ripssr/Code-Combat
78776e7e67c033d131e699dfeffb72ca09fd798e
fbda1ac0ae4a2e2cbfce21492a2caec8098f1bef
refs/heads/master
2020-06-11T20:17:59.817187
2019-07-21T09:46:04
2019-07-21T09:46:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
def startsWith(phrase, word): if len(word) > len(phrase): return False for i in range(len(word)): if phrase[i] != word[i]: return False return True def onHear(event): if startsWith(event.speaker.id, "Exp"): potion = pet.findNearestByType("potion") if potion:...
[ "katik.hello@gmail.com" ]
katik.hello@gmail.com
181382f3f67c9810cdef2e21360bfe18a6ffac71
8df87b22b2689b93bbe418f2a7c7a69a2bebbd90
/other_solutions/exception2.py
c0caeb7214d4bb038af405a05f0b4ef331c03595
[]
no_license
SHUHAIB-AREEKKAN/automate_boring_stuff-Solutions
e3f25ec85e5a2b99f431430081c55c12c09c007b
5df77b8b41d43f442671dd9595313f80c88be1d0
refs/heads/master
2021-01-25T08:27:42.810089
2017-06-08T15:43:28
2017-06-08T15:43:28
93,765,978
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
def spam(inputs): return 42 / inputs try: print(spam(2)) print(spam(3)) print(spam(0)) print(spam(4)) except ZeroDivisionError: print("occured zero division error")
[ "homeshuhaib@gmail.com" ]
homeshuhaib@gmail.com
69cbebcc23d85d8a69d474bc7321a1c3cd7515e4
bc28f8fe941caf281261afa1641868e743ecb5ab
/Commonlounge/ZCO12001.py
f10af53a2fed4813735914c2dbd168b8f2dafbd9
[]
no_license
anubhavshrimal/CompetitiveProgrammingInPython
9fc6949fb3cd715cfa8544c17a63ffbe52677b37
2692c446d49ec62d4967ed78a7973400db7ce981
refs/heads/master
2021-07-05T08:17:15.182154
2018-05-29T02:26:25
2018-05-29T02:26:25
60,554,340
7
6
null
2021-05-24T17:46:16
2016-06-06T19:18:27
Python
UTF-8
Python
false
false
721
py
n = int(input()) seq = input().split() depth = 0 start_index = 0 curr_seq = 0 # maximum depth value max_depth = 0 # start index of max depth depth_start = 0 # maximum sequence length max_seq_len = 0 # start index of max sequence max_seq_start = 0 for i, b in enumerate(seq, start=1): if b == '1': depth...
[ "anubhavshrimal@gmail.com" ]
anubhavshrimal@gmail.com
a1a63d340e315a9235d8ab66fb99ae5cbec6881f
f6c40808efe1cf9e5f2c76a29a1dd1bf86df8d4d
/prism/code_gen.py
77e98eddfaae72979089800d4f65eb489f600553
[]
no_license
sahabi/versynth
55709f3a19ab229f9a995830a47add83f9cc6fc4
9983344c03a1ee887d9b145655497b9862663212
refs/heads/master
2021-07-21T00:03:52.295043
2017-10-31T20:01:56
2017-10-31T20:01:56
109,047,869
0
0
null
null
null
null
UTF-8
Python
false
false
3,998
py
x_size = 4 y_size = 4 prism_code = "mdp\n" prism_code += "module grid\n" prism_code += " o_state : [0..{}] init 0;\n".format((x_size-1)*(y_size-1)) #prism_code += " a_x : [0..{}];\n".format(x_size-1) #prism_code += " a_y : [0..{}];\n".format(y_size-1) def stay(i,j,role): return "({0}_state' = {state})".for...
[ "sahabi@gmail.com" ]
sahabi@gmail.com
8b7797c26c13e1431cec28e5848ed994de0e8abc
f7dd190a665a4966db33dcc1cc461dd060ca5946
/venv/Lib/site-packages/django/core/management/commands/startproject.py
28867788a63c8555e1302fde581cfed0a80073fb
[]
no_license
Darwin939/macmeharder_back
2cc35e2e8b39a82c8ce201e63d9f6a9954a04463
8fc078333a746ac7f65497e155c58415252b2d33
refs/heads/main
2023-02-28T12:01:23.237320
2021-02-02T17:37:33
2021-02-02T17:37:33
328,173,062
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
from django.core.management.templates import TemplateCommand from ..utils import get_random_secret_key class Command(TemplateCommand): help = ( "Creates a Django project directory structure for the given project " "name in the current directory or optionally in the given directory." ) mis...
[ "51247000+Darwin939@users.noreply.github.com" ]
51247000+Darwin939@users.noreply.github.com
58a6d22d2cdddb49ec012d5c542d653ca9e1b958
2038ede147bf85734f64f7be110e64db0725c0d3
/gerapy/server/core/config.py
5d0205438643bf0d32473c81797ccc644e5cdeec
[ "MIT" ]
permissive
hantmac/Gerapy
24d17388af57208113199657b7c9c30fe1513b0b
41b1221dba2b89b89ca98f6bfbcc045cafdac469
refs/heads/master
2020-04-26T01:51:19.997122
2019-06-03T03:10:58
2019-06-03T03:10:58
173,216,808
0
0
MIT
2019-03-01T01:51:31
2019-03-01T01:51:30
null
UTF-8
Python
false
false
327
py
import configparser from os.path import join def config(path, section, option, name='scrapy.cfg', default=None): try: cf = configparser.ConfigParser() cfg_path = join(path, name) cf.read(cfg_path) return cf.get(section, option) except configparser.NoOptionError: return d...
[ "cqc@cuiqingcai.com" ]
cqc@cuiqingcai.com
00bfd978db46af137fd5ad6cca417d3e8013d999
c65319b258ce8c629bb11d31ed62f77a134c448a
/plugins/uvwgen/UVWGenExplicit.py
d9eb9a9bede36d3de02814a843d108946d5dfa13
[]
no_license
Zaurio/vb30
cacf3c254eaa7337e35e95572dfa2b83d4899ea9
3d75476c99a3dc91dec226bfb87f01aa598b0824
refs/heads/master
2020-04-05T23:31:26.220823
2015-06-22T12:03:09
2015-06-22T12:03:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,438
py
# # V-Ray For Blender # # http://chaosgroup.com # # Author: Andrei Izrantcev # E-Mail: andrei.izrantcev@chaosgroup.com # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
[ "andrei.izrantcev@chaosgroup.com" ]
andrei.izrantcev@chaosgroup.com
a8aa36f535dfb27aa46194530122ca010d024e83
12f83344cdfe561db39ad9106dbf263ccd919f7e
/Projects/miami_metro/debra/migrations/0060_auto__add_field_wishlistitem_savings__add_field_wishlistitem_promo_app.py
3fd817f0a47abe299891869197379b687f649af5
[]
no_license
TopWebGhost/Angular-Influencer
ebcd28f83a77a92d240c41f11d82927b98bcea9e
2f15c4ddd8bbb112c407d222ae48746b626c674f
refs/heads/master
2021-01-19T10:45:47.039673
2016-12-05T01:59:26
2016-12-05T01:59:26
82,214,998
1
0
null
null
null
null
UTF-8
Python
false
false
23,411
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'WishlistItem.savings' db.add_column('debra_wishlistitem', 'savings', self.gf('django.db.mo...
[ "ivanfridrich1981129@yandex.com" ]
ivanfridrich1981129@yandex.com
901e7e049f8ca3cfa56f942c4c0861432e4ad6ed
e63ab09f227459380c317aa1694cffd04255c807
/cheshire3/web/oai_utils.py
21df4073e90df00a0f54a32261ab276d67906c4c
[ "ICU", "X11" ]
permissive
bitwhite/cheshire3
91a0d2f8d2e79ac277ac4f7a3bea9efa911ce3d6
ca27bc2600d217e36a429ccfe064f11d9b200193
refs/heads/master
2021-05-27T03:50:09.456813
2013-10-10T13:47:16
2013-10-10T13:47:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,915
py
import sys import urllib import datetime from lxml import etree from cheshire3.record import LxmlRecord # cheshire3.web package from cheshire3.web.www_utils import cgi_encode from cheshire3.web.sru_utils import fetch_data # oaipmh package from oaipmh.common import Header NS_OAIPMH = 'http://www.openarchives.org/OAI...
[ "info@cheshire3.org" ]
info@cheshire3.org
7c1a3cc65ce60f6935f521faff84138422688e97
51f2492a5c207e3664de8f6b2d54bb93e313ca63
/codejam/2018-qualification/b-gen.py
ab3085506c3ea30bcf7c2b081167f31b1478bfea
[ "WTFPL", "LicenseRef-scancode-unknown-license-reference" ]
permissive
abeaumont/competitive-programming
23c5aabd587d7bb15a61efd3428838cb934233dd
a24c9b89941a59d344b51dc1010de66522b1a0dd
refs/heads/master
2023-09-01T09:50:58.267361
2023-07-31T18:00:10
2023-07-31T18:00:10
117,589,708
618
262
WTFPL
2023-07-12T17:36:20
2018-01-15T20:00:56
C++
UTF-8
Python
false
false
297
py
#!/usr/bin/env python3 # https://codejam.withgoogle.com/2018/challenges/00000000000000cb/dashboard/00000000000079cb # Input generator import random t = 100 print(t) for i in range(t): n = random.randint(3, 100) print(n) print(' '.join([str(random.randint(0, 100)) for j in range(n)]))
[ "alfredo.beaumont@gmail.com" ]
alfredo.beaumont@gmail.com
a906710b0674f1b2a9c5ead838e6511aa3907a37
c3e872e0d019da55317b0ef5993f66bde8a6c021
/model/ppy.py
9d7719c09d775447ae061f2678a63aae17fe6428
[]
no_license
liyonghelpme/wanderEmpire
0a10b4bbf61b89e4e4eeefc59ad794d02682684b
dea41cbabe04edd99c0412ebbc3f5d0f45142f09
refs/heads/master
2016-09-06T06:27:09.366029
2011-09-23T14:25:17
2011-09-23T14:25:17
2,444,406
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
from sqlalchemy import Table, Column class Papayafriend(object): def __init__(self,uid,papayaid,lev,user_kind): self.uid=uid self.papayaid=papayaid self.lev=self self.user_kind=user_kind
[ "liyonghelpme@gmail.com" ]
liyonghelpme@gmail.com
fde9051a268cde6daf399cea7a982312c8d7b75c
d109f8d0597c20ad69fe2d07809bdf74cf942339
/antinex_core/send_results_to_broker.py
522f209c69f55faf51674f6a18575a0ebbefb4a1
[ "Apache-2.0" ]
permissive
eos21/antinex-core
f565b472ad09a24e267b2ce94521045ca51b7ccf
6d179f84300a642867997b55b1f7c5a1b4f8cfa0
refs/heads/master
2020-04-17T18:13:02.218873
2018-12-07T20:06:17
2018-12-07T20:06:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,860
py
import json import pandas as pd from celery import Celery from spylunking.log.setup_logging import build_colorized_logger from antinex_utils.consts import SUCCESS from antinex_utils.consts import ERROR from antinex_utils.consts import FAILED log = build_colorized_logger( name='send_results') def send_results_to...
[ "jay.p.h.johnson@gmail.com" ]
jay.p.h.johnson@gmail.com
66d3256171b55d2e6dedd66068e4d467e0c34f3c
2937d60b7f5259b4899ba5af08146bd874529a67
/67 Instnce variable.py
87ab62b129147867f1ad9f8bd4412eaf9e5157d1
[]
no_license
gourav47/Let-us-learn-python
9a2302265cb6c47e74863359c79eef5a3078358a
b324f2487de65b2f073b54c8379c1b9e9aa36298
refs/heads/master
2021-06-27T03:33:27.483992
2021-01-07T12:26:16
2021-01-07T12:26:16
204,323,390
1
1
null
2020-07-19T14:25:12
2019-08-25T16:53:56
Python
UTF-8
Python
false
false
241
py
class Account: ## def __init__(self,a,b): ## self.accno=a ## self.balance=b def f1(self,a,b): self.accno=a self.balance=b acc1=Account() acc1.accno=102 acc1.balance=6000 print(acc1.__dict__)
[ "noreply@github.com" ]
gourav47.noreply@github.com
3e09f44e76f9a68074a58682c8b16158a488ad9f
18f8abb90efece37949f5b5758c7752b1602fb12
/py/django_tools/django-cms/cms/tests/placeholder.py
ed60ddcc850be233b62ac7d98434cf5826bc64ba
[ "BSD-3-Clause" ]
permissive
marceltoben/evandrix.github.com
caa7d4c2ef84ba8c5a9a6ace2126e8fd6db1a516
abc3fbfb34f791f84e9a9d4dc522966421778ab2
refs/heads/master
2021-08-02T06:18:12.953567
2011-08-23T16:49:33
2011-08-23T16:49:33
2,267,457
3
5
null
2021-07-28T11:39:25
2011-08-25T11:18:56
C
UTF-8
Python
false
false
22,168
py
# -*- coding: utf-8 -*- from __future__ import with_statement from cms.api import add_plugin from cms.exceptions import DuplicatePlaceholderWarning from cms.models.placeholdermodel import Placeholder from cms.plugins.text.models import Text from cms.plugin_rendering import render_placeholder from cms.plugins.text.cms_p...
[ "evandrix@gmail.com" ]
evandrix@gmail.com
3865fb102c37c18c4c7802879d66bab9f72e9e9a
c60d956f0def89f2afdc014fce2218deef6096f0
/tools/aws/nuke_clusters.py
5d87866522ffe08ae7dff467cb0015f36b531904
[ "Apache-2.0" ]
permissive
criteo-forks/marathon
9691af7936ac624c0f3d8b3e51e140b6ce9276ff
02137d3b4fd9a56fc56966312a300982fb690300
refs/heads/criteo/1.9.109
2023-03-15T23:12:32.960763
2023-03-10T15:39:00
2023-03-10T15:39:00
50,347,255
1
10
Apache-2.0
2023-09-12T22:55:56
2016-01-25T11:48:51
Scala
UTF-8
Python
false
false
1,282
py
#!/usr/bin/env python3 import boto3 import logging from botocore.exceptions import ClientError from logging import config from logging import config logging.config.fileConfig('logging.conf') logger = logging.getLogger(__name__) def delete_stacks(): logger.info('Deleting stacks..') cloudformation = boto3.res...
[ "noreply@github.com" ]
criteo-forks.noreply@github.com
918bd485c6049381bb9201f1b48e27856578b348
03e3138f99f275d15d41a5c5bfb212f85d64d02e
/source/res/scripts/client/gui/prb_control/formatters/invites.py
c62271d89af244c3b541ba1d42afa71d2a772a56
[]
no_license
TrenSeP/WorldOfTanks-Decompiled
e428728e7901146d0b599d02c930d70532232a97
1faa748acec1b7e435b657fd054ecba23dd72778
refs/heads/1.4.1
2020-04-27T08:07:49.813023
2019-03-05T17:37:06
2019-03-05T17:37:06
174,159,837
1
0
null
2019-03-06T14:33:33
2019-03-06T14:24:36
Python
UTF-8
Python
false
false
8,575
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/prb_control/formatters/invites.py from constants import PREBATTLE_TYPE_NAMES, PREBATTLE_TYPE from constants import QUEUE_TYPE_NAMES from debug_utils import LOG_ERROR from gui import makeHtmlString from gui.Scaleform.locale.INVIT...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
3f3be8c3c30ea19eda73851aba2fd32ab658a2b6
80b7f2a10506f70477d8720e229d7530da2eff5d
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/smdnsoptions_100fbc7c6145703d8f1639aa93d794c3.py
124140725e5532adad4991e8901e006f80681c36
[ "MIT" ]
permissive
OpenIxia/ixnetwork_restpy
00fdc305901aa7e4b26e4000b133655e2d0e346a
c8ecc779421bffbc27c906c1ea51af3756d83398
refs/heads/master
2023-08-10T02:21:38.207252
2023-07-19T14:14:57
2023-07-19T14:14:57
174,170,555
26
16
MIT
2023-02-02T07:02:43
2019-03-06T15:27:20
Python
UTF-8
Python
false
false
9,202
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com
4101f33c930b8f6e102d452e033ff5be1edb8a6f
a57fc2270ecd7738a0e569f2ec24069333dbb797
/createTable.py
a8a0062e8920e42c8622fc8189b6bf46cfdba540
[]
no_license
1751660300/flaskProject_BYSJ
495a3a35d3a712f29b7cbf5c0e6ae79c7c3cd07f
20eb182020f345c8759a5932d0bbac72a69f38b5
refs/heads/master
2023-03-30T23:07:58.098939
2021-04-11T12:03:48
2021-04-11T12:03:48
347,541,601
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
# -*- coding:utf-8 -*- from views import db from views import init_app from flask_migrate import Migrate, MigrateCommand from flask_script import Manager app = init_app() db.create_all(app=app) manager = Manager(app) migrate = Migrate(app, db) manager.add_command('db', MigrateCommand) manager.run()
[ "1751660300@qq.com" ]
1751660300@qq.com
bef150c80b2f9c2c777b6f7c223061c7d747b293
b18f92a6a41a3d83e77848460d4a3f17e4fe677a
/algorithms/sorting/2_sort_vectors/solution/test_solution.py
88123a6d0bb419b9aa7bc5f05cf6421ae424e231
[]
no_license
ByteAcademyCo/Exercises
de71b885a498ead8296e6107836f9a06ac399d4f
8332d0473ab35ee1d2975b384afda45c77ef943d
refs/heads/master
2022-05-25T23:01:59.466480
2022-03-14T13:12:10
2022-03-14T13:12:10
252,842,407
1
109
null
2022-03-14T13:12:11
2020-04-03T21:09:47
Python
UTF-8
Python
false
false
480
py
def test_solution(): import solution vects1 = [((1, 3), (2, 6)), ((1, 5), (3, 4)), ((2, 6), (2, 9))] ret1 = [((1, 5), (3, 4)), ((2, 6), (2, 9)), ((1, 3), (2, 6))] vects2 = [((2, 6), (2, 9)), ((1, 3), (2, 6))] #sorted order vects3 = [((1, 8), (2, 4))] assert solution.sort_vectors(vects1...
[ "avelikevitch@gmail.com" ]
avelikevitch@gmail.com
13ac2a126ba946d53dfa9976210f006f90500292
44bfa7c4c299558a0d8e948b117ac4a25c719b3b
/PaddleCV/tracking/pytracking/libs/tensorlist.py
24d6e3d2a9488e7c75286233e5c10929fa339f35
[ "Apache-2.0", "GPL-3.0-only" ]
permissive
littletomatodonkey/models
408b53a1948df677685b61e9be24e86a513ffc94
a60babdf382aba71fe447b3259441b4bed947414
refs/heads/develop
2022-10-21T18:46:19.606900
2020-04-27T14:36:08
2020-04-27T14:36:08
230,208,446
5
3
Apache-2.0
2021-12-20T12:23:37
2019-12-26T06:29:32
Python
UTF-8
Python
false
false
8,759
py
import functools import numpy as np from paddle.fluid import layers from pytracking.libs.paddle_utils import clone as clone_fn from pytracking.libs.paddle_utils import detach as detach_fn from pytracking.libs.paddle_utils import PTensor def matmul(a, b): if isinstance(a, PTensor) or isinstance(b, PTens...
[ "noreply@github.com" ]
littletomatodonkey.noreply@github.com
2609cc5c2f2c7cc888d4a7c1af8ddfda9309ec6a
dd97a08267b2197a73c7b19f630ab2742ada837c
/python/ThirteenTeV/HSCPgluino_M_400_TuneCUETP8M1_13TeV_pythia8_cff.py
b26dbd233525388cb46d453f05695b303eb269d9
[]
no_license
Mohammed2/genproductions
48dc93d15c070a02c9ce7c70060909587115e8f8
9e18bbd3be45e57b0ecaf3cbea94c8f50df939fa
refs/heads/master
2020-06-16T16:59:50.959353
2017-06-06T16:43:27
2017-06-06T16:43:27
92,869,604
1
0
null
2017-05-30T19:40:46
2017-05-30T19:40:46
null
UTF-8
Python
false
false
2,892
py
FLAVOR = 'gluino' COM_ENERGY = 13000. # GeV MASS_POINT = 400 # GeV PROCESS_FILE = 'SimG4Core/CustomPhysics/data/RhadronProcessList.txt' PARTICLE_FILE = 'Configuration/Generator/data/particles_%s_%d_GeV.txt' % (FLAVOR, MASS_POINT) SLHA_FILE ='Configuration/Generator/data/HSCP_%s_%d_SLHA.spc' % (FLAVOR, MASS_POINT) PD...
[ "sheffield@physics.rutgers.edu" ]
sheffield@physics.rutgers.edu
7a8b705e9a22b4dc776e0782342c3bd796ecaff1
60811c2d3f81b77f3b870b1ec0ace4b8f1bad19d
/tuple/pgm4.py
ba4f148175fd96bbb07f798554aa75225e2566e9
[]
no_license
APARNAS1998/luminardjango1
b85c249dacb4d5e819d338e19fd8af48a2ea393e
8bd91a38223910c14270e0e21c2d890dc16e2117
refs/heads/master
2023-08-09T12:49:49.201051
2021-09-15T08:39:25
2021-09-15T08:39:25
403,527,408
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
mytuple=3,4.6,'dog' print(mytuple) a,b,c =mytuple print(a)#3 print(b)#4.6 print(c)#dog
[ "aparna.s1721@saintgits.org" ]
aparna.s1721@saintgits.org
3da0c80029968573c5c25265c28b5924d3c20582
edd0dc36452366de13a04ec5ced3c502af336b06
/zhe/brainvision.py
5dea8ce8fa90e105fe77d3264dae7647075d6dcb
[]
no_license
expertanalytics/Elektrosjokk
2de0a4d504d8cac40d07ce72c081a3fc3a69aaf6
325e731c04950d0c19f47bab1f65d8a3eb3a79ec
refs/heads/master
2021-09-19T02:05:17.726598
2021-08-05T09:15:31
2021-08-05T09:15:31
79,484,610
0
0
null
2018-10-25T12:19:09
2017-01-19T18:58:28
Python
UTF-8
Python
false
false
5,465
py
# License: BSD 3-clause # Author: Boris Reuderink #very little modification from the original script #the regular expression stim_code = int(re.match(r'S\s*(\d+)', mdesc).group(1)) #now it matches correctly also markers without spaces ex: "S102" # Adapted for python3 by Jakob Schreiner import logging import re impor...
[ "jakob2602@gmail.com" ]
jakob2602@gmail.com
a99bebca4185df88160a3362c3cb41f270204030
fb118c335e893e92b7e88ab9af3e9b355c9ed2e0
/brain/session/data/dataset_to_dict.py
c052f8f35e28a330c5c76f6b678a2866edc3bc4c
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
mtamillow/machine-learning
65b4a170ef7d171c01c05d8fb964f5c81f74ad5d
f21a7ecabdb0f168b40ba49730b59f908e8bdf72
refs/heads/master
2021-01-24T01:35:47.652869
2016-06-10T03:09:45
2016-06-10T03:09:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,950
py
#!/usr/bin/python '''@save_entity Note: the term 'dataset' used throughout various comments in this file, synonymously implies the user supplied 'file upload(s)', and XML url references. ''' from brain.converter.convert_dataset import Convert_Dataset def dataset_dictionary(id_entity, upload): '''@...
[ "jeff1evesque@yahoo.com" ]
jeff1evesque@yahoo.com
6232db56563263b899bb280c8b3ac86e38fa9ecc
2ee8c8ccb844bea31c21d7493a1d3504925f2b4f
/uwnet/whitenoise.py
ea6d6b9eb154c036143798f994a678927a45772e
[ "MIT" ]
permissive
mhdella/uwnet
11b3273677d2b32d63e17d9df116b2065fc626ae
24427547c485247e5019b9f8afa6843a6be603e4
refs/heads/master
2020-07-05T01:12:10.970962
2019-06-18T07:14:10
2019-06-18T07:14:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,238
py
import argparse import logging import dask.array as da import numpy as np import xarray as xr import torch from uwnet.thermo import compute_apparent_source logger = logging.getLogger('whitenoise') def get_error(model): from src.data import open_data data = open_data("training") data = data.isel(time=sl...
[ "nbren12@gmail.com" ]
nbren12@gmail.com
a706ffafd91a2edbbc8f35fd4a95d5ca568abbae
74983098c5de53007bde6052a631845c781b5ba8
/forrester/forrester10/forrester.py
109a0941d6cab03cc0fed480ab326aa1bcf164aa
[]
no_license
numairmansur/Experiments
94ccdd60f4c2cf538fab41556ac72405656c9d77
592f39916461c7a9f7d400fa26f849043d1377ed
refs/heads/master
2021-04-29T12:39:16.845074
2017-02-15T07:36:47
2017-02-15T07:36:47
78,043,284
0
0
null
null
null
null
UTF-8
Python
false
false
691
py
import numpy as np import sys import math import time import csv from hpolib.benchmarks.synthetic_functions import Forrester from time import gmtime, strftime def main(job_id, params): print '!!! Entered Main !!!' print 'Anything printed here will end up in the output directory for job #:', str(job_id) print par...
[ "numair.mansur@gmail.com" ]
numair.mansur@gmail.com
21aa7fda2068d5bc4eb2aff0f958e5958d8d9296
6f57761c60582c546423a2a08c769f18236fd153
/benchmarks/test_correlation_MG3_SD.py
595a1199b439267520a573446a1e282cbfec6b4b
[ "BSD-3-Clause", "LGPL-2.0-or-later", "BSD-2-Clause" ]
permissive
LSSTDESC/CCL
30644922fead0b017c1056e628bec23cf6bc4dfb
29d46978445678d86a4bee485cb29d30246ff64a
refs/heads/master
2023-09-03T17:03:17.012019
2023-08-08T11:01:33
2023-08-08T11:01:33
57,389,367
118
68
BSD-3-Clause
2023-08-30T13:25:25
2016-04-29T14:08:38
C
UTF-8
Python
false
false
7,232
py
import os import numpy as np import pyccl as ccl from pyccl.modified_gravity import MuSigmaMG from scipy.interpolate import interp1d import pytest @pytest.fixture(scope='module', params=['fftlog', 'bessel']) def corr_method(request): errfacs = {'fftlog': 0.21, 'bessel': 0.05} return request.param, errfacs[re...
[ "noreply@github.com" ]
LSSTDESC.noreply@github.com
a689274e77fed8cb988eeed9338bc8ba75695894
ba596595866771383f0d178421031fcf43fab16f
/plugin.video.pakindia/default.py
a1289475eb471d5e70aa8e45cd31cac529dd74f5
[]
no_license
kevintone/tdbaddon
ab7e5aea48a369dffd8046c068d95ef26ddc7d9a
10cbfceb375e1f5af4ade29a62c433cfa36cd883
refs/heads/master
2021-01-16T22:51:36.801741
2016-06-21T16:27:51
2016-06-21T16:27:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,136
py
import urllib,urllib2,sys,re,xbmcplugin,xbmcgui,xbmcaddon,xbmc,os import json ADDON = xbmcaddon.Addon(id='plugin.video.pakindia') datapath = xbmc . translatePath ( ADDON . getAddonInfo ( 'profile' ) ) pak = os. path . join ( datapath , "pak" ) def CATEGORIES(): aa=open(pak).read() match=re.co...
[ "tdbaddon@hotmail.com" ]
tdbaddon@hotmail.com
38737caf77f0aa21cdc1b89494ab8bf166d318f0
277f976227c7590f6de5e7991d8fbed23b6646fe
/euler/cleaned_solutions/p88.py
4d72ae9ef50c34c20cca638763abee936759bad8
[]
no_license
domspad/euler
ca19aae72165eb4d08104ef7a2757115cfdb9a18
a4901403e442b376c2edd987a1571ab962dadab2
refs/heads/master
2021-01-17T14:04:39.198658
2016-07-25T23:40:10
2016-07-25T23:40:10
54,561,463
0
0
null
null
null
null
UTF-8
Python
false
false
2,387
py
#~90 mins before running + 60 mins running? need to run again... from math import sqrt from collections import defaultdict def primes_lt3(N): """ Return all primes less than N > 0 int """ # test every number less than N/2 primes = [ i for i in xrange(2,N) if not any( ( i % p == 0 for p in xrange(2,int(sqrt(...
[ "domspad@umich.edu" ]
domspad@umich.edu
06bf555808d01c943cc92f5dce4c87da0ba3687e
43e900f11e2b230cdc0b2e48007d40294fefd87a
/Amazon/OnlineAssessment/min_priority.py
7a2fa3bd70e6d543510c6edb459380fb66dfbf84
[]
no_license
DarkAlexWang/leetcode
02f2ed993688c34d3ce8f95d81b3e36a53ca002f
89142297559af20cf990a8e40975811b4be36955
refs/heads/master
2023-01-07T13:01:19.598427
2022-12-28T19:00:19
2022-12-28T19:00:19
232,729,581
3
1
null
null
null
null
UTF-8
Python
false
false
639
py
import collections class Solution: def minPriority(self, arr): n = len(arr) dic = collections.defaultdict() for val in arr: dic[val] = dic.get(val, 0) + 1 dic = dict(sorted(dic.items())) print(dic) mp = {} priority = 1 for val in dic.keys(...
[ "wangzhihuan0815@gmail.com" ]
wangzhihuan0815@gmail.com
44b403f9672aec21e320efe0bce3f2ada25ce3ba
1eab574606dffb14a63195de994ee7c2355989b1
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/multicastleafrange_dgvyl211bhrpy2fzdexlywzsyw5nzq.py
f4b10235203bb7e6cbbb3ed37963471e5842f470
[ "MIT" ]
permissive
steiler/ixnetwork_restpy
56b3f08726301e9938aaea26f6dcd20ebf53c806
dd7ec0d311b74cefb1fe310d57b5c8a65d6d4ff9
refs/heads/master
2020-09-04T12:10:18.387184
2019-11-05T11:29:43
2019-11-05T11:29:43
219,728,796
0
0
null
2019-11-05T11:28:29
2019-11-05T11:28:26
null
UTF-8
Python
false
false
9,934
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
05933d6e8971beb73e7caacabd14fe5c9e0081de
18fa0ad57cd9c26bc2622ead61b88c81e017e2e8
/CNN_DNN_tensorflow/tensor_model_boost/input_data.py
801fad1042f51ce2267f9539d59d5cf67b1cf64a
[]
no_license
weihhh/ECG_pro
45da18fad4709009cd4766a870fac7c5d5514a92
1e013cbb7352ad896661412f036fd9c6242a6001
refs/heads/master
2021-05-04T13:52:17.259815
2018-07-20T02:39:16
2018-07-20T02:39:16
120,323,445
2
4
null
null
null
null
UTF-8
Python
false
false
1,456
py
from sklearn.model_selection import train_test_split#训练数据、测试数据切分 from collections import Counter import pickle from sklearn import preprocessing from sklearn.metrics import classification_report,accuracy_score #模型准确率,查准率,查全率,f1_score from tensor_ecg_model import tensor_dataset def read_data_sets(): #unpickle ...
[ "wz591757596@163.com" ]
wz591757596@163.com
51a0ae98eefc137ce5989545f2a927f293bdb19b
bbb137a11a91a30701bab30708ef7ddec24b6a2a
/models2Project/models2App/apps.py
42b1120906f9536737ea68d84715a3b4c63603f5
[ "Apache-2.0" ]
permissive
cs-fullstack-2019-spring/django-models-cw-DB225
f6462a46b033f456766a14e39498d740c6179c9d
04656f885adaa47e84c339827fcd4216c53b0a94
refs/heads/master
2020-04-24T04:41:58.104155
2019-02-22T02:58:27
2019-02-22T02:58:27
171,713,602
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
from django.apps import AppConfig class Models2AppConfig(AppConfig): name = 'models2App'
[ "marcusjmadden@gmail.com" ]
marcusjmadden@gmail.com
5b8e0722c567a62b5772d325d53476f5dc7e763f
bc441bb06b8948288f110af63feda4e798f30225
/ucpro_sdk/model/metadata_center/stream_metrics_schema_pb2.py
c00bdc5b8bb6d992da17621de3f2b1535aefb23a
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
5,147
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: stream_metrics_schema.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from googl...
[ "service@easyops.cn" ]
service@easyops.cn
f02c685f1d84a5172d78157a3535cdc42dd04fb0
21e7542abf4dbb3fdfbe7b021860c70cdf8b5ee8
/dnacauldron/Filter.py
722d767b55440ec6d38933bd8af2117736905069
[ "MIT" ]
permissive
Edinburgh-Genome-Foundry/DnaCauldron
8a4b4b71481a4b8f6c944b7a542f735a27040fc1
21d9f96926dd3f6920e8d9783127e7115948eae3
refs/heads/master
2023-08-31T14:25:16.897465
2023-07-28T17:01:39
2023-07-28T17:01:39
91,811,105
44
9
MIT
2023-07-18T22:12:47
2017-05-19T13:53:31
Python
UTF-8
Python
false
false
3,236
py
""" Filters applied in methods such as ``mix.compute_circular_assemblies`` in order to filter out circular assemblies which would have the wrong marker, or restriction sites of the digestion enzyme (these are unstable) """ from Bio import Restriction from Bio.Seq import Seq from .biotools import record_is_linear c...
[ "valentin.zulkower@gmail.com" ]
valentin.zulkower@gmail.com
7189c697d9a266365e1e83739f9a2ba79c9ee6bd
272ae95716e530d538937ded59ec5b6e0b6d4db8
/섹션 2/2. K번째 수/AA.py
7e7fb5d0ad9b617148e4fe6e520d0a3c4d09457b
[]
no_license
gogoheejun/algorithm
83a1cb30bff5c349f53be16764e517a46e99cf1c
39e999abf7170f434a7ac6e1f698f066e55aca03
refs/heads/main
2023-06-22T13:06:32.135917
2021-07-25T15:46:19
2021-07-25T15:46:19
383,379,782
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
import sys # sys.stdin = open("input.txt", "rt") T = int(input()) for t in range(T): n, s, e, k = map(int, input().split()) a = list(map(int, input().split())) a = a[s-1:e] a.sort() print("#%d %d" % (t+1, a[k-1]))
[ "heejjuunn@gmail.com" ]
heejjuunn@gmail.com
853bbbaec74dc86334d689deb94adad51a9e766f
4917066aaf02a14a5a00308eacb3cfaafa185f51
/production/arrplastic.py
8cc75a743984a555012d0d928aa014aafab6ad6f
[ "MIT" ]
permissive
markusritschel/thesis
d7bf28a7807aa1e3d2ecd1d3d67f1866a8640e1b
effc196ce062223e47fcfdfef205cc5e1678e19e
refs/heads/main
2023-05-09T23:55:59.807218
2021-06-07T01:05:09
2021-06-07T01:05:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,010
py
import sys import os arg = int(sys.argv[1]) tauRef = [(i / 20) for i in range(100, 121)][arg] # 21 cases import math import planetengine planetengine.set_global_anchor(os.path.basename(__file__)[:-3], '.') from planetengine.systems import Arrhenius, Viscoplastic from planetengine.initials import Sinusoidal final = (pl...
[ "rohan.byrne@gmail.com" ]
rohan.byrne@gmail.com
809b05581a91d7f83e0e9b65055f4f625b740d4f
e84672db206696b8f48113a754d85e93f9d57859
/routers/about_us_router/schemas.py
2119773164f185aca9806a241343eebc3dd6d7e1
[]
no_license
eliblurr/eav1
80a24a1f27bc7ee4d9444f87815b4a28bd4f8c51
31a4d44d80ce55ac0df1bffcb3ce4d2a8a906f93
refs/heads/main
2023-06-08T23:12:11.116518
2021-06-23T08:58:58
2021-06-23T08:58:58
311,332,506
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
from pydantic import BaseModel from typing import Optional import datetime class AboutUsBase(BaseModel): title: Optional[str] metatitle: Optional[str] description: str index: int status: Optional[bool] class CreateAboutUs(AboutUsBase): pass class UpdateAboutUs(AboutUsBase): title: Optiona...
[ "segbawuel@aiti-kace.com" ]
segbawuel@aiti-kace.com
e5d339075d6c49b20d922195e8001b0778f3b4c1
c80ec1805a7e6cb1bd3f4b3e383ef4f4cf164765
/gen/filters/rules/media/_hasnotematchingsubstringof.py
ac8d27c0922b99dc89a90d0f24532a4324f44713
[]
no_license
balrok/gramps_addon
57c8e976c47ea3c1d1298d3fd4406c13909ac933
0c79561bed7ff42c88714edbc85197fa9235e188
refs/heads/master
2020-04-16T03:58:27.818732
2015-02-01T14:17:44
2015-02-01T14:17:44
30,111,898
2
1
null
null
null
null
UTF-8
Python
false
false
1,783
py
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2002-2006 Donald N. Allingham # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at you...
[ "carl.schoenbach@gmail.com" ]
carl.schoenbach@gmail.com
a99300fc155bea9ad18198e891be1b2266256ab3
0a0536142014f759aa08974118133767c1eac6a8
/build/pal_msgs/pal_tablet_msgs/catkin_generated/pkg.develspace.context.pc.py
15f1eff9bef9f885ff57e8eb85ea040e8ac92198
[]
no_license
EricSun787/SSJ_AGV
bb1851bf5102b6917888717fabf4f627f142e47c
01d387efa1b53bd1a909f30dc89b14c9364ffd72
refs/heads/master
2023-07-08T18:30:43.704457
2017-09-19T16:02:44
2017-09-19T16:02:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/ssj/ros_ws/devel/include".split(';') if "/home/ssj/ros_ws/devel/include" != "" else [] PROJECT_CATKIN_DEPENDS = "message_runtime;std_msgs".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = ""....
[ "1012116832@qq.com" ]
1012116832@qq.com
b5ca6c99afc6cf2abe20890d232f3b733644036b
ef54d37f8a3303013ca7469871a320d303957ed7
/robo4.2/fusion/tests/wpst_crm/developer/rbriggs/configure_dev_enclosure/efit_data_variables.py
47492636e4178e363877a3df17500428793df79a
[]
no_license
richa92/Jenkin_Regression_Testing
d18badfcf16bda682dfe7bcbbd66f54a9a27a58d
24a74926170cbdfafa47e972644e2fe5b627d8ff
refs/heads/master
2020-07-12T10:01:59.099137
2019-08-27T12:14:53
2019-08-27T12:14:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
65,108
py
""" !!!!!!!!!!!!!!!!!!!!!! REPLACE Encl1 with Encl1 for real hardware!!!! !!!!!!!!!!!!!!!!!!!!!! """ def make_range_list(vrange): rlist = [] for x in xrange(vrange['start'], (vrange['end'] + 1)): rlist.append(vrange['prefix'] + str(x) + vrange['suffix']) return rlist admin_credentials = {'userNam...
[ "akul@SAC0MKUVCQ.asiapacific.hpqcorp.net" ]
akul@SAC0MKUVCQ.asiapacific.hpqcorp.net
2fcb25aed79d349b7d2fd32d4022304eb3510056
26edc9df2bc9df95cd94e6cea78fa2ffb6c2ac44
/Pmw-2.0.0/Pmw/Pmw_2_0_0/demos/ConfigClass.py
2602ed7980043f9a429f626772cb4fc6a8601319
[]
no_license
khw7096/opener
55c3c43ddfa62c9f2bdf23cccde1b9abbcb7ece9
4981e1c53e7fe55f9c4ba7c5f57ee9f8634f389d
refs/heads/master
2021-06-09T10:57:53.101948
2017-06-06T09:18:26
2017-06-06T09:18:26
35,756,994
2
0
null
null
null
null
UTF-8
Python
false
false
2,372
py
title = 'Component python class configuration demonstration' # Import Pmw from this directory tree. import sys sys.path[:0] = ['../../..'] import tkinter import Pmw class MyButton(tkinter.Button): # This is just an ordinary button with special colors. def __init__(self, master=None, cnf={}, **kw...
[ "khw7096@gmail.com" ]
khw7096@gmail.com
0fad5ee29a5268ce97c8cf84b91a05bda392f678
63afbceb127443806e7ee989be74e54e04152e88
/app01/migrations/0009_auto_20171205_1005.py
73ded2547d58a26c5a03a167482d838ba69312d4
[]
no_license
Jamin2018/Django_zhihu
002be8c2ff457f44798b881aaebb98f9611c165e
1f5adc08cfd66eb2cf1049cf9e09ad0bb66d5509
refs/heads/master
2021-08-23T13:52:58.887369
2017-12-05T04:26:42
2017-12-05T04:26:42
113,132,441
2
1
null
null
null
null
UTF-8
Python
false
false
1,007
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-12-05 02:05 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app01', '0008_auto_20171205_1003'), ] operations =...
[ "389098898@qq.com" ]
389098898@qq.com
a9f0f51216566c7f222ea78b7291aa59324f8376
6b9865a42a86c538cff987b3079da5b644137b37
/0x1B-island_perimeter/0-island_perimeter.py
340b08d724b063ab8518cf088b66084e17c4dce4
[]
no_license
zahraaassaad/holbertonschool-python
099072b0350f594adf30b47eb18fcdce0375546d
83d7d185f14f44ea4481538ab1e04463a9b62739
refs/heads/master
2023-01-09T03:34:48.082352
2020-11-20T17:54:05
2020-11-20T17:54:05
291,666,802
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
#!/usr/bin/python3 """ Module for to_graph. """ def island_perimeter(grid): """ Returns the perimeter of the island described in grid.""" num = 0 neighbor = 0 for i in range(len(grid)): for j in range(len(grid[0])): if grid[i][j] == 1: n...
[ "zahraa.asaad8@gmail.com" ]
zahraa.asaad8@gmail.com
0616483d02c5aefc6595b766907293a1a338733f
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_231/ch131_2020_04_01_18_01_14_493339.py
eb145819744ce0d279dd15de473d87ced7a5bfef
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
import random s=random.randint(2,20) n1=int(input('Digite um numero:')) n2=int(input('Digite um numero maior ou igual:')) if s<n1: print('Soma menor') if s>n2: print('Soma maior') else: print('Soma no meio') d=10 print('Voce tem {} dinheiros'.format(d)) q=int(input('Quantos chutes voce quer comprar?')) d=d-...
[ "you@example.com" ]
you@example.com
1eceb6d7ed6e20c50f6cd3cfa5ed3cb1af5c6b5f
5508368df9df1036755aeaa8574bdadcc25359f8
/AmadoWHApp/migrations/0020_auto_20180811_1629.py
1744319d9177284bc372d66e2ea8518549de2da6
[]
no_license
HanSol1994/Amado
4627a6165009733059e8e87f545244f69d492b91
9fbc37250b9974bbf3a3c3a2571a748a300b2d29
refs/heads/master
2022-01-23T23:59:30.666584
2019-07-23T08:12:19
2019-07-23T08:12:19
198,373,740
0
0
null
null
null
null
UTF-8
Python
false
false
4,745
py
# Generated by Django 2.0.5 on 2018-08-11 11:59 from django.db import migrations, models import django_jalali.db.models class Migration(migrations.Migration): dependencies = [ ('AmadoWHApp', '0019_auto_20180806_1249'), ] operations = [ migrations.DeleteModel( name='ShowHelpT...
[ "haansol@gmail.com" ]
haansol@gmail.com
23e930e42475382cf34d1a2f27f9c1fea496abce
7ab41799fd38489c93282f1beb3b20e7ef8ff165
/python/141.py
513b3798a89e31e94eb8c4208e90df739cbc0f2d
[]
no_license
scturtle/leetcode-sol
86c4095df6b31a9fcad683f2d63669ce1691633c
e1a9ce5d9b8fe4bd11e50bd1d5ba1933de845db7
refs/heads/master
2020-04-23T00:01:37.016267
2015-11-21T04:15:27
2015-11-21T04:15:27
32,385,573
1
0
null
null
null
null
UTF-8
Python
false
false
439
py
class Solution(object): def hasCycle(self, head): """ :type head: ListNode :rtype: bool """ slow = fast = head while slow and fast: fast = fast.next if fast is slow: return True if fast: fast = fast.n...
[ "scturtle@gmail.com" ]
scturtle@gmail.com
2d666e7337eebaf1bf48c46e9692e00a29ebce20
7c7c22e1b9c2406cb417b3ca394878765d2cb9de
/app/models.py
c4514e30300feec142c3b1d73c508db24f84b49c
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Carolwanzuu/m-blog
215312a91702c771cf56041623314607319f474f
baa4df0a5d43f216f82829bb5eeb8669b6317c4b
refs/heads/master
2023-06-05T09:58:53.344224
2021-06-30T08:40:08
2021-06-30T08:40:08
378,681,471
0
0
null
null
null
null
UTF-8
Python
false
false
2,990
py
from . import db from datetime import datetime from werkzeug.security import generate_password_hash,check_password_hash from flask_login import UserMixin from . import login_manager @login_manager.user_loader def load_user(user_id): return User.query.get(int(user_id)) class Quote: def __init__(self,id,quo...
[ "carolkyalo01@gmail.com" ]
carolkyalo01@gmail.com
1e78f3e98a24c17a7a858bc9bbbf0f52e68fae73
1beb347ae7119e033f4180a82ce6113d37a32a9c
/matrix2.py
f047cc758f5b6e079baa65707e88c8a4927c72a8
[]
no_license
Jamshid93/2DLists
b1f6dea889fcf48bad9929cd78c4ccf52d40f192
8e1f15307fb18c4d95ba2f14bae4775d15acdf02
refs/heads/master
2022-01-28T23:26:59.174770
2019-07-20T07:58:42
2019-07-20T07:58:42
197,885,153
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
matrix = [ [1,2,3], [4,5,6], [7,8,9] ] print(matrix[1][1])
[ "hamzayevjf@gmail.com" ]
hamzayevjf@gmail.com
846264f0a27ea09c3be94e1151a676b918da4b47
d561fab22864cec1301393d38d627726671db0b2
/python/helpers/typeshed/stdlib/3/linecache.pyi
a77de887c7b3029234ce84f5159ce0aee0a01eb9
[ "Apache-2.0", "MIT" ]
permissive
Vedenin/intellij-community
724dcd8b3e7c026936eed895cf964bb80574689a
74a89fa7083dedc6455a16e10cf779d191d79633
refs/heads/master
2021-01-25T00:47:43.514138
2017-03-27T15:48:36
2017-03-27T15:54:02
86,361,176
1
1
null
2017-03-27T16:54:23
2017-03-27T16:54:23
null
UTF-8
Python
false
false
200
pyi
from typing import Any def getline(filename: str, lineno: int, module_globals: Any=...) -> str: pass def clearcache() -> None: pass def getlines(filename: str, module_globals: Any=...) -> None: pass
[ "andrey.vlasovskikh@gmail.com" ]
andrey.vlasovskikh@gmail.com
dd67cc4be7876eb5b448ca6cb7d1e9b1263d0eb0
b4e326e8cf257f3920767a258a0740b9c121d0cd
/general-practice/28_08_2019/p1.py
7280f4b0c5ff41b04c05fe9b85d3dfd595dfac55
[]
no_license
luthraG/ds-algo-war
6646e7539dc20d1acd631edb2ed0a83384e4ea7e
05a0b1c6abe47eb5a403b0f61e315e6609bfa466
refs/heads/master
2020-07-03T23:39:21.849008
2019-09-18T09:43:57
2019-09-18T09:43:57
202,087,293
1
0
null
null
null
null
UTF-8
Python
false
false
708
py
from timeit import default_timer as timer if __name__ == '__main__': test_cases = int(input('Enter test cases :: ')) for t in range(test_cases): number = int(input('Enter number :: ')) start = timer() # since we need multiples below number -= 1 mux3 = number // 3 ...
[ "luthra.zenith@gmail.com" ]
luthra.zenith@gmail.com
a33b4f14f7a159a87a0c7bae1d44ca4f5cfbdda2
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_babble.py
5ff3bdd5eb3760e6b698e33c67e8e28434a76e73
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
#calss header class _BABBLE(): def __init__(self,): self.name = "BABBLE" self.definitions = [u'to talk or say something in a quick, confused, excited, or silly way: ', u'(of a stream) to make the low, continuous noise of water flowing over stones: '] self.parents = [] self.childen = [] self.properties = ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
1645d1441b6fb91bfd157539cff28ac587c5682f
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_386/ch140_2020_04_01_19_54_27_737379.py
9c722141f7b9ff19386a9a12b1ec1d2082a859de
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
notas=[1, 2, 4.2, 5.5, 8, 9] def faixa_notas(notas): nota_b = [] nota_m = [] nota_a = [] for i in notas: if i < 5: nota_a +=1 elif i > 5 and i <= 7: nota_b +=1 elif i > 7: nota_a +=1 nota_b.extend(nota_m) nota_m.extend(nota_a) ...
[ "you@example.com" ]
you@example.com
64c83edfd993d2f54b775476fe706d0ed2d40465
57f5cdf321d4fc39217b2c3dcd5ce3750330d618
/pratica/listas/max_min_for.py
ee94f56573628e24ff949b26fdd1383cff11b48b
[ "MIT" ]
permissive
chicolucio-python-learning/entrevistas-tecnicas
ba9575f680cb663d340840e71654432904f6b5af
1efec34e18fe0f726a1d3c390e2c0c8b07405360
refs/heads/main
2022-12-26T22:53:10.364365
2020-10-07T17:42:56
2020-10-07T17:42:56
302,114,910
1
0
null
null
null
null
UTF-8
Python
false
false
926
py
import random import pytest def max_min(lst): """ Calculate the maximum and minimum of a list lst Parameters ---------- lst : list Returns ------- tuple (max, min) """ if not lst: raise ValueError('Empty list') max_value = min_value = lst[0] for valu...
[ "23560423+chicolucio@users.noreply.github.com" ]
23560423+chicolucio@users.noreply.github.com
cb13d4be78e90d678affb45cd65d51c3dff6b4e0
2ef5b78a1a750ee33d86f36bba176796163e3933
/demo23/test9.py
23576f92e307bfc134a62e86f24d243d61c4720d
[]
no_license
LIZEJU/flask-demo
08f8419757dc4902239b89b3df9ea71ce918ad26
6ae201e3cc078b7a3fd18fb6d114b0b83f1b4b41
refs/heads/master
2020-09-27T05:58:09.742198
2020-01-30T11:04:41
2020-01-30T11:04:41
226,445,858
0
0
null
null
null
null
UTF-8
Python
false
false
544
py
import matplotlib.pyplot as plt import numpy as np x = [np.random.randint(0,20) for i in range(10)] print(x) y = [np.random.randint(0,20) for i in range(10)] # x,y 用来设置封闭区域的定点的有序数对,参数color用来完成封闭区域的填充颜色的设置工作 plt.fill(x,y,color='cornflowerblue') # 完成多边形相对位置的调整 plt.xlim(-1,16) plt.ylim(-1,16) # 设置刻度 plt.xticks(np.aran...
[ "m18611694189@163.com" ]
m18611694189@163.com
5d8086c8c19f7b022f0b49451639e6638afc9c7c
050fc5ca698dfd7612dee42aa980fc7b5eee40a2
/tests/plugin/data/sw_loguru/services/consumer.py
45e145e7877e9f8012feeac26a6b6b3138fdd3f0
[ "Apache-2.0" ]
permissive
apache/skywalking-python
8ac6ce06630c519f9984a45e74c1fcc88cf5b9d6
1a360228c63cd246dd4c5dd8e1f09bdd5556ad7d
refs/heads/master
2023-09-05T02:45:56.225937
2023-08-28T22:19:24
2023-08-28T22:19:24
261,456,329
178
122
Apache-2.0
2023-08-28T22:19:26
2020-05-05T12:13:49
Python
UTF-8
Python
false
false
1,109
py
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
[ "noreply@github.com" ]
apache.noreply@github.com
3a31aaa867eee42a88b2012888b4e89517880fcb
1fe0b680ce53bb3bb9078356ea2b25e572d9cfdc
/venv/lib/python2.7/site-packages/ansible/modules/network/cloudengine/ce_ip_interface.py
ccf7d493060dac208aa09b52941e8a89961d495e
[ "MIT" ]
permissive
otus-devops-2019-02/devopscourses_infra
1929c4a9eace3fdb0eb118bf216f3385fc0cdb1c
e42e5deafce395af869084ede245fc6cff6d0b2c
refs/heads/master
2020-04-29T02:41:49.985889
2019-05-21T06:35:19
2019-05-21T06:35:19
175,780,457
0
1
MIT
2019-05-21T06:35:20
2019-03-15T08:35:54
HCL
UTF-8
Python
false
false
24,036
py
#!/usr/bin/python # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distribut...
[ "skydevapp@gmail.com" ]
skydevapp@gmail.com
ab1acbf9736b4d8dcf92e279bca3053be513b34f
f795a505b4c92e7e12b2b905dcfe0a889c9c99a6
/BIOMD0000000497/model.py
43f603dce6f353e607e36970b7b15756e45ccb32
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
biomodels/BIOMD0000000497
a953ad543534bc2cc6f5197caeb96d17c5fb6931
ceb94fac6887cfbdc2ba5e33cd31909b102a64cc
refs/heads/master
2016-09-06T11:59:06.453896
2014-10-16T05:19:41
2014-10-16T05:19:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
import os path = os.path.dirname(os.path.realpath(__file__)) sbmlFilePath = os.path.join(path, 'BIOMD0000000497.xml') with open(sbmlFilePath,'r') as f: sbmlString = f.read() def module_exists(module_name): try: __import__(module_name) except ImportError: return False else: ret...
[ "stanleygu@gmail.com" ]
stanleygu@gmail.com
c86a379eb2e6c400bfa33f54e0069383be891482
854245317cb8031ea9b65347a7f3b78b4ea251b4
/amazon_scraper/scraper_app/__init__.py
cc9ac8b8bb2b4bd4b4dcc027af07e35d6411c589
[]
no_license
tahirs95/Web-Scraping-Portfolio
d9bfe8fcc5effec96f5fe123aac6a6f8941c500f
973b9ba7f0d930f83cbce5ae64dea1a86b882fda
refs/heads/master
2023-02-27T15:00:40.164995
2021-09-22T15:53:48
2021-09-22T15:53:48
213,682,348
3
1
null
2023-02-16T04:17:55
2019-10-08T15:29:31
SCSS
UTF-8
Python
false
false
548
py
from flask import Flask, render_template, request from .functions import process_data, scrape app = Flask(__name__) @app.route('/', methods=['GET','POST']) def index(): data = {'None': 'None'} data_available = False if request.form: asin = request.form['search'] if asin: url =...
[ "tahirs95@hotmail.com" ]
tahirs95@hotmail.com
51836f374510131b73000b64d570b39a3bc1aeeb
d233b312cd3f0c83a06c1cce830252a3664023ff
/catkin_ws/build/universal_robot/ur3_moveit_config/catkin_generated/pkg.installspace.context.pc.py
9ebc475624671b0e651c4ea0c32ffe85e6e6776c
[]
no_license
leopauly/Observation-learning-Real-world-UR5
32691f989ed60d92eca82bea0f47b960a6d48afa
72e61d07582d05d40a1bde31c99ab5d9cf97f70d
refs/heads/main
2023-07-05T07:05:00.554268
2021-08-12T11:51:58
2021-08-12T11:51:58
395,289,055
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "ur3_moveit_config" PROJECT_SPACE_DIR ...
[ "meetleopauly@yahoo.com" ]
meetleopauly@yahoo.com
4adbab1657f6fe87b55dcd77902ca289972684a1
a893537a71aa285071a68035c968ba6f5c0ca57d
/ch02/18/18.py
054f16fcb33111a2f4f27ccd17242175023354dd
[]
no_license
sinchir0/2020_NLP100
0a1810b0c299c29fa1a811f68fa87be74f9b3cf9
772123da5b5ac4094c26fdce2e192637dc55190a
refs/heads/main
2023-07-18T04:03:04.123302
2021-09-08T22:54:44
2021-09-08T22:54:44
257,416,868
0
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
# 18. 各行を3コラム目の数値の降順にソート # 各行を3コラム目の数値の逆順で整列せよ(注意: 各行の内容は変更せずに並び替えよ).確認にはsortコマンドを用いよ(この問題はコマンドで実行した時の結果と合わなくてもよい). def file_line_reader_generator(file_path): """ファイルの行を返すジェネレータ""" with open(file_path, encoding="utf-8") as in_file: for line in in_file: yield line if __name__ == "__main__...
[ "s-saito@chic.ocn.ne.jp" ]
s-saito@chic.ocn.ne.jp
b3bf86f703dabc845c1b7f0e94b45a8abf13cf86
61e32bb5ebf868965d3af68b5717672f7b4c51c2
/denominations.py
53ed3f12c39a6488ee1fa1c2e7fadf3e2ffa6ff8
[]
no_license
billaanil3/PRACTICE
e4f885473cc10a17ab422da2f6d29aea576c7b94
9e0d6512bd8cbfc0fa4e0d1472ac23d1482bacf9
refs/heads/master
2020-11-26T18:25:30.318395
2019-12-20T02:22:45
2019-12-24T11:00:14
229,172,095
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
from collections import OrderedDict notes = [2000, 500, 200, 100, 50, 20, 10, 5, 2, 1] amount = int(input("Enter a number:")) res_notes = OrderedDict() for note in notes: if amount % note: if amount // note > 0: res_notes[note] = amount // note amount = amount % note print res_notes
[ "anil.b@onedelta.in" ]
anil.b@onedelta.in
9d56ea4a1e627c0491afb179e8aa9e1ff000be66
c1dd2020da8c3e117aec41619aa56b22cc62b5be
/django1/src/blog/views.py
2718fc0cb6201b2e0106fd0e77d82a4aa6d846f8
[]
no_license
rlaqhdwns/django1
039dadc5212704222f9bcab389c4eb9f27ede412
74180aa0ce2d9e5217ac8df7855482bd86d07ff1
refs/heads/master
2020-04-21T23:11:17.801454
2019-02-10T03:20:47
2019-02-10T03:20:47
169,938,177
0
0
null
null
null
null
UTF-8
Python
false
false
3,153
py
from django.shortcuts import render #제네릭뷰 : 장고에서 제공하는 여러가지 뷰 기능을 구현한 클래스 #ListView : 특정 모델클래스의 객체 목록을 다루는 기능이 구현된 뷰 #DetailView : 특정 모델클래스의 객체 1개를 다루는 기능이 구현 #FormView : 특정 폼클래스를 다루는 기능이 구현 from django.views.generic.detail import DetailView from django.views.generic.edit import FormView from django.views.gene...
[ "user@DESKTOP-37GULAI" ]
user@DESKTOP-37GULAI