blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
5aba4896e9be3f9c8beb096096e0585af4ce13cd
ea8dfb7065d55c173ba8a308c677cac365e35be8
/apps/base/models.py
760bcd74c166dd71b1d96730d8b4e17e61a07412
[]
no_license
INGANZAMARUMPU/Rapport_De_Stage
0ce30858ed112f5542f24b9f70f39ded33e8742b
c08f0df9df9b2e8b4d8388afbda45e3085a898b5
refs/heads/master
2023-03-21T11:00:39.661505
2021-03-11T21:09:16
2021-03-11T21:09:16
227,915,771
1
0
null
null
null
null
UTF-8
Python
false
false
10,055
py
from django.db import models from django.db.models import Sum from django.utils import timezone from django.contrib.auth.models import User from django.db.models.signals import post_save, pre_save from django.db.models import Q from channels.layers import get_channel_layer from asgiref.sync import async_to_sync from ...
[ "jonkur96@gmail.com" ]
jonkur96@gmail.com
39f90a9a804e857a18eae7babe3ae5697e83aad5
09d8f225e52b1acfbd17ed20d0b7ff0dc147b022
/src/baseline/postgres_tuner.py
06a221a48d93bf21c852785e1e5cbf5e4255dd6e
[]
no_license
jerwelborn/rlautoindex
6edb19e5583c0373ceb7000309210df2d5b3dac6
0d325b8cf5baed45edd4cbfcbe3c8366566b534a
refs/heads/master
2020-05-09T10:47:05.392431
2019-04-12T17:51:08
2019-04-12T17:51:08
181,057,321
0
1
null
null
null
null
UTF-8
Python
false
false
12,578
py
#!/usr/local/bin/python # OpenTuner requires 2 not 3 import os, sys head, tail = os.path.split(__file__) sys.path.insert(0, os.path.join(head, '../')) # /src for access to src/common, src/dqn from common.postgres_data_source import PostgresDataSource from common.postgres_system_environment import PostgresSystemEnvir...
[ "jeremy.welborn@gmail.com" ]
jeremy.welborn@gmail.com
af874a6277f5ea7f1eab7f8b8ace4b98c1406860
70e1aa77e828c776162eacdadd7bbdb3e4e5d489
/Tutorial1.1.py
b106d4acc046819ca6c1c0e3131d1a456057eac2
[]
no_license
heyberto/Tutorial-python
26eb1e8d12a8982d1498b7d42808c6ce3003fe7e
9c3473cd4597bc193391ed3bcf13e0628241fdb6
refs/heads/main
2023-05-14T22:32:09.177141
2021-06-10T21:44:39
2021-06-10T21:44:39
371,073,016
2
0
null
null
null
null
UTF-8
Python
false
false
2,469
py
#VARIABLES #STRING name='Alberto' surname='Diaz del Campo' full_name = name +' '+ surname #print(type(name)) #print(type(surname)) print(full_name) #INT #age = 15 #age += 1 #print(type(age)) #print('has vivido : ' +str(age) + ' ' + 'primaveras') #FLOAT #altura = 174.5 #print(altura) #print(type(a...
[ "noreply@github.com" ]
heyberto.noreply@github.com
97d3a78cea10bb37853dbe7b7523e9b24b694de8
364cb0e13fe3a3e8a961e644e9802d8c0e931b88
/s3_files_to_local.py
e8e02b0690ec0f2522b5d79954c79edc1f909459
[]
no_license
abhayb443/PythonScripting
614252762c1f80b078ad68fb7222e3f5b43487f6
ba0c76de644523f823411b6209c6028ce831aed6
refs/heads/master
2023-08-01T17:45:26.870964
2021-09-19T10:00:17
2021-09-19T10:00:17
269,940,375
0
0
null
null
null
null
UTF-8
Python
false
false
1,215
py
import os import boto3 import sys try: import urllib.request as urllib2 except ImportError: import urllib2 import csv def Create_Presigned_Url(bucket_key,expire_time=3600): S3_client = boto3.client("s3", aws_access_key_id='AKIAXFTFOMDPL7I74EWX',aws_secret_access_key='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...
[ "noreply@github.com" ]
abhayb443.noreply@github.com
7b20630c578f24e1e3ccbc926e29924824fff615
8b7697b1fb33808df4219306e13e8119bb0c2272
/flask/bin/pip3.5
a6afd4d3389a8cc43447882ac027e840e397dd60
[]
no_license
ddrum001/gsgs
f8bfe76e231ff9d91b120866493410fef72db351
87351e935e6bbb1a150db305a05fdaa696b4470d
refs/heads/master
2020-06-19T04:00:17.689039
2016-11-28T00:20:53
2016-11-28T00:20:53
74,922,474
0
0
null
null
null
null
UTF-8
Python
false
false
224
5
#!/home/ubuntu/gigi/flask/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ubuntu@ip-172-31-47-35.us-west-2.compute.internal" ]
ubuntu@ip-172-31-47-35.us-west-2.compute.internal
a1006338a8cfdef23d7274c46d5543094d67ecae
e962f5629e40cdb010ae69e6c54c9b4b63550df6
/main.py
44de89ad7b914e4f2f2204e53cb5d0308a1101f7
[]
no_license
DalduK/GameOfLifePygame
0435e245a730773236d26d4614a4b7d41e4d99c3
c5350a021115cd47b1f8e2170776536f8ad0f92a
refs/heads/master
2023-04-16T18:48:01.499676
2021-05-06T15:36:15
2021-05-06T15:36:15
364,949,817
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
from gui import Gui if __name__ == '__main__': # Wybór wysokości i szerokości okna, oraz czasu z jakim każda kolejna generacja ma się tworzyć (w tym wypadku to 100 ms, aby było to dobrze widoczne) gui = Gui(40, 40, 100) gui.run()
[ "przemyslaw7wozny@gmail.com" ]
przemyslaw7wozny@gmail.com
ce85dfe86426de8ee49c80df0acea65a0badb4a4
038c3feb9371c9690d5be9b67fc5790bd54b1fd9
/Django/pjtDjango_book/booksDjangoSite/books/migrations/0002_auto_20190930_1742.py
660cd996d45be1ae139a083a039666fa86e9a657
[]
no_license
oggong/django_study
c441c82eab2c1b9fdf28e769deb76dd17e90cb5b
8c33982b11206d52b6e2e3aa33b65020a2f2ff65
refs/heads/master
2020-09-16T11:38:43.695042
2019-11-24T14:50:03
2019-11-24T14:50:03
223,758,111
0
0
null
null
null
null
UTF-8
Python
false
false
766
py
# Generated by Django 2.2.5 on 2019-09-30 08:42 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('books', '0001_initial'), ] operations = [ migrations.RenameModel( old_name='Books', new_name='book_title', ), ...
[ "49095304+oggong@users.noreply.github.com" ]
49095304+oggong@users.noreply.github.com
27b1bca6a712698e8458e896a397045bd65b6297
65587aeca74a4b2bcd5e6dc83cf2e6c3d0a5121e
/powersets.py
838940e4e10d39709ffe245b410855e6e8b1dd0d
[]
no_license
zhilyakov1986/Algorithms
e3cf086e7a9a4aafd943199be0649d00f59a0bd5
8792121d5604b681557c0c1656aa35b1c6665b97
refs/heads/master
2021-05-06T01:16:38.875585
2018-01-20T23:05:05
2018-01-20T23:05:05
114,424,037
0
0
null
null
null
null
UTF-8
Python
false
false
1,803
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ different powersets """ l = [1,2,3] def powerset(xs): result = [[]] for x in xs: newsubsets = [subset + [x] for subset in result] result.extend(newsubsets) return result print (powerset(l)) #[[], [1], [2], [1, 2], [3], [1, 3], [2, 3], [1...
[ "zhilyakov1986@gmail.com" ]
zhilyakov1986@gmail.com
497f7ca218fcaa165751dd0dc22241730614b5c1
cdfbf466a03c1176ad5a9c8c2aaaa42551d6750d
/pythongame/scenes/scene_creating_world/scene_creating_world.py
265e969f25448a1f80a27e9be9124c5eb2b0cc2e
[]
no_license
JonathanMurray/python-2d-game
62540cac42291da23176f3ac0e88c8809131f84d
cac61c93545e32dc517d021448715a77fe97f531
refs/heads/master
2021-12-14T07:46:31.287997
2021-12-11T18:03:18
2021-12-11T18:03:18
145,474,245
63
18
null
2021-03-15T21:52:18
2018-08-20T21:53:03
Python
UTF-8
Python
false
false
8,198
py
from typing import Optional from typing import Tuple from pythongame.core.common import ConsumableType, Sprite, ItemId from pythongame.core.common import Millis, HeroId, AbstractScene, SceneTransition from pythongame.core.entity_creation import create_player_state_as_initial, create_hero_world_entity from pythongame.c...
[ "jonte.murray@gmail.com" ]
jonte.murray@gmail.com
5b96084f364c96ccaef574a9449ad2a337d2b6df
b02c642dad1e53d06c6171622d7fc3d7564a8d9d
/MachineLearning/Python3-MachineLearning/LogisticRegression/metrics.py
a3de4406017ede4f38a45b6d33db10095e9da216
[]
no_license
wanghao15536870732/StudyNotes
ebd1f9b7c308a9f616d7629bf95c409ac774daa0
d7e17a3e23c4bbe7bf670f2c529716b17c92f530
refs/heads/master
2022-12-21T14:13:16.699256
2021-03-24T01:10:46
2021-03-24T01:10:46
112,166,204
27
10
null
2022-12-08T05:35:49
2017-11-27T08:04:06
Jupyter Notebook
UTF-8
Python
false
false
1,215
py
import numpy as np from math import sqrt def accuracy_score(y_true,y_predict): """计算y_true和y_predict之间的准确率""" assert y_true.shape[0] == y_predict.shape[0],\ "the size of y_true must be equal to the size of y_predict" return np.sum(y_true == y_predict) / len(y_true) def mean_squared_error(y_true,y_...
[ "1484290617@qq.com" ]
1484290617@qq.com
6309d7663b41db5a3a64385b7ba0e1717e87ff02
106536a7448d4414fac079cb657044f1dc92a588
/framework/DRL/utils.py
28cc3e78deeec9f30017db38f905f953724933a3
[]
no_license
ChrisQiqiang/drlScheduler
0b9a10c8de4883cea2ada7565cdfb65185608dc4
2cd8b984bfed16687a7852baccb79742d1a35773
refs/heads/main
2023-08-03T17:55:17.654560
2021-09-14T15:17:56
2021-09-14T15:17:56
405,674,031
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
import time import numpy as np import tensorflow as tf def features_extract_func(instance): # return [instance.cpu, instance.memory] return [instance.cpu] def features_normalize_func(x): y = np.array(x) return y def multiprocessing_run(episode, trajectories, makespans): np.random.seed(int(tim...
[ "2290142073@qq.com" ]
2290142073@qq.com
060b1268ae58049eaebc7151db0af7140d6583bd
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/BANYAN-NW-MIB.py
f988b13520165504fffda4cffd448f7e316bcf83
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
27,336
py
# # PySNMP MIB module BANYAN-NW-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BANYAN-NW-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:17:24 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 201...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
16990071b6dbcbde964933c0b7318622f40022f7
4b3bdb9eeada2092527ae179fc86ba9c5f8fb517
/primeros pasos/decisiones/decisiones_ejercicios3.py
33d95e2f43e3f8586ac94996f19d99950b7b286d
[]
no_license
LichiSaez/Python-Finanzas
c4ea15d3732f60a7966ee15d3fe25f536556ef06
c7c7a6e70a3eddce079f87e7ce7f0afc1d4aa9db
refs/heads/master
2023-07-01T12:36:45.618274
2021-07-31T19:05:27
2021-07-31T19:05:27
372,260,703
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
maxPerdida = 5 if maxPerdida > 1 and maxPerdida <= 15: if maxPerdida > 8: tipo = "Stop Largo" elif maxPerdida > 6: tipo = "Stop SemiLargo" elif maxPerdida > 3: tipo = "Stop Standar" elif maxPerdida > 1: tipo = "Stop Corto" else: tipo = "Fuera de rango" print(tipo)
[ "lisandrosaezamelio@gmail.com" ]
lisandrosaezamelio@gmail.com
01091882fe331fd373370da4d71e435c25c628d0
2321cb998cb6cec5f76d29a51e6c909ecc4fbb80
/mobilesapi/migrations/0002_auto_20180114_2143.py
7e79c2ea280bfbc8b6083ae1b5fc22331d10e96e
[]
no_license
yakupme/djangorestapi
cb9df23c7217bd7ec06e686ed44256599cf4bdbb
dc75ce45e30f40687921aa3a80e8cd00d22cede5
refs/heads/master
2021-07-23T18:03:23.021458
2021-02-25T21:28:00
2021-02-25T21:28:00
117,474,897
0
0
null
2021-06-10T18:10:30
2018-01-14T23:13:17
Python
UTF-8
Python
false
false
359
py
# Generated by Django 2.0.1 on 2018-01-14 21:43 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('mobilesapi', '0001_initial'), ] operations = [ migrations.RenameField( model_name='mobilephone', old_name='color', ...
[ "sanliyakup63@hotmail.com" ]
sanliyakup63@hotmail.com
4cd096c4c18478c426c9d4dffd0953d031acbe6f
a33d7012ff38d48ba023a5a0a88e48f0cd82b5eb
/src/src/urls.py
6c76afe87836d0a2f13dbcd8c4be644707d35779
[]
no_license
zarrint25/mysiteBookstore
56a9aefaca2b34e7b4fa5c068eb67d79cae8ffcc
86cfbe49bff914797254a9cfea6e4d52d527f88a
refs/heads/master
2020-03-09T13:16:23.906703
2018-04-09T17:09:16
2018-04-09T17:09:16
128,806,543
0
0
null
null
null
null
UTF-8
Python
false
false
1,106
py
from book.views import BookCreateView, book_list_view, BookUpdateView, BookDeleteView, book_all_list_view from django.conf.urls import url, include from django.contrib import admin from django.contrib.auth import views as auth_views from django.views.generic import TemplateView from django.conf import settings from dj...
[ "noreply@github.com" ]
zarrint25.noreply@github.com
87fc79453157cb918c5bb0e1ee6047dfe03ef136
31a1645264f0dd328448e71e753a6914b7829b51
/src/ch04/two_layer_net.py
95c8521ca26a4f7c4f5d80e94458941682df3581
[]
no_license
banbiossa/deep-learning-from-scrach
82d86b427a549ff5e60b886e78974bcaea41cea4
d183a73ad27c68a79500c35a94c174ce0455940c
refs/heads/master
2020-04-04T00:08:46.868901
2018-11-23T09:13:14
2018-11-23T09:13:14
155,641,487
0
0
null
null
null
null
UTF-8
Python
false
false
2,744
py
# coding: utf-8 from ..common.functions import * from ..common.gradient import numerical_gradient import numpy as np import logging logger = logging.getLogger(__name__) class TwoLayerNet: def __init__(self, input_size, hidden_size, output_size, weight_init_std=0.01): # 重...
[ "s_shimizu@pkshatech.com" ]
s_shimizu@pkshatech.com
e3beffe9d227f4daf26722ce881fb0cea4a2a796
266b89bd961a391fdae32214fe9fa25063fd4180
/user/forms.py
612f81281765d2298017fb5c6dd252b526ea5155
[]
no_license
astatium135/idaproject_v2
51a3327bed7d6751df3b2af22996f5cb60302ed3
eb878a171e9ca2edfac226a3c73ff314c5c41cd0
refs/heads/master
2022-12-08T13:26:19.150948
2020-08-14T13:28:58
2020-08-14T13:28:58
287,539,248
0
0
null
null
null
null
UTF-8
Python
false
false
864
py
from django import forms from django.contrib.auth import get_user_model class UserForm(forms.ModelForm): password2 = forms.CharField(widget=forms.PasswordInput(), label="Повторите пароль") class Meta: model = get_user_model() fields = ['username', 'email', 'password', 'password2'] widgets = { 'password': fo...
[ "astatium135@gmail.com" ]
astatium135@gmail.com
00581e3a518654bb4806de9dc9ec80f579a37bf0
ab31f1adb4cb886248cddc9e5393337343393d73
/deslib/dcs/rank.py
cde42dcfdf0365d1c31faa07fb8440f23924f31c
[]
no_license
Hibs21/DESlib
3186045eff3107a4b4c408aa0c9ff72223f340f7
e6984ca2479ce1d8d2233a1ed4a1a6242df18826
refs/heads/master
2021-05-11T19:50:49.272700
2018-01-17T08:04:42
2018-01-17T08:04:42
117,894,799
1
0
null
2018-01-17T21:28:06
2018-01-17T21:28:06
null
UTF-8
Python
false
false
5,117
py
# coding=utf-8 # Author: Rafael Menelau Oliveira e Cruz <rafaelmenelau@gmail.com> # # License: BSD 3 clause import numpy as np from deslib.dcs.base import DCS class Rank(DCS, object): """Modified Classifier Rank. The modified classifier rank method evaluates the competence level of each individual classif...
[ "rafaelmenelau@gmail.com" ]
rafaelmenelau@gmail.com
f5f375260a6700edb14122833d042c5de1294aa0
bb9ad36fb004847ca4f3f3dddcb5a339a0876251
/nao/qibuild-1.14.3/python/qidoc/test/in/doc/qidoc/conf.in.py
2966ccfa40569dbfedac7f43865f75d604414a0f
[ "BSD-3-Clause", "Python-2.0", "LicenseRef-scancode-public-domain" ]
permissive
Adrien987k/NAO-robot-motion-planning-2018
013cdff0294866e4ffcd3af418077addf4ce7a8f
27697488c198a76130e64698a48f84ebc4fc1fc1
refs/heads/master
2020-04-17T22:54:18.891872
2019-01-22T10:32:22
2019-01-22T10:32:22
167,013,248
1
0
null
2019-01-22T15:01:35
2019-01-22T15:01:35
null
UTF-8
Python
false
false
373
py
import sys, os # Specific extensions: sys.path.insert(0, os.path.abspath("../source/tools")) extensions.extend(["naoqi", "extendcpp", "cppwithparams"]) templates_path = ['../source/_templates'] html_additional_pages = { 'index' : 'index.html', 'contents' : 'contents.html' } html_static_path = ['../sourc...
[ "pierre.guetschel@gmail.com" ]
pierre.guetschel@gmail.com
c7bb12542e7df1fad18a2a6bfe2bd4fe89a0bf42
e509a50ab628065fd872694165b3c94ed4da11a2
/lib/python/mypi/console/color.py
a08810f90167991512a77f82e91a2c004c61da88
[]
no_license
dueckminor/mypi
37d886e2ea3d9f77ee06b27d77ab3cc44981b584
93f050d3b35f7d19bdf89dda024191f7a8d0bd7b
refs/heads/master
2023-06-28T10:37:28.332088
2023-06-11T15:24:27
2023-06-11T15:24:27
160,256,271
2
1
null
2020-02-12T18:31:43
2018-12-03T21:28:21
Shell
UTF-8
Python
false
false
509
py
from typing import Optional class Color: def reset(self): return "\033[0m" def use(self, fg:Optional[str]=None, bg:Optional[str]=None) -> str: result = "\033[" if fg: result += "38;"+fg if bg: if fg: result+=";" result += ...
[ "jochen@dueckminor.de" ]
jochen@dueckminor.de
56dd695b138dca5a6bf7c351da9c20617403eafe
ee7b7af4a64ebe64531d399047643c758bb52ff4
/language_features/context_manager_function.py
f305961adb12538328635662a1ba205d656bbb7d
[]
no_license
akurczyk/python_snippets
981efe98c34f2821280c48194594ee88dd04e254
470934337b7512bc38717d29d78a47660f1e1924
refs/heads/master
2020-08-04T08:58:26.594436
2019-11-04T12:24:07
2019-11-04T12:24:07
212,081,126
0
1
null
null
null
null
UTF-8
Python
false
false
294
py
from contextlib import contextmanager @contextmanager def managed_file(name): try: f = open(name, 'w') yield f finally: f.close() if __name__ == '__main__': with managed_file('hello.txt') as f: f.write('hello, world!') f.write('bye now')
[ "akurczyk000@gmail.com" ]
akurczyk000@gmail.com
801193ec32448d57be1590c31198bd0a436ca38c
919d628cc762e61de43bb37cce280c04627f5c60
/programming projects/python projects/tutorials2/4. If else statements.py
0b3384ec71e6af82f1c3b4380fd190c15773fe43
[]
no_license
godwinreigh/web-dev-things
16e9dd27836b0812dba1dd70af6719323d4fe58c
cc35b518ac2cf5a4ebcb90606c450aaa74b4c33e
refs/heads/master
2023-03-13T02:29:55.558782
2021-03-01T13:00:48
2021-03-01T13:00:48
323,789,100
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
import turtle a_turtle = turtle.Turtle() def square(): a_turtle.forward(100) a_turtle.right(90) a_turtle.forward(100) a_turtle.right(90) a_turtle.forward(100) a_turtle.right(90) a_turtle.forward(100) a_turtle.left(90) elephant_weight = 3000 ant_weight = 100 #if elephant_weight > ant...
[ "godwinnariogalvez@gmail.com" ]
godwinnariogalvez@gmail.com
552c7339865c1d10fc3edf9d8115ffc77c0ed417
9901a21f711e39c580742fa4a16f1d82b509520a
/CARLA_Tests_setup_guide/Running_tests/ROBOPILOT_agentsController.py
7abd1163e1fc18e51b15f0d8c273c0058a7a4e88
[]
no_license
phycomlab/CAV-Determinism
eb1e4868bcc9e343de5a3c06c0f868fa6088f322
b71dc08b29fdff3a17fc40ba2698b0b83fb83b96
refs/heads/master
2023-08-24T03:33:12.383061
2021-11-01T09:07:53
2021-11-01T09:07:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,111
py
#!/usr/bin/env python3 """ 2D Controller for ROBOPILOT MAS agents control """ import cutils import numpy as np class Controller2D(object): def __init__(self, waypoints): self.vars = cutils.CUtils() self._current_x = 0 self._current_y = 0 self._curr...
[ "ag14622@bristol.ac.uk" ]
ag14622@bristol.ac.uk
d237833b720ab49c6906e5708002d2834372ac3d
9ddfd30620c39fb73ac57e79eae0a001c45db45f
/addons/prisme_contact_enhancement/models/__init__.py
56357c83a049980c861e401c12364ef855b55a5d
[]
no_license
zamzamintl/silver
a89bacc1ba6a7a59de1a92e3f7c149df0468e185
8628e4419c4ee77928c04c1591311707acd2465e
refs/heads/master
2023-01-06T20:29:25.372314
2020-10-29T21:02:41
2020-10-29T21:02:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,059
py
# -*- coding: utf-8 -*- ########################################################################### # # Prisme Solutions Informatique SA # Copyright (c) 2016 Prisme Solutions Informatique SA <http://prisme.ch> # # This program is free software: you can redistribute it and/or modify # it under the terms of t...
[ "mohamed.abdelrahman@businessborderlines.com" ]
mohamed.abdelrahman@businessborderlines.com
f826bc0633eeb2cdbf91b1b3e14e80882e4b6be5
ac3a14d8147e29b717aca169bf3fc024a90a1f53
/doc/clawcode2html.py
69763797d0fa73773607e7ba30ee5ce13ad6f9a9
[ "BSD-3-Clause" ]
permissive
geoflows/D-Claw
d867cf620f20aee8839e7dce0ecb06f0069386b9
6bffb3c4819cdf925ee9b8af4e8e3a342735c10d
refs/heads/master
2023-03-18T18:51:05.656268
2023-03-08T20:48:34
2023-03-08T20:48:34
233,694,795
17
11
BSD-3-Clause
2023-08-31T16:03:35
2020-01-13T21:13:41
Fortran
UTF-8
Python
false
false
22,217
py
#!/usr/bin/env python # convert CLAWPACK source code, data files, READMEs, etc. into html. # for example, # clawcode2html filename.f # generates # filename.f.html # If filename.f.html already exists, you will be prompted before # overwriting unless the -f or --force flag is used, e.g. # clawcode2html --force fi...
[ "dgeorge@porterhouse.(none)" ]
dgeorge@porterhouse.(none)
402ccdca5869a573340f6de12ef5e4dbbe9e588a
e6f0b705a768229c160a2603393709b4b8a683be
/.history/books/api/views_20210424164436.py
c4d52011855368b33b5770873ed269be0a6587e8
[]
no_license
walaaElbasha/bookstore_django_basics
0741e16e3fe69d4460c095bb8afc964f52d96f1d
2037a434d7bdb0ca1954ca3de9f56655b77ec64e
refs/heads/main
2023-04-19T07:01:05.416800
2021-04-28T15:04:15
2021-04-28T15:04:15
361,507,660
0
0
null
null
null
null
UTF-8
Python
false
false
2,712
py
from django .shortcuts import render,redirect from rest_framework.response import Response from rest_framework import status from books.models import Book,Isbn from .serializers import IsbnSerializer from rest_framework.decorators import api_view from rest_framework.permissions import IsAuthenticated,BasePermission fro...
[ "walaaelbasha40@yahoo.com" ]
walaaelbasha40@yahoo.com
f0f0de57c840b1ce3d5e84ee2b3024a4a0488d1f
f04b305fae9f3ebef2ea84c23444c2405590e8b9
/input_prep/post_to_fits.py
c657b00330f751ced111edc45726bfb0d926647a
[]
no_license
infinitron/lira.parallel
2e63529386d9b8b01fc330e0286a87fe6ce71c9d
b6a8ba3123dc7445b42d3e938346dcb7be65b1a8
refs/heads/master
2023-08-15T05:47:48.919697
2021-10-16T05:06:19
2021-10-16T05:06:19
216,467,208
1
0
null
2021-10-16T05:06:19
2019-10-21T03:09:17
Python
UTF-8
Python
false
false
313
py
from astropy.io import fits import numpy as np import sys posterior_name = sys.argv[1] wcs_file = sys.argv[2] if len(sys.argv)==4): out_name = sys.argv[3] else: out_name = "post.fits" post = np.loadtxt(posterior_name) with fits.open(wcs_file) as hdul: hdul[0].data = post hdul.writeto(out_name)
[ "karthikreddy311@gmail.com" ]
karthikreddy311@gmail.com
d6ef823641bee5acc26751e3ce332a26bd3a391b
4086484d03ea0b0effc6d52cd6d59892ef7f3464
/audio_only/test.py
5e1e75018f4a77438db9e55a87771a539d0f26e0
[ "MIT" ]
permissive
LynnF62/deep_avsr
aec6321bb3eefd429d2467d3d410a6f53fb0391f
350a94eaf247f147a43ec57e47c957b7d0731b00
refs/heads/master
2022-11-11T16:35:00.209080
2020-07-06T16:28:53
2020-07-06T16:28:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,019
py
import torch import torch.nn as nn from torch.utils.data import DataLoader import numpy as np from config import args from models.audio_net import AudioNet from models.lrs2_char_lm import LRS2CharLM from data.lrs2_dataset import LRS2Main from data.utils import collate_fn from utils.general import evaluate np.random...
[ "smeetrs@gmail.com" ]
smeetrs@gmail.com
62bf302da099d5d89b59fa78962624077ab8b4a8
56a66c1e758e73c31e26e26c87ebe53bec68f8f3
/Python/copy.py
851f50385e3b61f6988b3c499303a6485d767d70
[]
no_license
rohanJa/LCM-LeetCodeMaychallenge-
181ed33b3b02f49948234231c73291007470a19c
fd99026760cc9e0a8b696c1cd866792d8ded2186
refs/heads/master
2022-12-14T20:04:59.406723
2020-09-05T16:25:13
2020-09-05T16:25:13
260,500,990
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
first = [1, 2, 3] copyList = first second = first.copy() first.append(4) first.append(9) first.pop(0) # both copyList and second will contain the copy of 'first' list # But differnce is that changes in 'first' is shown in copyList # but if we use 'copy()' method to copy the list 'second' list # and no changes will b...
[ "rohan.jain150300@gmail.com" ]
rohan.jain150300@gmail.com
d6830d4ff16376893003b80808781e3aec0c3bb2
c104dbd09a853725cb4f4b17df7c5dd59d47e04e
/test/test_modify_alert_policy.py
83402c1d6893da6593578261001770b0aa9a0dea
[ "Apache-2.0" ]
permissive
bm-lab/opsgenie-python-sdk
5a64e2c24f1b9168ecadf482ba8084ba27a659fc
244c4c40ddcc25e70df5ba4425ab8d7c8da59c18
refs/heads/master
2021-10-09T03:18:48.101672
2018-12-15T01:03:36
2018-12-20T15:13:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
902
py
# coding: utf-8 """ OpsGenie REST API OpsGenie OpenAPI Specification # noqa: E501 OpenAPI spec version: 2.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import opsgenie_swagger from opsgenie_swagger.models.modi...
[ "c.chary@criteo.com" ]
c.chary@criteo.com
4fb62606cad9bf2a3cf1162698aadd3079c88854
1b91bb9183ed370b12666eeaca7495d32c597d42
/backend/search/constants.py
c3cadc43259cd5862029fadada8041b8d31f48e2
[]
no_license
springle/bear
73ce1c3f4a754a16d7051ebfb3338e7fa7324a1f
c9067e6caaa883948731e38bcfca646f3550c3ed
refs/heads/master
2021-01-01T19:52:57.873091
2017-08-27T17:14:27
2017-08-27T17:14:27
98,707,312
3
0
null
2017-08-27T17:14:28
2017-07-29T04:05:52
Python
UTF-8
Python
false
false
2,391
py
SUBJECTS = ["STUDIES", "AEROSPC", "AFRICAM", "ARESEC", "AMERSTD", "AHMA", "ANTHRO", "AST", "ARABIC", "ARCH", "ARMENI", "ART", "ASAMST", "ASIANST", "ASTRON", "BANGLA", "BIOENG", "BIOLOGY", "BIOPHY", "BOSCRSR", "BUDDSTD", "BURMESE", "MBA", "PHDBA", "UGBA", "CATALAN", "CELTI...
[ "15springle@gmail.com" ]
15springle@gmail.com
914c113cd06d7d33285cce2f5634daa44d6ef737
b488c537e1e59838c52ba9cd7dbeba19eca9454d
/src/base/torchvision_dataset.py
a6698f3a78eca03724251408560c840e1fce4e80
[]
no_license
JuneKyu/torch-multi-class-deepsvdd-for-text
73e61357cbfa34756bf2bbcb03552738cfca2e8a
54fb48021af7bf7b55b75a3c4160646264447d7c
refs/heads/main
2023-06-13T23:23:36.329996
2021-07-08T08:36:54
2021-07-08T08:36:54
377,061,764
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
from .base_dataset import BaseADDataset from torch.utils.data import DataLoader class TorchvisionDataset(BaseADDataset): """TorchvisionDataset class for datasets already implemented in torchvision.datasets.""" def __init__(self, root: str): super().__init__(root) def loaders(self, batch_size: in...
[ "IDbluefish@gmail.com" ]
IDbluefish@gmail.com
8e7e75ffd0b578caa08d98c18d046709753ebc9f
ad4a293f143ceb199eaa218983be340ec58fa341
/elemental/idl/scripts/systembase.py
c4304b38e482980e0f9ad69b9bce5892a4f8afc2
[]
no_license
vaadin/gwt
2e2cab6052a4db94eaef1ea631bc89d5a630c740
9246391d1aa2d00a07700bfcc1d2fe6540eee504
refs/heads/master
2021-06-03T23:53:59.968561
2019-08-02T12:51:39
2019-08-02T12:51:39
13,295,334
7
14
null
2020-10-13T06:46:53
2013-10-03T10:07:54
Java
UTF-8
Python
false
false
3,711
py
#!/usr/bin/python # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file # for details. All rights reserved. Use of this source code is governed by a # BSD-style license that can be found in the LICENSE file. """This module provides base functionality for systems to generate Dart APIs from the ID...
[ "cromwellian@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7" ]
cromwellian@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7
9529c564da291e12800f96d8b1b8fce1d0949560
13df81616fa290fd66443b4ec7fa7b07b1d6c059
/python/TEST_socket_linux.py
751c7e53dc7853a78de25c00e3bd9d40ab266bdb
[ "BSD-3-Clause" ]
permissive
chaserhkj/pinktrace
583cbdca330c48710d8efc4e778d248f4d731b65
3974060393d2aa45d1ee3ce7512c69df4838be92
refs/heads/master
2020-04-06T04:41:28.486715
2015-07-28T19:53:58
2015-07-28T19:53:58
39,854,649
0
0
null
2015-07-28T19:52:41
2015-07-28T19:52:41
null
UTF-8
Python
false
false
10,113
py
#!/usr/bin/env python # coding: utf-8 import os, signal, socket, sys, unittest sys.path.insert(0, '.') import pinktrace import pinktrace.event import pinktrace.socket import pinktrace.syscall import pinktrace.trace TEST_UNIX_SOCKET = './TEST_UNIX_SOCKET' class TestSocketLinux_01(unittest.TestCase): def test_01_...
[ "alip@exherbo.org" ]
alip@exherbo.org
7bf3462aa4b4a4d566459240135f3c2e468f94f2
484b03da7d3eabc8887e0f5a6be6c2287b0ebcc4
/fanta/fantaapp/migrations/0015_auto_20150807_1532.py
c8fdbef420d9017cebdc95faff9be239513a52f6
[]
no_license
abenassen/holyfootball
4ad3d025692f4dd0d7d5b09f8a190f131da4ca57
cd41a44b33276b8ff1a5d3d50f944f526826abd5
refs/heads/master
2020-12-03T00:20:13.079415
2017-09-02T09:50:23
2017-09-02T09:50:23
96,015,986
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('fantaapp', '0014_campionato_totale_giornate'), ] operations = [ migrations.AddField( model_name='giornata', ...
[ "abenassen@users.noreply.github.com" ]
abenassen@users.noreply.github.com
96c9b641dcb30197ee5eb0e21cc77157fe2e5983
d8659034ce522e4bfe4d83f8b0876e3fbe93af9a
/Source/code for pulling data from wiki/Wikidataextraction6.py
12d59d42732678be6c309f3952b5da0cc79fb046
[]
no_license
ganeshtaduri/KDM
a5ab0c2449efa0d09fce80b8b0118d9a44e7a47f
3c0f6890c91dac3a5f468ce0e2d4473f6b60dfa0
refs/heads/master
2021-01-19T05:44:13.846255
2016-08-01T03:02:37
2016-08-01T03:02:51
60,810,920
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
import wikipedia data=wikipedia.page("Barack Obama") file = open('output_wiki_barackObama.txt', 'w',encoding='utf8') file.write(data.content) file.close()
[ "tejo.249@gmail.com" ]
tejo.249@gmail.com
fef8dcaef28a7612670fddc39332e361aae6e4e7
834b55f2f827520126f6dbc0bf67f8f07758a721
/find_features.py
76b73263a919600d944138986250abdf13ab9a00
[]
no_license
Drozdetskiy/NLTPSentiments
f438439c407c5cce40e52342dff8e98c3eb2db85
92e36fd6d908d89af8f29aff4561c307f5deb5ad
refs/heads/master
2020-05-29T13:46:14.869065
2019-06-18T12:35:43
2019-06-18T12:35:43
189,172,635
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
from nltk.tokenize import word_tokenize def find_features(document, word_features): words = word_tokenize(document) features = {} for word in word_features: features[word] = (word in words) return features
[ "m.drozdetskiy@gmail.com" ]
m.drozdetskiy@gmail.com
368d60548ecc23eaf52e5afa01d960e3f545a6da
ad33bb5ec3e8289bb639d34f44e4e5ecb7dc6f37
/venv/Scripts/easy_install-3.7-script.py
1e8d8ff19895f9a34da31c799c834757c156e6b8
[]
no_license
liang979zhang/test
f267d56f1b5388e5ac05fa4d00e4b49ca3343a0f
6cf960dc63e1e757f3224457a95e1a207e74cb5e
refs/heads/master
2020-04-08T18:57:42.914824
2018-12-07T10:24:00
2018-12-07T10:24:00
159,632,215
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
#!E:\untitled\test\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.a...
[ "zhangdl@yemast.com" ]
zhangdl@yemast.com
8c09e47f034ac9bfc66a807b3bcb999fcb1ecc19
19f5a51e5738afd251e108fc710d38e75ce84082
/Django로 배우는 쉽고 빠른 웹 개발 파이썬 웹 프로그래밍/ch3/books/models.py
e5d653d2605bd5fe91c719853d9c12c6d779eb38
[]
no_license
mildsalmon/Study_Web
d7e07737df6a9ac02f94ab18b1421119b47f5994
a9cecb32e3d98abeeef2db1409f8b1dc43ba9df3
refs/heads/master
2023-08-18T21:12:34.057285
2021-10-03T09:58:15
2021-10-03T09:58:15
355,178,604
0
0
null
2021-10-03T09:58:16
2021-04-06T12:22:17
Python
UTF-8
Python
false
false
777
py
from django.db import models # Create your models here. from django.db import models class Book(models.Model): title = models.CharField(max_length=100) authors = models.ManyToManyField('Author') publisher = models.ForeignKey('Publisher', on_delete=models.CASCADE) publication_date = models.DateField()...
[ "mildsalmon@gmail.com" ]
mildsalmon@gmail.com
df99f66d6a4ea213d5897a886fa15861e00d5972
dcd772f567ef8a8a1173a9f437cd68f211fb9362
/tests/framework/Samplers/EnsembledSampler/EnsembleForwardTestFunction/funct2.py
02dee0def8bbab059befbaac1ff1f937f1f2f1a2
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause", "BSD-3-Clause" ]
permissive
idaholab/raven
39cdce98ad916c638399232cdc01a9be00e200a2
2b16e7aa3325fe84cab2477947a951414c635381
refs/heads/devel
2023-08-31T08:40:16.653099
2023-08-29T16:21:51
2023-08-29T16:21:51
85,989,537
201
126
Apache-2.0
2023-09-13T21:55:43
2017-03-23T19:29:27
C++
UTF-8
Python
false
false
57
py
def evaluate(self): value = 2.0*self.x2 return value
[ "andrea.alfonsi@inl.gov" ]
andrea.alfonsi@inl.gov
3cd4d485f0474492309b97043b16dcd5cf7368fe
91d70927a526f11e9c093ef62f5d83a3e613d9ee
/exercise14/Tehtävä_ L14T03.py
afa78f1d4710a24bde3657abf3a4f995b5eaaa8b
[]
no_license
RiikkaKokko/JAMK_ohjelmoinnin_perusteet
1812b92c9b6d8b1127ca2b54e93d17fa687920b6
2be91f6346a301232f06023425408d83196cab63
refs/heads/master
2023-07-23T02:58:06.639330
2021-08-23T13:20:06
2021-08-23T13:20:06
399,109,539
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
def isthiszero(num): try: if num == 0: print(True) return True if num < 0 or num >0: print(False) return False except TypeError: print("Ei ole numero") isthiszero(0)
[ "40693952+RiikkaKokko@users.noreply.github.com" ]
40693952+RiikkaKokko@users.noreply.github.com
d07bcfb2c241f907b2a2c1ba805810cfe29391c0
25db82a8dc1ada98e8cfe2026d8be71a1947b82b
/assending.py
eb1490332977edda59c783140becb670e8c6679c
[]
no_license
VANITHAVIJAYA/codekata
49bf8d5c42815cf2d0afdb512734489cadf42f40
83a9ffdd3e8c34e94e6babfaf072dfc18ed3f523
refs/heads/master
2021-01-11T11:16:58.018289
2017-06-23T09:05:16
2017-06-23T09:05:16
94,966,833
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
print 'Enter numers,use q to stop' l = [] while True: user_input = raw_input('Enter numers: ') if user_input == 'q': break else: l.append(user_input) num_list = (float(i) for i in l) #Ascending order print sorted(num_list)
[ "noreply@github.com" ]
VANITHAVIJAYA.noreply@github.com
c2feae0b468b3dc717cf3c5b2078fee77a463cfc
31be63efb3884ce91e52cb9068aa43cb56e0e7e8
/Reference Code/platform_jumper.py
d23ceb92beb3ef2ad4e08cb0e716bd961bd68a77
[]
no_license
PRMorgan/State-of-the-Artificial-Intelligence
1526b93bfa25e85c2c720f7d75641000f5998a66
ffbab06ca11ef0ba14fa3a370096caf6a9d5e55f
refs/heads/master
2020-04-25T17:42:31.258460
2019-05-15T03:30:20
2019-05-15T03:30:20
172,958,363
0
0
null
null
null
null
UTF-8
Python
false
false
9,264
py
""" Sample Python/Pygame Programs Simpson College Computer Science http://programarcadegames.com/ http://simpson.edu/computer-science/ From: http://programarcadegames.com/python_examples/f.php?file=platform_jumper.py Explanation video: http://youtu.be/BCxWJgN4Nnc Part of a series: http://programarcade...
[ "noreply@github.com" ]
PRMorgan.noreply@github.com
07b42e56bdcb00b5333fcc78faf528bba92301c4
c8dc1613dcffc64bb3aa9cb7427601b979543bc6
/test.py
5403b5b4f64e6f661b49c7e07d85e1aa5ee0049d
[]
no_license
minhdeal/MultivariateESN
e9ec9c98c25b335b0b64abaa81f00c187e0120a6
e6889c2d50d4bfc05ca515a78f6e176c560187b3
refs/heads/master
2021-09-23T01:07:15.817726
2018-09-19T14:47:32
2018-09-19T14:47:32
124,038,864
4
1
null
null
null
null
UTF-8
Python
false
false
2,166
py
import csv """filePath = './results/running_time_1.csv' writePath = './results/running_time_1_final.csv' models = ['bayelinear_identity_','bayeridge_identity_','linsvr_identity_','nusvr_identity_','ridge_identity_'] for model in models: for i in range(100, 1001, 100): runTime = 0 count = 0 ...
[ "minhhoang@kaist.ac.kr" ]
minhhoang@kaist.ac.kr
79a3a476ca30b1e4a997e58c1852b7ece681f724
afbfb4479c031c4515d623507c3529d019b2506a
/link/json/collection.py
070cfd0e3a2b277dd4bd2c73129a02fd1bc2979a
[]
no_license
linkdd/link.json
22e95664635986208a8ce51d6d7d410bb5012f68
2169a4252d3393def0e37d3a1aa167dd0b77c730
refs/heads/master
2020-04-15T13:38:33.317573
2016-09-16T13:50:41
2016-09-16T13:50:41
58,967,314
0
0
null
null
null
null
UTF-8
Python
false
false
5,275
py
# -*- coding: utf-8 -*- from b3j0f.conf import Configurable, category, Parameter from link.json.schema import JsonSchema from link.json import CONF_BASE_PATH DEFAULT_SCHEMA = 'http://hyperschema.org/mediatypes/collection-json.json' @Configurable( paths='{0}/collection.conf'.format(CONF_BASE_PATH), conf=ca...
[ "david.jose.delassus@gmail.com" ]
david.jose.delassus@gmail.com
5b3a4cf867926248aefb635b5b895a9b7d33a3f8
6a087c6fb00ba91f815f997450306a3fac020a8b
/Test_case/CLGL/test自定义车辆.py
6a0ed72cd83c09c38f031f3ee7b5841b4c947e2f
[]
no_license
anghu3/xizangbianfang
cd2037af5e06cc558bf3ef9ff145e0c33495139b
f4f35195963017c22bd4875853ef31f280f4b6a8
refs/heads/master
2020-03-28T22:31:06.591507
2018-12-14T07:36:47
2018-12-14T07:36:47
149,238,712
0
0
null
null
null
null
UTF-8
Python
false
false
7,930
py
# -*- coding: utf-8 -*- """ Created on Thu Jun 21 14:11:17 2018 @author: PCCC """ import unittest from selenium import webdriver from selenium.webdriver.support.ui import Select import time import os import re from public_package.pubilc_package import url,login_name,login_name_test,login_password,login_password_test f...
[ "935331858@qq.com" ]
935331858@qq.com
cf4790a12d3fe92409759a5b7376972ee9141db4
0ac4ccd48b652e42ba776ab7fee10781760c444b
/hansardscraper/apps.py
f30c842040a35ca1927b8599b4c474b483a9e31c
[]
no_license
Jasper-Koops/ThesisToolBox
5ef1f810f1763f1d6dd262fdb59c02b3024c3e21
48a15fcad6c29683092ab0a72ff308acf622c3a8
refs/heads/master
2022-12-11T15:05:26.260187
2018-05-02T21:41:08
2018-05-02T21:41:08
109,586,981
1
0
null
2022-12-07T23:51:27
2017-11-05T14:33:44
Python
UTF-8
Python
false
false
103
py
from django.apps import AppConfig class HansardscraperConfig(AppConfig): name = 'hansardscraper'
[ "jasperkoops91@gmail.com" ]
jasperkoops91@gmail.com
94c3b944540d771ce64d9ea7a1e950541b3c03ff
e6762d218e7faed894e400390618201dbaaab1a1
/apps/registrar/migrations/0002_auto_20200928_2054.py
23beb0894b7414ac6131bf5e78bce892517c5a34
[]
no_license
brunofnz/OpenCargo
9f4ef888bce1cb57cc3f09ae07428cdd627b1998
2aa9131225fc74f4bc080e03e6c4d99baf40e49c
refs/heads/master
2022-12-25T08:28:52.110514
2020-10-01T11:09:37
2020-10-01T11:09:37
295,845,825
0
0
null
null
null
null
UTF-8
Python
false
false
550
py
# Generated by Django 3.1 on 2020-09-28 23:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('registrar', '0001_initial'), ] operations = [ migrations.AddField( model_name='usuario', name='apellido', ...
[ "brunofernandez@protonmail.com" ]
brunofernandez@protonmail.com
e7f924a35306684276a1a9efa192f5ee6e520d39
57b2ea7edadc61d97aa8935d23372c95e0b2ba3f
/Slim Resnet V2/datasets/dataset_factory.py
82813aa3594d2cd54899cc099f398ed68905e807
[]
no_license
kirnh/Miscellaneous
28442f15f3f646f76da6a6ffa4e0b783306bb2ce
0bb85e792cc51d01e760681e80f27a64d1217d35
refs/heads/master
2021-01-20T07:23:41.596393
2018-11-18T10:09:25
2018-11-18T10:09:25
89,998,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,964
py
# Copyright 2016 The TensorFlow Authors. 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 applica...
[ "kiran.hegde121@gmail.com" ]
kiran.hegde121@gmail.com
fed760e0bcee320cbb5cc2127c0e3b1f67ca9887
095f078051aa5dda90cbc65df68134fd5ff00f62
/python/sqlalchemy/src/profile.py
250337611cdd3bd442dda14f10d260e8fb67a4ea
[ "LicenseRef-scancode-public-domain" ]
permissive
ttggaa/snippets
d3e8e1d48176ad61c28ffc8e33f1b3283f03c1da
1f1ef23f6bdea59b9487da8350d76c3003b23dd9
refs/heads/master
2020-04-22T00:40:44.602758
2019-01-28T09:06:34
2019-01-28T09:11:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
# -*- coding: utf-8 -*- class profile: __tablename__ = 'profile' id = Column(INTEGER(11), primary_key=True, nullable=False) display_name = Column(VARCHAR(255), nullable=False)
[ "aleiphoenix@gmail.com" ]
aleiphoenix@gmail.com
c7d568aa9eace0957fa12ebcbc59a6088b37bf31
2572a35d4861b1f25add1bf746474636d30134af
/Regex/matching_character_ranges.py
cd108c0f4e072daa738c993a7d4c6a4164099282
[]
no_license
gargi13832/Hackerrank-Problems
b1e78f42f3627609ddf08d546da7a84d139eb6f2
84c6a03ccfaaf5fef91938d3f566af92cc913a12
refs/heads/master
2023-01-04T22:22:40.830760
2020-10-29T17:31:17
2020-10-29T17:31:17
289,316,477
2
0
null
null
null
null
UTF-8
Python
false
false
70
py
Regex_Pattern = r'^[a-z][1-9][^a-z][^A-Z][A-Z]' # Do not delete 'r'.
[ "you@example.com" ]
you@example.com
015e7297370fb8d5282db0590943d73e1a08a4d7
002160a05a28245e4cb3b9130b216fe39a5f4e82
/OOP concepts using Pygame/Modular/blob.py
877f0908f1622d5fe64db941de0551ea97c922f9
[]
no_license
ag93/Python-Done-Correctly
e007068d3992f834472f892e732cb3a59302d74a
2c5437a8ecea56d8010644867c5fcbd3134823c7
refs/heads/master
2021-01-25T14:11:55.919381
2018-03-10T00:41:44
2018-03-10T00:41:44
123,669,760
0
0
null
null
null
null
UTF-8
Python
false
false
979
py
# -*- coding: utf-8 -*- import random class Blob: def __init__(self, color, x_boundary, y_boundary, size_range=(4,8), movement_range=(-1,2)): self.size = random.randrange(size_range[0],size_range[1]) self.color = color self.x_boundary = x_boundary self.y_boundary = y_bound...
[ "noreply@github.com" ]
ag93.noreply@github.com
2ba22af155b208a3eda1a332131abfc070d386e9
10955d8d629bd30884b84d0798130ad8c5a69a22
/registration/migrations/0001_initial.py
ff0742218c8f391426b3b9a3554b2a9ae5c3c13b
[]
no_license
fiterV/Registration
19e9e2e4905656971076553642bf3852fe26c06b
bc124659b85d86c1a5f760d14ae90e3f846d3ff3
refs/heads/master
2021-01-12T09:19:43.186123
2017-02-08T12:42:42
2017-02-08T12:42:42
81,327,252
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-01-29 18:50 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 = [ migratio...
[ "vadym_prokopec@mail.ru" ]
vadym_prokopec@mail.ru
89aa7f89ccda59919841f5499fcc1e1cadfa37fa
496318e9bff60256495a695c7b00885c090a33d2
/haunted_mansion_game/mansion_object.py
c296d056c3a24c8dfda90260c089d3939bdd4e7f
[]
no_license
nowickis/The-Haunted-Mansion-Game
ec364fcb8624d0b90e735b4f9e077a8d38aec6af
35299c5d0bb9b8d8dd2c594e482088a14b1b2a80
refs/heads/master
2020-04-19T08:24:23.427800
2019-01-29T02:11:58
2019-01-29T02:11:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
593
py
""" This super class is inherited by other objects in the game Create an object from a json file by passing the filename into init Ex. x = MansionObject("../resources/player/player.json") """ import json class MansionObject: def __init__(self, file_name): self.__dict__ = self.get_json(file_name) ...
[ "nguyjere@oregonstate.edu" ]
nguyjere@oregonstate.edu
ef846b1ddbe67e81af48f8fcc51c77c3cdafeaca
c3f86673016fc0a97dbf44727821a2ceb24efd05
/examples/maxcut.py
2bb39e42f22aa327d33df54ab101495483636fcd
[ "MIT" ]
permissive
xc35/qcqp
e2e4a4dd18d347dd39fb387516d9ff2bc016b566
42f959a389db0697b50755addbf475f5b942a9c1
refs/heads/master
2020-12-31T07:33:25.854934
2017-03-22T22:12:59
2017-03-22T22:12:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,043
py
#!/usr/bin/python import numpy as np import cvxpy as cvx from qcqp import * n = 25 np.random.seed(1) # Make adjacency matrix. p = 0.2 W = np.asmatrix(np.random.uniform(low=0.0, high=1.0, size=(n, n))) for i in range(n): W[i, i] = 1 for j in range(i+1, n): W[j, i] = W[i, j] W = (W < p).astype(float) x...
[ "jpark@cs.stanford.edu" ]
jpark@cs.stanford.edu
0d7968ee98adae50321febaf92c0941dd2bb223c
956cfa6aa3da0f56ccc0d5b283a30ee4be535335
/app/cli/__init__.py
4a5c94391f352fbebe04bb5468311a344453c4d7
[]
no_license
churnikov/october-2021-piter-python-meetup-code
744f0b046dab1f3f9db579bae86957c4d8fe10e6
94abcd94541e799865dc4252c6d9b467d56eb47c
refs/heads/master
2023-08-31T23:11:18.418452
2021-10-21T16:25:37
2021-10-21T16:25:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
from .api import * from .main import safe_cli
[ "nikita@chur.ru" ]
nikita@chur.ru
070a3e6dbfc8c13e49c0b1c55f8c1dcb25b13587
53d6ceb5f8220f9c45180533d3554d62bc71bd22
/PYTHON v21.1/week3/706/recognizePython/file.py
4e6889bbb1f383dfc126672b836a4ab4016ef42e
[]
no_license
kollinchen1/bootcamp
c465894b8ba0d617d6c12ce1fbc73abe5b47cf68
61015381c9255db076da16d8b968d38457f61b1e
refs/heads/master
2023-07-13T06:21:16.248439
2021-08-30T23:59:16
2021-08-30T23:59:16
379,021,123
1
0
null
null
null
null
UTF-8
Python
false
false
3,018
py
num1 = 42 #variable declaration, initialize integer num2 = 2.3 #variable declaration, initialize float boolean = True #variable declaration, initialize boolean string = 'Hello World' #variable declaration, initialize string pizza_toppings = ['Pepperoni', 'Sausage', 'Jalepenos', 'Cheese', 'Olives'] #variable declaration...
[ "kollinchen1@hotmail.com" ]
kollinchen1@hotmail.com
da110465a674ab0792226d4ac273b86fc9ed28ac
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03090/s812303792.py
0fb18fdf310d674ae4f216404ba354a1c71ffbf6
[]
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
905
py
#!/usr/bin/env python3 #AGC32 B import sys import math from bisect import bisect_right as br from bisect import bisect_left as bl sys.setrecursionlimit(1000000000) from heapq import heappush, heappop,heappushpop from collections import defaultdict from itertools import accumulate from collections import Counter from c...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b14632706a098482c189705649ceeb40c19f2c46
ca3cbcabbebf7ddbb74eddec9bb677b9e8983377
/Challenge/rna.py
b23ab737f655eeaaab7ab4e37d6ba9c95222a51c
[]
no_license
tkss007/cs519
cdeca260b9552540c08cee0e5481b66277ffacd5
7e6bd7fbd50b9109100ff1d0da3f12eb8ceeb0d4
refs/heads/master
2020-04-09T13:17:47.343207
2018-12-04T14:26:59
2018-12-04T14:26:59
160,369,350
0
0
null
null
null
null
UTF-8
Python
false
false
2,405
py
from collections import defaultdict pair = frozenset([('A','U'),('G','C'),('G','U'),('U','A'),('C','G'),('U','G')]) def best(squence): global pair table = defaultdict(tuple) opt = defaultdict(int) end = len(squence) for i in xrange(len(squence)): table[i, i + 1] = squence[i] f...
[ "noreply@github.com" ]
tkss007.noreply@github.com
09b998759242491dc53a58d7b201ee411036bd42
2d390ca34b9fd4f455e674ae5e2920589e6c8a92
/aprspass.py
71602db1b696a6732a402d543d359b3197573f0e
[ "BSD-2-Clause" ]
permissive
sgub/aprs-utils
79198f19a2a270bb2e65e4f4ffa8f5bbb9f6159f
6e2b5960deae464ca5b5c2098b44835dd3476e0d
refs/heads/master
2020-03-18T06:23:25.516441
2018-05-23T02:23:05
2018-05-23T02:23:05
134,392,526
0
0
null
2018-05-22T11:26:55
2018-05-22T09:32:30
Python
UTF-8
Python
false
false
1,071
py
#!/usr/bin/python # Generate APRS-IS passcode from CALLSIGN # algorithm from Xastir callpass.c kKEY = 0x73e2 def doHash(callsign): rootCall = callsign.split("-")[0].upper() + '\0' # Strip ssid part from call and convert to uppercase. hash = kKEY # Initialize with the key value i = 0 for i in ra...
[ "noreply@github.com" ]
sgub.noreply@github.com
0cd6472c1392357b71b05001e72192c8990c3365
846d3223368b497c8f660e0044f9cbb8f57d8f72
/projects/01_fyyur/starter_code/migrations/versions/327023e9cf01_.py
ee4405f06f44d0e937a3f5255eab292b05090e79
[]
no_license
marwansalem/udacity-advanced-web-dev
33162da9c2325346bf2ccd68a0b5bc83c21550c4
4508149c27f15487e9115c89f49471bd30b37662
refs/heads/master
2023-03-02T03:23:38.573724
2021-02-08T18:03:06
2021-02-08T18:03:06
315,174,890
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
"""empty message Revision ID: 327023e9cf01 Revises: 46fc223037de Create Date: 2020-11-29 04:01:31.069685 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '327023e9cf01' down_revision = '46fc223037de' branch_labels = None depends_on = None def upgrade(): pa...
[ "marwan10salem@hotmail.com" ]
marwan10salem@hotmail.com
4c0e6b5800b0836bc35be4c1875d00818562ab51
e5f8aee6f610da3c3fcb8e7fbbe8da578f75aba1
/list2.py
456157d11d400988b4d480d1fb9d6c5988e601fd
[]
no_license
lihua927/python
bb500109f86dd224208a8eab27c97f9e49b5ced5
8eabebfd909b3fb95205c74015557f7a588c1433
refs/heads/main
2023-09-03T20:31:25.332836
2021-10-29T08:44:57
2021-10-29T08:44:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
#date: 2021.10.21 #author: 李天王 #desc: 列表的排序 #sort方法永久改变元素顺序 names=['pig','cat','dog','apple'] print(f'This is old sort:\n{names}') names.sort() print(f'This is new sort:\n{names}') print('names\n') #sorted()函数临时改变列表值 friends=['lzh','adf','cdf','mnt'] print(f'It is old sort:\n{friends}') print(f'It is new sort(small--...
[ "2074105904@qq.com" ]
2074105904@qq.com
d4895c6f61bf053c4985db27542ac4c9168fd556
567f0c862acdc46700db51cf6e4019ed0650b87c
/src/lib/detector/hash.py
9e0df3cb4577c85170c0e8f152f9577e0560d030
[]
no_license
pking74/dump-scraper
6cc9aae3489b310c7c65f1193da66448c11d2a46
a22b46b47afd5d2e4dfe8b268e750977afcf078d
refs/heads/master
2020-05-30T13:25:37.432599
2015-06-02T19:55:14
2015-06-02T19:55:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,280
py
__author__ = 'Davide Tampellini' __copyright__ = '2015 Davide Tampellini - FabbricaBinaria' __license__ = 'GNU GPL version 3 or later' import re from lib.detector.abstract import AbstractDetector class HashDetector(AbstractDetector): def __init__(self): # Order MATTERS! Functions to detect false positive...
[ "tampe125@gmail.com" ]
tampe125@gmail.com
c8a81c58a5ba30e56493fc3f9f751e59848f81d9
fab14fae2b494068aa793901d76464afb965df7e
/benchmarks/f3_wrong_hints/scaling_ltl_timed_transition_system/13-sender_receiver_34.py
716b7a6f40a03d13a219212d8ffce30ce7cdb74a
[ "MIT" ]
permissive
teodorov/F3
673f6f9ccc25acdfdecbfc180f439253474ba250
c863215c318d7d5f258eb9be38c6962cf6863b52
refs/heads/master
2023-08-04T17:37:38.771863
2021-09-16T07:38:28
2021-09-16T07:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,103
py
from typing import FrozenSet from collections import Iterable from math import log, ceil from mathsat import msat_term, msat_env from mathsat import msat_make_constant, msat_declare_function from mathsat import msat_get_integer_type, msat_get_rational_type, msat_get_bool_type from mathsat import msat_make_and, msa...
[ "en.magnago@gmail.com" ]
en.magnago@gmail.com
3e260bff96fd821f30d2ae2facff93c6163e5195
7a30591411039d90ad9eb1c11b3a96fea15f4d66
/Assignments/Devan/4 Django/links_django/links_app/admin.py
7d379af40ab99d05a96053cdef13440a77b2278f
[]
no_license
PdxCodeGuild/class_mudpuppy
60fe3cc06c23da8c8c08257a2b9b87f7593c9fb6
36e08862d1bbcc9a4b535d948199e569ecbdd115
refs/heads/master
2022-11-29T15:25:26.721828
2021-07-15T22:20:11
2021-07-15T22:20:11
248,027,316
5
2
null
2022-11-22T06:30:19
2020-03-17T17:06:14
Python
UTF-8
Python
false
false
274
py
from django.contrib import admin from .models import Link, Comment # Register your models here. class LinkAdmin(admin.ModelAdmin): pass class CommentAdmin(admin.ModelAdmin): pass admin.site.register(Link, LinkAdmin) admin.site.register(Comment, CommentAdmin)
[ "devan@createpnw.com" ]
devan@createpnw.com
33d53cd0e67aaa79165fa39ddcc33466d91b89bc
5d580f692bf84202ebdc2a2b5601eff9de3aa555
/test-csv.py
b5f6b99192caaab68b3780ff635daf568af2106b
[]
no_license
tf302/2020-holidays-python
9116d85348946fe7d3e800e6299bfd2ca347b07e
4d5c9f5f8d0d491c4c20ec50a3115b28c8f14aea
refs/heads/master
2021-01-08T02:01:31.530178
2020-03-05T13:14:49
2020-03-05T13:14:49
241,878,406
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
import csv with open("mytest.csv",'a') as file: #file.write('hahahah') #文件的形式写入 #读取数据 #result = csv.reader(file) #print(result) #for content in result: # print(content ) #写入 writer = csv.writer(file) #writer是实例化对象 writer.writerow(['特','特特','特特特'])#writerow()是写入的方法,括号内的数据是列表形式
[ "1007278472@qq.com" ]
1007278472@qq.com
ece04518d1f3b5c04a7929b56eda8a1b3b1d4c0e
04449b6d8df371c1aea79fea7f00b374e60b1951
/model/vgg.py
6146a6d17b5b338b9fa4a8baebdb3db63fc29f77
[]
no_license
zyting1014/prunning_zhu
c5fad7d618ad158aa86943d19ba88ce6a82cc3f4
11d795943cc57e5936f0ed16a674ecf00136911a
refs/heads/main
2023-06-03T16:31:38.407893
2021-06-21T13:26:08
2021-06-21T13:26:08
369,244,702
0
0
null
null
null
null
UTF-8
Python
false
false
6,545
py
import os import torch import torch.nn as nn import torch.utils.model_zoo as model_zoo from model import common from util import utility def make_model(args, parent=False): return VGG(args[0]) # reference: torchvision class VGG(nn.Module): def __init__(self, args, conv3x3=common.default_conv, conv1x1=None)...
[ "16301083@bjtu.edu.cn" ]
16301083@bjtu.edu.cn
5c848c88d6c4ae945db5c414870ec46ba83c690d
ff46bda36eb4a74409a567c45d0b72c14290aef0
/Crawler/nextmgzNews/tools.py
b541bf3838dd1bb4326f00dd64bd8ad1958d6a7a
[]
no_license
Johnny1110/python_in_action
103d16acb7503e11dad77a876ee00d322bf36d6b
5fe7cfe69b5c5d5e41e7ad26a9dedd06b0dac55b
refs/heads/master
2022-11-12T20:04:37.086386
2020-07-02T09:30:05
2020-07-02T09:30:05
218,039,078
1
0
null
null
null
null
UTF-8
Python
false
false
2,741
py
import datetime import hashlib import re site = "test_site_id" def sTransToDate(param): sec = int(param.strip()) return datetime.datetime.fromtimestamp(sec).__str__() def extractCutoffDate(date_str): date = datetime.datetime.strptime(date_str, "%Y-%m-%d") return date def toMD5(data): m = hashlib...
[ "Jarvan1110@gmail.com" ]
Jarvan1110@gmail.com
d336cadd42167e69b55bc91244e03e01239bed5b
04ce819f4ec9fcc181a2afa245c933ad1deed53b
/actupac/Interpolation.py
90f60a69671c993681881e41562fb5070a146f7c
[ "MIT" ]
permissive
JasonVictor17/actupac
47064e0d9ba5bbbdf0ad88bc33deb1570b14725b
973ccbf9d7ef2bf283d12685eceb4002408da2f2
refs/heads/master
2021-01-06T19:51:36.743426
2020-02-24T08:48:29
2020-02-24T08:48:29
241,467,654
2
0
null
null
null
null
UTF-8
Python
false
false
11,945
py
import numpy as np import pandas as pd import math import matplotlib.pyplot as plt from .General import Initial class Interpolation(Initial): def __init__(self, mu=0, sigma=1): Initial.__init__(self, mu, sigma) def piecewise_linear_single(self,t1,t2,y1,y2,n): ...
[ "noreply@github.com" ]
JasonVictor17.noreply@github.com
f09284ebfcdeefd890f65edee955d49c36cd1b1a
a7dfa187acfa7b328d372c15bc8e169ff97f7aef
/pd_mesh_net/utils/optimizers.py
627c7d2bb8ffd555086e99bf6ca5000d32aa613c
[ "MIT" ]
permissive
Easy-Shu/PD-MeshNet
131c5fddadcc0fd91f027f55266ed5358663053e
e3f6c01ceff260778daf5fea66125413309e4399
refs/heads/master
2023-08-23T18:32:37.349965
2021-10-04T14:16:56
2021-10-04T14:16:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,393
py
import torch import warnings def create_optimizer(optimizer_type, network_parameters, **optimizer_params): r"""Creates an instance of the input optimizer with the input parameters. Args: optimizer_type (str): Name that identifies the optimizer. Valid values are: `adam`. network_pa...
[ "francesco.milano172@gmail.com" ]
francesco.milano172@gmail.com
5570d8a59a3d6efc3e044e8e6c982bb16f856596
5007e600f9759008105d8ba0ff5950612752fb04
/CV0101EN-04-Arithmetic_Operations_on_Images.py
0de3a07b512662b9fd76593bb76fec630561cf8e
[ "Apache-2.0" ]
permissive
omsharma43/Computer-Vision-with-Python
394ae25ea74cf497f41ad34969d977fa0f26c8b0
8eebec61f0fdacb05e122460d6845a32ae506c8f
refs/heads/main
2023-03-21T11:17:40.958478
2021-03-15T10:42:01
2021-03-15T10:42:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,558
py
# Arithmetic Operations on Images """ * Learn several arithmetic operations on images like addition, subtraction, bitwise operations etc. * You will learn these functions : cv2.add(), cv2.addWeighted() etc. """ import cv2 as cv import numpy as np x = np.uint8([250]) y = np.uint8([10]) print("Computer visio...
[ "noreply@github.com" ]
omsharma43.noreply@github.com
9ecce05b325e0e97434ea4d2be262a2c89540f8e
ff979df1f4255e3a64669ec0043803decd58bcf4
/newrelic_plugin_agent/plugins/postgresql.py
d35e537ae5e73c160df7fe6503c7220288eab843
[ "BSD-3-Clause" ]
permissive
aismail/newrelic-plugin-agent
0f5e60261080eb40d9ad4476d22f699a48f52d9a
ab04e7e3c9dd0c9119a1aae58d98f2b3817fec56
refs/heads/master
2021-01-21T00:53:17.371049
2013-06-28T13:21:44
2013-06-28T13:21:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,261
py
""" pgBouncer Plugin Support """ import psycopg2 from psycopg2 import extensions from psycopg2 import extras import logging import time from newrelic_plugin_agent.plugins import base LOGGER = logging.getLogger(__name__) ARCHIVE = """SELECT CAST(COUNT(*) AS INT) AS file_count, CAST(COALESCE(SUM(CAST(archive_file ~ ...
[ "gmr@meetme.com" ]
gmr@meetme.com
c10d2fe3793d4eb6d7f883c000c26a1e2309ea23
b31b9bac50e9061cedda8c742e534bfcf173c25d
/app/entity/contasCorrente.py
5a49d32896fc7d49ce4a9749a781995c9e3f4cb9
[]
no_license
ViniciusVendramelGalhiardi/api-python-efetivasaude
6bf3d6cd1ae26f212cd28de403abb438097d7725
fdfa0f1169b609c6e8b75933cbf67f12fa2bf427
refs/heads/master
2023-07-16T00:42:38.608080
2021-09-02T19:57:15
2021-09-02T19:57:15
354,327,350
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
from datetime import datetime from typing import List, Optional from pydantic import BaseModel, ValidationError, validator class ContasCorrenteEntity(BaseModel): IdContaBancaria: Optional[int] Banco: Optional[str] Agencia: Optional[int] ContaCorrente: Optional[int] DigitoVerificador: Optional[int] ...
[ "vinicius@landmarkti.com.br" ]
vinicius@landmarkti.com.br
b8ad07737b5ccc252d152a416e789ea36f0990be
3bf81677cebb06262480313481454e533b6e2a15
/Week 07/id_489/LeetCode_115_489.py
cafca29f0c7278a6a8fcb04bc39d8fd2bcaa93ab
[]
no_license
wyjksyjs/algorithm004-04
15dc68de8b845fd1ef5ccbd99871246d6ac67fe6
71dfd266f1f0646d5aefcb72fa46c854a96cdfc7
refs/heads/master
2020-08-12T19:22:17.201907
2019-12-08T12:03:01
2019-12-08T12:03:01
214,827,970
0
0
null
2019-10-13T13:46:18
2019-10-13T13:46:17
null
UTF-8
Python
false
false
614
py
class Solution: def numDistinct(self, s: str, t: str) -> int: n1 = len(s) n2 = len(t) dp = [[0] * (n1 + 1) for _ in range(n2 + 1)] for j in range(n1 + 1): dp[0][j] = 1 for i in range(1, n2 + 1): for j in range(1, n1 + 1): if t[i - 1] =...
[ "1273836690@qq.com" ]
1273836690@qq.com
d2da3d3a0bb26f5782b9c140d847572bc7cd8ec0
fc0a6e0f9ffa90a2473fec77bc52ea02e9b21f55
/venv/lib/python3.7/site-packages/akshare/qhkc/funcs.py
ef5311e4c8f7909a2359e139fe2ab25f1364655b
[]
no_license
YixuanSeanZhou/COVID19_Scraping
3903e697caf406c7d357afd8cc43811d62896244
b84890c4a5ddef589cd76d1ed8fd4a1976f4e3c4
refs/heads/master
2022-09-08T16:14:33.292096
2020-05-23T04:26:02
2020-05-23T04:26:02
266,261,823
0
0
null
null
null
null
UTF-8
Python
false
false
1,527
py
# -*- coding:utf-8 -*- # /usr/bin/env python """ Author: Albert King date: 2020/2/13 23:11 contact: jindaxiang@163.com desc: 可用函数库 --> client.py --> DataApi """ class QhkcFunctions: @staticmethod def variety_positions(fields="shorts", code="rb1810", date="2018-08-08"): """ 奇货可查...
[ "thomaszhou2333@gmail.com" ]
thomaszhou2333@gmail.com
1f7723168e6a49bcdc616eed2a91fc7a05d1b3d3
f3057f554643bd68ccf5fb34966f8233c57c600f
/djmodels/blog/migrations/0007_auto_20171213_1357.py
0f340f6c17444af0f3f8de61a33fd8e29ffcc8c9
[]
no_license
travishen/djcore
e917eeefc0d8a985fa083bbaf6b426ad4af31dcb
e611d82797abd04f5909b809e6c4debb46eece11
refs/heads/master
2021-09-03T02:52:38.336089
2018-01-05T02:24:16
2018-01-05T02:24:16
113,840,771
0
0
null
null
null
null
UTF-8
Python
false
false
716
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2017-12-13 13:57 from __future__ import unicode_literals import blog.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0006_auto_20171213_1225'), ] operations = [ ...
[ "travishen.tw@gmail.com" ]
travishen.tw@gmail.com
6f6ddd05aaf8754e9d79d3780bb7b200c802afa5
8315d574e1fd3d9a4f85324a6b7003a270bf0607
/web-applications/bin/pybabel
aa78749d8f172a0ba85ae44247e14220948387b5
[]
no_license
himanshukandwal/snip.py
4395953d1eba4d429d1d4e115a8087516ebdc51c
8d2e9bd1a8e0c00b3ccb53fcd84bff956913c05a
refs/heads/master
2021-01-17T16:46:45.767551
2018-04-22T18:30:32
2018-04-22T18:30:32
64,358,691
2
0
null
null
null
null
UTF-8
Python
false
false
320
#!/Users/Heman/Documents/workstation/Developement_Studio/Python_Laboratory/snip.py/web-applications/bin/python3.5 # -*- coding: utf-8 -*- import re import sys from babel.messages.frontend import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "himanshuk.19@gmail.com" ]
himanshuk.19@gmail.com
d76ae3bb7dba996c8265e7179b8383a14b9ace5d
b3c3ea7aaf98abdb2fa021ff11910f0de7ef1933
/ec2_check_security_groups_lambda.py
42378d36468b955099f0153214ed2bfd661f286d
[]
no_license
Techsture/python
e06d9bd8eb4e9b815cc30ab8d9b7efa0d99fb20c
5a300f28b02570bf4fca34390baafe6ba8aeafb4
refs/heads/master
2022-06-19T06:35:18.504301
2022-06-12T06:36:02
2022-06-12T06:36:02
87,389,026
0
1
null
null
null
null
UTF-8
Python
false
false
1,677
py
#!/usr/bin/python # This script checks all security groups in our account for 0.0.0.0/0. # It can easily be extended to add other CIDR ranges as necessary in the future. # Replace anything in the <>'s with your account specifics. import boto3 import json def lambda_handler(json_input, context): ec2_client = boto3...
[ "mandrews4@apple.com" ]
mandrews4@apple.com
5413d031417309e735835404adb303849df86bc5
db8e966eff8f2bc46b2d4eb55390aa06d839e1d8
/1142.py
9ae6b8645a1ece81839594e7362d490ff759f732
[ "Apache-2.0" ]
permissive
luizgallas/uri_iniciante
1e50057bedec8331c0d61c84922524c2579100d0
fd23f2fe1638b373b94b7b4ddb2d906cec8db87b
refs/heads/master
2020-05-19T07:37:44.097170
2019-07-05T14:19:56
2019-07-05T14:19:56
184,758,182
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
num = int(input()) c = 1 for i in range(num): print("%d %d %d PUM"%(c, c+1, c+2)) c+=4
[ "luizgallas@outlook.com" ]
luizgallas@outlook.com
059631a4c4185b913fd290a6b60c75c541f17a35
7f70bf174ac53fc7149859ce5e8eee9cb162a1f3
/testelife.py
0791b26973624d2ee8d23da50ded4a2cf984442e
[]
no_license
LuanAngeloRocha/testePython
606ee07c0eaf946053d72f5c7a0352337750d67a
5a03d08f47d3fb465639964bdf6254e3efc9dee5
refs/heads/main
2023-08-23T11:21:29.736545
2021-10-03T03:39:00
2021-10-03T03:39:00
412,944,520
0
0
null
null
null
null
UTF-8
Python
false
false
2,120
py
import datetime import pandas as pd import dados.csv #importando o arquivo csv com os dados dados = pd.read_csv("dados.csv") #Resposta para a pergunta ---> Qual data ocorreu o maior volume geral de negociações? volume_Max = dados['volume'].max() Questão1 = dados.loc[dados['volume']==618237630] print(Questão1) print('=...
[ "Luanrochaangelo@gmail.com" ]
Luanrochaangelo@gmail.com
747afb625d0dd3ca644ee3ab6368557930c545d7
9d9baa4589d9f00856bac649b350bae6a4395d3e
/app/migrations/0005_cart.py
4b014d2160bfd8b2206d631aa7276a01af152ce2
[]
no_license
gueat/seven-plus-two
eda84bdced1c9a263eaae6a4cdc8cee163ec26b5
6577a6f1a5e55205496468bcecb1344ee56f567f
refs/heads/master
2020-04-29T06:13:23.000927
2019-03-19T06:54:39
2019-03-19T06:54:39
175,909,466
0
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2019-03-16 01:12 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app', '0004_goods'), ] operations = [ migr...
[ "1107394795@qq.com" ]
1107394795@qq.com
bd5ba5c7452d780e35d39750ff9e32f378d30a5f
0760fb4901a75766921a205b55686d6d6f049b30
/python/ray/_private/runtime_env/py_modules.py
97fccf60addb8d4131a5f5171d938b8c5bdf6255
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
ray-project/ray
a4bb6940b08b59a61ef0b8e755a52d8563a2f867
edba68c3e7cf255d1d6479329f305adb7fa4c3ed
refs/heads/master
2023-08-31T03:36:48.164405
2023-08-31T03:20:38
2023-08-31T03:20:38
71,932,349
29,482
5,669
Apache-2.0
2023-09-14T21:48:14
2016-10-25T19:38:30
Python
UTF-8
Python
false
false
8,762
py
import logging import os from pathlib import Path from types import ModuleType from typing import Any, Dict, List, Optional from ray._private.runtime_env.conda_utils import exec_cmd_stream_to_logger from ray._private.runtime_env.context import RuntimeEnvContext from ray._private.runtime_env.packaging import ( Prot...
[ "noreply@github.com" ]
ray-project.noreply@github.com
0f7ed9108167fa6f1e7ff952af62e2a8693d721c
11a826157f9da66b2cb59b90f37f1654fb8aed5f
/reVX/version.py
182853374490e238b0e86d851045bdb5519bdb30
[ "BSD-3-Clause" ]
permissive
daniellevie/reVX
dd60d71aab1e13b12d6e75ff48f889d32f7253ed
4d62eb2c003c3b53b959f7a58bdc342d18098884
refs/heads/main
2023-08-18T05:00:57.038957
2021-09-29T15:16:28
2021-09-29T15:16:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
76
py
# -*- coding: utf-8 -*- """ reVX version number """ __version__ = "0.3.37"
[ "mrossol@gmail.com" ]
mrossol@gmail.com
ffdd06e952d9183107955693add0c4083026d689
4fa9fbfd5bd741b8d2d9a58bc07735d8968c9b04
/set2/pycharm-edu-2/lesson1/Castle/task.py
6d393ec61b9c3f7950e2a272a09c9713f1781b27
[ "LicenseRef-scancode-other-permissive", "MIT" ]
permissive
42n4/builder_police
67d6b069297b0939beca134e47db2f4506ffc955
6885ee23f4f4a35c61da980bef1cad8852fae9c4
refs/heads/master
2020-07-17T01:10:25.621932
2019-05-06T05:22:42
2019-05-06T05:22:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,806
py
from ircbuilder import MinetestConnection from minetest_irc import ircserver, mtuser, mtuserpass, mtbotnick, channel, player_z mc = MinetestConnection.create(ircserver, mtuser, mtuserpass, mtbotnick, channel) # BUILDING LOCATION # player's z coordinate used as reference point for all building ref_z = player_z # x va...
[ "tim@triptera.com.au" ]
tim@triptera.com.au
2f9c24b92547c977122be48fb7ed1398a7253162
598366740423c0327c405f5344492380bc90c3b6
/plugins/db/db.py
d224866172d0a9d9bf00a7eeddaedb295fcbe46d
[]
no_license
qwerdy/MyFlexget
4fa683e351680ba77dcd31a14dacb8ee891789aa
e20f2a04b1d3b9a5b502cb4502556e500a759046
refs/heads/master
2021-01-21T21:48:39.197537
2016-03-28T10:58:49
2016-03-28T10:58:49
9,843,599
0
0
null
null
null
null
UTF-8
Python
false
false
1,702
py
from myflexget import app from flask import g import sqlite3 import os #Get absolute path to database file: dir_path = os.path.dirname(os.path.abspath(__file__)) DATABASE = os.path.join(dir_path, 'db.sqlite') #Create database if not exist if not os.access(DATABASE, os.R_OK): print('INFO: No database found, creati...
[ "qwerdy@ymze.com" ]
qwerdy@ymze.com
b3cff95f72a3608ad73b85da10d7107fb58c1793
29cc701e819786afc83a73241c99b5e9fb5bfe9e
/Asssignment12_part1.py
d2614a52d04fc7cad158df6c28e2e812d7ce2670
[]
no_license
abhayj-0/Assignments-Acadview-
7f3f711757dc9b945ce5be3ef6e49fb053781283
076e66bb59fe4828ee488c368f29a2714bf294ff
refs/heads/master
2020-03-20T05:49:16.687432
2018-07-12T18:44:15
2018-07-12T18:44:15
137,227,133
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
consumer_key = "Sp84yFNMkN1gxiSiyQpYTIzIH" consumer_secret = "3CvTsI1UZKyyOG4QaN3NayXBkGBRDjY8r4HEbPTS5IUXeK43Mh" access_Token = "4125329238-ytT4HkcfneOdr9QvEc8KZBS588dK3K5JlvW7eyK" access_Token_secret = "6Z7Tb4cGT2GsduJCT5lkggPHOsxLOg2tIgBwu0OXxTrku"
[ "{abhaybi66}" ]
{abhaybi66}
408623adb5f86a2df530c54ac5ec9963e392a64e
9eeeffe45c7f7c12dc2d992c5be6d9c3e89a7e06
/lab4.py
a36451db63d7c6dbd37289845ea7470f48edc6ca
[]
no_license
V1kos1k/iu7_computational_algorithms
872a7311ea5ecdc1263c94969c044b2e83a4ca41
96c8970de750bc504bb8b06611a5b2ac14d73f3e
refs/heads/master
2020-03-22T15:01:21.769971
2018-07-09T02:52:27
2018-07-09T02:52:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,662
py
from math import sin, cos, exp from numpy import linspace def f1(x, y): #r = x**3+y+1 r = x - y -0.33 return r def f2(x, y): #r = exp(x) - 2*y + 1 #print("x, exp(x)", x, exp(x)) r = x + y + 0.23 return r def poldel(a,b,eps, y, f): xp = a xs = b xt = (xs+xp)/...
[ "mhitaryanvika@gmail.com" ]
mhitaryanvika@gmail.com
3c5fc09bec4a18262ea8c704e31dc5acd395404a
f84ce9cabefe56a007c3a4d4d7f6333284fcbe62
/image derivatives.py
e8754d30739ef937ac09918c754dbc6f191f9589
[]
no_license
qinhaihong-red/TorchDaily
437c83c20e140863aeb6f55ddd01e4332de9da96
553c9cff317d64d910c6d47bee1b7a658aea2a04
refs/heads/master
2020-05-22T14:59:31.956100
2019-05-13T10:35:24
2019-05-13T10:35:24
186,398,303
5
1
null
null
null
null
UTF-8
Python
false
false
5,936
py
#%% import numpy as np import cv2 #%% [markdown] # # Image Derivative # # ## Theory # # A image can be represented as a mapping : $f(x,y)$, in which $(x,y)$ defines coordinates and $f(x,y)$ for intensity value. # # ### First- and Second Order Derivative # # Let $f(x+\Delta x,y)$ expand as Taylor series: # ### $f(...
[ "qinhaihong@yeah.net" ]
qinhaihong@yeah.net
e686684b4fdc17a79bda19d25fd0b66063ac61a3
598e1e54272493900ce35f9ee3c7ed32ccd2a3fe
/display_in_binary.py
ce364f69a73c336cacbe0936bf7b65176d1eb746
[]
no_license
CP-NEMO/Basics-of-python
3bdc96d71981ef1609c06c8ab141590e4dfc035e
e49eca63f09137a16f62539a51ea39ccb3e8e037
refs/heads/master
2020-05-09T09:35:32.943368
2019-04-14T07:15:01
2019-04-14T07:15:01
181,008,030
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
a=int(input("Enter the number:")) f=0 i=0 while(a>0): e=int(a%2) a=a//2 f=int(e*(10**i)+f) i=i+1 print(f)
[ "noreply@github.com" ]
CP-NEMO.noreply@github.com
fc52d8ec81fe4b307261bd7e11d50deb5d97ee67
9ba00eb872099e6fe69c4e6b3561b0578cc09ca4
/exoplanets.py
cc3e8a16376dfb30a79845c999770f1eb685ffd8
[]
no_license
RuthAngus/exoplanet_travel
4ab56ee3adfaaeca009e6997706f42091d634c01
b7248030e8713811f65239d5745fbd9493dcfd58
refs/heads/master
2020-12-24T13:28:35.234907
2014-07-01T16:14:24
2014-07-01T16:14:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,548
py
from exoplanet_pictograms import plot_exoplanet, plot_name, remove_space from flask import Flask, url_for from flask import render_template import numpy as np import kplr import csv app = Flask(__name__) @app.route('/') def index(name=None, text=None): name = nm() print name text1 = p_text(name) text2 ...
[ "ruth.angus@astro.ox.ac.uk" ]
ruth.angus@astro.ox.ac.uk
00061ee28548b2c6b4aefaa5471d754a09c8788d
653a3d9d66f3d359083cb588fc7c9ece8bb48417
/src/graph_transpiler/webdnn/backend/fallback/kernels/cosh.py
ceb89aa2948de8ed8a485af2566d587d6dfce987
[ "Zlib", "MIT" ]
permissive
leonskim/webdnn
fec510254b15f3dec00f5bed8f498737b372e470
f97c798c9a659fe953f9dc8c8537b8917e4be7a2
refs/heads/master
2020-04-15T18:42:43.632244
2019-01-10T10:07:18
2019-01-10T10:07:18
164,921,764
0
0
NOASSERTION
2019-01-09T19:07:35
2019-01-09T19:07:30
Python
UTF-8
Python
false
false
186
py
from webdnn.backend.fallback.kernels.elementwise import register_elementwise_kernel from webdnn.graph.operators.cosh import Cosh register_elementwise_kernel(Cosh, "y = Math.cosh(x0);")
[ "y.kikura@gmail.com" ]
y.kikura@gmail.com
ac7b461e521f1698a1608e239db38e0db8cc4173
918595e3b4f1db7c9588684924988a3f319e4607
/bit-python01/src08/test03.py
d43a5919b57a8eca76a2a5ef46a934bc673a7bb0
[]
no_license
eomjinyoung/bigdata3
d849c4a8634a48ae3d30ce5f5ff1ad839195aff9
ef90e729ec42177b8384af06f6b947cc6e117307
refs/heads/master
2021-07-12T22:11:20.989729
2018-01-18T00:45:08
2018-01-18T00:45:08
95,863,374
0
4
null
null
null
null
UTF-8
Python
false
false
439
py
# 모듈 사용하기 - 함수에 별명 붙이기 # => from 모듈명 import 함수명 as 별명 from calculator import plus as p, minus # => 별명이 붙은 함수는 별명으로 호출해야 한다. print(p(10, 20)) # => 별명이 붙은 함수는 원래 이름으로 호출할 수 없다. #print(plus(10, 20)) # 오류! # => 별명이 붙지 않은 함수는 원래 이름으로 호출한다. print(minus(10, 20))
[ "jinyoung.eom@gmail.com" ]
jinyoung.eom@gmail.com
52bd45f32d19fe126871055aef6cb748b592dc08
b95d8351eb7d9710513836cae028937eacfe9381
/setup.py
900fb67a0d92c176dcbf9d5dc454c214227c9ed9
[ "MIT" ]
permissive
kroone/quick_dag
6e8086360713f9cd4887a72eba39189ddd93558a
a60dba069b85d02fa7563c28cb2e9ecb0efce3c6
refs/heads/main
2023-02-21T17:49:24.275791
2021-01-20T13:48:28
2021-01-20T13:48:28
331,316,624
0
0
null
null
null
null
UTF-8
Python
false
false
1,443
py
from distutils.core import setup setup( name = 'quick_dag', # How you named your package folder (MyLib) packages = ['quick_dag'], # Chose the same as "name" version = '0.1', # Start with a small number and increase it with every change you make license='MIT', # Chose a license from here: h...
[ "stefan.krone@zalando.de" ]
stefan.krone@zalando.de
2f5013ac6fd73da64e153628614dfa276fd04d3b
48a36fddd9e7c584a9792533c11601f0e4619885
/torchvision/edgeailite/xvision/losses/flow_loss.py
d3d238fa87d39813f0da26d516e3e186af56441d
[ "MIT", "BSD-2-Clause-Views", "BSD-3-Clause" ]
permissive
supermy00/edgeai-torchvision
8c152e796590ae5f6ae4f6948cbfb132409506a0
29b02c32b26ea8c0c319a376ab8a9a1b9ada25b5
refs/heads/master
2023-09-02T02:36:47.068701
2021-11-17T10:08:17
2021-11-17T10:08:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,504
py
################################################################################# # Copyright (c) 2018-2021, Texas Instruments Incorporated - http://www.ti.com # All Rights Reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditio...
[ "a0393608@udtensorlab5" ]
a0393608@udtensorlab5
ca75f05cd80acb75911622ecaa2e8e98c607b2fa
1213bcf770a94a89b39be8dc7b99a3f7e35fd369
/src/alloy/backend/x64/optimizer/passes/sources.gypi
6d80257ca4d2836c37d094b89bcaa73a046bbcae
[]
no_license
wtfaremyinitials/xenia
c86e4625a1dd084d97d44c3242e2faf208bca2b8
16b3ecd5897051f82bc236ad9a4d0ab5cab22e87
refs/heads/master
2020-12-31T02:43:53.168712
2014-01-14T22:06:05
2014-01-14T22:06:05
15,918,955
2
0
null
null
null
null
UTF-8
Python
false
false
254
gypi
# Copyright 2013 Ben Vanik. All Rights Reserved. { 'sources': [ 'reachability_pass.cc', 'reachability_pass.h', 'redundant_mov_pass.cc', 'redundant_mov_pass.h', 'register_allocation_pass.cc', 'register_allocation_pass.h', ], }
[ "ben.vanik@gmail.com" ]
ben.vanik@gmail.com
9edbd7dd5d1dc89004fd5abd46398875aab00e34
1afa6c852dfc922d1a26a384d965976f31a87692
/Imaging/Core/Testing/Python/TestSeparableFilter.py
da6b137d7329c12a4b1484262e2fe32f6bd2f967
[ "BSD-3-Clause" ]
permissive
dgobbi/VTK
631d037aacc7258861e70f77c586b01cd4ebff3f
17f232ee440025c26bc78a897edef78e9fc78510
refs/heads/master
2021-01-04T22:27:46.611907
2013-03-01T19:44:02
2013-03-01T19:44:02
938,377
0
2
null
null
null
null
UTF-8
Python
false
false
1,282
py
#!/usr/bin/env python import vtk from vtk.test import Testing from vtk.util.misc import vtkGetDataRoot VTK_DATA_ROOT = vtkGetDataRoot() # Image pipeline reader = vtk.vtkPNGReader() reader.SetFileName("" + str(VTK_DATA_ROOT) + "/Data/fullhead15.png") # Take the gradient in X, and smooth in Y # Create a simple gradient ...
[ "nikhil.shetty@kitware.com" ]
nikhil.shetty@kitware.com
8ebc06e98377e763ef104d45d0c6b726ec62cbdb
0ddff5cf652697ec10672d6431c8b6a45a845947
/list1.py
4573f7f7b579fb1e25fcc0e4e445439ff0461c91
[]
no_license
Rajavel485/python
5de4a2d440170de1bba56422265acdd1154cd509
d67f1615c7dc534be21acab4e2b3009cec7de15a
refs/heads/master
2020-07-11T22:29:29.505895
2019-12-10T06:28:45
2019-12-10T06:28:45
204,657,415
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
value="sherluck" new_list=[56,90,8,8,76] print(new_list.pop()) print(new_list) strings="i am stuying in paavai" print(strings.count('a')) print(strings.index('a',3)) mynew_list=strings.split() print(mynew_list)
[ "noreply@github.com" ]
Rajavel485.noreply@github.com
0d44bc22125c6dc9b17a5a261ad63fa8baa5c8a6
1c7d63acdb48342dc5af24a70232fcc80780be4c
/vmsareus/vmleases/urls.py
e2ee9d4a207806061adc84223c16e8df4c0d8d0c
[ "MIT" ]
permissive
greendavegreen/vmsareus
1fecfb8716714dfffb2b7b66edf42c6125fd0b3b
7cf56c97dcb08332ee89b7d0e7e161dec462bac0
refs/heads/master
2021-07-15T12:05:42.770561
2017-11-02T20:00:27
2017-11-02T20:00:27
96,323,487
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.vm_list, name='vm_list'), url(r'^vm/new/$', views.vm_new, name='vm_new'), url(r'^vm/(?P<pk>\d+)/manage/$', views.vm_manage, name='vm_manage'), url(r'^vm/(?P<pk>\d+)/$', views.vm_detail, name='vm_detail'), url(r'...
[ "david.green@cd-adapco.com" ]
david.green@cd-adapco.com
bdfd8597877777bf9d0fcfc209d3f8c5c3cfd544
211c303789a3a21dac34343d3e66a7516203516e
/shocktubecalc/__init__.py
ba48191093f7d80876bd2b94049f95a66a7a4dd4
[]
no_license
anthony-walker/euler1D
0af6d24c09284ef43dfcdd04ed531a733575121f
8705b733b21a31b3dd5b6bd844ce65f8cc392e2b
refs/heads/master
2022-08-29T09:06:14.709787
2019-11-09T00:48:46
2019-11-09T00:48:46
158,439,405
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
from .sod import solve name = "shocktubecalc"
[ "walkanth@oregonstate.edu" ]
walkanth@oregonstate.edu
83cb52e750c6a7de60a3941fc351b883d73cac91
caffcd9929ed0379a8851a464f3e38036a9c1d39
/day10.py
7382ee5335452e084e65193b7b5bc73067fcf673
[]
no_license
acharsujan/90Problems
a16bfbfe486d0f915fb23b00bb61f6322e2fa736
064062878b88da50a2edf017d82d2850e7ec2025
refs/heads/master
2020-04-23T16:22:00.451221
2019-03-26T15:02:04
2019-03-26T15:02:04
171,295,904
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
def minAbsSumPair(arr,arr_size): inv_count = 0 if arr_size < 2: print("Invalid Input") return # Initialization of values min_l = 0 min_r = 1 min_sum = arr[0] + arr[1] for l in range (0, arr_size - 1): for r in range (l + 1, arr_size): sum = ...
[ "acharsujan@gmail.com" ]
acharsujan@gmail.com