blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
da48ec5debbd4bf03add54a6b4f63cd0d6b92bff
cfa944956e11dd113324cfe0be1190467e8f6475
/image_gallery/migrations/0002_image_graphic.py
bfd653bdaa4adc47281b81f80c1a5f23e7d48fa3
[]
no_license
ConnorFieldUser/Image-Gathering-Site
3c02262771ab1a8889960b088f32fef441f040f8
6e99018c68e0409d28ba23bcb41225598fbacdf6
refs/heads/master
2021-01-12T12:22:15.625037
2017-01-10T23:58:31
2017-01-10T23:58:31
72,463,800
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-31 21:25 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('image_gallery', '0001_initial'), ] operations = [ migrations.AddField( ...
[ "conquest.field@gmail.com" ]
conquest.field@gmail.com
9e9bb0b62ac47e9d440fecc65ce060aaa11a0e0e
e547f7a92e7a1c1d79f8631f9e8ee8a93879a4eb
/src/human_study/program_20/original.py
374966dbf2d4e29211ad069bcfbb8405afd41b28
[]
no_license
gsakkas/seq2parse
3c33ec7bc6cc6e4abd9e4981e53efdc173b7a7b9
7ae0681f1139cb873868727f035c1b7a369c3eb9
refs/heads/main
2023-04-09T12:29:37.902066
2023-01-18T21:32:12
2023-01-18T21:32:12
417,597,310
7
1
null
null
null
null
UTF-8
Python
false
false
373
py
word = input() vowels = 0 cons = 0 for i in word: if i == "y": (vowels = vowels + 1) and (cons = cons + 1) elif i == "a" or i == "e" or i == "i" or i == "o" or i == "u": vowels = vowels + 1 elif i != "a" and i != "e" and i != "i" and i != "o" and i != "u": cons = cons + 1 print(str(v...
[ "george.p.sakkas@gmail.com" ]
george.p.sakkas@gmail.com
aedb3332dfa6f763736a702c5d35229632b65ea4
c231bdc8d01465c9dda429be2d6535f8e8ea5ece
/Complete Python Masterclass/Source_Codes/lesson_72_example.py
a73c3f7e19d6358811e160d388333adf3c82b049
[ "MIT" ]
permissive
jessequinn/Udemy
1634049711eb888f59b697d883555767e38598a3
e3d652c8144660ae155149d897b6364416106c7c
refs/heads/master
2021-08-18T09:58:57.274897
2018-10-26T22:50:26
2018-10-26T22:50:26
142,214,616
0
1
null
null
null
null
UTF-8
Python
false
false
573
py
import shelve fname = "lesson_72_book.db" books = shelve.open(fname) books["recipes"] = {"blt": ["bacon", "lettuce", "tomato", "bread"], "beans_on_toast": ["beans", "bread"], "scrambled eggs": ["eggs", "butter", "milk"], "soup": ["tin of soup"], ...
[ "me@jessequinn.info" ]
me@jessequinn.info
e76d811bff743bd4b0ed9565b54bd6361efe9efb
68720ce7e968133614b9345898780bd80dbb8595
/code/UI/OpenAPI/python-flask-server/openapi_server/test/test_result_controller.py
bda74435150f7968898e64716bc4d65c989ff1b0
[ "MIT", "Apache-2.0" ]
permissive
RichardBruskiewich/RTX
82a2ec6d129250ae0440eac8b91867fc8b044c1d
ce126fdc5df6b5b13cc3ac2857ffee23954a0a7f
refs/heads/master
2022-12-27T05:00:28.901542
2020-09-08T19:06:32
2020-09-08T19:06:32
294,197,551
0
0
MIT
2020-09-09T18:34:06
2020-09-09T18:34:05
null
UTF-8
Python
false
false
2,531
py
# coding: utf-8 from __future__ import absolute_import import unittest from flask import json from six import BytesIO from openapi_server.models.feedback import Feedback # noqa: E501 from openapi_server.models.feedback_response import FeedbackResponse # noqa: E501 from openapi_server.models.result import Result #...
[ "edeutsch@systemsbiology.org" ]
edeutsch@systemsbiology.org
b8bade15838b61bce3c004e86e8f035fb5872963
09e05aab22d7fd6d58a98736d1ed81c16b2aabaa
/legacy/easy_en_rebuild.py
0f797c22a8a7009a38dcee42240b1187355c2772
[]
no_license
gridl/rime_dict
7beeebbf0aa33cc3e88fda771f57455ee1105322
9a95ef7215d47517b6e8281086a334deac2862d6
refs/heads/master
2020-09-05T00:49:25.911399
2017-04-12T11:19:06
2017-04-12T11:19:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
940
py
#!/usr/bin/env python # coding: utf-8 HEAD = """ --- name: easy_en version: "0.2" sort: by_weight use_preset_vocabulary: false ... """ if __name__ == '__main__': new_lines = [] count = 0 with open('easy_en.dict.yaml.bak', 'r') as f: WORD_START = False for line in f.readlines(): ...
[ "novoreorx@gmail.com" ]
novoreorx@gmail.com
901dfc7fe9ae17c0e9c59d3f364d1ee40d3ca650
e2c891f932ec4b5851e2a62247ca34c3fa8b8026
/Artificial_Neural_Network_Case_Study.py
1ad8215f9821796ec0338e0e0797d4c312b5db99
[]
no_license
gridl/Deep-Learning-for-Data-Science
6a43824117f27449899cb5a088d6b094c0c695a6
d93e2481e843d386d937c9c3725d1e66824b3d29
refs/heads/main
2023-03-11T17:21:15.543586
2021-02-26T09:07:48
2021-02-26T09:07:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,864
py
#----------------------- Artificial Neural Network for classification --------------------# #importing required libraries import numpy as np import pandas as pd import tensorflow as tf from sklearn.compose import ColumnTransformer from sklearn.preprocessing import OneHotEncoder from sklearn.preprocessing import LabelEn...
[ "noreply@github.com" ]
gridl.noreply@github.com
5fe7beed7294aa81b0472a6588f32888d6dec58c
8f54ba6e1af12aa438d92d419d4cc8714a1b2c70
/apps/migrations/0002_auto_20181116_1023.py
61b28c280571ada780984c6606779af9a9090e8f
[]
no_license
handole/master_awal
6900ad4c3c5afcd01f28df0e843deab25916882b
0ce808ca8372bcc4c0fe9f4986e162916fe42182
refs/heads/master
2020-04-06T16:56:31.957719
2018-11-23T06:51:50
2018-11-23T06:51:50
157,640,182
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
# Generated by Django 2.1.3 on 2018-11-16 10:23 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('apps', '0001_initial'), ] operations = [ migrations.RenameField( model_name='kegiatan', old_name='parent_id', ne...
[ "denihhandoko@gmail.com" ]
denihhandoko@gmail.com
2a3851792f359c42abfbe8a63953b66a52841f78
080397d0e6d573ef6d7eb9c2bc6b1b5787cfe0d1
/scripts/github.py
70674de25cf432dee41009a1dc75fd6f6291ffcd
[ "Beerware" ]
permissive
DEV3L/twitter-learning-journal
ecd0eb922e369b10fd6e039d652eed7078601139
a51d22a60a3d1249add352d8357975a7f2db585c
refs/heads/master
2021-09-20T17:27:11.157096
2018-08-13T11:58:34
2018-08-13T11:58:34
114,556,953
1
1
null
null
null
null
UTF-8
Python
false
false
3,365
py
import hashlib import json import pickle import time from datetime import datetime, timedelta import requests from app.twitter_learning_journal.services.logging_service import LoggingService logger = LoggingService('github') pickle_dir = './data/pickle/github/' json_dir = './data/json/' repository_commits_json_fil...
[ "jus.beall@gmail.com" ]
jus.beall@gmail.com
834ba0ba601732121582f396188bbd84d00af3c6
3be8b5d0334de1f3521dd5dfd8a58704fb8347f9
/dependencies/mongo/marrow/mongo/query/__init__.py
d96a9ada107687739d44c0c2cf65b1a72a82a80e
[ "MIT" ]
permissive
bmillham/djrq2
21a8cbc3087d7ad46087cd816892883cd276db7d
5f357b3951600a9aecbe6c50727891b1485df210
refs/heads/master
2023-07-07T01:07:35.093669
2023-06-26T05:21:33
2023-06-26T05:21:33
72,969,773
1
0
null
null
null
null
UTF-8
Python
false
false
218
py
# encoding: utf-8 """MongoDB filter, projection, and update operation helpers. These encapsulate the functionality of creating combinable mappings """ from .ops import Ops from .q import Q __all__ = ['Ops', 'Q']
[ "bmillham@gmail.com" ]
bmillham@gmail.com
67a17d6b837e66c7bf7452b9cf9afe0c5c94cabd
c741f04141784a2571d2d27d95e0d994e4584ab1
/learning/py3/连接mysql/PyMySQL/test2.py
dd1616ad7948bf324b3ab01f208f297f24fc4f67
[]
no_license
haodonghui/python
bbdece136620bc6f787b4942d6e1760ed808afd4
365062ba54297c81093b7f378742e76d438658b7
refs/heads/master
2022-02-03T23:52:37.288503
2022-01-27T05:23:25
2022-01-27T05:23:25
191,729,797
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
from pythonmysql2 import DB if __name__ == '__main__': with DB(host='59.110.228.110', port=3306, database='test_tea_uc_0', user='test_tea_uc_0', passwd='L~+SJ*F^kon[t+10l6') as db: db.execute('select * from uc_user limit 0,10') print(db) for i in db: print(i)
[ "haodonghui@yestae.com" ]
haodonghui@yestae.com
d2152f5f4495763790714cff55d32e950c14de12
d80e82c3f9e4dbe5185bce63869d9634a6188c3f
/spiders/kiehls.py
02d258b748b71b59cdf714e52382ef7412ab0e8f
[]
no_license
yingl/ofashion_spider
8020d64cc9e1f6e8d5b6af6cd0ed1b9b6a484a76
55be2425aecec81fd4d424d4aa90f15e9e54dc72
refs/heads/master
2021-07-04T11:42:21.777726
2020-08-13T08:50:36
2020-08-13T08:50:36
142,376,040
3
1
null
null
null
null
UTF-8
Python
false
false
1,669
py
import sys sys.path.append('../') import of_spider import of_utils class Kiehls(of_spider.Spider): def parse_entry(self, driver): elements = of_utils.find_elements_by_css_selector(driver, 'div.b-product_tile > div > a.b-product_img-link') return [element.get_attribute('href').strip() for element in...
[ "linying_43151@163.com" ]
linying_43151@163.com
6b49fdf0a00d07d13f29fd208f3cfb52139b5e92
3cdb4faf34d8375d6aee08bcc523adadcb0c46e2
/web/env/lib/python3.6/site-packages/django/contrib/gis/forms/__init__.py
237cbace8d30ee6a021eb15686219c195ea38e27
[ "MIT", "GPL-3.0-only" ]
permissive
rizwansoaib/face-attendence
bc185d4de627ce5adab1cda7da466cb7a5fddcbe
59300441b52d32f3ecb5095085ef9d448aef63af
refs/heads/master
2020-04-25T23:47:47.303642
2019-09-12T14:26:17
2019-09-12T14:26:17
173,157,284
45
12
MIT
2020-02-11T23:47:55
2019-02-28T17:33:14
Python
UTF-8
Python
false
false
298
py
from django.forms import * # NOQA from .fields import ( # NOQA GeometryCollectionField, GeometryField, LineStringField, MultiLineStringField, MultiPointField, MultiPolygonField, PointField, PolygonField, ) from .widgets import BaseGeometryWidget, OpenLayersWidget, OSMWidget # NOQA
[ "rizwansoaib@gmail.com" ]
rizwansoaib@gmail.com
bb9eeea7bd10319c790c90c20a446e981c3eca26
cce1e235c2c8e58d83af6dbadeb471ca62b710a1
/hackerrank/algorithms/implementation/counting_valleys.py
9a9576d382794d43cc9b84139336aa5f87b2ac11
[]
no_license
SebastianThomas1/coding_challenges
6b51ce046b458c44db809687b6809d16d066566f
bd3bc6be7a975b6255e4b2198c953d56bd74e75a
refs/heads/master
2023-03-03T00:18:00.147369
2021-02-08T21:52:02
2021-02-08T21:52:02
336,688,955
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
# Sebastian Thomas (coding at sebastianthomas dot de) # https://www.hackerrank.com/challenges/counting-valleys # # Counting Valleys def counting_valleys(path): count = 0 level = 0 for step in path: if level == 0 and step == 'D': count += 1 level += 1 if step == 'U' else -1 ...
[ "sigma.online@gmx.de" ]
sigma.online@gmx.de
4581a636f0b3a49cc170ab2e359307a4039e5d25
656315b686eedba99b77b83d9932f44221741024
/bimaapp/migrations/0004_auto_20181026_1246.py
2f0af244c4518cb0ff5c8527559cd219c41ac325
[]
no_license
edithamadi/capstone
8e370314e612b0c7064b2044a673f465636bdadf
8a2b8fe9e2e5a9ac5bc62a69ed726fbfcd67d349
refs/heads/master
2022-12-09T04:31:23.319789
2018-10-26T13:26:27
2018-10-26T13:26:27
154,452,359
0
1
null
2022-11-22T02:54:00
2018-10-24T06:47:29
Python
UTF-8
Python
false
false
624
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-10-26 09:46 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bimaapp', '0003_auto_20181026_1212'), ] operations = [ migrations.AlterField(...
[ "you@example.com" ]
you@example.com
e9db7f9773ebdb8a5fe09a6308512a8b9017a922
1bddfdf465b71a6a4b662ee2600aebc53115a558
/integrationtest/vm/installation/test_zstack_installation_on_centos7.py
8dfeef9fa3ac2444c8b4ded22e1aee530925407f
[ "Apache-2.0" ]
permissive
shaohan0228/zstack-woodpecker
169ffa042ede442e19f2ecb34b255b35948e49de
ac36ae033cc521e2f877763de3ff55e4762e3ae0
refs/heads/master
2021-12-04T13:33:02.607641
2015-04-05T20:31:19
2015-04-05T20:31:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,110
py
''' @author: Youyk ''' import os import tempfile import subprocess import time import uuid import zstacklib.utils.ssh as ssh import zstackwoodpecker.test_util as test_util import zstackwoodpecker.test_lib as test_lib import zstackwoodpecker.test_state as test_state import zstackwoodpecker.operations.resou...
[ "xing5820@gmail.com" ]
xing5820@gmail.com
84ff7b7427edf30ddcbc14443f93726d99e51263
04c25f2f8fcb7681c3ad422a9667a4409e5b6fb9
/Components/New Tab with Orphaned Components.py
3a92659f3fb5bed023582cd6759243289126918b
[ "Apache-2.0" ]
permissive
NaN-xyz/Glyphs-Scripts
d2b31f89f6abc63b875b0d16e7a8def5bf714daa
bdacf455babc72e0801d8d8db5dc10f8e88aa37b
refs/heads/master
2020-11-25T21:45:19.573232
2019-12-18T11:56:54
2019-12-18T11:56:54
228,859,288
1
0
Apache-2.0
2019-12-18T14:38:54
2019-12-18T14:38:53
null
UTF-8
Python
false
false
1,372
py
#MenuTitle: New Tab with Orphaned Components # -*- coding: utf-8 -*- from __future__ import division, print_function, unicode_literals __doc__=""" Opens a new tab in the current font window containing all glyphs (of the current master) that have components that point to non-existent glyphs, i.e., no base glyphs. """ t...
[ "res@glyphsapp.com" ]
res@glyphsapp.com
aba6f965f5d13f3acc0aab3c9b22b38cbe7cddc9
dacdebab897f9287f37a2e85c5705a926ddd36aa
/tests/linting/singularity/positive.smk
0b6d741a07359e32402030d4870b1db0a0114979
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
snakemake/snakemake
5d4528193d87786d7b372ca7653ece302ff46965
27b224ed12448df8aebc7d1ff8f25e3bf7622232
refs/heads/main
2023-09-02T08:37:04.323976
2023-08-11T10:02:34
2023-08-11T10:02:34
212,840,200
1,941
536
MIT
2023-09-11T09:51:44
2019-10-04T14:58:11
HTML
UTF-8
Python
false
false
177
smk
rule a: input: "test.in" output: "test.out" log: "logs/a.log" container: "docker://bash" shell: "cp {input} {output}"
[ "noreply@github.com" ]
snakemake.noreply@github.com
8db392c48a092d23addd080abb4b0a649972d0a3
f67a037b95865e6b26d15b33ffd25f22e136bbca
/back_end/dashboard/visual/migrations/0002_auto_20210306_0749.py
a6458dbde4845657c421ce653630812f523d9d54
[]
no_license
mdwazed/value_works
202e2e531f1d9e1bd672f78801ed379861e371f3
f46b415a361fdf39c233d56894178beb8d9d7fcd
refs/heads/main
2023-03-18T17:15:31.318861
2021-03-10T21:20:57
2021-03-10T21:20:57
345,302,191
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
# Generated by Django 3.1.7 on 2021-03-06 07:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('visual', '0001_initial'), ] operations = [ migrations.AlterField( model_name='marketing', name='social_media_followe...
[ "mdwazed@gmail.com" ]
mdwazed@gmail.com
4a5734e62f5b43ab5f1c4b2cbd8ffcd0494e4712
e0980f704a573894350e285f66f4cf390837238e
/.history/streams/blocks_20201029154741.py
0ff7fcc8326fe02c0ac0d5f833f7bcdfd781033b
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
4,085
py
from django import forms from wagtail.core import blocks from wagtail.images.blocks import ImageChooserBlock from wagtail.contrib.table_block.blocks import TableBlock #Walidacja problemu from django.core.exceptions import ValidationError from django.form.utils import ErrorList class TitleBlock(blocks.StructBlock): ...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
86d64c7699ff3156526046540c529c1ef2b6d209
c9cf1c1e34907952aea74a5f2c548de653c325ab
/substanced/evolution/tests.py
0761a9d0a2935da74d302c98679b6ed894857f97
[ "BSD-3-Clause-Modification" ]
permissive
dextermilo/substanced
9c02f35aa3265b08699a8f63e33f057fdee8570e
dde61c10b6c89cc0a9e217414be89b3ebafea49f
refs/heads/master
2021-01-20T15:50:59.354739
2012-09-13T23:05:41
2012-09-13T23:05:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
import unittest from pyramid import testing class Test_add_evolution_package(unittest.TestCase): def _callFUT(self, config, package_name): from . import add_evolution_package return add_evolution_package(config, package_name) def test_it(self): from repoze.evolution import ZODBEvolutio...
[ "chrism@plope.com" ]
chrism@plope.com
31412a4863c98a436a937e0b55b218a7a4ae21a6
317ac62940ad954d97cc7123c48cd3beaf6176c1
/wincstar/urls.py
5da93e1e3538d3af703720501ecb474392e5784d
[]
no_license
kennethreitz-archive/winchestar
dbc3fc4427b401eb23d9f89f69aaacc0888e3ac2
3b8bef46ab5ff06ca9bb41fd671f633db8d95a13
refs/heads/master
2023-08-16T03:50:48.981128
2011-02-23T02:06:19
2011-02-23T02:06:19
945,936
1
0
null
null
null
null
UTF-8
Python
false
false
898
py
from django.conf.urls.defaults import * from ripper.views import LatestArticlesFeed # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Example: # (r'^wincstar/', include('wincstar.foo.urls')), # (r'^wincstar/', include('wincst...
[ "me@kennethreitz.com" ]
me@kennethreitz.com
c95d537fcfc158de0564e887cffa2d6f75698375
31175432b0573ac462ec17e950db09b026e1960b
/EventSystem/events/migrations/0001_initial.py
b15c984cb50ed961cfd927dfa0531db332bbc81e
[]
no_license
Rositsazz/EventSystem
735fb1fa7cff583fe3747e4f42bb6b4f0f849e57
a5f4d77a946ba4bf705b01eb2d8c087b0cd68c5c
refs/heads/master
2021-01-01T06:40:31.139468
2017-10-10T21:33:44
2017-10-10T21:33:44
97,480,394
0
0
null
2017-07-24T12:02:57
2017-07-17T13:38:02
Python
UTF-8
Python
false
false
2,237
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-07-19 12:21 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
[ "ross_zz@mail.bg" ]
ross_zz@mail.bg
576bbc430d75989ad6ccbd9174c61acf20cb08bc
d2302f8cb7bb64e0b99d73ace505ca5ec2accb88
/webSys/dbweb/util/get_backtest_result.py
345eba0567c6260eb9d6b3ab120254716798881c
[ "Apache-2.0" ]
permissive
Qiumy/FIF
7eec3ea7ed12bcc41f0dbbd85737f9ec0197e49b
8c9c58504ecab510dc0a96944f0031a3fd513d74
refs/heads/master
2021-05-05T05:24:53.745948
2018-01-24T03:05:01
2018-01-24T03:05:01
118,703,258
2
1
null
null
null
null
UTF-8
Python
false
false
1,346
py
#! /usr/bin/env python # -*- coding: utf-8 -*- from flask import current_app import pickle as pkl import numpy as np def get_max_dd_ddd(xs): index = xs.index xs = xs.values ans = {} max_dd_end = np.argmax(np.maximum.accumulate(xs) / xs) if max_dd_end == 0: max_dd_end = len(xs) -1 max...
[ "1415456511@qq.com" ]
1415456511@qq.com
ef268c043a2626a24af6c9504966db5931bfd103
930c207e245c320b108e9699bbbb036260a36d6a
/BRICK-RDFAlchemy/generatedCode/brick/brickschema/org/schema/_1_0_2/Brick/Lowest_Exhaust_Air_Static_Pressure_Sensor.py
1b8085b7bfad5cea5ce96ff5a18ddb5e6142384d
[]
no_license
InnovationSE/BRICK-Generated-By-OLGA
24d278f543471e1ce622f5f45d9e305790181fff
7874dfa450a8a2b6a6f9927c0f91f9c7d2abd4d2
refs/heads/master
2021-07-01T14:13:11.302860
2017-09-21T12:44:17
2017-09-21T12:44:17
104,251,784
1
0
null
null
null
null
UTF-8
Python
false
false
488
py
from rdflib import Namespace, Graph, Literal, RDF, URIRef from rdfalchemy.rdfSubject import rdfSubject from rdfalchemy import rdfSingle, rdfMultiple, rdfList from brick.brickschema.org.schema._1_0_2.Brick.Exhaust_Air_Static_Pressure_Sensor import Exhaust_Air_Static_Pressure_Sensor class Lowest_Exhaust_Air_Static_Pre...
[ "Andre.Ponnouradjane@non.schneider-electric.com" ]
Andre.Ponnouradjane@non.schneider-electric.com
8fcf31e2caef4084489af3f62da113a417dc485b
24a291e5eb298b7c2b4f1105d789ac488457b59c
/Python_Pandas_Basics/Pandas05_07_DataFilterDoit02Tail_김민교.py
a184e6d06b0b4940f6c1c18494cc5fa8d19acdd8
[]
no_license
gmrdns03/Python-Introductory-Course_Minkyo
da3afff502ed44f178d5b3885fbb1b01249ad1de
ef0d4e16aee3dba6a4a10c422ef68b1465745833
refs/heads/main
2023-05-29T16:08:31.814542
2021-06-23T13:32:14
2021-06-23T13:32:14
379,300,979
1
0
null
null
null
null
UTF-8
Python
false
false
404
py
# coding: utf-8 # In[1]: import pandas as pd # In[2]: df = pd.read_csv('./../data/gapminder.tsv', sep = '\t') # In[4]: number_of_rows = df.shape[0] print(number_of_rows, "\n\n") last_row_index = number_of_rows - 1 print(df.loc[last_row_index]) # In[5]: print(df.loc[len(df)-1]) # In[6]: print(df.ta...
[ "noreply@github.com" ]
gmrdns03.noreply@github.com
2d25f19511b3b0eaf0f668dc862f3a761b6a0ee7
df71cc174ec445af35c230a4cfa48949dfdc66ed
/warehouse/routes.py
fb689b39d5983115b470b15ee78f101b0e5abbec
[ "Apache-2.0" ]
permissive
vladimir-v-diaz/warehouse
e8f60c972cb0bb5678e3e60e6b9c872791632a81
3548a62e858f21274a98265bcee2709de84cf40a
refs/heads/master
2021-01-14T13:21:05.863959
2015-04-14T22:08:56
2015-04-14T22:08:56
33,875,992
0
0
null
2015-04-13T15:16:05
2015-04-13T15:16:04
Python
UTF-8
Python
false
false
2,252
py
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the Li...
[ "donald@stufft.io" ]
donald@stufft.io
4c4e64f3ab3b447b5ebf597d971f7ccb10853bb6
24e7e0dfaaeaca8f911b40fcc2937342a0f278fd
/venv/Lib/site-packages/pygments/lexers/rust.py
6a28a88083ade0d57a7d2500ca4a5a482776b417
[ "MIT" ]
permissive
BimiLevi/Covid19
90e234c639192d62bb87364ef96d6a46d8268fa0
5f07a9a4609383c02597373d76d6b6485d47936e
refs/heads/master
2023-08-04T13:13:44.480700
2023-08-01T08:36:36
2023-08-01T08:36:36
288,455,446
1
0
MIT
2021-01-22T19:36:26
2020-08-18T12:53:43
HTML
UTF-8
Python
false
false
7,983
py
# -*- coding: utf-8 -*- """ pygments.lexers.rust ~~~~~~~~~~~~~~~~~~~~ Lexers for the Rust language. :copyright: Copyright 2006-2020 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ from pygments.lexer import RegexLexer, include, bygroups, words, default from pygments...
[ "50989568+BimiLevi@users.noreply.github.com" ]
50989568+BimiLevi@users.noreply.github.com
63ac8ad6d0604f51c89897f9c59a72a7c7743ee5
0ad2458c85ce545b1d3a4b75dabe2c94ed8c2518
/unsupervised_learning/0x03-hyperparameter_tuning/6-bayes_opt.py
0060fa69fc5503cf8de63c50f543db6d7d37d819
[]
no_license
felipeserna/holbertonschool-machine_learning
fc82eda9ee4cb8765ad0ffb5fa923407b200480d
161e33b23d398d7d01ad0d7740b78dda3f27e787
refs/heads/master
2023-07-06T20:26:12.892875
2021-08-17T17:03:30
2021-08-17T17:03:30
317,288,341
0
1
null
null
null
null
UTF-8
Python
false
false
2,100
py
#!/usr/bin/env python3 """ Trains a CNN to classify the CIFAR 10 dataset. Optimizes an ML model of your choice using GPyOpt. """ import tensorflow.keras as K from GPyOpt.methods import BayesianOptimization def preprocess_data(X, Y): """ Returns: X_p, Y_p """ # Preprocessing needed in each Keras Appli...
[ "feserna86@gmail.com" ]
feserna86@gmail.com
f9435c02e74b96610e79f31e6ea76f41f45b2c62
19d6bddc562b8cc3c7a6e67465f7601c74979e05
/results/190903/failed/deterministic-super-tight-big-novmax.py
d2804ed01d3b14906137b6c8649ae6a2f93d0301
[]
no_license
SuReLI/llrl
3bca1d1c755e5c59a5d242c18df997ed17f546d0
5f581cdded3cdecf69a8af76dc624494d82a4034
refs/heads/master
2023-01-08T04:04:28.358563
2020-11-06T10:27:33
2020-11-06T10:27:33
169,303,041
9
3
null
null
null
null
UTF-8
Python
false
false
3,476
py
""" Lifelong RL experiment in constant transition function setting """ import numpy as np from llrl.agents.rmax import RMax from llrl.agents.lrmax import LRMax from llrl.agents.maxqinit import MaxQInit from llrl.agents.lrmaxqinit import LRMaxQInit from llrl.utils.env_handler import make_env_distribution from llrl.exp...
[ "erwan.lc2@gmail.com" ]
erwan.lc2@gmail.com
27d2dd60953610f6b4aae55573fdfa50e6ed8b50
455f68f778063b003ee8cb1dc4c40191276423a4
/github/tests/IssueComment.py
59741fbc64ad3167ebb31a9be9e31a2928e53f30
[ "MIT" ]
permissive
iModels/ffci
6dd02c3949e2063247e05af206fcf44f49825913
b8a0e35bae387bc9aac759bffc4fd310d0339342
refs/heads/master
2021-01-10T10:13:52.724862
2016-04-26T19:33:01
2016-04-26T19:33:01
54,229,819
1
3
null
null
null
null
UTF-8
Python
false
false
2,997
py
# -*- coding: utf-8 -*- # ########################## Copyrights and license ############################ # # # Copyright 2012 Vincent Jacques <vincent@vincent-jacques.net> # # Copyright 2012 Zearin <zearin@gonk.net> ...
[ "tengyuma10717@gmail.com" ]
tengyuma10717@gmail.com
d5c373e7a555a36c6f00cbc6ab0417d8cf6b2fce
b9e6b97149c1e268a730833f7559e5814e745b24
/ugandatowns/apps/core/virtualhostmiddleware.py
7e56fc8a360d1994381fd04c5a21b8746c50ed9e
[]
no_license
amosbaranes/ugandatowns
9ab597ce286a84b569b9de4c7c57062fb3b8f656
c8fd095100f5e7d0de7f936c9383a842593f56d4
refs/heads/master
2023-02-27T09:52:52.136091
2021-02-03T06:23:54
2021-02-03T06:23:54
335,282,087
0
0
null
null
null
null
UTF-8
Python
false
false
917
py
class VirtualHostMiddleware: virtual_hosts = { "www.drbaranes.com": "academycity.drbaranes_com_urls", "drbaranes.com": "academycity.drbaranes_com_urls", "www.ugandatowns.com": "academycity.ugandatowns_com_urls", "ugandatowns.com": "academycity.ugandatowns_com_urls", "academyc...
[ "amos@drbaranes.com" ]
amos@drbaranes.com
e99a70dc5ce30c1fe1969033b4946d1d3f95a7c5
9d454ae0d5dd1d7e96e904ced80ca502019bb659
/386_lexicalOrder.py
a20075b7364ec44abd653b53a45ae6354a6651bb
[]
no_license
zzz686970/leetcode-2018
dad2c3db3b6360662a90ea709e58d7facec5c797
16e4343922041929bc3021e152093425066620bb
refs/heads/master
2021-08-18T08:11:10.153394
2021-07-22T15:58:52
2021-07-22T15:58:52
135,581,395
3
0
null
null
null
null
UTF-8
Python
false
false
744
py
def lexicalOrder(n): ## O(n) space and O(nlog(n)) time # if not n: return ['0'] # nums = list(map(str, range(1, n+1))) # nums.sort() # return [int(x) for x in nums ] ## O(n) time O(1) space ans = [1] ## len(ans) < n while len(ans) < n: next_number = ans[-1] * 10 ## while ## if the number is greater t...
[ "1564256031@qq.com" ]
1564256031@qq.com
21762b5f67b7e9fcf74939404d034234d67b3869
37d42bf76b9d063a92450d8f1929728e29d99aef
/test_calculator.py
4e2f9bf3531f55a6ba6275fb743ca5da6b924e9a
[]
no_license
iniej/calculator_in_python
e190d5409d8316b6b3f7f853099942798f8b0060
5daa32599c77d6eb453432fc075d8b833df8e094
refs/heads/master
2020-03-31T14:44:45.262987
2018-10-09T19:19:19
2018-10-09T19:19:19
152,307,573
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
import unittest import ui class TestCalculator(unittest.TestCase): def test_calculator_addition(self): # Test addition function with some data. self.assertEqual(7, ui.addition(2,5)) self.assertEqual(40, ui.addition(15,25)) def test_calculator_substraction(self): # Test addi...
[ "you@example.com" ]
you@example.com
66f1e0b3841d7933492ba7dc05af9b46ebe6c335
fe3ecb9b1ddd8de17b8cc93209134f86cd9c4a6f
/4_Python_ML/chap02_Matplot/lecture/step03_multi_line.py
68d2dcf210ed80f275dea50aef8a9b302e5a9a6d
[]
no_license
nsh92/Bigdata-and-Machine-Learning-Education-at-ITWILL
d1a7292ee4865a3d0c664dd6ecf3afc0d6325847
3cb5661001597499178a2c85f4ccf70dcf0855d6
refs/heads/master
2022-11-21T23:10:51.421708
2020-07-23T12:49:11
2020-07-23T12:49:11
275,540,204
0
0
null
null
null
null
UTF-8
Python
false
false
883
py
# -*- coding: utf-8 -*- """ marker, color, line style, label """ import matplotlib.pyplot as plt import numpy as np plt.style.use('ggplot') # 차트 격자 제공 # data 생성 data1 = 0.5 + 0.1 * np.random.randn(100) data2 = 0.7 + 0.2 * np.random.randn(100) data3 = 0.9 + 0.1 * np.random.randn(100) data4 = 0.3 + 0.3 * np.random.randn...
[ "totols1092@gmail.com" ]
totols1092@gmail.com
c473acc91b9de5b2cf3fd8aa4b64023e0668c416
9d00fb8ead6eee1485bfdda98e8eb79dcd72334b
/main/migrations/0001_initial.py
a8a5c99127624d57527fe0960939a2c127eafa64
[]
no_license
Servir-Mekong/landcoverPortal
02101e2c29e5349d3dc4498eca3de9972ba35361
cb3ea19dfe749c26aa0846347fdac15ffb09983d
refs/heads/develop
2023-08-04T11:53:11.929436
2021-01-11T04:21:48
2021-01-11T04:21:48
79,327,925
5
10
null
2022-11-22T01:53:50
2017-01-18T10:10:54
JavaScript
UTF-8
Python
false
false
2,582
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.17 on 2019-06-28 09:37 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Cre...
[ "bionicbiplov45@gmail.com" ]
bionicbiplov45@gmail.com
bbba114c15c848c7f7f2aca3c6994093541c9cee
5dfc6633d7df6dad8bbafa7edf0ca70482cf765d
/docs/conf.py
c4c5b4bce7aa12b8d97b1845442955ed11e9c261
[ "BSD-2-Clause" ]
permissive
jonathansick/delphinus
e9ea31971bcba29ae4dfce3063757118a900a4c2
0df2e53da28c12c207aadae9433f9da745d88dc4
refs/heads/master
2021-01-19T17:10:36.118824
2015-03-14T18:06:12
2015-03-14T18:06:12
9,681,780
0
1
null
2013-07-18T04:32:49
2013-04-25T21:27:43
Python
UTF-8
Python
false
false
5,319
py
# -*- coding: utf-8 -*- # Licensed under a 3-clause BSD style license - see LICENSE.rst # # Astropy documentation build configuration file. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this file. # # All configurati...
[ "jonathansick@mac.com" ]
jonathansick@mac.com
44c12582cccdd2e60d9877737943c729770782a8
9875dfce571669d8ce3f6523651dc8e1ebf661d4
/apps/appbuy/admin.py
ffe652fc203b2456fbeceba6d8be8fb5fe1575dd
[ "MIT" ]
permissive
AppforallHQ/users
a80c0a08e3d660aed21af744383c3d42288c58c5
bb5f393ef3966dbde019a1a07f244b71a342a7ac
refs/heads/master
2020-06-30T20:17:37.641107
2016-11-21T10:53:52
2016-11-21T12:57:38
74,354,420
0
0
null
null
null
null
UTF-8
Python
false
false
963
py
# -*- coding: utf-8 -*- from django.contrib import admin from .models import BoughtApp, BlackList, AccountBalance from .views import capp def resend_order(modeladmin, request, queryset): for q in queryset: args = [str(i) for i in [q.id, q.itunes_id, q.user.id, q.apple_id]] capp.send_task('apple.ta...
[ "hi@appforall.ir" ]
hi@appforall.ir
577b561389d5368c0b7d160908bafc70f2743012
429a8441bb9730dcf0e33fedcb5f3672a731b3e7
/xero_python/assets/models/resource_validation_errors_element.py
17a96a192045c724247c4c7e596f8a962ac5d944
[ "MIT" ]
permissive
gregsteelxinja/xero-python
1a26ec3b05ea156dd6848f2ec313c72e9f39b0e2
d0473ba91099de3464b3dffa377df5a11ad95afc
refs/heads/master
2022-12-16T10:54:11.424971
2020-09-01T01:00:23
2020-09-01T01:00:23
291,526,551
0
0
null
2020-08-30T18:16:48
2020-08-30T18:16:48
null
UTF-8
Python
false
false
5,414
py
# coding: utf-8 """ Xero Assets API This is the Xero Assets API # noqa: E501 OpenAPI spec version: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech """ import re # noqa: F401 from xero_python.models import BaseModel class ResourceValidationErrorsElement(BaseModel):...
[ "sid.maestre@gmail.com" ]
sid.maestre@gmail.com
20673ce7f2604c5349518c37f3bfeccf350e3e77
b50b3cd61ff751c01c7d8e144cc1a9f898688ceb
/script/upload-checksums.py
4c1cfe9e87797a95cf965eebc5a5efb80f2573bd
[ "MIT" ]
permissive
meseven/electron
1f961d13f662312e00676ebeca9eb23df21821f9
96c886a8f03f796a73769344c0d72a2385191fe7
refs/heads/master
2021-01-15T10:41:02.700597
2015-04-17T07:53:46
2015-04-17T07:53:46
34,181,042
2
0
null
2015-04-18T20:12:15
2015-04-18T20:12:15
null
UTF-8
Python
false
false
1,688
py
#!/usr/bin/env python import argparse import hashlib import os import tempfile from lib.config import s3_config from lib.util import download, rm_rf, s3put DIST_URL = 'https://atom.io/download/atom-shell/' def main(): args = parse_args() url = DIST_URL + args.version + '/' directory, files = download_files...
[ "zcbenz@gmail.com" ]
zcbenz@gmail.com
2bf30f9c3a4ed42cd1b4f197a99afecc7034f7fd
6f044a0541ddf467bb6251645c3d8107df5f5756
/activities/migrations/0018_auto_20160913_0022.py
03bab8dcc42ae4a28a4df53bcbe68971b7019b0f
[]
no_license
tpvt99/new-social-network-backend
04ae9f0551c09eceb5fd6b4bcf50430243e53199
a18d6279a27ba0ce3af1f5d6e985b4b147a4233a
refs/heads/master
2021-09-04T01:50:43.430961
2018-01-14T08:59:41
2018-01-14T08:59:41
117,415,992
1
0
null
null
null
null
UTF-8
Python
false
false
1,132
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-09-13 00:22 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('activities', '0017_auto_20160911_1334'), ] operations = [ migrations.RemoveFi...
[ "tranphong96.hbk@gmail.com" ]
tranphong96.hbk@gmail.com
a7113a29bcd1d45ff3ef40094228e78b5b0ccd22
07bd6d166bfe69f62559d51476ac724c380f932b
/devel/lib/python2.7/dist-packages/webots_ros/srv/_robot_wait_for_user_input_event.py
7218439720ae5757e30f6423567981d999f14a9c
[]
no_license
Dangko/webots_differential_car
0efa45e1d729a14839e6e318da64c7f8398edd17
188fe93c2fb8d2e681b617df78b93dcdf52e09a9
refs/heads/master
2023-06-02T16:40:58.472884
2021-06-14T09:19:58
2021-06-14T09:19:58
376,771,194
1
0
null
null
null
null
UTF-8
Python
false
false
8,054
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from webots_ros/robot_wait_for_user_input_eventRequest.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class robot_wait_for_user_input_eventRequest(genpy.Me...
[ "1477055603@qq.com" ]
1477055603@qq.com
b8ad74e61c69c8e27a8295cee37ebef4248b0819
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03673/s269181159.py
8434246d2b17eac51829599513ba667d4d073d6e
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
import sys def input(): return sys.stdin.readline().strip() def I(): return int(input()) def LI(): return list(map(int, input().split())) def IR(n): return [I() for i in range(n)] def LIR(n): return [LI() for i in range(n)] def SR(n): return [S() for i in range(n)] def S(): return input() def LS(): return input().spl...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8d9cfca9c453f14c40ab960f5f8210ea120d2b52
a1e6c25d701eacb0dd893802f7d3db316768dbc4
/featureExtrator/DecisionTreeModelParamAuto.py
b914a3a0f4743f6b2899dc1005f6938337b84ece
[]
no_license
zhengchengyy/BBDataProcessing
c04f5053266881116f1ab764041f7fd4901561ab
5d4f98e4b4b7d7e98db2677d00b618d2bb6a74c8
refs/heads/master
2021-07-20T22:31:28.894304
2020-05-17T14:04:30
2020-05-17T14:04:30
165,455,028
2
0
null
null
null
null
UTF-8
Python
false
false
3,648
py
from sklearn.tree import DecisionTreeClassifier import numpy as np ndevices = 5 start = 1 end = ndevices iter_times = 1000 def searchParam(device_no, iter_times): # ————导入数据———— feature_matrix = np.load('feature_matrixs/feature_matrix_bed' + str(device_no) + '.npy') label_matrix = np.load('fea...
[ "zhengchengyy@qq.com" ]
zhengchengyy@qq.com
10793f27387164905ae619e6dd7551a64a7da9e2
7614475d1783a344ac26860b57b718025296d70a
/deckhand/tests/unit/engine/test_document_layering_negative.py
654918668e0762c69c97bd4b289f3318396348a7
[ "Apache-2.0" ]
permissive
fmontei/deckhand
aba72a9fb78edb765fccb9062dfdf18ab8952454
c729cd930dbef7f07aa1b4ecf3ff45c628dcb039
refs/heads/master
2021-01-16T19:07:35.856061
2017-10-27T18:05:04
2017-10-27T18:21:03
100,139,757
0
0
null
2017-08-12T21:57:15
2017-08-12T21:57:15
null
UTF-8
Python
false
false
7,821
py
# Copyright 2017 AT&T Intellectual Property. All other rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
[ "felipe.monteiro@att.com" ]
felipe.monteiro@att.com
0ae14ef09426dd47721c25b4f905a998d665f8fd
74997050637d001d6881d172ef95a2ddd95b6cb7
/addons/script.module.placenta/lib/resources/lib/sources/en/123movies.py
01e2ef75173bf64d60012407dd92b38fec36f752
[ "Beerware" ]
permissive
bopopescu/kodi-android
f1b63bd67abbbdf600ad7c92c15fafb8760c2c20
1abbc03c00174603e143437dddbee921f086a1f2
refs/heads/master
2022-03-25T05:16:12.425483
2019-12-27T02:50:23
2019-12-27T02:50:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,809
py
# -*- coding: UTF-8 -*- ####################################################################### # ---------------------------------------------------------------------------- # "THE BEER-WARE LICENSE" (Revision 42): # @Daddy_Blamo wrote this file. As long as you retain this notice you # can do whatever you wa...
[ "macinnisrr@gmail.com" ]
macinnisrr@gmail.com
891b9838205f0453134311649e8961bf6b0f8653
6e4e6b64c035881f1cff39db616b0a80e1568c51
/ABC100/q1.py
0185deb8e226bc5442b31a4ddf4a7ec0f936f5a0
[]
no_license
Lischero/Atcoder
f7471a85ee553e3ae791e3e5670468aea1fa53cc
f674d6a20a56eebdafa6d50d5d2d0f4030e5eace
refs/heads/master
2020-05-21T16:23:36.095929
2018-10-18T04:27:55
2018-10-18T04:27:55
60,671,810
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
# -*- coding:utf-8 -*- if __name__ == "__main__": a, b = map(int, input().split()) if a <= 8 and b <= 8: print("Yay!") else: print(":(")
[ "vermouth.lischero@gmail.com" ]
vermouth.lischero@gmail.com
53861ec465cd9bc7a596f4ca407e307f02ab5ba2
6f05f7d5a67b6bb87956a22b988067ec772ba966
/data/test/python/a7f375bdb2e3894ffd9841559c87bd2a621bf7f0urls.py
a7f375bdb2e3894ffd9841559c87bd2a621bf7f0
[ "MIT" ]
permissive
harshp8l/deep-learning-lang-detection
93b6d24a38081597c610ecf9b1f3b92c7d669be5
2a54293181c1c2b1a2b840ddee4d4d80177efb33
refs/heads/master
2020-04-07T18:07:00.697994
2018-11-29T23:21:23
2018-11-29T23:21:23
158,597,498
0
0
MIT
2018-11-21T19:36:42
2018-11-21T19:36:41
null
UTF-8
Python
false
false
622
py
from django.conf.urls import patterns, include, url from django.contrib import admin from tastypie.api import Api from ricotta.api import UserResource, LocationResource, ShiftResource, PlannerBlockResource v1_api = Api(api_name = 'v1') v1_api.register(UserResource()) v1_api.register(LocationResource()) v1_api.register...
[ "aliostad+github@gmail.com" ]
aliostad+github@gmail.com
6d5a2e30780ff63f7833c392e51558bf5d7c25cc
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/scattergeo/marker/line/_reversescale.py
8eddeec0997997a1bcadc00a0fd07304663f7301
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
441
py
import _plotly_utils.basevalidators class ReversescaleValidator(_plotly_utils.basevalidators.BooleanValidator): def __init__( self, plotly_name="reversescale", parent_name="scattergeo.marker.line", **kwargs ): super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, ...
[ "noreply@github.com" ]
hugovk.noreply@github.com
b88ea291f1e9f76462f724a7f8830a163c6ba644
8734caf837ccc831b877ae10d45dff97ae435816
/05.OBJECTS_AND_CLASSES/07. Websites.py
a65279895ab5cab0d2e05e937f37f76855ba86b4
[]
no_license
VLD62/PythonFundamentals
e86dd4f635a5862bdfaad2c24d5b22985ab25e0f
914b541a71941efbf2c78ed1dfc49b6b9b850bb5
refs/heads/master
2020-06-03T19:36:26.244234
2019-08-17T14:57:22
2019-08-17T14:57:22
191,704,231
0
1
null
null
null
null
UTF-8
Python
false
false
928
py
class Website: def __init__(self, host, domain, queries=None): self.host = host self.domain = domain self.queries = queries if __name__ == '__main__': input_string = input() website_list = [] while not input_string == 'end': data_list = input_string.sp...
[ "viliev2@dxc.com" ]
viliev2@dxc.com
0a489a8f8bdc2db7f23b8e9f4fd0dc79dd90f38a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02412/s693660569.py
cd5b70335a606d84afefec74b89211e04330b095
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
dataNum = 0 combNum = [0] * 100 while True: n,x=map(int, input().split()) if n is x is 0: break else: for a in range(1,n-1): for b in range(a+1,n): for c in range(b+1,n+1): calcResult = a + b + c if calcResult == x: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
61336563d0438c6f2814c00187a5b0fd150ec382
7f0548b7191b7589712af19baebafddae1d0505f
/dojoassignments/python/mysql_and_flask/the_wall/server.py
53e7983ad68700ea1b34575a45cd604b1e3fb4aa
[]
no_license
mtjhartley/codingdojo
dd8eab1bd61fb847e44766e89fe3db2340468102
65dc558d19adbe62f85ad61c32cb1c392b56567c
refs/heads/master
2022-12-14T23:06:11.927445
2017-08-16T21:08:35
2017-08-16T21:08:35
92,218,728
1
5
null
2022-12-07T23:59:48
2017-05-23T20:46:03
Python
UTF-8
Python
false
false
6,315
py
from flask import Flask, request, redirect, render_template, session, flash from mysqlconnection import MySQLConnector import re import os, binascii import md5 app = Flask(__name__) app.secret_key="ABC" mysql = MySQLConnector(app,'mydb') EMAIL_REGEX = re.compile(r'^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9._-]+\.[a-zA-Z]+$') @ap...
[ "mtjhartley@gmail.com" ]
mtjhartley@gmail.com
5ab31110ddc925d70ad242e1e44a7dd356c7018b
cec1964d021dce6c3d6d96f6f5d82cc47dc2bd32
/hydra_trax.py
93aa0364fd762dc6f6c269c2fb018c3d6d964203
[]
no_license
florisvb/hydra
10592e634941fe4da0f9153ec24f2b8aeb5b27e0
0e75635a231b434764048e5c78b1a879d161cf51
refs/heads/master
2016-09-09T20:12:19.514681
2010-07-05T19:39:15
2010-07-05T19:39:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,774
py
# need to active virtual environment! # ~/PY/bin/activate import flydra_for_hydra_trax as ffh import flydra.common_variables import flydra.kalman.data_packets as data_packets import Pyro.core import numpy as np import time import threading import socket import flydra import Pyro import hydra_cal import hydra_motors_s...
[ "florisvb@gmail.com" ]
florisvb@gmail.com
2173c729485825b6c7be205513f76f91fce59231
a9f676c06bacee1f8b27e08d3c411c89a69cfd40
/falmer/links/urls.py
42367579a1dae78dea55951533f7c383cf01b8ee
[ "MIT" ]
permissive
sussexstudent/falmer
1b877c3ac75a0477f155ce1a9dee93a5ada686d6
ae735bd9d6177002c3d986e5c19a78102233308f
refs/heads/master
2022-12-11T19:40:12.232488
2020-03-20T13:01:47
2020-03-20T13:01:47
88,043,958
2
3
MIT
2022-12-08T03:17:26
2017-04-12T11:24:02
Python
UTF-8
Python
false
false
141
py
from django.urls import path from .views import LinkRenderer urlpatterns = [ path('<str:model>/<int:pk>/', LinkRenderer.as_view()), ]
[ "james@brudil.com" ]
james@brudil.com
9766588c21962bc96c2dadbeecccce03f7485c3f
8c09764a1258696c51ef9ef9c1c3bdc1b931b00d
/pylons__pyramid_chameleon/docs/conf.py
f043b35e17f6559828506b8e067c45e58b0df5bc
[]
no_license
mindreframer/python-pyramid-stuff
2178c4922adca15b7905bb0916c8f035ca495564
4b9034bdde63ac8dd799ae2050506edd164a96b7
refs/heads/master
2021-01-18T16:09:52.835796
2013-04-09T20:09:44
2013-04-09T20:09:44
9,325,528
2
0
null
null
null
null
UTF-8
Python
false
false
7,659
py
# -*- coding: utf-8 -*- # # pyramid_chameleon documentation build configuration file # # This file is execfile()d with the current directory set to its containing # dir. # # The contents of this file are pickled, so don't put values in the # namespace that aren't pickleable (module imports are okay, they're # removed a...
[ "roman.heinrich@gmail.com" ]
roman.heinrich@gmail.com
932e884ce0918299e60a880c71feca86fa7f6aec
f68afe06e4bbf3d523584852063e767e53441b2b
/Toontown/toontown/hood/GSHoodAI.py
684b58a6295e53b436d4aa4456b4240d664f2d56
[]
no_license
DankMickey/Toontown-Offline-Squirting-Flower-Modded-
eb18908e7a35a5f7fc95871814207858b94e2600
384754c6d97950468bb62ddd8961c564097673a9
refs/heads/master
2021-01-19T17:53:36.591832
2017-01-15T02:00:04
2017-01-15T02:00:04
34,639,744
1
1
null
null
null
null
UTF-8
Python
false
false
7,041
py
from toontown.classicchars import DistributedGoofySpeedwayAI from toontown.dna.DNAParser import DNAGroup, DNAVisGroup, DNAData from toontown.hood import HoodAI from toontown.hood import ZoneUtil from toontown.racing import RaceGlobals from toontown.racing.DistributedRacePadAI import DistributedRacePadAI from toontown.r...
[ "jareddarty96@gmail.com" ]
jareddarty96@gmail.com
bc58a101cc3895bdffee4242f24af9cac6ca3e99
d932c503351da8f9c1cc2508c934bd513a993566
/torch/_linalg_utils.py
2d166e24134f5aefe1d075310762e2106695ec2e
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
zkneupper/pytorch
b5b30f25a604b889b03e3c6276c55e7a94f8add3
1d4d9ffca056ac4b638ae89ffa83f2b5ec9a4ffa
refs/heads/master
2023-05-08T06:18:59.178109
2021-05-11T20:45:01
2021-05-11T20:46:07
365,879,708
0
0
NOASSERTION
2021-05-10T01:12:18
2021-05-10T00:55:03
null
UTF-8
Python
false
false
2,472
py
"""Various linear algebra utility methods for internal use. """ from torch import Tensor import torch from typing import Optional, Tuple def is_sparse(A): """Check if tensor A is a sparse tensor""" if isinstance(A, torch.Tensor): return A.layout == torch.sparse_coo error_str = "expected Tensor...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
0327fd92bf0011df8a4d023935da422e00db4e22
9596b9b19b2ecf99b2a0e3d9e2d48971c7d1a3d6
/1_counting-letters/main.py
9394527f73adfba9bf22590c98f73420941b16bb
[]
no_license
Tanmengxuan/attention-primer
948dd43ae58536e43c0164f965062bdfcabcff46
283f2dcecdc6ef810b3b668a7b14804c97d8fd67
refs/heads/master
2020-06-04T16:00:47.437399
2018-08-21T05:21:21
2018-08-21T05:21:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,009
py
""" Task 1 - Counting Letters Simple implementation of attention and tutorial on queries, keys and values """ import tensorflow as tf import numpy as np import string from absl import flags from absl import app import seaborn import matplotlib.pyplot as plt FLAGS = flags.FLAGS # Commands flags.DEFINE_bool("train", F...
[ "limsweekiat@gmail.com" ]
limsweekiat@gmail.com
a8b0ece7a52995ed2b6276f8382a8bd3ec715af3
8a12fe0f6d1f905bf84e2731227d54c6e6d90702
/users/forms.py
6814f0378e3b9ed0315e73e291e0e95da99ff2f9
[]
no_license
anlaganlag/tutorial
77a508135d40b8ca87ded2c7efd2724b4d155ad0
50525f7a9e8fe0e1b1f8aa937253b312fbcd792d
refs/heads/master
2021-01-08T21:25:09.946440
2020-02-21T15:11:15
2020-02-21T15:11:15
242,147,399
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
from django.contrib.auth.forms import UserCreationForm,UserChangeForm from django import forms from .models import CustomUser class CustomUserCreationForm(UserCreationForm): class Meta: model = CustomUser fields = ('username','email') class CustomUserChangeForm(UserChangeForm): class Meta: ...
[ "tanjhu@163.com" ]
tanjhu@163.com
12599484995420b73251ad4ccb3fc08c70abe963
ef0a82190e21d48571feb1e6168670579bf1d93b
/app/productdb/models.py
565dbbfdb6b8e0b4aecc6318d5e609d0e49155cf
[ "MIT" ]
permissive
Petr2016/product-database
bd1648cb32be2a1f228576b6e7d8a5d320ee9dce
ee2a58c39bc82ffe2fc4b696015868ba77faa32c
refs/heads/master
2021-01-18T11:01:38.711958
2016-06-27T20:36:54
2016-06-27T20:36:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,338
py
from datetime import timedelta import reversion from django.conf import settings from django.core.validators import MinValueValidator from django.db import models from django.db.models.signals import pre_delete from django.dispatch import receiver from django.utils.timezone import datetime # choices for the currency ...
[ "henry@codingnetworker.com" ]
henry@codingnetworker.com
533d9224b7340904769f10e63e5a4fe5b2af62a5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02550/s811930150.py
889d84d5425f18b8745a4664f37d187ba9485d08
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
580
py
# -*- coding: utf-8 -*- n, x, m = map(int, input().split()) a_list = [x] a = x i = 1 while (i<n and i < m+1): a = (a*a) % m a_list.append(a) i += 1 #print(i) #print(a_list) if i == n: ans = sum(a_list) else: b = a_list.index(a) sum1 = sum(a_list[:b+1]) sum2 = sum(a_list[b+1:i]) ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
cb97514bf09ee91a835c6d6781a61218692aae57
1dfcffdd67df144daf7572a9b0ae4da3a43d685e
/projects/cats/tests/EC2.py
eeb54914bc3a8fe16bcc5835551bf3dd124d4dcf
[]
no_license
AllenHongjun/cs61a
95b577875630bbf4dc131cf803812ec2fe7866d8
4a46d5f3ddefaf8b5e364fc5b9b7ca1168b658bd
refs/heads/master
2022-12-17T16:18:31.824555
2020-09-16T19:02:39
2020-09-16T19:02:39
289,314,275
4
0
null
null
null
null
UTF-8
Python
false
false
4,835
py
test = { 'name': 'Problem EC2', 'points': 1, 'suites': [ { 'cases': [ { 'code': r""" >>> key_distance_diff.call_count = 0 >>> key_distance_diff("wird", "word", 4) 0.6834861261734088 >>> key_distance_diff.call_count <= 106 #see if you removed redu...
[ "652971723@163.com" ]
652971723@163.com
2c8a1c8b76f83dbaebf10726b6aa87ec34da0e69
d094ba0c8a9b1217fbf014aa79a283a49aabe88c
/env/lib/python3.6/site-packages/nilearn/connectome/tests/test_group_sparse_cov.py
efae2e0c72c86f0a7dea0f1e1c8faa8a2f0efac0
[ "Apache-2.0" ]
permissive
Raniac/NEURO-LEARN
d9274e0baadd97bb02da54bdfcf6ca091fc1c703
3c3acc55de8ba741e673063378e6cbaf10b64c7a
refs/heads/master
2022-12-25T23:46:54.922237
2020-09-06T03:15:14
2020-09-06T03:15:14
182,013,100
9
2
Apache-2.0
2022-12-09T21:01:00
2019-04-18T03:57:00
CSS
UTF-8
Python
false
false
2,833
py
from nose.tools import assert_equal, assert_true, assert_raises import numpy as np from nilearn._utils.data_gen import generate_group_sparse_gaussian_graphs from nilearn.connectome.group_sparse_cov import (group_sparse_covariance, group_sparse_scores) from nilear...
[ "leibingye@outlook.com" ]
leibingye@outlook.com
39b135836b332a6f3fffb13efbbdcb73c994c1c4
5ce1c0ab1b6147428fc30bcd1698e4d0e53b688e
/147.py
57277db069ff54acba7cb69fa4be76b2fd536b2c
[]
no_license
junyang10734/leetcode-python
035b12df3f7d9fc33553140d1eb0692750b44f0a
eff322f04d22ffbc4f9b10e77f97c28aac5c7004
refs/heads/master
2023-07-22T11:16:38.740863
2023-07-14T00:22:00
2023-07-14T00:22:00
189,197,380
0
0
null
null
null
null
UTF-8
Python
false
false
887
py
# Insertion Sort List # Linked List # https://blog.csdn.net/fuxuemingzhu/article/details/80785630 # runtime: faster than 52.12% # Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def insertionSortL...
[ "junyang2019@outlook.com" ]
junyang2019@outlook.com
51495cbc64bbd39c31d034a588186ce78ea9366e
c52af0fa7a1cec4aeb304a6d9c359e0fda531300
/projects/forms.py
54d3fd4d252f9a1ed14c92b30ebb8108427bfc12
[ "MIT" ]
permissive
wadi-1000/Awwards
0e0a77811ffe1a8b238cf173dd6ff7dad5251bed
5b7cb6e458ce72b5ed42ae9f236e74322f5c3d96
refs/heads/master
2023-08-07T04:21:31.337871
2021-09-21T11:25:39
2021-09-21T11:25:39
407,526,500
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
from .models import Project,Rating from django.forms import ModelForm from django import forms from users.models import Profile class UploadNewProject(forms.ModelForm): class Meta: model=Project exclude=['design_rating', 'usability_rating', 'content_rating', 'average_review', 'profile'] fi...
[ "joy.kiranga@student.moringaschool@gmail.com" ]
joy.kiranga@student.moringaschool@gmail.com
a91070b032c49d53720e8477be3baa8b712775b7
11f00660332b8778a09cad87d861e5b7f4dd12d0
/easy/1470_shuffle_the_array.py
3308b857b79323e606ff21f84d0da606a04652b9
[ "MIT" ]
permissive
niki4/leetcode_py3
b4b1bb8bd62e8dca595386a88825f3bc46a7f3fd
9f66d352c805fcdd9930aaa18c93d7546768287c
refs/heads/master
2022-07-01T17:52:07.166384
2022-06-26T11:01:31
2022-06-26T11:01:31
130,343,105
0
0
null
null
null
null
UTF-8
Python
false
false
1,135
py
""" Given the array nums consisting of 2n elements in the form [x1,x2,...,xn,y1,y2,...,yn]. Return the array in the form [x1,y1,x2,y2,...,xn,yn]. Example 1: Input: nums = [2,5,1,3,4,7], n = 3 Output: [2,3,5,4,1,7] Explanation: Since x1=2, x2=5, x3=1, y1=3, y2=4, y3=7 then the answer is [2,3,5,4,1,7]. Cons...
[ "nikiforr@gmail.com" ]
nikiforr@gmail.com
5058a659f6e4dc1a48c20f38edcd31a2bf106d6a
3fd3da4f11a251cc43d44d1d61ff2ffe5c82a4ce
/dlp/book/chp03/exp2/lgr_engine.py
6e307c04289c466a1b67139e8df65e8dc7c2e6ae
[]
no_license
dumpinfo/TsBook
d95faded917bce3e024e77ff06afd30717ed9ef4
8fadfcd2ebf935cd49784fd27d66b2fd9f307fbd
refs/heads/master
2023-05-27T07:56:24.149421
2019-07-31T20:51:52
2019-07-31T20:51:52
198,481,031
1
3
null
2023-05-22T21:13:31
2019-07-23T17:47:19
Jupyter Notebook
UTF-8
Python
false
false
5,491
py
import sys import numpy as np import argparse import matplotlib.pyplot as plt from skimage import io import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data class Lgr_Engine(object): # 采用习惯用法定义常量 TRAIN_MODE_NEW = 1 TRAIN_MODE_CONTINUE = 2 def __init__(self, datasets_dir)...
[ "twtravel@126.com" ]
twtravel@126.com
1b6633abda8f6241647b674c67f2f43effcf6e68
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/resources/v2022_09_01/_resource_management_client.py
78c46093f660ccc637bdf93cc660e03d54559b91
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
6,359
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
8a67ee7c687543144a61a92a83fe45b0e6e5cf6e
8130c34d546c323d6d5d2ca6b4a67330af08828f
/.history/menu_app/views_20210104163517.py
ed67bdb0daefc707cb835fb862f30af6f17daa73
[]
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
4,074
py
from .models import Cart, CartItem, MenuItem, ItemsCategory, Order, Orders, generate_order_id, Extras 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 fr...
[ "lienus.rob@hotmail.de" ]
lienus.rob@hotmail.de
c647ad69aaad7140f1fedb9b7a3ffe1d2e0cfc13
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AlipayOpenMiniPluginuseconfigUpgradeCancelModel.py
3118ea8237e4729922c09e91e03d17afe994b1f6
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
2,039
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AlipayOpenMiniPluginuseconfigUpgradeCancelModel(object): def __init__(self): self._bundle_id = None self._plugin_dev_version = None self._plugin_id = None @property ...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
46ff6892318a8f620f3f5a4253283571209c1306
244ecfc2017a48c70b74556be8c188e7a4815848
/res/scripts/client/gui/scaleform/genconsts/store_types.py
fd089635ab42147325cfbdd74cf841ef9186c6c0
[]
no_license
webiumsk/WOT-0.9.12
c1e1259411ba1e6c7b02cd6408b731419d3174e5
5be5fd9186f335e7bae88c9761c378ff5fbf5351
refs/heads/master
2021-01-10T01:38:36.523788
2015-11-18T11:33:37
2015-11-18T11:33:37
46,414,438
1
0
null
null
null
null
WINDOWS-1250
Python
false
false
435
py
# 2015.11.18 11:55:31 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/genConsts/STORE_TYPES.py class STORE_TYPES(object): SHOP = 'shop' INVENTORY = 'inventory' # okay decompyling c:\Users\PC\wotsources\files\originals\res\scripts\client\gui\scaleform\genconsts\store_types.pyc # ...
[ "info@webium.sk" ]
info@webium.sk
4baf5c50a2b3b76c1f6eb06176ca93783ae8eb87
920b9cb23d3883dcc93b1682adfee83099fee826
/pipeline/contrib/periodic_task/migrations/0005_merge_20200721_1915.py
dd9b8e04c3328ae58b83bfd74e8fef32005589b9
[ "MIT", "LGPL-2.1-or-later", "LGPL-3.0-only" ]
permissive
TencentBlueKing/bk-itsm
f817fb166248d3059857b57d03e8b5ec1b78ff5b
2d708bd0d869d391456e0fb8d644af3b9f031acf
refs/heads/master
2023-08-31T23:42:32.275836
2023-08-22T08:17:54
2023-08-22T08:17:54
391,839,825
100
86
MIT
2023-09-14T08:24:54
2021-08-02T06:35:16
Python
UTF-8
Python
false
false
351
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.24 on 2020-07-21 19:15 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('periodic_task', '0003_auto_20200212_1554'), ('periodic_task', '0004_auto_20191213_0828'), ...
[ "1758504262@qq.com" ]
1758504262@qq.com
953270f8770e55eef35a29e9e2d9cd7532043179
3b786d3854e830a4b46ee55851ca186becbfa650
/SystemTesting/pylib/vmware/vsphere/vm/vnic/vnic_facade.py
3e8f86aea57fcd931d31e4c7a6ca06c8170a1f71
[]
no_license
Cloudxtreme/MyProject
d81f8d38684333c22084b88141b712c78b140777
5b55817c050b637e2747084290f6206d2e622938
refs/heads/master
2021-05-31T10:26:42.951835
2015-12-10T09:57:04
2015-12-10T09:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
import vmware.common.base_facade as base_facade import vmware.common.constants as constants import vmware.vsphere.vm.vnic.vnic as vnic import vmware.vsphere.vm.vnic.api.vnic_api_client as vnic_api_client class VnicFacade(vnic.Vnic, base_facade.BaseFacade): DEFAULT_EXECUTION_TYPE = constants.ExecutionType.API ...
[ "bpei@vmware.com" ]
bpei@vmware.com
90340784aa83accff596d01938aa9bc70f8cd620
75958745f7fc39a58dd16c69ae724eb99e5c015b
/networker/io/__init__.py
ec666c75737f197f39e1883d75c402d59f115216
[]
no_license
juniorsilver/networker
6fd5cd1ab0f05db0cd790816f76626458c69939e
fc7593e3a8abfea16819fac80c40b9b28b35e176
refs/heads/master
2021-01-21T09:29:29.331558
2015-05-13T21:12:13
2015-05-13T21:12:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,128
py
# -*- coding: utf-8 -*- import ogr import osr import networkx as nx import networker.geomath as gm from networker.classes.geograph import GeoGraph import warnings import os """ Package for reading/writing networkx based GeoGraphs Note: these wrap existing networkx functions for custom behavior """ # TEMPORARY FIX: ...
[ "chris.natali@gmail.com" ]
chris.natali@gmail.com
ea12ee8caa50588efc9407f94edb961a4ff55ef2
3325f16c04ca8e641cbd58e396f983542b793091
/Seção 07 - Coleções Python/Exercícios da Seção/Exercício_14.py
afcb1f6ca938a930471c3ebe3d938afd917f6b6c
[]
no_license
romulovieira777/Programacao_em_Python_Essencial
ac929fbbd6a002bcc689b8d6e54d46177632c169
e81d219db773d562841203ea370bf4f098c4bd21
refs/heads/master
2023-06-11T16:06:36.971113
2021-07-06T20:57:25
2021-07-06T20:57:25
269,442,342
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
""" 14) Faça um programa que leia um vetor de 10 posições e verifique se existem valores iguais e os escreva na tela. """ lista = [] checks = [] for i in range(10): lista.append(int(input("Enter the value: "))) if lista[i] in checks: print(f"The value {lista [i]} already exists in the vector") c...
[ "romulo.vieira777@gmail.com" ]
romulo.vieira777@gmail.com
2dab7e137e8f4ce07a2241870aa8300e2688caa5
62d6a37e1fb1b224b53e14a1cf151ef0571aa20f
/orun/core/paginator.py
b34da7224a42d3c452f339c2b884d3ab4cb4fc02
[]
no_license
katrid/orun
4fa0f291a1ef43f16bc1857a170fc0b2e5e06739
bfc6dae06182124ba75b1f3761d81ba8ca387dea
refs/heads/master
2023-08-30T03:58:34.570527
2023-08-09T04:05:30
2023-08-09T04:05:30
66,562,767
14
4
null
2023-01-06T22:29:37
2016-08-25T14:01:44
Python
UTF-8
Python
false
false
6,192
py
import collections.abc import inspect import warnings from math import ceil from orun.utils.deprecation import RemovedInOrun31Warning from orun.utils.functional import cached_property from orun.utils.inspect import method_has_no_args from orun.utils.translation import gettext_lazy as _ class UnorderedObjectListWarni...
[ "alexandre@katrid.com" ]
alexandre@katrid.com
b7be1bb6ca41c76df7120293824688bb0ad8bff7
a06b3954649799a1021334d24fd149913893f644
/pythonData/pygal_learn/die_visual.py
d756be7100f4f80ae5023407cf9ce0e180603944
[]
no_license
Ggzzhh/python_data_ex
25e1ee9fa67c1f827db6cb8d2ba1736c0f3fedd7
e5006455190d2a09b47b4b00bced82044b45733d
refs/heads/master
2020-12-30T15:30:05.561267
2017-05-13T09:30:48
2017-05-13T09:30:48
91,149,413
0
0
null
null
null
null
UTF-8
Python
false
false
960
py
#!/usr/bin/env python3 # -*- coding:utf-8 -*- import pygal from die import Die # 创建一个D6一个骰子 die_1 = Die() die_2 = Die() die_3 = Die() # 投掷几次骰子 并将结果存储在一个列表中 results = [die_1.roll() + die_2.roll() + die_3.roll() for x in range(50000)] # for roll_num in range(50000): # result = die_1.roll() + die_2.roll() # res...
[ "471992509@qq.com" ]
471992509@qq.com
564d659a7905c56ee291356e4ab6c7b8230bd84f
8ad60ba96e1896eee7242376f6104ca8b2779355
/writeNotes.py
b4696544ea318da45d8acb77f4eb33a75829ff30
[]
no_license
capalmer1013/Music-Gen
00517c0e78012e18bb211f6eccac776b3f5f0639
eede84b6d809f8ef2e59a940c27b09849ad3fb01
refs/heads/master
2021-01-10T12:59:45.373697
2016-09-20T23:15:05
2016-09-20T23:15:05
51,187,074
6
0
null
null
null
null
UTF-8
Python
false
false
3,397
py
from music21 import * import random def adjustNotes(musicStream, noteGraph, noteStates, scaleOfNotes): currentState = 0 firstTime = True firstNone = True previousNote = None for element in musicStream: if type(element) is note.Note: if noteStates[currentState].nextNoteInterval i...
[ "capalmer1013@gmail.com" ]
capalmer1013@gmail.com
35575e57bc432e8efb6cec9918b0df4b24742bd2
9e0105505f4746d5872090885df6064ad772b3e5
/data/__init__.py
2a0ace94d275f89a08d56a36549c691e06380765
[]
no_license
wwwbq/PyTorch_YOLOv1
568afa4f8f508dabd9bcb35404a634985bf4a8ae
2e86c64577e24193b117582c07a4941c2eeba8cc
refs/heads/main
2023-08-08T00:08:42.466820
2021-09-13T06:25:09
2021-09-13T06:25:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,442
py
from .voc0712 import VOCDetection, VOCAnnotationTransform, VOC_CLASSES, VOC_ROOT from .cocodataset import coco_class_index, coco_class_labels, COCODataset, coco_root from .config import * import torch import cv2 import numpy as np def detection_collate(batch): """Custom collate fn for dealing with batches of image...
[ "1394571815@qq.com" ]
1394571815@qq.com
d3f55a32557e033ef38da81b09b7cb4100bed793
75cf6a9fd035883b64ca2309382e0178cf370b43
/Empirical/python/Python-Machine-Learning-Cookbook/Chapter09/operating_on_images.py
624f6bd593a6502d9548724902e41bf76257d6d1
[ "MIT" ]
permissive
ygtfrdes/Program
171b95b9f32a105185a7bf8ec6c8c1ca9d1eda9d
1c1e30230f0df50733b160ca73510c41d777edb9
refs/heads/master
2022-10-08T13:13:17.861152
2019-11-06T04:53:27
2019-11-06T04:53:27
219,560,170
1
2
null
2022-09-30T19:51:17
2019-11-04T17:39:52
HTML
UTF-8
Python
false
false
840
py
#!/usr/bin/python import sys import cv2 import numpy as np # Load and display an image -- 'forest.jpg' input_file = sys.argv[1] img = cv2.imread(input_file) cv2.imshow('Original', img) # Cropping an image h, w = img.shape[:2] start_row, end_row = int(0.21*h), int(0.73*h) start_col, end_col= int(0.37*w), int(0.92*w) ...
[ "githubfortyuds@gmail.com" ]
githubfortyuds@gmail.com
a7a4adefb01c6cb1323e7cdef21c873d7480722b
4b44a299bafbd4ca408ce1c89c9fe4a449632783
/python3/13_OOP/45_Stack_Implementation.py
54e259b309ec4357f1ef7a90f62e146d97ff0e7a
[]
no_license
umunusb1/PythonMaterial
ecd33d32b2de664eaaae5192be7c3f6d6bef1d67
1e0785c55ccb8f5b9df1978e1773365a29479ce0
refs/heads/master
2023-01-23T23:39:35.797800
2020-12-02T19:29:00
2020-12-02T19:29:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
#!/usr/bin/python """ Purpose: Stack Abstract Data Type (ADT) Implementation """ __author__ = 'Udhay Prakash' class Stack(object): def __init__(self): self.items = [] def is_empty(self): return self.items == [] def push(self, item): self.items.append(item) def pop(self): ...
[ "uday3prakash@gmail.com" ]
uday3prakash@gmail.com
edae65986d6a1560729eb48d8220695d8cbc2c46
c8c77f6cc6c032daf179ea2138e4dda5473b426b
/greengrass/connector-splunk-integration-usage.py
6ca2bd9ed2c8f2150e56d40427b78be9c0870c50
[]
no_license
arunmastermind/AWS-examples-using-BOTO3
b411a6c96011ab58a66952a53fa2938cb58d5135
e8390094374c10902bab016a21caba75ea179b5a
refs/heads/master
2020-09-30T13:34:33.657621
2019-12-11T12:37:44
2019-12-11T12:37:44
227,297,211
0
2
null
null
null
null
UTF-8
Python
false
false
584
py
import greengrasssdk import time import json iot_client = greengrasssdk.client('iot-data') send_topic = 'splunk/logs/put' def create_request_with_all_fields(): return { "request": { "event": "Access log test message." }, "id" : "req_123" } def publish_basic_message(): ...
[ "arunmastermind.sci@gmail.com" ]
arunmastermind.sci@gmail.com
54dbb2a8873737736442a128a492910cd1652952
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/bHTb8p5nybCrjFPze_14.py
986430a967f0a35a93008b2621730ca57dff17c3
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
972
py
""" Write a function that, given the start `start_num` and end `end_num` values, return a list containing all the numbers **inclusive** to that range. See examples below. ### Examples inclusive_list(1, 5) ➞ [1, 2, 3, 4, 5] inclusive_list(2, 8) ➞ [2, 3, 4, 5, 6, 7, 8] inclusive_list(10, 20) ➞ ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
6ee7e8d71711d7de51f8b41a2130d42a5b7b2729
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03576/s733417101.py
3b883f7667b43f3b4f02016818ff5c5fb7e59ba4
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,307
py
if __name__ == "__main__": INF = 40 ** 18 + 1 N, K = map(int, input().split()) Point = list() for i in range(N): Point.append(list(map(int, input().split()))) # 四角形の頂点を2点選んでその中にK点含まれてて、面積が小さければ更新 ans = INF # iは1点目のx, jは1点目のy、kは2点目のx, lは2点目のy for i in range(N): for j in r...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a9657a280df47d5ead4b0972b0bf0e1deaee626d
9d29861e44389e02762e6eb0457c6a415a54e26c
/tests/unit/test_http.py
5239efe9763b7c536eea06607cd6968610a55ab9
[ "MIT" ]
permissive
itsmemattchung/pyrax
e787d67f8a79036834575f951f8c9e81d64d8b8f
e8eff127a5c9b6e64a9a42593d5e889c3c03f81d
refs/heads/master
2021-01-18T10:14:31.752469
2015-05-16T16:44:35
2015-05-16T16:44:35
21,360,598
0
0
null
null
null
null
UTF-8
Python
false
false
5,112
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json import random import unittest from mock import patch from mock import MagicMock as Mock import pyrax import pyrax.utils as utils import pyrax.exceptions as exc from pyrax import client from pyrax import fakes class HttpTest(unittest.TestCase): def __in...
[ "ed@leafe.com" ]
ed@leafe.com
792f58bb57d4fcd9caf0673f8a6ae7374b56de03
760fbdca58de7e2fb146ec60905ded7497b1812b
/ibm_whcs_sdk/insights_for_medical_literature/tests/integration/test_corpus_info.py
f187770d387893ef54954a858a34595585593035
[ "Apache-2.0" ]
permissive
dmansjur/whcs-python-sdk
c5d28742cefc65e19a7eb5de0027fe9f59b1e689
110a847c91d5779df91c6562394bde557ee132e5
refs/heads/master
2021-05-26T21:49:44.515561
2020-04-07T17:17:36
2020-04-07T17:17:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,178
py
# coding: utf-8 # Copyright 2018 IBM All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
[ "dcweber@us.ibm.com" ]
dcweber@us.ibm.com
4856af7c2432ee0f2279b881f2179a4db4e49b2e
d8f49e95a3ac86019e729c12c1f476b632ddb284
/simple_compare.py
fcd403b978bdf9952613c3ac2e2725982a2cb613
[]
no_license
Ogweno/seismtools
f068ea98f55e59d62f2fd0fb93e719f72628eef2
8c263461ef61e2bb1fb4ea8e39fab2a0dc86a704
refs/heads/master
2021-04-15T06:52:20.149486
2018-03-22T18:18:58
2018-03-22T18:18:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,559
py
#!/usr/bin/env python """ # ============================================================================== # The program is to plot a simple comparison among timeseries files # ============================================================================== """ from __future__ import division, print_function import os im...
[ "fsilva@usc.edu" ]
fsilva@usc.edu
5625a58e477a788afe595f68337073388c16e03f
cd94613036a3f265156d53bc79424a58288c07bf
/jirafapp/contrib/sites/migrations/0003_set_site_domain_and_name.py
47e1ef87361ad75a8eaf376af86666cf1da97d6e
[ "MIT" ]
permissive
aleducode/jirafapp
5dad50bcd85a7519be04f1c8ca36151119e382b7
94f9dd59061b153c0feaa1cd0b38b58170ab4d93
refs/heads/master
2021-07-12T18:11:29.561640
2020-05-14T14:13:51
2020-05-14T14:13:51
216,982,168
0
0
MIT
2020-10-27T22:01:32
2019-10-23T06:16:25
Python
UTF-8
Python
false
false
1,007
py
""" To understand why this file is here, please read: http://cookiecutter-django.readthedocs.io/en/latest/faq.html#why-is-there-a-django-contrib-sites-directory-in-cookiecutter-django """ from django.conf import settings from django.db import migrations def update_site_forward(apps, schema_editor): """Set site d...
[ "ducode@outlook.com" ]
ducode@outlook.com
baa17fdbd83b763d86144c90baa419787f9607e7
338376a8fbafb0e1064a3885054ad1f1428e8906
/PythonProjects/教师学生登陆注册模块/LoginandRegiest.py
2eaebb5c0d6a1cf032b43c962a5c625d42a0bb72
[]
no_license
li-mo-feng/Python
2ed6eaf7dcc28989a24f8683ae43c700d6c75b40
5bc50cd3217e5e9a4da447d4db4cc14b35486f3e
refs/heads/master
2020-03-30T00:20:47.681578
2018-09-27T02:36:12
2018-09-27T02:36:12
150,518,054
0
0
null
null
null
null
UTF-8
Python
false
false
6,776
py
# 教师端注册与登陆 # 先定义老师这个类的各种属性 # 然后定义登陆系统 # 首先连接数据库 # 之后对于输入值的判断,因为只要密码对应账号在库内找不到就可以直接返回"密码或者账号错误" # 如果找得到那么提示登陆成功 import pymysql from Teacher_infor import Teacher from connsql import conn_infor #TF是我将教师这个类独立成包 # class Teacher():#先定义一个类,叫做老师 # # def __init__(self,teacher_name,teacher_password):#然后初始化对象 # sel...
[ "li-mo-feng@outlook.com" ]
li-mo-feng@outlook.com
98b73fffa8bb1d5b6338f90798d6397fa40c31a3
c1f6de6ba19e5d288e3b3ed60ba731992549d090
/triggerflow/service/eventsources/rabbit.py
7953aaab8ed4cead71faae66cfa0ff4385d8ae5c
[ "Apache-2.0" ]
permissive
aslom/triggerflow
2d74ad6996806418fdd54d47111028a7d60e5e74
861c32f5a6004c6e55e270d24e19f58adbf3bfff
refs/heads/master
2022-11-06T03:20:54.860109
2020-06-23T12:45:30
2020-06-23T12:45:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,520
py
import json import pika import logging from multiprocessing import Queue from threading import Thread from .model import EventSourceHook logging.getLogger('pika').setLevel(logging.CRITICAL) class RabbitMQEventSource(EventSourceHook): def __init__(self, event_queue: Queue, amqp_...
[ "aitor.a98@gmail.com" ]
aitor.a98@gmail.com
e849b0cace7a406a2d69f5f4f28bcd8c6e600e50
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/dockerized-gists/9478366/snippet.py
bccbc0261205470d6a8c9cdc16908bb1536818ac
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
2,262
py
""" Implement a queue with two stacks Interview practice from coding for interviews - March 2014 """ class Staqueue(object): """ Implements a queue with two stacks One stack is used for enqueing, and the other dequeing. If an enqueue is requested while the dequeue stack is populated, all items are popp...
[ "gistshub@gmail.com" ]
gistshub@gmail.com
d947167232dff30c06d07691e5727c60e2db5f56
bdb1c323968cd9d5441a187a29ed7e25a2e4f07e
/slave_server/runner/test_scripts/bxtp_ivi_o/script/Sysbench_perf/Perf_bench.py
a7f428a8c89c417ac78922e71a7269d435c8da1e
[]
no_license
liangzhaowang/automation_system
beee351dd9f09a51e2b81617ac5bee63023ea9b8
f77ef433c2366253dc9d9fdb7c54911cb38ed3e8
refs/heads/master
2022-02-19T11:07:44.047000
2019-09-23T02:16:00
2019-09-23T02:16:00
209,732,359
0
1
null
null
null
null
UTF-8
Python
false
false
3,369
py
#! /usr/bin/env python # coding=utf-8 import os import sys import time from runner.operation_lib.base_lib.exception_operation import kill_adb_uiautomator_block from runner.operation_lib.base_lib.UI_interface_operation import ui_operation from ATF import TestResult, TestLogger def prepare_data(ui_operat, log): kil...
[ "zhaowangx.liang@intel.com" ]
zhaowangx.liang@intel.com
391f5cb88f8d236192328a9c90436d37df6b5afa
fdf4c826d369c8c53f500a20a7b5d4f5399600c2
/apps/eplace/models.py
e6892b1a2bcd0d986c3b5b003995567345f99dc6
[]
no_license
yunmanger1/attendance-board
bd806ac06cfb08972af0d19a34831b17ee8f602c
05279002d1b02fe81356a97c9c7d3779d176ccf4
refs/heads/master
2016-09-05T11:31:11.086613
2010-09-05T10:00:04
2010-09-05T10:00:04
889,336
0
0
null
null
null
null
UTF-8
Python
false
false
7,320
py
from django.db import models from django.contrib.auth.models import User, Group as UserGroup from django.conf import settings import datetime class Subject(models.Model): short_name = models.CharField(max_length=10) full_name = models.CharField(max_length=100) def __unicode__(self): ...
[ "germanilyin@gmail.com" ]
germanilyin@gmail.com
5b8e9e53f3dd0b34578ef2a51b83d416e34fe13b
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/3XtrKPMbxAf86QjjS_19.py
f7d0b7530bd7e207b1512a0faf0ec83b27b76171
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
""" Create a function that returns `True` if an input string contains only uppercase or only lowercase letters. ### Examples same_case("hello") ➞ True same_case("HELLO") ➞ True same_case("Hello") ➞ False same_case("ketcHUp") ➞ False ### Notes N/A """ def same_case(txt): if txt...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
683b143d59344f0af195608d2c55cdb8435418fc
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/7AQgJookgCdbom2Zd_13.py
0af10b472532cc8592c516d3c078bd73c254325a
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,368
py
""" Create a function that takes a string of words and moves the first letter of each word to the end of it, then adds 'ay' to the end of the word. This is called "Pig Latin" and it gets more complicated than the rules in this particular challenge. I've intentionally kept things simple, otherwise this would turn int...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
b6fe05640600e2953c43c9bf6f0609c4f8b6dfb5
caaf56727714f8c03be38710bc7d0434c3ec5b11
/tests/components/ozw/test_services.py
1460e69b9c9d1f5e1c7fc06d8dca796c0bdb2e39
[ "Apache-2.0" ]
permissive
tchellomello/home-assistant
c8db86880619d7467901fd145f27e0f2f1a79acc
ed4ab403deaed9e8c95e0db728477fcb012bf4fa
refs/heads/dev
2023-01-27T23:48:17.550374
2020-09-18T01:18:55
2020-09-18T01:18:55
62,690,461
8
1
Apache-2.0
2023-01-13T06:02:03
2016-07-06T04:13:49
Python
UTF-8
Python
false
false
3,212
py
"""Test Z-Wave Services.""" from .common import setup_ozw async def test_services(hass, light_data, sent_messages, light_msg, caplog): """Test services on lock.""" await setup_ozw(hass, fixture=light_data) # Test set_config_parameter list by label await hass.services.async_call( "ozw", ...
[ "noreply@github.com" ]
tchellomello.noreply@github.com
f835f313d3ddb9f8e83293d2ad72d06ef09c203f
4fca17a3dbc3e74ba7e46bd7869eb6d138e4c422
/_1614_Maximum_Nesting_Depth_of_the_Parentheses.py
7498606a1bb178418562c090204942df438de06b
[]
no_license
mingweihe/leetcode
a2cfee0e004627b817a3c0321bb9c74128f8c1a7
edff905f63ab95cdd40447b27a9c449c9cefec37
refs/heads/master
2021-06-19T07:46:46.897952
2021-05-02T05:13:17
2021-05-02T05:13:17
205,740,338
3
0
null
null
null
null
UTF-8
Python
false
false
369
py
class Solution(object): def maxDepth(self, s): """ :type s: str :rtype: int """ cur, res = 0, 0 for c in s: if c not in ('(', ')'): continue if c == ')': res = max(res, cur) cur -= 1 e...
[ "hemingwei2017@gmail.com" ]
hemingwei2017@gmail.com
33a26514c6145168595462d0cc84f0708ec971a9
1a24def8879972f21d846ffb3813632070e1cf12
/Chapter09/0912-special.py
5756d44e994b904406aaa4513bf0b7e8c60dc8b5
[]
no_license
mushahiroyuki/beginning-python
03bb78c8d3f678ce39662a44046a308c99f29916
4d761d165203dbbe3604173c404f70a3eb791fd8
refs/heads/master
2023-08-16T12:44:01.336731
2023-07-26T03:41:22
2023-07-26T03:41:22
238,684,870
5
4
null
2023-09-06T18:34:01
2020-02-06T12:33:26
Python
UTF-8
Python
false
false
682
py
#@@range_begin(list1) # ←この行は無視してください。本文に引用するためのものです。 #ファイル名 Chapter09/0912-special.py class Rectangle: def __init__ (self): self.width = 0 self.height = 0 def __setattr__(self, name, value): if name == 'size': self.width, self.height = value else: self. ...
[ "hmusha@gmail.com" ]
hmusha@gmail.com
49c55d916b39ee674bf0e2656fa4e7a82c82c83a
aef08a7c30c80d24a1ba5708f316153541b841d9
/Leetcode 1399. Count Largest Group.py
4ccd17cc52587087e221e1e977cad297a6a39e60
[]
no_license
Chaoran-sjsu/leetcode
65b8f9ba44c074f415a25989be13ad94505d925f
6ff1941ff213a843013100ac7033e2d4f90fbd6a
refs/heads/master
2023-03-19T02:43:29.022300
2020-11-03T02:33:25
2020-11-03T02:33:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,057
py
""" 1399. Count Largest Group Given an integer n. Each number from 1 to n is grouped according to the sum of its digits. Return how many groups have the largest size. Example 1: Input: n = 13 Output: 4 Explanation: There are 9 groups in total, they are grouped according sum of its digits of numbers from 1 to 13...
[ "wangpeng4515@gmail.com" ]
wangpeng4515@gmail.com
96dbce39b001d1a9f5f5e5ae161ee98a4982d151
13fb51b1febb4e38633df0d7381e33a6bbfcab69
/iRBM/misc/utils.py
bfc32512ac5eef939f12cd10e9b417571646dc90
[]
no_license
milestonesvn/iRBM
cd977685bd7b681804ec51f1158ca916bd46c8b0
f9ba2e2799a9334afa4ee6d2a5b0273302596668
refs/heads/master
2020-05-29T09:52:09.065262
2015-11-13T22:36:59
2015-11-13T22:36:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,467
py
from __future__ import division, print_function import sys import json import hashlib from time import time import theano.tensor as T def generate_uid_from_string(value): """ Creates unique identifier from a string. """ return hashlib.sha256(value).hexdigest() def save_dict_to_json_file(path, dictionary...
[ "marc.cote.19@gmail.com" ]
marc.cote.19@gmail.com
7a0de7c70ec0ca991153ccec2463bccb2b8fbd5f
703a60185bb6d7607d3bff5afda2bbadfa96229c
/ctb/apps.py
d69668b86508ca89be86493b5c2e395e6d2444ee
[]
no_license
Eduardo-Lucas/contabilidade
07b07f63272e564034fcd418310222a78b28c3c1
c42d1ee2178d70a7301b57fe68329e732621abed
refs/heads/master
2021-09-07T23:47:16.142421
2018-03-03T14:09:17
2018-03-03T14:09:17
102,148,759
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
from ctb.signals import aumenta_saldo, diminui_saldo, cria_saldo_contabil from django.apps import AppConfig from django.db.models.signals import post_save, pre_delete from ctb.models import LancamentoContabil, Conta class CtbConfig(AppConfig): name = 'ctb' def ready(self): post_save.connect(aumenta_...
[ "eduardolucas40@gmail.com" ]
eduardolucas40@gmail.com