blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
2e7583363674cfa55ce581ed452d360ce8393efc
7a09af404f29389504742a3d5f1727bfbe562750
/TrekBot2_WS/devel/lib/python3/dist-packages/zed_wrapper/srv/_reset_tracking.py
8697aec8d13ca0aaae0b7bcd4d8f19678d6e3691
[ "MIT" ]
permissive
Rafcin/TrekBot
4baa2ed93b90920b36adba0b72384ac320d2de01
d3dc63e6c16a040b16170f143556ef358018b7da
refs/heads/master
2020-03-30T02:15:35.361254
2018-12-14T03:30:25
2018-12-14T03:30:25
150,622,252
1
0
null
null
null
null
UTF-8
Python
false
false
119
py
/xavier_ssd/TrekBot/TrekBot2_WS/devel/.private/zed_wrapper/lib/python3/dist-packages/zed_wrapper/srv/_reset_tracking.py
[ "Rafcin.s@gmail.com" ]
Rafcin.s@gmail.com
df77894562174695ef4300f1e43a6bfc49383c89
505e267bbf550eba19be058fe2cc3157b40e0450
/aurora/bag_transfer/migrations/0001_initial.py
75d992718c0b43f59129e7ba716d1d2753ff09b5
[ "MIT" ]
permissive
DLynch-Technology/aurora
27e450e09d5f880c573c7ebcf2d6c3c823f0bc4e
92f4b61ae0cdaf6f7c5a35bbdfb68e5ee91f8c96
refs/heads/master
2022-07-08T21:51:13.825473
2020-05-06T20:20:18
2020-05-06T20:20:18
262,055,531
0
0
MIT
2020-05-07T13:18:52
2020-05-07T13:18:51
null
UTF-8
Python
false
false
24,054
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-04-25 14:14 from __future__ import unicode_literals import datetime from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import djan...
[ "helrond@hotmail.com" ]
helrond@hotmail.com
2038aa3050cc92346ea0b068f9bf229f0c61d421
d499eced99250a9d1252c9602246061c6aa00af2
/pyomnidata/_DownloadFTPIndex.py
af1fbf0fde087e9cab217bd3ed2ab1b7e584c49f
[ "MIT" ]
permissive
pshustov/pyomnidata
b4c9ab23513026072e29b0412cbb67be5c93a66c
96305fac18ae9ef38d63c345629e7c22b1ef74f1
refs/heads/master
2023-08-13T13:09:36.406997
2021-02-01T11:35:47
2021-02-01T11:35:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
import os from . import Globals def _DownloadFTPIndex(): ''' This routine downloads the index.html of the omni FTP site: ftp://spdf.gsfc.nasa.gov/pub/data/omni/high_res_omni/ Returns: Boolean, True if index file exists ''' #check that the temporary folder exists if not os.path.isdir(Globals.DataPath+'tmp/...
[ "mattkjames7@gmail.com" ]
mattkjames7@gmail.com
ff8dc9b4b22c4235f3a50c89877feb67294c47f5
b87334490fe292fe7bcc5da94f3527ca037b6cb6
/IO/next_and_previous.py
cb87462d60de17a6f265c10094312867b74b6d24
[]
no_license
technetium0x32/neural_nets_course
9bde5dabcf7ab900e7a1e6a08f57bdb2ecc373e0
06a36261d02faf5b5ab266b7bf942717e4ad80bd
refs/heads/master
2020-09-13T22:42:06.262298
2019-12-03T21:46:21
2019-12-03T21:46:21
222,926,997
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
n = int(input()) def template(word, num1, num2): print("The ", word, " number for the number ", num1, " is ", num2, ".", sep = "") template("next", n, n +1) template("previous", n, n - 1)
[ "you@example.com" ]
you@example.com
40604cb3ee78b21f3bfddcfb3ecf3aacfb420fbb
24cce1ec7737f9ebb6df3e317a36c0a0329ec664
/HZMX/amazon_api/models/product_description.py
8ffb7a8c911a6dbd417a769219f81d87dfcfd556
[]
no_license
tate11/HangZhouMinXing
ab261cb347f317f9bc4a77a145797745e2531029
14b7d34af635db015bd3f2c139be1ae6562792f9
refs/heads/master
2021-04-12T04:23:20.165503
2018-03-14T05:02:05
2018-03-14T05:02:05
125,855,729
1
0
null
2018-03-19T12:42:07
2018-03-19T12:42:07
null
UTF-8
Python
false
false
528
py
# -*- coding: utf-8 -*- from odoo import models, fields, api from odoo.exceptions import UserError class ProductDescription(models.Model): _name = 'product.description' title = fields.Char(string=u'产品标题') keyword = fields.Char(string=u'关键词') short_description = fields.Text(string=u'重点说明') detail...
[ "1121403085" ]
1121403085
b970a168b05d2ea5c9c90c7989b9cb0f46be8ff4
9dab41a71bf19a9ad17ee3e9f77c0f58aebd1d6d
/python/uline/uline/uline/handlers/app/distributor/transaction/merchantsTransactionRefundList.py
14cad53474166ab8e28a1d579574724c39b13bee
[]
no_license
apollowesley/Demo
f0ef8ec6c4ceb0aec76771da8dd9a62fb579eac8
471c4af95d3a7222d6933afc571a8e52e8fe4aee
refs/heads/master
2021-02-15T04:01:51.590697
2018-01-29T01:44:29
2018-01-29T01:44:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,763
py
# -*- coding: utf-8 -*- from __future__ import division import tornado.web import tornado.gen from uline.handlers.baseHandlers import DtAdminHandler from .form import MerchantRefundList from uline.public.constants import WX_REFUND_STATE, WX_TRADE_TYPE from uline.public.permit import check_permission class MerchantsTr...
[ "36821277@qq.com" ]
36821277@qq.com
ad248d3ac8c0e7f2c7adbeba65d246ae1a6cc83c
4535c1eeede69d75a9d5eddab4585f127ab988b8
/SAC_BC_test/CriticNetwork.py
ec378bccdd8a2dfd65f99a8d55c6a439b4bf44f2
[]
no_license
namjiwon1023/Reinforcement_learning
99043d0ee49fef02a643a01948f44aea3719e0c0
14ddfb81295c349acc2ede7588ebc73c235246c0
refs/heads/main
2023-07-15T16:02:59.262942
2021-08-18T14:29:08
2021-08-18T14:29:08
319,899,024
2
1
null
null
null
null
UTF-8
Python
false
false
1,768
py
import torch as T import torch.nn as nn import torch.optim as optim import os import random import torch.nn.functional as F import torch.optim as optim from torch.distributions import Normal import numpy as np class CriticNetwork(nn.Module): def __init__(self, n_states, n_actions, alpha, n_hidden=128, dirPath='/ho...
[ "nzy1414117007@gmail.com" ]
nzy1414117007@gmail.com
b62dc3cb96f577794a4870b32ecd5eb954396def
9ecf55bf2601e0d4f74e71f4903d2fd9e0871fd6
/my_seg_tf/v10_segcap_128_128/models/res_unet.py
ee15d7555f444d475c209e437209701b2f0cc836
[]
no_license
qq191513/mySeg
02bc9803cde43907fc5d96dc6a6a6371f2bef6fe
4337e6a0ca50b8ccbf6ed9b6254f2aec814b24db
refs/heads/master
2020-04-10T09:57:37.811133
2019-06-26T08:21:23
2019-06-26T08:21:23
160,951,962
1
0
null
null
null
null
UTF-8
Python
false
false
7,511
py
import sys sys.path.append('../') from choice import cfg import tensorflow as tf num_classes = cfg.num_classes #交叉熵loss不可用,loss一直是成千上万,改成dice_loss def bn(inputs, is_training): normalized = tf.layers.batch_normalization( inputs=inputs, axis=-1, momentum=0.9, epsilon=0.001, ...
[ "1915138054@qq.com" ]
1915138054@qq.com
7655bd15b11889eb6e6b6d79f80275b7633179b1
566754f63c0d665af01bdad8814873468f8be888
/python/test/dynamic_import/dyimp.py
ce7f72b574de768f5af31228c8003c615f66fa91
[ "MIT" ]
permissive
qrsforever/workspace
7f7b0363649b73e96526745f85a22e70b1c749c9
53c7ce7ca7da62c9fbb3d991ae9e4e34d07ece5f
refs/heads/master
2022-05-04T18:58:41.562544
2020-05-25T04:07:00
2020-05-25T04:07:00
82,469,335
2
0
MIT
2022-04-12T21:54:15
2017-02-19T15:36:43
Jupyter Notebook
UTF-8
Python
false
false
71
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- def show(): print("1")
[ "lidong8@le.com" ]
lidong8@le.com
ef362d89a64ab183b48751de12b3ee6d01b45fcd
538f02794adb6a94f529c93d3b1b7aadebf6a82c
/fragprots/ptms.py
4305addeadcbcc4a8f3b90796c126ec07092b083
[]
no_license
MatteoLacki/frargprots
ec208bb36126060e68c5963035ce49f38a1b671c
ac3b02f5c5de0b9c9bb2309bdc97bf1204331c97
refs/heads/master
2020-05-29T13:21:33.941004
2019-06-02T18:49:18
2019-06-02T18:49:18
189,159,502
0
0
null
null
null
null
UTF-8
Python
false
false
839
py
ptms = { "phosphorylation": "P1H13", "acetylation": "C2H2O1", "glycation_by_hexose": "C6H10O5", "amidation": "H1N1O-1", "hydroxylation": "O1", "methylation": "C1H2", "ubiquitylation": "C378H627N105O117S1", "pyrogluta...
[ "matteo.lacki@gmail.com" ]
matteo.lacki@gmail.com
c48641c1e1db7ff9b49fdd37155b65107e893749
1a220abd21c56728aa3368534506bfc9ced8ad46
/4.programmers/프로그래머스_jungle/프로그래머스_입국심사_이분탐색.py
a068fb61739b62552f572ec7c478c1675f644821
[]
no_license
JeonJe/Algorithm
0ff0cbf47900e7877be077e1ffeee0c1cd50639a
6f8da6dbeef350f71b7c297502a37f87eb7d0823
refs/heads/main
2023-08-23T11:08:17.781953
2023-08-23T08:31:41
2023-08-23T08:31:41
197,085,186
0
0
null
2023-02-21T03:26:41
2019-07-15T23:22:55
Python
UTF-8
Python
false
false
486
py
def check(target,times): cnt = 0 for time in times: cnt += ( target // time ) if cnt >= n: return True return False #심사원 수 #각 심사원 시간 def solution(n, times): left = -1 right = max(times) * n while (left+1 < right): mid = (left+right) // 2 if not che...
[ "whssodi@gmail.com" ]
whssodi@gmail.com
70ec74c34aac7b487fdaa632a981580c9dbe2ee4
968629b530ba6e131e294c41a645d4004c053848
/wordhere.py
88db761abec221c7645d895c6195f2de58658cef
[]
no_license
EliEhrman/sst
c96f1df6ec512ce8e4b0462aa979fcf6de23734a
282e9b436e1917aea6a25160c0b8fde3137717d4
refs/heads/master
2021-01-11T14:49:08.191053
2017-04-04T02:57:53
2017-04-04T02:57:53
80,222,583
0
0
null
null
null
null
UTF-8
Python
false
false
18,596
py
from __future__ import print_function import csv import numpy as np import tensorflow as tf import random # import matplotlib.pyplot as plt import os import math wordsigs_path = '/devlink2/data/stt/ssignalsdb.txt' # wordsigs_small_path = '/devlink2/data/stt/ssignalsdb.txt' clipsigs_path = '/devlink2/data/stt/svadsigs....
[ "ehrman.eli@gmail.com" ]
ehrman.eli@gmail.com
9b67d7f72500909da7f0f0cb5dedf0dbd0842718
8cb6a47ee8c315e666d3ee95878be9a561ee0795
/qtk/converters.py
6644a78ca90049086014d82da263b6f533ddafac
[ "MIT" ]
permissive
walidLGIPH/qtk-python
e65128df08344da7f5a0136ba4de28e55eef254c
dce383b4c04eb86479a37c6a0d02c36ad6cef675
refs/heads/master
2021-01-15T09:14:06.774176
2016-08-20T03:58:27
2016-08-20T03:58:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,428
py
import datetime import QuantLib as ql from dateutil.parser import parse class QuantLibConverter(object): _daycount_map = { "ACT/ACT": ql.ActualActual(), "ACTUAL/ACTUAL": ql.ActualActual(), "ACT/365": ql.ActualActual(), # Per ISDA "ACTUAL/ACTUALBOND": ql.ActualActual(ql.ActualActu...
[ "gouthambs@gmail.com" ]
gouthambs@gmail.com
cf0ee8bd2e96ca49e1ded63e975ba4e7ca0ddda8
f810836bea801f2fa85418ac7f5f5ffb0f3e0bda
/abc/abc174/A - Air Conditioner.py
4ed457b2754140db1ad15f4181153fda7639afe5
[]
no_license
cocoinit23/atcoder
0afac334233e5f8c75d447f6adf0ddf3942c3b2c
39f6f6f4cc893e794d99c514f2e5adc9009ee8ca
refs/heads/master
2022-08-29T06:01:22.443764
2022-07-29T07:20:05
2022-07-29T07:20:05
226,030,199
1
0
null
null
null
null
UTF-8
Python
false
false
69
py
x = int(input()) if x >= 30: print('Yes') else: print('No')
[ "cocoinit23@gmail.com" ]
cocoinit23@gmail.com
05eee8b0ba56d41e83426d436f0692ef610a0f6a
a67147597814032c0fee8c1debb38e61730841c7
/argo/workflows/client/models/v1alpha1_workflow.py
febc83a27150f7a0aeedc0686216ff478b028bff
[ "Apache-2.0", "MIT" ]
permissive
CermakM/argo-client-python
12ddc49d8e10a2a68d5965f37b9353234a2c5906
0caa743442d37f2f2e3b30867398ed2708c1bf4d
refs/heads/master
2020-07-21T20:48:30.275935
2020-02-26T10:05:05
2020-02-26T10:05:05
206,972,491
36
9
Apache-2.0
2020-02-26T10:05:06
2019-09-07T13:31:46
Python
UTF-8
Python
false
false
4,419
py
# coding: utf-8 """ Argo Python client for Argo Workflows # noqa: E501 OpenAPI spec version: master Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class V1alpha1Workflow(object): """NOTE: This class is auto generate...
[ "macermak@redhat.com" ]
macermak@redhat.com
c3fb317042656ec258a4ad85ce79ba05e785e909
99c4d4a6592fded0e8e59652484ab226ac0bd38c
/code/batch-1/vse-naloge-brez-testov/DN7-M-180.py
a3030b6e5ab49d5ae990040ae3769a473610a07d
[]
no_license
benquick123/code-profiling
23e9aa5aecb91753e2f1fecdc3f6d62049a990d5
0d496d649247776d121683d10019ec2a7cba574c
refs/heads/master
2021-10-08T02:53:50.107036
2018-12-06T22:56:38
2018-12-06T22:56:38
126,011,752
0
0
null
null
null
null
UTF-8
Python
false
false
4,937
py
# To funkcijo prijazno podarjam vsem, ki bodo programirali v eni vrstici. :) # Kako jo uporabiti, je v navodilih. Kdor je ne potrebuje, naj jo ignorira. def vsa_polja(s, v): """ Generiraj vse koordinate (x, y) za polje s podano širino in višino Args: s (int): širina v (int): višina Retu...
[ "lenart.motnikar@gmail.com" ]
lenart.motnikar@gmail.com
6e305db51d9ecdc626fec2667ce5f448219fa48c
c071eb46184635818e8349ce9c2a78d6c6e460fc
/system/python_stubs/-745935208/time.py
53ffb3cf8767d965cd2aa32b2a433cc8fe0dedb6
[]
no_license
sidbmw/PyCharm-Settings
a71bc594c83829a1522e215155686381b8ac5c6e
083f9fe945ee5358346e5d86b17130d521d1b954
refs/heads/master
2020-04-05T14:24:03.216082
2018-12-28T02:29:29
2018-12-28T02:29:29
156,927,399
0
0
null
null
null
null
UTF-8
Python
false
false
13,035
py
# encoding: utf-8 # module time # from (built-in) # by generator 1.146 """ This module provides various functions to manipulate time values. There are two standard representations of time. One is the number of seconds since the Epoch, in UTC (a.k.a. GMT). It may be an integer or a floating point number (to represent...
[ "siddharthnatamai@gmail.com" ]
siddharthnatamai@gmail.com
09897f03a12953d22e389b965e6cb9cb9f256be3
ce7af567795b2b81d9bd9555778fe2719b512187
/src/restic_compose_backup/backup_runner.py
3632017d682cde5d793b20c76d8b6f8c5b3cf484
[ "MIT" ]
permissive
ZettaIO/restic-compose-backup
edff6fc9e96ad4da3ee67c0ad858831d31a59c4e
b52655a23bc385dbf78f7ef07fb26c86d76e07fa
refs/heads/master
2023-03-17T08:09:47.629710
2021-06-18T07:54:06
2021-06-18T07:54:06
181,201,741
21
12
MIT
2023-01-31T07:36:25
2019-04-13T16:52:41
Python
UTF-8
Python
false
false
2,058
py
import logging import os from restic_compose_backup import utils logger = logging.getLogger(__name__) def run(image: str = None, command: str = None, volumes: dict = None, environment: dict = None, labels: dict = None, source_container_id: str = None): logger.info("Starting backup container") client...
[ "eforselv@gmail.com" ]
eforselv@gmail.com
48fc83ee9cb23c97e28b5d07a5b7bdca8c5496d0
088f692b5981e0f0ff99191f482de3a783ff2260
/fcc_adtracker/scraper/migrations/0016_auto__add_field_pdf_file_underscore_url__add_field_pdf_file_filedir_ur.py
e5b96eedce99cf5229103b4b14a32e545f3c3e99
[]
no_license
sunlightlabs/fcc_political_ads
ec0de992a8e15822e3b44bf0897f0568f3880328
81a1bb410f5c71b39e31383020e554aafa70f222
refs/heads/master
2021-01-02T09:53:38.758905
2016-09-13T20:51:15
2016-09-13T20:51:15
4,089,192
2
6
null
null
null
null
UTF-8
Python
false
false
18,495
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'PDF_File.underscore_url' db.add_column('scraper_pdf_file', 'underscore_url', ...
[ "jfenton@sunlightfoundation.com" ]
jfenton@sunlightfoundation.com
3d29d0a0d86db7013a9b9d75574023a3a9b128d7
5292b03998384c0d2bb5858058892d7e45c5365b
/Hack.lu/2020/right-spot/flag.py
ca7d864bbb6d339759a0615750e388dd3485d0f1
[ "MIT" ]
permissive
TheusZer0/ctf-archives
430ef80d367b44fd81449bcb108e367842cb8e39
033ccf8dab0abdbdbbaa4f0092ab589288ddb4bd
refs/heads/main
2023-09-04T17:56:24.416820
2021-11-21T06:51:27
2021-11-21T06:51:27
430,603,430
1
0
MIT
2021-11-22T07:24:08
2021-11-22T07:24:07
null
UTF-8
Python
false
false
25
py
flag = "flag{fake_flag}"
[ "sajjadium@google.com" ]
sajjadium@google.com
62c324d6d4c85f595f9fa6dc0c245219bf331566
049351fedbb4b3a4e6c27f52c868d47b6d57817e
/player/migrations/0006_song_youtube_url.py
de737747bfa1503fe1e83b236b3b5dcf00d369d9
[ "MIT" ]
permissive
iCodeIN/virtualboombox
3cd256d4f335ad715729b7cd709a1bc435e70c4a
8748a3c9a1575865044b8bb35eee7cd2fbdfb3fc
refs/heads/master
2023-02-28T01:02:48.469366
2021-02-09T00:02:54
2021-02-09T00:02:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-01 06:32 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('player', '0005_auto_20170130_2324'), ] operations = [ migrations.AddField( ...
[ "jacebrowning@gmail.com" ]
jacebrowning@gmail.com
c75614151c17405621dc9f1dba7bb68c7240c58f
0ab01dca62eba79012e94b979881e1dc8f9af34a
/src/spotify/migrations/0001_initial.py
e204ab08e94b0c3774e3e3665fed5df02170bb1d
[ "MIT" ]
permissive
rryanburton/kwmgt
d4d3980a742c992e634d9b39e93099dfffb61d84
0e8f9657d48ed5b9021d6316caa55c982f9e2800
refs/heads/main
2023-04-08T09:18:46.882903
2021-04-14T02:43:32
2021-04-14T02:43:32
357,231,522
0
0
null
null
null
null
UTF-8
Python
false
false
979
py
# Generated by Django 3.2 on 2021-04-13 15:12 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Artist', fields=[ ('id', models.BigAutoField(...
[ "rryanburton@gmail.com" ]
rryanburton@gmail.com
3b3a12b433ddda95b7b382b744d9a3d30148fc3b
7c0d38f0f48e5a6537ee3efa8abcb9cf60264e32
/AI_module.py
9f6155136b29f8d3dbb5c6d95995424ad2b5767d
[]
no_license
ec500-software-engineering/exercise-1-modularity-leonshen95
4a7b9503187f035e27784604ff649b4a55064fe2
4800516ba6792a6ab1814bd7dc834b9b1cfb2485
refs/heads/master
2020-04-22T02:06:31.057336
2019-02-19T22:30:37
2019-02-19T22:30:37
170,036,542
0
0
null
null
null
null
UTF-8
Python
false
false
3,397
py
import numpy as np from Database_Module import DataBaseModule # Input: ID(from main function perhaps), infoDB(from Database function) # output: Three predicted parameters, three Alert signals(Type:Boolean class AI_module(object): def __init__(self, Systolic_BP, Diastolic_BP, Heart_Rate, Heart_O2_Level, Body_temp...
[ "noreply@github.com" ]
ec500-software-engineering.noreply@github.com
4a00290f7b6c6f60676ddae6853bee2b06790d16
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa2/sample/stmt_list_assign-48.py
b15f13c9f3ed2ae604bcd5794ee67ba891c9f975
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
84
py
x:[int] = None y:[object] = None x = [1, 2] y = [None] $Exp[0] = 3 x[1] = y[0] = 4
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
5c687c666f48fe4204e73c54bb226117b3848d0b
9680c27718346be69cf7695dba674e7a0ec662ca
/Advance-python/Directory in Python-2.py
8f5ef0978243468d54003bcb9cdd82c4608ca0cd
[]
no_license
Md-Monirul-Islam/Python-code
5a2cdbe7cd3dae94aa63298b5b0ef7e0e31cd298
df98f37dd9d21784a65c8bb0e46d47a646259110
refs/heads/main
2023-01-19T05:15:04.963904
2020-11-19T06:10:09
2020-11-19T06:10:09
314,145,135
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
import os print(os.getcwd()) os.chdir("mydir") print(os.getcwd())
[ "61861844+Md-Monirul-Islam@users.noreply.github.com" ]
61861844+Md-Monirul-Islam@users.noreply.github.com
6d5e1737e869931ef05017d71ccaf6375616e8fd
5cb619c42d0e0c325df0f05a9160bcb1477917af
/test_elasticsearch_dsl/test_integration/test_examples/test_composite_aggs.py
e94c53b9c145720c42de06ac8bb17944b11cb98b
[ "Apache-2.0" ]
permissive
zendesk/elasticsearch-dsl-py
707aadfd88f5d3c4197dd8a930ee95d5ee0e643b
e881fc1506dcce6a1f07eea2c5d8a9956b3b925a
refs/heads/master
2023-04-13T01:14:57.321676
2020-01-11T14:27:20
2020-02-03T23:33:00
249,341,023
1
1
Apache-2.0
2023-04-09T15:52:47
2020-03-23T05:11:07
null
UTF-8
Python
false
false
617
py
from elasticsearch_dsl import Search, A from .composite_agg import scan_aggs def test_scan_aggs_exhausts_all_files(data_client): s = Search(index='flat-git') key_aggs = {'files': A('terms', field='files')} file_list = list(scan_aggs(s, key_aggs)) assert len(file_list) == 26 def test_scan_aggs_with_m...
[ "honza.kral@gmail.com" ]
honza.kral@gmail.com
e653fadd7f74e3b125e1c4b62681b165180524ec
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-network/azure/mgmt/network/v2018_11_01/models/verification_ip_flow_parameters.py
a108cc75d3342f9d9cb8dfbaf388167d7be75c9f
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
3,704
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
c2bed637a618414d3f7864e8eb5287ddf69b6199
44e8334e1b17fda7f60d9760f59868a9227e2ab0
/python-tf/tfa01.py
a0cdf679c1f0c37ddd68ae7141835652a3c73814
[]
no_license
MysteriousSonOfGod/python-3
47c2aa69a84ba78876c74bc6f2e7e6f3093df1e2
a303a5284c40f3cb96a8082a1f5ed80773b66336
refs/heads/master
2023-02-16T18:21:46.153388
2021-01-13T10:55:14
2021-01-13T10:55:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,580
py
# 맞춤설정 : 텐서와 연산 # 필요한 패키지 임포트 # 텐서(Tensor) 생성 및 사용 # GPU 가속기 사용 # tf.data.Dataset 시연 # # 목차 # 1. 텐서플로 임포트 # 2. 텐서 # 2.1 Numpy 호환성 # 3. GPU 가속 # 3.1 장치이름 # 3.2 명시적 장치 배제 # 4. 데이터셋 # 4.1 소스 데이터셋 생성 # 4.2 변환 적용 # 4.3 반복 # 1. 텐서플로 임포트 : 텐서플로 2.0에서는 즉시 실행(eager execution)이 기본적으로 실행 import tensorflow ...
[ "cbaeck1@gmail.com" ]
cbaeck1@gmail.com
503bd777cc7e87940c6a048a9ed608f35a66f9eb
219992b56f8e5cd8b47534d98417dd8ac795110b
/src/FastPass-Mobile/done/Customer_INAC.py
67e1f198232a270b8cee3c4121d77e3de604dc61
[]
no_license
haohaixingyun/dig-python
63844877de0acad04d07d7119e381b9bb4a97395
4e8c3e3cb1ba98f39d65095b4d3b09ba115e586b
refs/heads/master
2021-01-13T08:45:59.669829
2016-10-26T05:54:07
2016-10-26T05:54:07
71,970,759
0
0
null
null
null
null
UTF-8
Python
false
false
3,378
py
# coding = utf - 8 from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.action_chains import ActionChains import unittest import time,sys import login,C_screenshots import HTMLTestRunner class FastPass_Mobile(unittest.TestCase): ...
[ "yunxinghai@hotmail.com" ]
yunxinghai@hotmail.com
7ba12808f79c1b9062ac447bed4cc1e9936087f7
350db570521d3fc43f07df645addb9d6e648c17e
/1338_Reduce_Array_Size_to_The_Half/solution_test.py
682913413cbd114d4a92c3d561e4171af0fc9826
[]
no_license
benjaminhuanghuang/ben-leetcode
2efcc9185459a1dd881c6e2ded96c42c5715560a
a2cd0dc5e098080df87c4fb57d16877d21ca47a3
refs/heads/master
2022-12-10T02:30:06.744566
2022-11-27T04:06:52
2022-11-27T04:06:52
236,252,145
1
1
null
null
null
null
UTF-8
Python
false
false
393
py
''' 1338. Reduce Array Size to The Half Level: Medium https://leetcode.com/problems/reduce-array-size-to-the-half ''' import unittest class TestSum(unittest.TestCase): def test_sum(self): self.assertEqual(sum([1, 2, 3]), 6, "Should be 6") def test_sum_tuple(self): self.assertEqual(sum((1, ...
[ "benjaminhuanghuang@gmail.com" ]
benjaminhuanghuang@gmail.com
348f9858290f2568eac761f2d378c28e08aec9ee
14232aad0be4fea03bfe6ac381620d2319ed3a6e
/server/proposal/tasks.py
5f692d2085e84d38849134525d0aa940daec2456
[ "MIT" ]
permissive
WheresHJ/cornerwise
2bb6a5d4927cbf3b8cb481c972db70e203c0068e
fc225642167e1d05e23d0c649efe22af7e67bd11
refs/heads/master
2020-12-11T07:32:16.704936
2015-12-15T20:52:50
2015-12-15T20:52:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,033
py
from datetime import datetime, timedelta import os import shutil import subprocess from urllib import parse, request import celery from celery.utils.log import get_task_logger from djcelery.models import PeriodicTask from django.conf import settings from django.contrib.gis.geos import Point from django.db import tran...
[ "bdougsand+cfb@gmail.com" ]
bdougsand+cfb@gmail.com
99ff035e7265099ce41a8be6ba3b444fd9d41ce2
907dc8b782765eb6dd0d411d9459836a223084cf
/src/core/urls.py
d6c4327fe9bae9343a397bd886f643c321372716
[]
no_license
lucassimon/eventex-lucassimon
d1722132ae103bd37326eb7fdfee233004ce52ba
8c6c8283fc49a996c51aa22eee833126dfb047d2
refs/heads/master
2021-01-18T18:59:47.276201
2012-04-09T00:46:40
2012-04-09T00:46:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
from django.conf.urls.defaults import patterns, url from views import HomepageView from views import TalkDetailView from views import TalkListView from views import SpeakerDetailView urlpatterns = patterns( 'core.views', url(r'^$',HomepageView.as_view(),name='homepage'), url(r'^palestras/$', TalkListView.as_view()...
[ "lucassrod@gmail.com" ]
lucassrod@gmail.com
b07110f2fa024792a5ad7131802500fe0d5f2ae6
48d820d4bd6a433c2b0fdb0dcb7657b62db050bf
/Training_Work/odoo_backup_wfo_till_april/custom_addons/sec_app/__manifest__.py
bb54c4ce08652f087e5197ecdb3f3f8b2c935bcc
[]
no_license
dhruv-aktiv/training_task_data
1a30580a512aa4831fb547b250faffff11f7e008
3d8b25ca812e876a484d387fc57272257322c85f
refs/heads/master
2023-06-07T07:06:04.193576
2021-07-01T04:37:13
2021-07-01T04:37:13
381,908,763
0
0
null
null
null
null
UTF-8
Python
false
false
972
py
# -*- coding: utf-8 -*- { 'name': "sec_app", 'summary': """ Short (1 phrase/line) summary of the module's purpose, used as subtitle on modules listing or apps.openerp.com""", 'description': """ Long description of module's purpose """, 'author': "My Company", 'website'...
[ "dhruv.s@icreativetechnolabs.com" ]
dhruv.s@icreativetechnolabs.com
e96efeb48cf0dc93db12b91aedb7cc35b80bd198
413ce352f1fff3c969c15e7c7aa5326d7f138072
/xenia_python_client_library/models/role_list.py
545302b60029b587be9c54de5b973b20d639d245
[ "Apache-2.0" ]
permissive
DutchAnalytics/xenia-python-client-library
63b160424ca5b9d2722118e653217ce3f9de2358
60dc3e21094086124b552ff5bed5895fee826b57
refs/heads/master
2022-12-16T10:13:37.434563
2020-09-16T07:01:12
2020-09-16T07:01:12
257,844,799
0
0
null
null
null
null
UTF-8
Python
false
false
4,973
py
# coding: utf-8 """ Xenia Python Client Library Python Client Library to interact with the Xenia API. # noqa: E501 The version of the OpenAPI document: v2.1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from xenia_python_client_library.configur...
[ "sascha.vanweerdenburg@dutchanalytics.com" ]
sascha.vanweerdenburg@dutchanalytics.com
5090a44de85946d9f29f27ef8b90f2bd8de0ee6f
779720adbd76737f230f02b703d7379fd5235e3b
/tfx/tools/cli/testdata/test_pipeline_airflow_1.py
f3c35139923ebd8767711eee2377b2247a44c668
[ "Apache-2.0" ]
permissive
asked1988/tfx
960c63a74c7f240526b17f3338c5b45cf2f8abe2
8dbd64e04a3acb5182eb1253ed9fa984beefa7e6
refs/heads/master
2020-06-18T00:18:46.619829
2019-09-28T07:10:37
2019-09-28T07:10:37
196,108,586
0
0
Apache-2.0
2019-09-28T07:10:38
2019-07-10T01:31:00
Python
UTF-8
Python
false
false
3,155
py
# Copyright 2019 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
7601947b0501bc2d59831531656ac96590b76706
b5e720a291a6ac5877ce49341082f6881270bc84
/autosklearn/metalearning/metalearning/metrics/misc.py
705060a70fdd6e922c136c1e24e76c932827ff15
[ "BSD-3-Clause" ]
permissive
Rong-Inspur/auto-sklearn
a39f809ad032c91c5940c5d82622e5c46746261f
275bf1845bf9045262d5458e3e89a91f60b4e08c
refs/heads/master
2020-12-08T05:09:37.304712
2020-01-03T14:47:47
2020-01-03T14:47:47
232,893,534
0
1
NOASSERTION
2020-01-09T19:58:02
2020-01-09T19:58:00
null
UTF-8
Python
false
false
216
py
import sklearn.utils def get_random_metric(random_state=1): random_state = sklearn.utils.check_random_state(random_state) def _random(d1, d2): return random_state.random_sample() return _random
[ "feurerm@informatik.uni-freiburg.de" ]
feurerm@informatik.uni-freiburg.de
67acd779302286b496f1edd3d44404c7f74a87fd
4a23a4d3093e355090289484daa97cf94d3704f6
/src/Python Language/Foundation/py_unexpected_demand.py
924ae243c916f51d4bed0a741e8fc14d20795c06
[]
no_license
VinhMaiVy/learning-python
3a80ddc2f8327aa2450f4713d60e6bf5e2e818c7
0b90bafb2535a5119836a31399d7de726921fc63
refs/heads/master
2023-07-17T11:37:07.440901
2021-08-20T00:38:52
2021-08-20T00:38:52
279,147,017
2
0
null
null
null
null
UTF-8
Python
false
false
926
py
#!/bin/python3 """ Python Input: 3 10 30 0 40 Output: 2 Input: 4 3 5 4 3 3 Output: 0 """ import math import os import random import re import sys # # Complete the 'filledOrders' function below. # # The function is expected to return an INTEGER. # The function accepts following parameters: # 1. INTEGER_ARRA...
[ "vinhmaivy@gmail.com" ]
vinhmaivy@gmail.com
813d33abd2525abbf869b0260b656bd4b37dbb2d
517e78933c19ee1f5ee566abf0cbd3d20dbe2696
/tests/schema/json_object_node_test.py
437f18b000254917e14f939f924f61ed0c940f1f
[ "MIT" ]
permissive
drdhaval2785/sanskrit_data
0d829f59a6181edb2c956dd9a29602b20e84067c
feff3a5269d15106034045883ee8c2d8e3134334
refs/heads/master
2021-05-11T00:45:34.954927
2018-01-19T22:38:07
2018-01-19T22:38:07
118,311,232
1
2
null
2018-01-21T06:39:46
2018-01-21T06:39:45
null
UTF-8
Python
false
false
5,248
py
from __future__ import absolute_import import logging import os import pytest import jsonschema import tests from sanskrit_data.schema import ullekhanam, common, books, users logging.basicConfig( level=logging.DEBUG, format="%(levelname)s: %(asctime)s {%(filename)s:%(lineno)d}: %(message)s " ) @pytest.fixture(s...
[ "vishvas.vasuki@gmail.com" ]
vishvas.vasuki@gmail.com
7f50e8030c2bac91aac94ddc7db280a6337540a3
81f2d4aa3bfb216e04efec81c7f614603a8fd384
/irekua/selia/views/create_views/collection_sites/select_type.py
d4bc75e9e32a68218bfe1ea5872534d2ebd70960
[]
no_license
CONABIO-audio/irekua
44564020c342e8bd49a14707f206962869bc026d
4531a6dbb8b0a0014567930a134bc4399c2c00d4
refs/heads/master
2022-12-10T09:43:05.866848
2019-10-17T16:18:21
2019-10-17T16:18:21
170,434,169
0
1
null
2022-12-08T01:44:04
2019-02-13T03:32:55
Python
UTF-8
Python
false
false
1,950
py
from django.views.generic import TemplateView from django.shortcuts import render from django.shortcuts import redirect from django.urls import reverse from database.models import Collection from database.models import SiteType from irekua_utils.permissions.data_collections import ( sites as site_permissions) cl...
[ "santiago.mbal@gmail.com" ]
santiago.mbal@gmail.com
353b85f1bec3627db4eca9e4bd1966f3c28e44f1
29f533d49e4ebe684f36932f9fb2bc6147cb8f60
/Module3/poc_simpletest.py
bca76099b6103358b08502da17c59dcee76bf2ae
[]
no_license
lanttern/Algorithic_thinking-Rice-
35e42c507c16bb87d17280eea007d15401ef6261
170546991164d9c6f5aefc07f5cbc8555066905c
refs/heads/master
2018-12-31T08:47:17.580920
2014-11-10T04:46:29
2014-11-10T04:46:29
26,421,356
0
1
null
null
null
null
UTF-8
Python
false
false
1,184
py
# -*- coding: utf-8 -*- """ Created on Sun Sep 28 11:03:08 2014 @author: zhihuixie """ """ Lightweight testing class inspired by unittest from Pyunit https://docs.python.org/2/library/unittest.html Note that code is designed to be much simpler than unittest and does NOT replicate unittest functionality """ class Tes...
[ "xiewisdom@gmail.com" ]
xiewisdom@gmail.com
13b3b7f4f58f5ab0b87ad99cf0326445c274a844
60d5bf33cd23ef2050aeb32d60a91b581854a3c7
/features/steps/trie.py
1030d29a54c4abec954307936e8ac9355079ddf2
[ "MIT" ]
permissive
elkingtowa/azove
f0869c190a769eddd32d36c33d52cd924ab4980d
afcea1739cf8936fa1b0e0949d4d34e0f6317e72
refs/heads/master
2020-05-18T18:29:13.087587
2014-06-28T01:52:29
2014-06-28T01:52:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,935
py
from behave import register_type from .utils import parse_py import random from azove import leaf register_type(Py=parse_py) def gen_random_value(): value = range(random.randint(5, 40)) value.extend([0]*20) random.shuffle(value) value = ''.join(str(x) for x in value) return value @when(u'clear...
[ "elkingtonx@gmail.com" ]
elkingtonx@gmail.com
ab8cd879dbd29565788ffc88600d692c8c17dae7
49efc700f61ad0d2ac65ab7c84c270bdd1f07203
/Question/migrations/0004_auto_20180127_2134.py
fd4edb43ebf9b30bba4fdafafd6a16e8c63d314f
[]
no_license
cabilangan112/web
2c17c9373cecc154de39917aa7e13267e6d8ac53
4aaa53bb4c5b6117ef2b5e558c6eadaa20d2a99d
refs/heads/master
2021-05-09T22:07:16.708387
2018-01-30T05:09:48
2018-01-30T05:09:48
118,742,867
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2018-01-27 13:34 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Question', '0003_question_name_of_faculty'), ] operations = [ migrations.Re...
[ "jassencabilangan@gmail.com" ]
jassencabilangan@gmail.com
57c940a904c6057bfff21809c6c1e1dcb1eb7ffd
90ad04f5b0d8b4229b86bcd9d452109b1165e851
/stdlib/2.7/itertools.pyi
fe2fa9cc40920303640189f28dd384e33264727e
[ "MIT", "Apache-2.0" ]
permissive
mulkieran/typeshed
2a9ee3849cefeba04065c76cf5095ce40336ce90
3ff8635d2c3973cdd846679a0d5e7c96c0c54671
refs/heads/master
2021-01-22T12:44:17.278652
2016-03-18T17:04:19
2016-03-18T17:04:19
54,480,135
0
0
null
2016-03-22T14:08:05
2016-03-22T14:08:04
null
UTF-8
Python
false
false
3,186
pyi
# Stubs for itertools # Based on https://docs.python.org/2/library/itertools.html from typing import (Iterator, TypeVar, Iterable, overload, Any, Callable, Tuple, Union, Sequence) _T = TypeVar('_T') _S = TypeVar('_S') def count(start: int = ..., step: int = ...) -> Iterator[int]: ... #...
[ "kramm@google.com" ]
kramm@google.com
a2d01aaefbd6552d102fe1f2d7120b40195f65bc
af8a9a21705b3cf633a733d69e4ad1a19a4219bf
/reduction/pca_clean_test_0611.py
264445e649687be91f81f42adfac037b625d4b30
[ "BSD-3-Clause" ]
permissive
keflavich/APEX_CMZ_H2CO
a436a91b00042881799d664a8b6c617bf2652563
2be1926384d05d73beeb7294bbabbd2d68bee45f
refs/heads/master
2022-12-23T18:12:57.199623
2022-12-15T13:51:04
2022-12-15T13:51:04
19,015,249
0
3
null
null
null
null
UTF-8
Python
false
false
5,657
py
from shfi_otf_pipeline import make_apex_cubes import time # for performance analysis from astropy import units as u import FITS_tools import image_tools import numpy as np # for bigger figures import pylab as pl import spectral_cube from astropy.io import fits import aplpy import os pl.rcParams['figure.figsize'] = (12....
[ "keflavich@gmail.com" ]
keflavich@gmail.com
08c1921421cbb5669ff7a700fac73f677dc688dc
46a23a3772bd8a191ffe0e4890c8b4ea14c0c686
/app_1/models.py
671e3f236886e4e911f12242fd554b99139fa4a6
[]
no_license
AbdurRahman111/Shop-Boomboom-Official-----
65d3b7791f400cf4e3f9c0670806940af9a42594
6c7ddc04d7d7cded1bbec00d378f1b3ffad6ed32
refs/heads/master
2023-08-14T21:47:25.883760
2021-10-13T07:08:53
2021-10-13T07:08:53
416,626,965
0
0
null
null
null
null
UTF-8
Python
false
false
19,503
py
from django.db import models import uuid # Create your models here. # from main.models import customer_review from datetime import datetime from vendor_dashboard_app.models import vendor_registration_table from ckeditor.fields import RichTextField from django.core.validators import FileExtensionValidator from django...
[ "mdabdurrahmanchowdhury1122@gmail.com" ]
mdabdurrahmanchowdhury1122@gmail.com
0001abb015c98a7c8635871e3daf7c3113d5eba8
17ea4b621cc6f19b25b50949dfe0a2e6b5c77cf0
/build/abb_experimental/abb_irb120_moveit_config/catkin_generated/pkg.develspace.context.pc.py
7a2d974d2edfff7c7630e8e65b5538a37df32539
[]
no_license
Sinchiguano/yumi_ROS
a5fead77a2f50a3b147e87509f827c16e4c4319e
0d5973eb8a00d9037f9de33631f0ab6263cbaf3a
refs/heads/master
2020-04-16T08:42:35.187091
2019-01-13T11:15:47
2019-01-13T11:15:47
165,434,778
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "abb_irb120_moveit_config" PROJECT_SPA...
[ "cesarsinchiguano@hotmail.es" ]
cesarsinchiguano@hotmail.es
3766f87b1defa7fee82bd81c83e709232a9b4f1b
8653592278519809fef6a2d573241658d0fe169f
/FeedScrape/AmqpInterface.py
23d1ff29d052b6af3947972eed880dd67d4c7223
[]
no_license
asl97/MangaCMS
3c9491044598040e947bad7fdbb739783dceb3ce
aa63fbb6e7a00e100ef2251560631bc6b345f382
refs/heads/master
2021-01-17T22:15:21.966804
2015-07-25T21:32:26
2015-07-25T21:32:26
39,838,607
0
0
null
2015-07-28T14:26:41
2015-07-28T14:26:41
null
UTF-8
Python
false
false
2,273
py
#!/usr/bin/env python3 import AmqpConnector import logging import os.path import ssl RUN_STATE = True class RabbitQueueHandler(object): die = False def __init__(self, settings): logPath = 'Main.Feeds.RPC' self.log = logging.getLogger(logPath) self.log.info("RPC Management class instantiated.") # Requir...
[ "something@fake-url.com" ]
something@fake-url.com
90486396917fbb4ea223e23c901945b1e286e63c
89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04
/build/android/emma_instr_action.gypi
0505eab21a680864dec51b46cc1597aafe2cb18a
[ "BSD-3-Clause" ]
permissive
bino7/chromium
8d26f84a1b6e38a73d1b97fea6057c634eff68cb
4666a6bb6fdcb1114afecf77bdaa239d9787b752
refs/heads/master
2022-12-22T14:31:53.913081
2016-09-06T10:05:11
2016-09-06T10:05:11
67,410,510
1
3
BSD-3-Clause
2022-12-17T03:08:52
2016-09-05T10:11:59
null
UTF-8
Python
false
false
1,409
gypi
# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # This file is meant to be included into an action to provide a rule that # instruments either java class files, or jars. { 'variables': { 'input_path...
[ "bino.zh@gmail.com" ]
bino.zh@gmail.com
927876089452baff896cf069495a71be890d77a5
13a416a2694d1f6aa1a68cd47610236bf61cafbc
/CodePractice/GradeMgmtProject(all)/GradeMgmtProject6.py/student.py
8aa0a5e00a9de8c8d84faf4a5faad1129a84f050
[]
no_license
Highjune/Python
c637f7d0f9e5d1ac9d6ad87b4e54833b8ff4ae11
1be43816d22f5f3b8679cf0cd3939e9d9f54497a
refs/heads/master
2022-11-24T01:20:54.470172
2020-07-27T18:01:47
2020-07-27T18:01:47
263,271,337
0
0
null
null
null
null
UTF-8
Python
false
false
1,492
py
class Student: def __init__(self, hakbun, irum, kor, eng, mat, edp): self._hakbun = hakbun self._irum = irum self._kor = kor self._eng = eng self._mat = mat self._edp = edp @property def hakbun(self): return self._hakbun @property def irum(sel...
[ "highjune37@gmail.com" ]
highjune37@gmail.com
a9d38e1f773a1f7a9141277d3672af3d4b90db60
053b7c0917be14e4296082b215d8a2662b7e247f
/utils.py
deccc3d468cc28ef22aa93757fa9b693d8e8c8a4
[]
no_license
lpigou/ijcv16
c353e52530b32342f093222685f9a287a9864623
9b19747d95129fcbdd787933313594875c74c5c8
refs/heads/master
2021-01-09T20:19:52.626126
2016-08-06T13:58:06
2016-08-06T13:58:06
65,085,043
3
1
null
null
null
null
UTF-8
Python
false
false
5,466
py
import theano import os import errno import numpy as np import csv import re import cPickle floatX = theano.config.floatX cast_floatX = np.float32 if floatX=="float32" else np.float64 def save_pkl(obj, path, protocol=cPickle.HIGHEST_PROTOCOL): with file(path, 'wb') as f: cPickle.dump(obj, f, protocol=p...
[ "lionelpigou@gmail.com" ]
lionelpigou@gmail.com
2e1a6a7ab1fc4729ae433eedfabb3656793a6655
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2632/60614/279773.py
720f0b0fa9df7600fc19b18125fdafc2b602ee76
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
776
py
init=[int(x) for x in input().split()] houses=[True]*init[0] events=[] for i in range(init[1]): events.append(input().split()) destroyed=[] for i in events: if i[0]=='D': houses[int(i[1])-1]=False destroyed.append(int(i[1])-1) elif i[0]=='R': try: houses[destroyed.pop(len...
[ "1069583789@qq.com" ]
1069583789@qq.com
9488add9e6bd477697722170ac39ac23c4ed82f9
be7949a09fa8526299b42c4c27adbe72d59d2201
/cnns/foolbox/foolbox_2_3_0/tests/attacks/test_batch_attacks_decoupled_direction_norm.py
19264113ff53412604c7a823f32b4672c1118ac5
[ "MIT", "Apache-2.0" ]
permissive
adam-dziedzic/bandlimited-cnns
375b5cccc7ab0f23d2fbdec4dead3bf81019f0b4
81aaa27f1dd9ea3d7d62b661dac40cac6c1ef77a
refs/heads/master
2022-11-25T05:40:55.044920
2020-06-07T16:14:34
2020-06-07T16:14:34
125,884,603
17
5
Apache-2.0
2022-11-21T21:01:46
2018-03-19T16:02:57
Jupyter Notebook
UTF-8
Python
false
false
1,235
py
import numpy as np from foolbox.attacks import DecoupledDirectionNormL2Attack as Attack def test_untargeted_attack(bn_model, bn_criterion, bn_images, bn_labels): attack = Attack(bn_model, bn_criterion) advs = attack(bn_images, bn_labels, unpack=False) for adv in advs: assert adv.perturbed is not ...
[ "adam.dziedzi@gmail.com" ]
adam.dziedzi@gmail.com
fe0feff2a467ecd9d3d257dc78ef7c9015f41961
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03862/s090580182.py
2c77a474fb457a9cb62484dedc9f7c385aea966e
[]
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
221
py
n, x = map(int, input().split()) a = list(map(int, input().split())) ans = 0 now = a[0] if now > x: ans += now - x now = x for i in a[1:]: tmp = max(0, now + i - x) now = i - tmp ans += tmp print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
19f13f5e0cff74bc8c983a95264452952c6fa214
eaed66c0dc56a7e5d884cc28a9ff1a211a6619b9
/Django-Rest-Framework/rest_app/helpers/helper.py
306ccca1e1e83ac3e4b858dede21850a49e3dab9
[]
no_license
rohanneps/django
cc2edccd3c00925d544003a91a14d2fad40a6565
e204f27055d3ad80d15543ce2c3d05ad731d5f98
refs/heads/master
2022-12-11T11:15:54.200516
2020-02-12T12:17:09
2020-02-12T12:17:09
191,101,470
2
0
null
2022-12-08T05:26:12
2019-06-10T05:19:19
Python
UTF-8
Python
false
false
3,433
py
import pandas as pd import os from django.conf import settings import datetime from shutil import copy def copy_file(src, dest): copy(src, dest) def create_dir(dir_path): if not os.path.exists(dir_path): os.mkdir(dir_path) def check_input_file_exists(project_id, file_location): # project_dir = os.path.join(s...
[ "rohanneps@gmail.com" ]
rohanneps@gmail.com
3ad0defad70eec4e090846944eaedac07223ab14
a10468c102f3c905bdd805fc438c88d83d731528
/federatedml/util/param_checker.py
ac468cfe11898a6a30d97f9428d995dbe0ba500d
[ "Apache-2.0" ]
permissive
ShiroNekoHouse/MyFate
ed7cf76f5430d27ad8cc45769bb54621a869c9c4
961c0e6e0dff0b3af0fe7186f1429b41ab8c3093
refs/heads/master
2023-01-03T15:51:45.823284
2020-10-27T11:36:20
2020-10-27T11:36:20
294,071,129
1
0
null
null
null
null
UTF-8
Python
false
false
51,781
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2019 The FATE 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/...
[ "you@example.com" ]
you@example.com
63f6009c646b4a393b24fd712f4baadabc74fdf8
d8edd97f8f8dea3f9f02da6c40d331682bb43113
/train_wgpt3_normaldata.py
7be7d5bcb1a33220f1adf03e2e795780dcae2c98
[]
no_license
mdubouch/noise-gan
bdd5b2fff3aff70d5f464150443d51c2192eeafd
639859ec4a2aa809d17eb6998a5a7d217559888a
refs/heads/master
2023-07-15T09:37:57.631656
2021-08-27T11:02:45
2021-08-27T11:02:45
284,072,311
0
0
null
null
null
null
UTF-8
Python
false
false
16,592
py
#!/usr/bin/python3 #$ -P P_comet #$ -j y #$ -cwd #$ -M m.dubouchet18@imperial.ac.uk #$ -m be #$ -q mc_gpu_long #$ -pe multicores_gpu 4 #$ -l sps=1,GPU=1,GPUtype=V100 import os import sys sys.path.append(os.getcwd()) import argparse import logging import os import numpy as np import torch import torch.nn as nn import ...
[ "m.dubouchet18@imperial.ac.uk" ]
m.dubouchet18@imperial.ac.uk
f2fddef03eb7aa0db6fad892205d42abb4d2a3e3
53e0e6b3bd5130aca5a129b3db4c1b6c401a9114
/NewFile/Manage_OutFile/build/lib/telegram/ext/choseninlineresulthandler.py
00c07c9254fb9a5f6f929f33799d4250ec0bed0a
[]
no_license
GeonwooVincentKim/Search_Artist_Locations
90e41344209b51e4bef585f46ced203540036673
5a31502dfd0c03767800d7fda49a8c5253f7d74a
refs/heads/master
2022-04-14T20:40:19.266617
2020-04-11T14:28:40
2020-04-11T14:28:40
202,111,040
0
0
null
null
null
null
UTF-8
Python
false
false
4,430
py
#!/usr/bin/env python # # A library that provides a Python interface to the Telegram Bot API # Copyright (C) 2015-2018 # Leandro Toledo de Souza <devs@python-telegram-bot.org> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser Public License as publish...
[ "kdsnop@gmail.com" ]
kdsnop@gmail.com
73898d0990e1e7730652535e387ff28290c7fe62
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2700486_0/Python/ZILIANG/B.py
52e786f2b53c392b7f3348fd16eda6e287ceeab1
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
2,650
py
from Queue import Queue, Empty from threading import Thread from collections import defaultdict def read_array(convertor=None): ret = raw_input().split() if convertor: ret = map(convertor, ret) return ret work_queue = Queue() result_queue = [] class Work: def __init__(self, id): self.id = id ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
8ca242946e2f3ac27eec257913cc9190a68bd167
383283b9fdb21435ac61c45ebdc7be8cdf352ff6
/scrapper_with_Flask/main.py
67d328b380b8819ad4fcd74d1eced1bfa96c036a
[]
no_license
donhwi94/NomadCoders_WebScrapper_with_Python
ec64e74a685b2e1dd2c2d98964a63b31e86de1b5
6c96a59b653932851f412a64e369af1a89e6ec89
refs/heads/main
2023-04-04T19:58:10.810687
2021-04-21T06:17:41
2021-04-21T06:17:41
349,979,660
0
0
null
null
null
null
UTF-8
Python
false
false
1,637
py
from flask import Flask, render_template, request, redirect, send_file from so import get_jobs as so_get_jobs from id import get_jobs as id_get_jobs from exporter import save_to_file app = Flask("SuperScrapper") # fake DB 만들기 # 라우트의 바깥에 있어야 한다 # DB에 저장해놓으면 사용자가 같은 단어를 검색했을때, 스크래퍼를 다시 돌릴 필요없이 DB에 있는 데이터를 보여주면 된다 db ...
[ "ehsgnl123@naver.com" ]
ehsgnl123@naver.com
c9cbb260f6b5fc5ebe3c121acab8f0440e9404e9
aaa9733e139bf1b544da62ea7414222273e2c273
/eptools/badges/printer.py
513d29347df742763ccd117e588b6709ce85cc3b
[ "MIT" ]
permissive
alanderex/ep-tools
3a5948c52bb7f6e0acc90cb0f285d226de4ec9a2
a66df41d369ee92949fad4f2202f13ce77a2f426
refs/heads/master
2020-04-05T18:58:52.688600
2016-03-03T15:37:31
2016-03-03T15:37:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,781
py
# coding: utf-8 """ Helper functions to add content and setup one badge file. """ import svgutils.transform as sg from docstamp.svg_utils import merge_svg_files, replace_chars_for_svg_code from docstamp.pdf_utils import merge_pdfs from docstamp.vcard import create_vcard3_str from .utils import split_in_tw...
[ "alexsavio@gmail.com" ]
alexsavio@gmail.com
2415ad8292f993fb5a91e4d28b533de1f7018f6c
9405aa570ede31a9b11ce07c0da69a2c73ab0570
/aliyun-python-sdk-emr/aliyunsdkemr/request/v20160408/DescribeClusterServiceConfigForAdminRequest.py
112c6b16172490c7b78f4493eb1d337015baf37d
[ "Apache-2.0" ]
permissive
liumihust/aliyun-openapi-python-sdk
7fa3f5b7ea5177a9dbffc99e73cf9f00e640b72b
c7b5dd4befae4b9c59181654289f9272531207ef
refs/heads/master
2020-09-25T12:10:14.245354
2019-12-04T14:43:27
2019-12-04T14:43:27
226,002,339
1
0
NOASSERTION
2019-12-05T02:50:35
2019-12-05T02:50:34
null
UTF-8
Python
false
false
2,706
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may ...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
c38636e7281cbf932f99d4a1d7a0cf1b3d390dfc
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_320/ch10_2019_08_28_18_59_47_770773.py
0cd85e95917dd49dcb8c6967b0d81a2481023a03
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
def libras_para_kg(libras): kg = libras / 2.2046 return round(kg,6)
[ "you@example.com" ]
you@example.com
9a1fc6c68a8b442f0f666a4c76403c11e7497dc0
ea4362827aa9c85c30d07e54c1dda3ec59157b67
/SIFProject/venv/Scripts/pip3-script.py
0befcdf38497e2065e80f7d18be2c764aebc5bfb
[]
no_license
Simonhong111/SIF
1899b73e03b92733f5601f5f57ede77a2b121a45
e89308e01fd3dbf543bb5891bf3597e8ac1c453d
refs/heads/master
2022-12-16T12:21:12.706112
2020-09-27T23:32:26
2020-09-27T23:32:26
299,139,096
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
#!D:\PycharmProjects\SIFProject\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0...
[ "1475598891@qq.com" ]
1475598891@qq.com
f87e55469c4c8888fca419808cf4a23996b17eff
bb767bfc9db2b0ab7f24d3561b168a829c4eb0bc
/1st_Year/1st_Semestre/Fpro/Python/saved files/Triangles.py
a41320b1848b62c89111d2f68339084e5694fe29
[]
no_license
Hugomguima/FEUP
7e6e0faf5408d698a34c3b5aed977b20aa76c067
f26887e2b8e92e41ae5050515cd0b3cdf94d6476
refs/heads/master
2023-06-09T05:21:38.897094
2021-06-29T17:00:01
2021-06-29T17:00:01
272,567,282
0
0
null
null
null
null
UTF-8
Python
false
false
639
py
n1 = int(input('Introduce the first side of the triangle: ')) n2 = int(input('Introduce the second side of the triangle: ')) n3 = int(input('Introduce the third side of the triangle: ')) result = "" if n1 <= 0 or n2 <= 0 or n3 <= 0: result = "The numbers must be positive!!" return result if (n1 + n2 <= n3) or (...
[ "50011557+Hugomguima@users.noreply.github.com" ]
50011557+Hugomguima@users.noreply.github.com
13a7c83263b91179bda8f66004862904cf2bb14e
35b58dedc97622b1973456d907ede6ab86c0d966
/day136/imgPro/imgPro/middlewares.py
dd61d0b9179df777c868ba4ef77340abab8511d7
[]
no_license
GithubLucasSong/PythonProject
7bb2bcc8af2de725b2ed9cc5bfedfd64a9a56635
e3602b4cb8af9391c6dbeaebb845829ffb7ab15f
refs/heads/master
2022-11-23T05:32:44.622532
2020-07-24T08:27:12
2020-07-24T08:27:12
282,165,132
0
0
null
null
null
null
UTF-8
Python
false
false
3,581
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class ImgproSpiderMiddleware: # Not all methods need to be defined. If a method is not defined, # scrapy acts as ...
[ "1433880147@qq.com" ]
1433880147@qq.com
4d1576aaa2215f9566e4b835f83d3e40d79fc1e0
0ee9eb8d3bd81c0b0cb41ee5ab6bc8d8f1b90691
/tests/unit/common/plot/test_plot.py
4775867740b18b69fa306b7dbb2e4f6a5eefbf04
[]
no_license
santhosh-kumar/DataScienceToolbox
39a07b0f602b67e05e456455879d52979acfdf4f
d90b19eb68a599a4b6bcff3290aaba0881ebb23d
refs/heads/master
2018-12-14T21:54:13.977205
2018-09-20T21:20:53
2018-09-20T21:20:53
120,374,294
2
0
null
null
null
null
UTF-8
Python
false
false
8,903
py
""" Unit Test for plot """ import os from unittest import TestCase from plot.plot import Plot from exceptions.exceptions import PreconditionException class TestPlot(TestCase): """ Unit test for plot """ TEST_PLOT_FILE_PATH = 'test_plot.png' TEST_SHOULD_SHOW_PLOT = False def setUp(self): ...
[ "santhoshkumar.sunderrajan@gmail.com" ]
santhoshkumar.sunderrajan@gmail.com
18d88e951c1763b49cfe18421e1e06901f784bbf
ed15e441d4cd7a54d989610b8070a5d14bfda4c8
/1804/git/1-第一个月高级python/2/3.py
73000a59e2571f1a901de2c692e4007296d3227d
[]
no_license
jmh9876/p1804_jmh
24593af521749913b65685e21ffc37281c43998f
a52a6366c21ad7598e71d8e82aeee746ecee7c6b
refs/heads/master
2020-03-15T23:30:02.769818
2018-08-02T09:10:20
2018-08-02T09:10:20
132,395,104
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
name="贾梦豪" age=20 sex="男" print("name=",name) print("age=",age) print("sex=",sex)
[ "2210744940@qq.com" ]
2210744940@qq.com
3415fc9d369bc1720d7baa4d6bd182656441ebf0
25476f58ab74593902c0db71dd8e560dafa5442a
/tools/platform-tools/systrace/catapult/common/py_utils/py_utils/tempfile_ext.py
ba68c52b9f02fabfd62c12b375e672efe5fa2a46
[ "MIT", "ISC", "GPL-2.0-only", "Apache-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "BSD-3-Clause", "NCSA", "LicenseRef-scancode-unicode", "LGPL-2.1-only", "OpenSSL", "blessing", "NICTA-1.0", "LicenseRef-scancode-protobuf", "GPL-2.0-or-later", "LicenseRef-scancode-openssl"...
permissive
CanciuCostin/android-spyware
859771d8ba17b434f3f330b08d6b28f9b26a5068
be9c2989a76214462b9fe5869c79ffbe86151f13
refs/heads/master
2023-04-11T11:34:01.983825
2023-03-26T12:25:01
2023-03-26T12:25:01
253,235,389
360
104
MIT
2023-03-03T12:59:41
2020-04-05T12:58:20
HTML
UTF-8
Python
false
false
2,251
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import contextlib import os import shutil import tempfile @contextlib.contextmanager def NamedTemporaryDirectory(suffix='', prefix='tmp', dir=None): """A...
[ "costin.canciu@ibm.com" ]
costin.canciu@ibm.com
3c9a6212f5a94b7f6caca6a63ed4c556c9c5ca80
d57b51ec207002e333b8655a8f5832ed143aa28c
/.history/1/PyGame/game_20200606103856.py
49ed990c51c945ec3bde0a143f84fc35ea1ac77a
[]
no_license
yevheniir/python_course_2020
b42766c4278a08b8b79fec77e036a1b987accf51
a152d400ab4f45d9d98d8ad8b2560d6f0b408c0b
refs/heads/master
2022-11-15T07:13:24.193173
2020-07-11T15:43:26
2020-07-11T15:43:26
278,890,802
0
1
null
null
null
null
UTF-8
Python
false
false
7,341
py
# 1 - Import library import pygame from pygame.locals import * import math import random import os import json # 2 - Initialize the game pygame.init() width, height = 640, 480 screen=pygame.display.set_mode((width, height)) keys = [False, False, False, False] playerpos=[100,100] acc=[0,0] arrows=[] badtimer=100 badtim...
[ "yevheniira@intelink-ua.com" ]
yevheniira@intelink-ua.com
6cc837869b07da61c32a4643c4a15af573d7e117
e26feb9602099102ed6014ba7c3605b2adaa1639
/tests/structures/test_try_catch.py
a01929c03847ecc1e390d72fdb8de0c4e6b23f3f
[ "BSD-3-Clause", "MIT" ]
permissive
jcronyn/batavia
a46d47fa92442d51b2df48fe539490570d89b6de
270c8a4ba9a8980671eec51044cb53857ff827f2
refs/heads/master
2021-01-18T15:40:59.696458
2016-07-26T23:52:24
2016-07-26T23:52:24
63,883,075
1
0
null
2016-07-21T15:56:54
2016-07-21T15:56:52
Python
UTF-8
Python
false
false
24,405
py
from ..utils import TranspileTestCase class TryExceptTests(TranspileTestCase): def test_try_except(self): # No exception self.assertCodeExecution(""" try: obj = 3 print('OK') except: print("Got an error") print('Do...
[ "russell@keith-magee.com" ]
russell@keith-magee.com
9d0670e9d35f2efd4a079d5149348b9677bb3839
705b247159533d31027312e214ebe0ff14ee6390
/allen/content/jokes/__init__.py
662235951da418169d35857eb7ee0b363898f108
[]
no_license
avoinea/allen.content.jokes
caa9e30ada364ef71dbf822a86629019f2b4bfb7
27da9daa984522981a990ba76a4989b4db265c8c
refs/heads/master
2021-01-23T13:17:14.810991
2010-07-27T18:01:06
2010-07-27T18:01:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
14
py
""" Jokes """
[ "alin@serenity.(none)" ]
alin@serenity.(none)
3b2fc4f9913d4a5855093c0002284657f1b3ef95
933fe062db72baad7b9349dea28ad6990f048f4a
/datapackage_pipelines_budgetkey/pipelines/budget/municipal/datacity-budget-fetcher.py
889c73903da05b155815a14bbec6ee9ec36a2a0d
[]
no_license
odedsh/budgetkey-data-pipelines
6b0e37d47b52cb7d67628abae1e24b59fc7ad683
8028bfc5c3768408a02388a0ebcb3a52564dcfef
refs/heads/master
2022-11-08T23:54:34.994061
2022-11-01T12:59:19
2022-11-01T12:59:19
129,750,528
0
0
null
2018-04-16T13:47:56
2018-04-16T13:47:56
null
UTF-8
Python
false
false
7,534
py
import dataflows as DF from pathlib import Path from decimal import Decimal DATACITY_DB = 'postgresql://readonly:readonly@db.datacity.org.il:5432/datasets' def get_code_to_entity_id_map(): rows = DF.Flow( DF.load('https://next.obudget.org/datapackages/lamas-municipal-data/datapackage.json'), DF.s...
[ "adam.kariv@gmail.com" ]
adam.kariv@gmail.com
dfbe7ffdffc6e351e23bf2e77cdfb123bf13f5da
b4166044870d1c026e86c95ac41e3e3613ee424f
/python_basic/abc118_b_answer.py
8972d1a421a4f1a54460ddc221b5e0fad439c5c3
[]
no_license
nsakki55/AtCoder
2cbb785415a7c0b9df9953ddc3706c90a5716a03
03c428e8eb8f24b8560d00e2388ba75509619690
refs/heads/master
2020-05-31T04:33:06.400697
2020-01-19T13:41:41
2020-01-19T13:41:41
190,099,669
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
n,m=map(int,input().split()) S=set(range(1,m+1)) for i in range(n): K,*A=map(int,input().split()) S =S & set(A) print(len(S))
[ "n.sakki55@gmail.com" ]
n.sakki55@gmail.com
de46a7b66d49d392eb9985f238021976ae978ab6
f5a7de717f41f8379ccdee7d06de838fdf1d0a0b
/soloperformance-api/apps/teams/views.py
b45e81cd42c85bafd28cb3f432bf0ef4c914cbca
[]
no_license
jimmy818/mexico-angular
977e4d1d0cab2ff8c10c9892d9c72ca2f4f9ac49
005ed3729b807d77a8fd97a3b5469a42ceefdaad
refs/heads/main
2023-08-10T21:37:53.614298
2021-05-11T19:04:29
2021-05-11T19:04:29
366,485,541
0
0
null
null
null
null
UTF-8
Python
false
false
10,380
py
from django.shortcuts import render, get_object_or_404 from django.utils.translation import ugettext as _ from rest_framework import viewsets from rest_framework import filters as df from rest_framework import exceptions, status from rest_framework.views import APIView from rest_framework.response import Response fro...
[ "45069768+itsrocketfuel@users.noreply.github.com" ]
45069768+itsrocketfuel@users.noreply.github.com
e359e010a3d81d8aabd255375565ebb9deae05ed
12412a9d3f3434d9a0f9d6db099a6cb75a35a77f
/bgx/validator/tests/test_permission_verifier/tests.py
10de024ae8f3091a02f6687448bbe6ad7c00085c
[ "Zlib", "MIT", "Apache-2.0" ]
permissive
DGT-Network/DGT-Mississauga
3cf6d79618d2b076ac75b771910cabc5bdd6431a
fb0a558f1304696cdf4278b8009001212ee17cb9
refs/heads/master
2023-03-05T08:58:09.141087
2022-05-10T15:48:04
2022-05-10T15:48:04
241,790,384
0
0
Apache-2.0
2023-03-02T17:42:45
2020-02-20T04:10:38
Python
UTF-8
Python
false
false
25,431
py
# Copyright 2017 Intel Corporation # # 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 wri...
[ "sparsov@sinergo.ru" ]
sparsov@sinergo.ru
7a0ecaa29bc96b1953272f96b90e383f863d3c49
e6611443e946d1129985a95bc2dd2afc610f8292
/CMS/apps/ivr_templates/migrations/0001_initial.py
33231f2120ccfdc6e9150ace76204d7f7558ee7a
[]
no_license
Indus-Action/Campaign-Management-System
a761dd9bbc7967f8302bb3283230f87ccc2bd2a6
9c6f1193ff897b8cc53f2a1c3bca8d70a890e70f
refs/heads/master
2020-03-12T19:49:19.329764
2018-05-15T06:37:41
2018-05-15T06:37:41
130,792,314
1
1
null
null
null
null
UTF-8
Python
false
false
1,141
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-10-12 08:51 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 = [ migration...
[ "madhav.malhotra3089@gmail.com" ]
madhav.malhotra3089@gmail.com
3662af007093be7214fb2ed3b2d24599c6921657
b35f80114ad96928ccce44d40840177e0b5158aa
/dfvfs/vfs/cpio_file_entry.py
691d6298046b26487757ebc682d129568cc091d5
[ "Apache-2.0" ]
permissive
ryanmjones/dfvfs
7b62bab127cb201e679331fa808ec79e8ef03bd9
29ae5baddbf285260a596a67a199d0f5077214c1
refs/heads/master
2020-03-29T23:47:49.363000
2018-09-03T11:43:03
2018-09-03T11:43:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,515
py
# -*- coding: utf-8 -*- """The CPIO file entry implementation.""" from __future__ import unicode_literals import stat from dfdatetime import posix_time as dfdatetime_posix_time from dfvfs.lib import definitions from dfvfs.lib import errors from dfvfs.path import cpio_path_spec from dfvfs.vfs import file_entry cla...
[ "joachim.metz@gmail.com" ]
joachim.metz@gmail.com
faff5b6178dd1c432a852a61438d5ee5675f968a
c77a40408bc40dc88c466c99ab0f3522e6897b6a
/Python_fundamentals/Conditional_Statements_and_Loops/MaximumMultiple.py
7d6aaf2d0bd852c4ae723cbc2274fe9b4aa922c4
[]
no_license
vbukovska/SoftUni
3fe566d8e9959d390a61a4845381831929f7d6a3
9efd0101ae496290313a7d3b9773fd5111c5c9df
refs/heads/main
2023-03-09T17:47:20.642393
2020-12-12T22:14:27
2021-02-16T22:14:37
328,805,705
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
divisor = int(input()) bound = int(input()) print(divisor*(bound//divisor))
[ "vbukovska@yahoo.com" ]
vbukovska@yahoo.com
18fdd1da339a723e8a6f53fe69654d26a6f881b1
b8ee76250770ba628b818a26b6f894347ff2e390
/Python Requests Post.py
373807aed52a7a16be25baeed82410fd82f8643e
[]
no_license
SimonGideon/Journey-to-Pro
77c77bd1a5de387c41bc8618100bbb3957d15706
1591310891c7699710e992fe068b8fa230ac3d56
refs/heads/master
2023-04-28T19:31:53.155384
2021-05-18T19:18:32
2021-05-18T19:18:32
358,926,411
2
0
null
null
null
null
UTF-8
Python
false
false
2,297
py
# Simple post. from requests import post foo = post('http://httpbin.org/post',data= {'key': 'value'}) # Form encoded Data. from requests import post payload = {'key1' : 'value1' 'key2' 'value2'} # File Upload. from requests import post files = {'file': open('data.txt', 'rb')} foo = post('http://http.org/p...
[ "simongideon918@gmail.com" ]
simongideon918@gmail.com
2108381a4645c969584a176821fa30904709f6ae
37931e80bebf17f175ab2bcf720b2b66a9f02e1f
/micropython/tools/insert-usb-ids.py
a8f5d3e065d5ee39691d7244d313e3d59aa9a0e2
[ "MIT" ]
permissive
jiapei100/Stereo
f9ef718533074155eb0ca26afe6d30da44187982
3c569d05545c8ad8fd3d86f9eabacc536ac0105e
refs/heads/master
2020-12-31T00:18:46.272842
2016-10-12T03:10:23
2016-10-12T03:10:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
# Reads the USB VID and PID from the file specifed by sys.arg[1] and then # inserts those values into the template file specified by sys.argv[2], # printing the result to stdout from __future__ import print_function import sys import re import string def parse_usb_ids(filename): rv = dict() if fi...
[ "llb0536@aliyun.com" ]
llb0536@aliyun.com
b72e1753ccf6be4b350864dd5927462eeee31448
284f3fe8c6005a668eec2dba510e333160f66174
/Further Study/arithmetic.py
b25d455ea573ee778e47c9e351f1358496f50d05
[]
no_license
AmyYang1799/HackbrightCalculator-2
ef0b1c9dad86903dc1497ab6f099cf3c62e44b3f
b3ff4b09c34b8db3bda5853e945fa9a18c27a35d
refs/heads/master
2022-12-24T08:10:32.182651
2020-09-30T21:26:26
2020-09-30T21:26:26
300,055,473
0
0
null
null
null
null
UTF-8
Python
false
false
1,423
py
"""Functions for common math operations.""" def add(numbers): """Return the sum of the two input integers.""" total = 0 for number in numbers: total = total + number return total def subtract(numbers): """Return the second number subtracted from the first.""" total = n...
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
430b5b2c88bfb51a3992fecc7a1cd77faf1ff894
de01cb554c2292b0fbb79b4d5413a2f6414ea472
/algorithms/Easy/374.guess-number-higher-or-lower.py
e03fc2f75e91dd404886b2556124a08d12a9c415
[]
no_license
h4hany/yeet-the-leet
98292017eadd3dde98a079aafcd7648aa98701b4
563d779467ef5a7cc85cbe954eeaf3c1f5463313
refs/heads/master
2022-12-10T08:35:39.830260
2020-09-02T23:12:15
2020-09-02T23:12:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,007
py
# # @lc app=leetcode id=374 lang=python3 # # [374] Guess Number Higher or Lower # # https://leetcode.com/problems/guess-number-higher-or-lower/description/ # # algorithms # Easy (43.23%) # Total Accepted: 162.7K # Total Submissions: 376.4K # Testcase Example: '10\n6' # # We are playing the Guess Game. The game is a...
[ "kevin.wkmiao@gmail.com" ]
kevin.wkmiao@gmail.com
daf94b89f383acb7e83c61d5363f94a96304fe19
609582ee37a01ac6a67fb9c957825dcd3c9a5b3a
/LeetCode_Array/697_Degree_Of_An_Array.py
4d90db9d6afb6e5a7351acf2a5972e62b17d321d
[]
no_license
captainjack331089/captainjack33.LeetCode
a9ad7b3591675c76814eda22e683745068e0abed
4c03f28371e003e8e6a7c30b7b0c46beb5e2a8e7
refs/heads/master
2022-03-07T19:53:40.454945
2019-11-06T19:32:00
2019-11-06T19:32:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,567
py
""" 697. Degree of an Array Category: Array Difficulty: Easy """ """ Given a non-empty array of non-negative integers nums, the degree of this array is defined as the maximum frequency of any one of its elements. Your task is to find the smallest possible length of a (contiguous) subarray of nums, that has the same d...
[ "qfhjack@gmail.com" ]
qfhjack@gmail.com
324dc32613a0fe4638504a4d7e9bb442bc10bbcc
ecf7aeadcbe98d8e781fd013660a62fd091e9981
/models/experimental/mnist_keras/mnist_tf2_with_summary.py
cecc35840a6722933b1efd139e38a4965c877153
[ "Apache-2.0" ]
permissive
imcaspar/tpu
c3463d06885e7b0a7440911c9b5d1d9908d9b6be
11ca61b1f9fc4521395a6efcebafdd289d718ae0
refs/heads/master
2020-08-22T20:40:11.077436
2019-10-22T07:53:39
2019-10-22T07:53:39
216,473,554
1
0
Apache-2.0
2019-10-21T03:53:39
2019-10-21T03:53:39
null
UTF-8
Python
false
false
5,955
py
# Copyright 2019 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...
[ "allencwang@google.com" ]
allencwang@google.com
1fe85e4aa1f083510f191779f51c323129d73688
91c994e77bb4cc4616e1835a008ae114a450056b
/models/embedding.py
b2b1b824cd8f1ce7a8c8d83c1685ed430ffda15b
[]
no_license
wanwanaa/bert
9cd73f5a305ed7b81ecee832bdeaa07432a5653d
4c3868c69b73e2b66d9c6c3887f3a4ed836c74b6
refs/heads/master
2020-05-09T16:56:56.469102
2019-04-18T02:52:12
2019-04-18T02:52:12
181,290,050
1
0
null
null
null
null
UTF-8
Python
false
false
558
py
import torch.nn as nn class Embeds(nn.Module): def __init__(self, config, vocab_size, embedding=None): super().__init__() self.vocab_size = vocab_size self.embedding_dim = config.model_size if embedding: self.embeds = nn.Embedding.from_pretrained(embedding) else...
[ "1551612415@qq.com" ]
1551612415@qq.com
b07159c7ffcc64d94e0f427d012661aaa7d2267c
69b6459aa19ae1485b984f7ff66fbed2fdd296a3
/cleaning data for analysis/6 Custom functions to clean data.py
819cd4f0bb488b5932a2c572f98d28e0271cffbe
[]
no_license
AnkitaDeshmukh/Cleaning-data-in-Python
3c61bd3641022d0f3f72c1b162161fe9ff7bcda6
25075fb5d4160c1d3f2c4b57a3388c55379128bb
refs/heads/master
2020-03-28T06:44:19.698129
2018-09-21T01:36:23
2018-09-21T01:36:23
147,856,279
0
0
null
null
null
null
UTF-8
Python
false
false
1,839
py
Custom functions to clean data You'll now practice writing functions to clean data. The tips dataset has been pre-loaded into a DataFrame called tips. It has a 'sex' column that contains the values 'Male' or 'Female'. Your job is to write a function that will recode 'Male' to 1, 'Female' to 0, and return np.nan for a...
[ "noreply@github.com" ]
AnkitaDeshmukh.noreply@github.com
b4b177c9d364144771115faf7efc602649c7374c
d94378b0e39b93dded78995e74dd42ffbee28087
/.metadata/.plugins/org.eclipse.core.resources/.history/57/80a30545cb0c001518bdffb267654626
df33add05ee2049d423f178a75d39a0a4fa8bbfd
[]
no_license
anthonywittemann/Python-Workspace
ef34752150bcf8c5cef975125f2f3131fdcf8b7f
81a652423bf46f68bf52910c55d0ebd9c2f915f7
refs/heads/master
2021-01-10T13:49:12.686306
2015-06-09T05:43:30
2015-06-09T05:43:30
36,406,225
0
0
null
null
null
null
UTF-8
Python
false
false
811
#!/usr/bin/python3 # functions.py by Bill Weinman [http://bw.org/] # This is an exercise file from Python 3 Essential Training on lynda.com # Copyright 2010 The BearHeart Group, LLC def main(): testfunc(42) passFunc() manyArgsFunc(23, 24) # optional arguments have default values def testfunc(number, anoth...
[ "awittema@usc.edu" ]
awittema@usc.edu
ea2cd67e988bcf1f61c1f17e77b3fd39cac122b0
149b97574e4cfd57d48295fa94b6dacf205a77f4
/bin/pytest
a19f765d64a8792a1355e189080c18cef7306458
[]
no_license
wraithan/zamboni-lib
e347b2ee1ab2f37e6a30cbcc522e26f2611f3691
2a5013afb39a7970d60f161d570dad92238c67bd
refs/heads/master
2021-01-18T19:46:52.837975
2012-09-27T23:59:42
2012-09-27T23:59:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
104
#!/Users/jeff/.dotfiles/.virtualenvs/newz/bin/python2.6 -u from logilab.common.pytest import run run()
[ "jbalogh@mozilla.com" ]
jbalogh@mozilla.com
071e07814226a0f75483d97b7dbaed2e0d068ee4
8ecedb5075e19481cbe44875e033aff8a12bda24
/env/bin/tkconch
de4c72394f98b948ed7f7ba315bb11f172aac5d7
[]
no_license
eyeduh/webcrawler
c6e3495737bb11106c41582e0c08f07032f17ea5
0772dae527dbca37320649195ba722a481efc43c
refs/heads/master
2023-07-18T13:26:43.765257
2021-09-07T08:42:02
2021-09-07T08:42:02
402,523,971
0
0
null
null
null
null
UTF-8
Python
false
false
254
#!/Users/ida/Desktop/myproject/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from twisted.conch.scripts.tkconch import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "ida@Aidas-MacBook-Pro.local" ]
ida@Aidas-MacBook-Pro.local
28eaf71cad2b564bd82327243ca01360ed92ab6f
82aee3211216f55392d5a757eb57f02c859e9a28
/Medium/576_outOfBoundaryPaths.py
ef8a876e410c9518a38d534a0278b622094cc65b
[]
no_license
Yucheng7713/CodingPracticeByYuch
505d18095d4b9a35c1f3b23632a90a76d811b64a
1461b10b8910fa90a311939c6df9082a8526f9b1
refs/heads/master
2022-05-01T11:51:00.612603
2022-04-18T09:46:55
2022-04-18T09:46:55
198,961,132
0
0
null
null
null
null
UTF-8
Python
false
false
1,678
py
from functools import lru_cache class Solution: # DFS with LRU cache def findPaths(self, m: int, n: int, N: int, i: int, j: int) -> int: @lru_cache(None) def dfs(i, j, k): if k < 0: return 0 if i < 0 or i >= m or j < 0 or j >= n: return 1 ...
[ "yuchengh@usc.edu" ]
yuchengh@usc.edu
3991d859f17ccd5217aba6618f1bb856c906b935
b7d1922311613b2dc47bc5c0284ff48bc5294f8c
/10-Text_Processing/Exercises/2-Character_Multiplier.py
5cd769005b4ac0e1c00d884c6bbf82a387ddacff
[ "MIT" ]
permissive
eclipse-ib/Software-University-Fundamentals_Module
c32bfa5f249f79de622016269a026d1114341e11
994ef75c70d1bae8e615dbb789aeffd6e0a42c34
refs/heads/main
2023-01-30T08:51:26.239640
2020-12-13T19:54:18
2020-12-13T19:54:18
306,145,841
0
0
null
null
null
null
UTF-8
Python
false
false
1,162
py
strings = input() final_sum = 0 string_one, string_two = strings.split() index = 0 if len(string_one) == len(string_two): for i in range(len(string_two)): current_sum = ord(string_one[index]) * ord(string_two[index]) final_sum += current_sum index += 1 else: rng = 0 if len(string_o...
[ "65770519+eclipse-ib@users.noreply.github.com" ]
65770519+eclipse-ib@users.noreply.github.com
3216056c4a6878fe74129077a5ad87185d7a2b05
c50e7eb190802d7849c0d0cea02fb4d2f0021777
/src/k8s-extension/azext_k8s_extension/vendored_sdks/v2022_03_01/aio/operations/_operations.py
3131058170ae9202905abbf1a6400ff3ec4dead1
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/azure-cli-extensions
c1615b19930bba7166c282918f166cd40ff6609c
b8c2cf97e991adf0c0a207d810316b8f4686dc29
refs/heads/main
2023-08-24T12:40:15.528432
2023-08-24T09:17:25
2023-08-24T09:17:25
106,580,024
336
1,226
MIT
2023-09-14T10:48:57
2017-10-11T16:27:31
Python
UTF-8
Python
false
false
4,967
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
8b33c16d4351639dd865d5962fb1c75d49c2c141
fbcdb3e66f9fce9bf8596ae9f28e14ad23da30a2
/template/protocol/mas.py
77cab857d0184cffdf3c45ca48285eac3a5eaedb
[ "BSD-2-Clause" ]
permissive
arizvisa/syringe
38349e6ff81bc1d709d520b8a8d949a47a3b5f6c
e02b014dc764ed822288210248c9438a843af8a9
refs/heads/master
2023-08-18T11:44:50.096141
2023-08-16T21:15:58
2023-08-16T21:15:58
22,565,979
36
9
BSD-2-Clause
2021-05-24T19:38:31
2014-08-03T03:24:16
Python
UTF-8
Python
false
false
36,622
py
''' Multipoint Application Sharing protocol (T.128) ''' import sys, six, ptypes, protocol.gcc as gcc from ptypes import * ptypes.setbyteorder(ptypes.config.byteorder.littleendian) ### atomic definitions class Integer8(pint.uint8_t): pass class Integer16(pint.uint16_t): pass class Integer32(pint.uint32_t): pass class...
[ "arizvisa@gmail.com" ]
arizvisa@gmail.com
9ba5d64849920688a38c1545631116e7f8c4c6a9
469911b80358080ba14d92d98979a582204b104e
/a-mn-9-18-23.py
8bc9303d8d9923aab4acc6286892a61f8a2168ee
[]
no_license
netlabcode/s09
cf9186db1105f09029da355384542734d92f1bb2
6f4014a8c1cd49d7103498e611e8bda2d506a71f
refs/heads/main
2023-04-03T11:30:11.219829
2021-04-10T14:48:45
2021-04-10T14:48:45
350,093,833
0
0
null
null
null
null
UTF-8
Python
false
false
15,504
py
#Topology Substation 9-18-23 #!/usr/bin/python from mininet.net import Mininet from mininet.node import Node, Controller, RemoteController, OVSSwitch, OVSKernelSwitch, Host from mininet.cli import CLI from mininet.link import Intf, TCLink from mininet.log import setLogLevel, info from mininet.node import Node,...
[ "noreply@github.com" ]
netlabcode.noreply@github.com
f883ab2f2649a3253bc38b6bd5bae24175886a7b
c77be515314cb465d96040456e3b714c422e1150
/auto_encoder/auto_encoder_model.py
fc6f626a5588dcfb5dba5b5b32c51040a66abaf1
[]
no_license
xiongfeihtp/unsupervised_representation_learning
73097d89cbf055d9886cf7a1ad95b32a6209183a
c4d34abe2a2ac462508c0524c725b1756093e787
refs/heads/master
2020-03-15T20:30:34.299119
2018-05-21T13:29:21
2018-05-21T13:29:21
132,334,213
0
0
null
null
null
null
UTF-8
Python
false
false
8,794
py
''' @author: xiongfei @license: (C) Copyright 2013-2017, Node Supply Chain Manager Corporation Limited. @contact: 386344277@qq.com @file: auto_encoder_model.py @time: 2018/4/30 下午7:51 @desc: shanghaijiaotong university ''' from __future__ import absolute_import from __future__ import division from __future__ import pr...
[ "386344277@qq.com" ]
386344277@qq.com
c8378053359a710560f3984ba7b4504c6eb23ff8
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/452/usersdata/295/103712/submittedfiles/avenida.py
754e715e1e096323b5a891852f5346cd3b3553c8
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
# -*- coding: utf-8 -*- matriz = [] m = int(input("Digite um numero de quadras n-s:")) n = int(input("Digite um numero de quadras l-s:")) i = 0 j = 0 if 0<= m <=1000: if 0<= i <=m-1: if 2<= n <=1000: if 0<= j <=n-1: for i in range(0,m,1): linha = [] ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
6e1ca81cb76a9349a0a26e540b5438a483c6c66b
380dfac9b68ef8663db5a9d1b30fc75636dec3d3
/test/test_stripe_token_paged_metadata.py
e2bde38319df00ddd8c4aca651a1b8b97f942450
[ "Apache-2.0" ]
permissive
billforward/bf-python
d2f549e0c465d0dc78152b54413cac4216025a64
d2b812329ca3ed1fd94364d7f46f69ad74665596
refs/heads/master
2021-12-13T22:10:16.658546
2018-06-19T14:44:45
2018-06-19T14:44:45
63,268,011
2
1
Apache-2.0
2021-12-06T12:59:41
2016-07-13T17:57:37
Python
UTF-8
Python
false
false
1,372
py
# coding: utf-8 """ BillForward REST API OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git 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...
[ "alexander.birch@billforward.net" ]
alexander.birch@billforward.net
e04b238a4f0499703e4b3a973c537b62155d445b
daaf34b7996357e980b3d784108d31c4a8e55364
/backend/coreyhub_25374/urls.py
4fe9fb37002af99c230b0beb11f53224c43d88ff
[]
no_license
crowdbotics-apps/coreyhub-25374
88d47179381ba995e918573962bc58961aa7099f
b715a19710d84292f38dc015e1083bfc9174786c
refs/heads/master
2023-03-30T00:05:10.374890
2021-03-31T00:14:44
2021-03-31T00:14:44
353,160,712
0
0
null
null
null
null
UTF-8
Python
false
false
2,336
py
"""coreyhub_25374 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Clas...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
23e5f69bc605865be30d48876b1d3b09503511f7
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_321/ch87_2020_06_22_18_03_40_269273.py
52592aa724ec505812ce428f4af807c6671f47cd
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
with open('churras.txt','r') as texto: conteudo = texto.read() valor = 0 n = conteudo.strip() print(n) for i in conteudo: e = n.split(',') valor += int(e[1])*float(e[2]) print(valor)
[ "you@example.com" ]
you@example.com
f848e3d507aaad9c30b0042a17542dc6225e5945
d723bb8bc5ebe9a0094ae4352b87916e47f08e28
/Python 3 Essential Training/04 Syntax/object.py
4d63e3b16fecd15096b57995c2a68717be654257
[]
no_license
rajatsachdeva/Python_Programming
c8b22cc3942a6ea945906e6cc316ca3aa6e9063a
c02afde76b7d47cbacd1bc9052eac370cd262432
refs/heads/master
2021-01-20T00:51:14.580525
2018-10-27T17:28:23
2018-10-27T17:28:23
89,198,567
1
0
null
null
null
null
UTF-8
Python
false
false
921
py
#!/bin/python3 # python is fundamentally an object oriented language # In python 3 everything is an object # class is a blueprint of an object # encapsulation of variables and methods class Egg: # define a constructor # with special name __init__ # All methods within classes have first argument as self ...
[ "rajat.sachdeva621@gmail.com" ]
rajat.sachdeva621@gmail.com