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
918a5296584c4fa3192d8debf40cedd8260b4dbd
9826c9d5d9e845a06ac33b80133f17eb3782bbdb
/0802_bitwise_operator.py
fdff963c5c6ed8ea8e96bd277d2d2c629da9220d
[]
no_license
sujitdhamale/Python
0a33ec12fab88df3659e311ff606d79803249828
644ea529ed87b0fa4048157f79bfe18a2c156a0e
refs/heads/master
2020-03-20T04:51:59.508929
2019-01-24T14:13:19
2019-01-24T14:13:19
137,197,180
0
1
null
null
null
null
UTF-8
Python
false
false
767
py
#!/usr/bin/python #0802_bitwise_operator.py by Sujit Dhamale #to Understanding 0802_bitwise_operator def main(): print(5) print(0b0101) b(5) x,y=0x55,0xaa print("X==",end=" ") b(x) print("Y==",end=" ") b(y) #OR operator print("\n#OR operator") ...
[ "noreply@github.com" ]
sujitdhamale.noreply@github.com
b03e063567ef23cd6b2772608f21a20bde8f8332
6b6ab51db088486341ae44ddadae4383492e6f6c
/pylib/plots/build_plots.py
ce9363175fb45e8ca3aa6b18da29889b01eaf390
[]
no_license
SLindberg-intera/new_docs
d59ba45bd2666e89d6d358fbc66950488c2663aa
f1416d879b84b7424c4ac53ed040ce8a1543c3de
refs/heads/master
2023-03-10T02:45:52.644535
2021-02-23T22:55:30
2021-02-23T22:55:30
341,708,246
0
0
null
2021-02-23T22:55:30
2021-02-23T22:29:57
Python
UTF-8
Python
false
false
18,300
py
#plot one model for all cells per graph #py ../build_plots.py data_tc-99/bccribs-tc-99-bot_yearly_steps.csv plots --single true #plot all models in directory per graph #py ../build_plots.py data_tc-99 plots import sys,os sys.path.append( os.path.join(os.path.dirname(__file__), '..','..')) #from pathlib import ...
[ "NPowers@intera.com" ]
NPowers@intera.com
e3a33681fd5078c3ba18bb441d4a109ec5dd24d3
f4505f7bacdce8bcd68f464737f8163e36a56229
/src/control/user_input.py
258fa5d1b05ef8ce941952fd3b5514e38b824363
[]
no_license
jr-/IA
c6d3d3dc354534b92a78a8694fec660d237ad997
b86550afc3b90850fbc15089f48639b2b1ff9058
refs/heads/master
2020-03-08T23:53:05.114827
2018-04-19T18:07:02
2018-04-19T18:07:02
128,474,933
0
0
null
null
null
null
UTF-8
Python
false
false
1,139
py
class UserInput(object): ''' classdocs ''' def __init__(self, main_window, game): ''' Constructor ''' self.main_window = main_window self.game = game self.main_window.set_connections(self) pass def square_clicked(self): if self.game....
[ "joseluis.ruas@gmail.com" ]
joseluis.ruas@gmail.com
99dcc08e60276709bea058c6ada6d9b57ca4de1c
f76c2da4dacf57a2747b99ad6fe455dab3bbd967
/5.py
13f15808ab94efe8225ba8aa0f536f5b5699563b
[]
no_license
inomad15/python
ccbcb904520633f00acbe287865e73fe2021021f
544168864f268c44051fbd82d285ad4da83ddb43
refs/heads/master
2021-01-10T09:43:00.730250
2015-12-29T00:28:51
2015-12-29T00:28:51
48,351,626
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
# coding=utf-8 with open("foo.txt", 'w') as f: f.write('Life is too short, you need python.')
[ "dentchb@gmail.com" ]
dentchb@gmail.com
7b1fa8f71dd4bc5286151a743f2168f08d758de1
0d70e49189a95454ef22f1a21cbac02899e8accd
/EnvVirtuel/Scripts/pip-script.py
72d95e6c663f12cd63edcd93346aae38fdc23d0a
[]
no_license
EmilieM71/Projet-5-startup-Pur-Beurre
dd6ab2267333521a439b1cc8fdd0e9fa64487449
105e7080adfb14fb69b9b404cfda6621d5b7e8ec
refs/heads/master
2021-07-19T09:18:35.434100
2019-10-22T10:05:05
2019-10-22T10:05:05
197,351,182
0
1
null
2020-07-21T17:32:01
2019-07-17T08:46:27
Python
ISO-8859-2
Python
false
false
490
py
#!"D:\Documents\Openclassrooms\Parcours dévelopeur d'application Python\Projet 5\Projet-5-startup-Pur-Beurre\EnvVirtuel\Scripts\python.exe" -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '...
[ "martelemilie@hotmail.fr" ]
martelemilie@hotmail.fr
7e80232ccf3706a2fddcdb23be58d8c1a5c5ad1b
fb369693686cbd93799f68bcd0b4fdcf4c65d49a
/contrib/data.world/upload.py
5b45194a14749608eda5b1764196b1808641b7b5
[ "MIT", "CC-BY-NC-4.0" ]
permissive
opensanctions/opensanctions
8a43c173bd9c1422b5ca3e2ec35bcac70f8f1573
229b59247e67ad0661abb0a6f7155a61042a32ea
refs/heads/main
2023-09-03T23:59:34.785846
2023-09-03T08:46:14
2023-09-03T08:46:14
47,451,451
155
32
MIT
2023-09-14T05:46:11
2015-12-05T10:19:57
Python
UTF-8
Python
false
false
1,958
py
# pip install datadotworld requests from pprint import pprint import requests import datadotworld as dw from datadotworld.client.api import RestApiError SUMMARY = ''' %(summary)s See: [%(title)s](%(url)s) This dataset is part of the [OpenSanctions project](https://opensanctions.org/docs/about) ''' INDEX_URL = 'https...
[ "friedrich@pudo.org" ]
friedrich@pudo.org
f7abe2032d3b3645c4032f58e4d147e9d6598c44
a3fbeaaaedd3da71585aca070b7663f932698967
/accounts/admin.py
a2b173f56d6901b74cd71af35153f0fe4d2e58bc
[]
no_license
ananduv2/ems
14a22198fc1ff54d492c4c0d243d2a26a6dee9ec
97a46cf430a661d39c77c57921dc8d1607be520b
refs/heads/master
2023-06-06T15:48:33.715510
2021-06-25T16:42:01
2021-06-25T16:42:01
380,233,779
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
from django.contrib import admin from . import models # Register your models here. admin.site.register(models.employee)
[ "ananduv2.0@gmail.com" ]
ananduv2.0@gmail.com
40f84cd3a6ce30acc6b24b397bbc3df48a94ade4
0cdd23fadbac76c4b5e8e3b278053be4549d00bf
/AC1LPII/principal.py
77a4da0900a0990717d06cc05dfb0a8f6639a470
[ "Apache-2.0" ]
permissive
Fittipvldi/impacta_lp_2
8b476934175f85319a709cdfe46b008cb3559fb5
3d229379bf63c4541805ff9574792daea627cc6c
refs/heads/master
2023-03-16T04:51:21.257462
2021-03-04T22:31:23
2021-03-04T22:31:23
256,328,195
0
0
null
null
null
null
UTF-8
Python
false
false
1,211
py
from escola import (adicionar_aluno, remover_aluno, pesquisar_aluno, calcular_media, calcular_media_turma, melhores_alunos) alunos = {'pedro': [10, 9.5, 9, 5, 7], 'ana': [4, 7, 9.5, 10, 8], 'jose': [10, 4.5, 5, 6, 8]} listanotas = [] qtdalunos = int(input(" Insira a quantidade...
[ "henrique.gfitti@gmail.com" ]
henrique.gfitti@gmail.com
fa5906c0056ef8086fbc7505a2506b4720dc0676
ffed7fe051dafe862dec29d52be8d89806e951d9
/gauzlib/util.py
1ac22ddc1e4074922f24de0d74136b268e6887f3
[]
no_license
league/gauz
167d0a8d0c26e4fb04328b44b2c019343bc64e75
0d38a5fc810fa01be5c8be1287df0ae8750461f6
refs/heads/master
2021-03-12T19:42:25.909759
2013-10-21T00:41:22
2013-10-21T00:41:22
608,469
1
1
null
null
null
null
UTF-8
Python
false
false
3,775
py
# -*- coding: utf-8 -*- from genshi.builder import tag from genshi.core import Stream, Markup from genshi.template import NewTextTemplate from pygments.formatters import HtmlFormatter import random class GauzUtils: def markupToString(self, value): if hasattr(value, '__call__'): value = value()...
[ "league@contrapunctus.net" ]
league@contrapunctus.net
4f961ead6cdc2942555f78f1326cb4e396ffce2f
538fd58e4f7d0d094fd6c93ba1d23f78a781c270
/3_longest_substring_without_repeating_characters/solution.py
fada06753176c599106e3882173676106d13cc87
[]
no_license
FluffyFu/Leetcode
4633e9e91e493dfc01785fd379ab9f0788726ac1
5625e6396b746255f3343253c75447ead95879c7
refs/heads/master
2023-03-21T08:47:51.863360
2021-03-06T21:36:43
2021-03-06T21:36:43
295,880,151
0
0
null
null
null
null
UTF-8
Python
false
false
1,358
py
class Solution: def len_longest_substring(self, s: str) -> int: """ eager storage. current_letters is always accurate. """ if not s: return 0 res = 0 current_letters = set() left = 0 for right in range(len(s)): if not s[right]...
[ "fluffyfu400@gmail.com" ]
fluffyfu400@gmail.com
f2bfca1099d8c04aed3fdeb88962fa74d4f06be2
f794d6040539023bfc276e5e5ff38afc2d9b361c
/py-schedule-env/bin/python-config
6908b18cffe35a641ff59000d74f5dddbf97e217
[]
no_license
LuPan2015/py-schedule
78fa2d09573d98441fc3b891abb851dfe42a0955
6353a40158b3f7c1437a89bd1d4dc564a3149ed6
refs/heads/master
2020-03-07T22:32:51.951371
2018-04-02T15:39:32
2018-04-02T15:39:32
127,756,999
0
0
null
null
null
null
UTF-8
Python
false
false
2,365
#!/Users/pan.lu/study/py-schedule/py-schedule-env/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags') i...
[ "874325293@qq.com" ]
874325293@qq.com
75ec06b3a52ec85497a2c235b210f2af7a5c4864
8f37e1fc2b040fa24ccdcd9ef0393dd7620dd270
/examples/rgbled_simpletest.py
f4cd4ee1bd96a7effeb2c473d849b55db59d6f9c
[ "MIT" ]
permissive
siddacious/Adafruit_CircuitPython_RGBLED
80b8f672ab454495e593503b5206b660803531cd
fc5deb7b7593fd933ad55f58af23b3de88cac696
refs/heads/master
2020-08-29T17:46:02.163350
2019-10-28T20:20:53
2019-10-28T20:20:53
218,116,028
0
0
MIT
2019-10-28T18:20:04
2019-10-28T18:20:03
null
UTF-8
Python
false
false
1,428
py
import time import board import adafruit_rgbled # Pin the Red LED is connected to RED_LED = board.D5 # Pin the Green LED is connected to GREEN_LED = board.D6 # Pin the Blue LED is connected to BLUE_LED = board.D7 # Create the RGB LED object led = adafruit_rgbled.RGBLED(RED_LED, GREEN_LED, BLUE_LED) # Optionally, y...
[ "robots199Wme.com" ]
robots199Wme.com
0133d488f60b6ffe7c0085d709f56246fcf1971e
e04311a545baa4672f170ee471ed47f67c383d73
/AlgorithmsAndPrograms/03_LinkedLists/ReverseSinglyLinkedList.py
c43000c2d0ae3d9118dd4d56b8463181b1b5caa2
[]
no_license
chetanDN/Python
55fa39cd2e15396d0db66f01b08e574bf5387699
35a4461b8673e94189199859b4a5776035232629
refs/heads/master
2021-04-29T11:05:31.963179
2019-02-27T08:58:20
2019-02-27T08:58:20
77,855,793
1
0
null
null
null
null
UTF-8
Python
false
false
316
py
from LinkedListNode import * def reverse_single_ll(self): last = None current = self.head while(current.next != None): Next LL1 = LinkedList() LL1.add_at_end(Node(4)) LL1.add_at_end(Node(5)) LL1.add_at_beg(Node(1)) LL1.add_at_beg(Node(3)) 'hello'.split() print('*'*56) LL1.print_list()
[ "chetandevanaik@gmail.com" ]
chetandevanaik@gmail.com
db8330e7cb6b7b9b93141c8464e53f9c81713f3d
305b0f420ca2d1ad055121d89c4da5437a076b15
/PaintedLady.py
00c59a3614a0627b6a8e940d4c029962d0adf73e
[]
no_license
JohnathanShiao/PaintedLady
13ac1d685518bca156f6464bf725da859189595d
14534e57101389b1c6739beabfb432008ed38d08
refs/heads/master
2020-04-24T13:41:10.571199
2019-02-22T05:01:48
2019-02-22T05:01:48
171,996,006
0
0
null
null
null
null
UTF-8
Python
false
false
1,715
py
from flask import Flask, request, redirect from twilio.twiml.messaging_response import MessagingResponse from pymongo import MongoClient from argparse import ArgumentParser import sys import click client = MongoClient('localhost:5000') members = client['member-db'] app = Flask(__name__) @app.cli.command() def test...
[ "michaelchang@nbp-214-53.nbp.ruw.rutgers.edu" ]
michaelchang@nbp-214-53.nbp.ruw.rutgers.edu
0d2394428757f77ddcd462bb472ae359814182c2
f52dccb170d2acc6d5b5a63d5eefe44a55416b14
/python/fundamentals/functions_intermediate1.py
c33e710598e5e6cb16b2af17ea9576a164570778
[]
no_license
bcaldwell87/Coding-Dojo-Python
95bed6ff023a4a60e7fad3723c91cba36b5677b0
395267528eca6a4541bddfb8dd0d4ea29f1d83b2
refs/heads/master
2020-12-28T11:48:16.206676
2020-02-04T22:14:50
2020-02-04T22:14:50
238,317,986
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
import random def randInt(min=0, max=100): num = random.random() * (max-min) + min num * max return round(num) print(randInt()) # should print a random integer between 0 to 100 print(randInt(max=50)) # should print a random integer between 0 to 50 print(randInt(min=50)) # should print a rand...
[ "bcaldwell87@gmail.com" ]
bcaldwell87@gmail.com
6991e6abfccbee339dee179693e71b9035d06cf2
b8bd2c861f413a59a9460c63b2828e6ae4b8098d
/client/python/utils.py
c9519cb300838c187633e84b7d4c730c1d57da89
[]
no_license
Din-Houn/medianav
7509503baf8e50518091bd01d426483e522860e9
ea5fe2cc689d05f106fc168ca6eb35de7cd2ccb2
refs/heads/master
2021-06-01T23:07:39.088664
2010-09-20T19:20:41
2010-09-20T19:20:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
# Part of MediaNav client # Defines some utility functions import math import os import config def interp_lin(value1, value2, factor): """ Interpolates between two values linearly The return value will be: value1 if factor is 0 value2 if factor is 1 """ return value1+(value2-...
[ "AndreFMiller@3ae9964c-60fe-11de-bc6d-35d2ebd5fd4e" ]
AndreFMiller@3ae9964c-60fe-11de-bc6d-35d2ebd5fd4e
acfcbc929564fcd48fd608486554e2ae1e2514f5
5e83a5505964323decce2187ac1010b14d7be116
/myvenv/Scripts/django-admin.py
5eb6733e54446c63d54c499b09fcbdc1bfbc1188
[]
no_license
kimseonjae/my-first-blog
6cbbd062fa2c597e49cbc6331ccd515253adbed7
4fcc3c4d639247d21c9099028287e9184ff92228
refs/heads/master
2020-03-15T19:24:37.860174
2018-05-10T08:25:59
2018-05-10T08:25:59
132,307,897
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
#!c:\users\rlatj\djangogirls\myvenv\scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "rlatjswowkd@gmail.com" ]
rlatjswowkd@gmail.com
e4258898b0061959e6f95a5e439a7d8635859ee9
be011e5d1adbab15cb11e476239074db3ae7f7ca
/expdj/apps/result/models.py
7790f28ae56cef8444dc79a911cd9afef98d2938
[ "MIT" ]
permissive
expfactory/expfactory-docker-dev
18d249d62f58dbb68911e15d72d38b691e1400aa
a2d9097db3d57a5c5303c2bc281cb4361af25ec4
refs/heads/master
2021-06-04T18:09:27.810996
2016-08-29T01:11:09
2016-08-29T01:11:09
65,325,038
0
1
null
null
null
null
UTF-8
Python
false
false
2,359
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from expdj.apps.result.utils import to_dict, get_time_difference from django.core.validators import MaxValueValidator, MinValueValidator from expdj.apps.experiments.models import Experiment, Battery from expdj.settings import DOMAIN_NAME, BASE_DIR from django.db.models.sign...
[ "vsochat@stanford.edu" ]
vsochat@stanford.edu
ec6fcbaa6da0a3fcadddf752592e3cb493b8d528
390a0492fed610fe66af920dba4761c14d0505ac
/app/migrations/0002_auto_20190913_0528.py
f43b59e78b4046dcb829bf84c949db2f5a395f98
[]
no_license
Asmin75/shop-drf
5254e4629c1709938c5e1eb6f224300d7416fca3
793d4a22bffca406915a322d39c73b1a70700a1d
refs/heads/master
2021-06-18T05:53:12.065612
2019-09-26T05:15:58
2019-09-26T05:15:58
205,094,516
0
0
null
2021-06-10T21:55:52
2019-08-29T06:19:46
Python
UTF-8
Python
false
false
1,128
py
# Generated by Django 2.2.4 on 2019-09-13 05:28 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('authtoken', '0002_auto_20160226_1747'), ('app', '0001_initial'), ] operations ...
[ "asminrai7@gmail.com" ]
asminrai7@gmail.com
1abba349f07bcef2d1ee8c32fd0fca2db698008e
3a4fd17ef3c8a89c0b5fda3a6b96d0738fe9ae7f
/problem9.py
9b0ff858375aea75228ca0738c9ddb688e3fb6aa
[]
no_license
JoshuaW1990/leetcode-session2
62c6a2f628eb164442eb47c383d9fe88493478be
71abff600e607aeb9cf3c949dd84fa39f67465cb
refs/heads/master
2020-03-26T03:24:30.866321
2018-08-15T14:16:16
2018-08-15T14:16:16
144,454,516
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
class Solution(object): def isPalindrome(self, x): """ :type x: int :rtype: bool """ # use string at first s = str(x) return s[::-1]==s
[ "junwang@Juns-Air.lan" ]
junwang@Juns-Air.lan
0efad3c56f41c0b45bbffff4a4653b05920c3093
729e561fde2dcbc8b328182b636c0cc63c8dd062
/sour/map/clipfacevecs.py
229ceab0a886d0ffc27333a1f0d9bef6d29cb190
[ "BSD-3-Clause", "MIT", "Zlib", "LicenseRef-scancode-unknown-license-reference" ]
permissive
embarktrucks/sour
1738dc9f3fac6964108673e6e5314919887679cf
31393561b367c17d6b4b1269bfe6d4ae69bd0acf
refs/heads/master
2020-04-03T12:09:58.201605
2018-11-04T03:20:41
2018-11-04T03:20:41
155,243,184
1
0
null
null
null
null
UTF-8
Python
false
false
2,051
py
""" This file may be in part a direct translation of the original Cube 2 sources into python. Please see readme_source.txt for the license that may apply. """ from sour.map.facevec import facevec from sour.map.insideface import insideface def clipfacevecy(o, d, cx, cy, size, r): if d.x >= 0: if cx <= o.x ...
[ "cfoust@sqweebloid.com" ]
cfoust@sqweebloid.com
cad3859762c942e83c2cb5fb4b48928b89e35f30
4897a3812310bfa87e3c52959bfd79cd6ef6fe67
/kr.py
f4610bb4448e4477496211dad67d4df4a17e54c2
[]
no_license
alanward55/alantv
267dc9428f5e0b608dad793498e39c6d5af42547
229d84cc6035f58d732101709b13995d66199e6f
refs/heads/main
2023-08-13T02:54:41.500324
2021-10-12T10:39:27
2021-10-12T10:39:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,969
py
import os,re,sys,time, requests b="\033[0;34m" g="\033[1;32m" w="\033[1;37m" r="\033[1;31m" y="\033[1;33m" cyan = "\033[0;36m" lgray = "\033[0;37m" dgray = "\033[1;30m" ir = "\033[0;101m" reset = "\033[0m" headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) C...
[ "noreply@github.com" ]
alanward55.noreply@github.com
1dc0de80801f8d456b2a15ca85d82c00e1890dbf
0dfe6f76ca7acd7669ca3c2d21352d2744d061e4
/scripts/libraries/vl53l1x.py
df7f0d61753ea04ab879d5ea65ec83b802b5016c
[ "MIT" ]
permissive
Saneagle/openmv
02da8fbaeae5880870a03a007eecca461d025792
620c597d59b6e41cf1e85246ded7e24c82d5a1de
refs/heads/master
2020-04-23T14:03:45.870853
2019-06-05T08:22:15
2019-06-05T08:22:15
171,219,731
0
0
MIT
2019-02-18T05:21:58
2019-02-18T05:21:57
null
UTF-8
Python
false
false
7,360
py
import pyb VL51L1X_DEFAULT_CONFIGURATION = bytes([ 0x00, # 0x2d : set bit 2 and 5 to 1 for fast plus mode (1MHz I2C), else don't touch */ 0x00, # 0x2e : bit 0 if I2C pulled up at 1.8V, else set bit 0 to 1 (pull up at AVDD) */ 0x00, # 0x2f : bit 0 if GPIO pulled up at 1.8V, else set bit 0 to 1 (pull up at AVDD) */ 0x01...
[ "noreply@github.com" ]
Saneagle.noreply@github.com
94a8ebf2afd2815b3961eec5c6fcfe30dd4bdbf6
5e7e6fdd13fc65b7f5affe28e60ec03546599369
/stack/stack.py
383adc9d5cbe1579f0d5688a19861e65b8ed4cf5
[ "Apache-2.0" ]
permissive
JuulLabs-OSS/BTPTesterCore
334099b8ddf64f39bdbd1c34905605a0f170cb0a
061acff2805c4639380cbc2650d4025a616c0931
refs/heads/master
2022-05-16T16:17:46.205462
2022-03-23T10:26:43
2022-03-30T09:57:23
197,208,013
8
6
Apache-2.0
2022-03-30T09:57:24
2019-07-16T14:18:02
Python
UTF-8
Python
false
false
2,210
py
# # auto-pts - The Bluetooth PTS Automation Framework # # Copyright (c) 2017, Intel Corporation. # # This program is free software; you can redistribute it and/or modify it # under the terms and conditions of the GNU General Public License, # version 2, as published by the Free Software Foundation. # # This program is ...
[ "michal.narajowski@codecoup.pl" ]
michal.narajowski@codecoup.pl
2917d21f986b93c431bcdccc7423248970117f5f
22a83563831cc34260f73cdcc19c3bc84c648a7c
/venv/lib/python3.5/token.py
b896f999d03e9969d832ea9df6c4748ec6d72f66
[ "MIT" ]
permissive
caven-yang/blockchain_demo
65ec36f4be194da4eb2da2261c5b2e91c60ca0b9
28875fd777bdd664cf2625e4795efa8d67bd2896
refs/heads/master
2022-12-23T04:31:31.863403
2018-01-21T23:15:28
2018-01-21T23:15:28
118,381,875
0
0
MIT
2022-12-08T00:48:41
2018-01-21T23:06:47
Python
UTF-8
Python
false
false
99
py
/opt/homebrew/Cellar/python35/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/token.py
[ "caven.yang@gmail.com" ]
caven.yang@gmail.com
0f93354f38c32fb3a4a5839da071055eb569bf5b
ab17c6eaaf04bbd24b42f377354865b2500a959f
/DataMining/project3.py
4e6ab57ea9ac320ab906457c8491a57734582671
[]
no_license
YujiaLuo-L/DataMining
194fd2abf5059733fa042247ee4f45cbe5965c81
3c9ef95cb8e1599f366b5851f3c2061b5a1a13c4
refs/heads/master
2022-05-26T10:47:00.405594
2020-04-19T16:37:10
2020-04-19T16:37:10
257,045,126
0
0
null
null
null
null
UTF-8
Python
false
false
5,341
py
import numpy as np import math np.set_printoptions(suppress=True)#不用科学记数法输出数据 from sklearn.datasets import load_iris#数据 iris=load_iris() dataset=np.empty([len(iris.data),5],dtype=float) dataset[:,:4]=iris.data dataset[:,-1]=iris.target degree=4#维度设为全局变量 #求两个向量之间的距离 def distance(X1,Xi): dist=0#用来记录两点之间的距离 fo...
[ "1027671187@qq.com" ]
1027671187@qq.com
e8b756b6f410896da07f2a57fb8ceca2f236a37f
5d2ce61df4555446e3a429a104befc92c956e246
/.venv/bin/easy_install-3.6
42ed424bd605d66850ff0f38414000cef1d6a529
[ "MIT" ]
permissive
AlexMuia31/profiles-rest-api
760a7f21c633a36ad3042d88559b1f868c1f62e1
467cefc9e280b41a116ea5edaa353e8e47a2b8a3
refs/heads/master
2022-05-10T03:29:23.755054
2020-03-04T08:27:39
2020-03-04T08:27:39
223,818,150
0
0
MIT
2022-04-22T22:56:47
2019-11-24T22:14:03
C
UTF-8
Python
false
false
240
6
#!/vagrant/.venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "alexmuia31@gmail.com" ]
alexmuia31@gmail.com
37549aa864afa6716e9bb2fb85246b09e64374f8
a558738e56b7f49a7a336d5c443f35b84ef8e54c
/client.py
65c4066701dd910f7638e32eac9eb640eb379c8a
[]
no_license
shlomozippel/ArduinoScreenOutline
420aa8e109875dfd75208b5fc40a7fe48f7f8e44
fbd8e5964ad2d8c737e42ed37b8e515554fad778
refs/heads/master
2021-01-19T04:51:10.413750
2013-06-27T06:19:38
2013-06-27T06:19:38
10,988,543
2
0
null
null
null
null
UTF-8
Python
false
false
3,630
py
import serial import time import sys from cmd import Cmd from PIL import ImageGrab, ImageStat from itertools import * from struct import pack #------------------------------------------------------------------------------ # Configuration #------------------------------------------------------------------------------ ...
[ "shlomo.zippel@gmail.com" ]
shlomo.zippel@gmail.com
8cac48b3e10262d725f77bca781a28750426f18f
3a32644df62877604b44593267d41d3c664c1867
/3-SatShipAI/train.py
e7b2dadcae16420d33fb5cb6e367300704193658
[ "Python-2.0", "CC-BY-3.0", "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
avanetten/SpaceNet_SAR_Buildings_Solutions
f5872778baf7cd7f7b22f2a4b104a5f680a33a28
6a9c3962d987d985384d0d41a187f5fbfadac82c
refs/heads/master
2023-01-21T01:43:04.626934
2020-12-04T00:15:21
2020-12-04T00:15:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,576
py
import os import sys import shutil import argparse import numpy as np import pandas as pd import geopandas as gpd import torch sys.path.append('.') import solaris as sol if __name__ == '__main__': parser = argparse.ArgumentParser(description='SpaceNet 6 Baseline Algorithm') parser.add_argument('--basedir', ...
[ "noreply@github.com" ]
avanetten.noreply@github.com
580f0a3863244e09e0c8da145d18d2254b9a249f
6950239e115ec2002213ae317566a8270fc9e186
/data/__init__.py
f15c01c8314687d6d8896ea20ac77785b0809226
[ "MIT" ]
permissive
danzek/email-formality-detection
c4d8f23f39fe381f62e460f82a959d16927e4266
846f0b5f86a1d4846667633095f67d59129e660b
refs/heads/master
2021-01-25T06:40:15.646397
2014-12-02T05:13:19
2014-12-02T05:13:23
26,556,226
3
2
null
null
null
null
UTF-8
Python
false
false
367
py
#!/usr/bin/env python # -*- coding: utf_8 -*- __author__ = "Dan O'Day" __copyright__ = "Copyright 2014, Dan O'Day, Purdue University" __credits__ = ["Dan O'Day", "Robert Hinh", "Upasita Jain", "Sangmi Shin", "Penghao Wang", "Julia Taylor"] __license__ = "MIT" __version__ = "0.1" __maintainer__ = "Dan O'Day" __email__ ...
[ "digitaloday@gmail.com" ]
digitaloday@gmail.com
5f76a587d10e7ac9e0d7233e991afacb7070c15b
912ea946f892d2d40aa3d518fb47bfe4d4eebd1f
/test4/booktest/views.py
042a74ad5a7e1661abe061da71c80851215b4abd
[]
no_license
Mrfranken/djangostudying
80254c8cd1fac9f89582c8b543a6f2185d8a3071
5e1e62175e6b7e2d85df7a872553ebb8aa612120
refs/heads/master
2021-04-15T09:38:51.583544
2018-05-21T11:18:28
2018-05-21T11:18:28
126,695,789
1
0
null
null
null
null
UTF-8
Python
false
false
3,215
py
from django.shortcuts import render, redirect from .models import HeroInfo, BookInfo from django.http import HttpResponse # Create your views here. def index(request): hero_id1 = HeroInfo.objects.get(pk=1) hero_list = HeroInfo.objects.filter(isDelete=False) context = {'hero': hero_id1, 'he...
[ "wsj973507837@163.com" ]
wsj973507837@163.com
bee15f72cc9c327263422fbaa4f2fe8df9500f11
7f1622417e72d432ee08067bc8844c71f508fc62
/gridworld.py
c3f619e91a3f307e6c857bef92816dc1380b3119
[]
no_license
chenlighten/RL
54d3406c1dfc5b895c370ff9b21e9bd722155443
4a3cc7185ad08b0ebe5eb21c7123561cc1289e14
refs/heads/master
2020-07-22T20:19:47.474611
2019-09-09T13:35:53
2019-09-09T13:35:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,397
py
class GridWorld: def __init__(self, len=4, gamma=0.5): self.len = len self.size = len * len self.gamma = gamma self.oldVal = [0] * self.size self.val = [0] * self.size self.itrTime = 0 self.actions = ['n', 's', 'w', 'e'] tempPi = dict(n=0.25, s=0.25, w...
[ "xushichen@sjtu.edu.cn" ]
xushichen@sjtu.edu.cn
c5c5917bb24e8e40470a8d5d3957a0dcfa3fad79
0a6af3fcbf499dbc89dd0bc410d21412dc0e13e1
/network/cifar10_cnn_net.py
918b1c91c29db35e1b0bb57e673e58e7592d23da
[]
no_license
skamdar/Adversarial-Image-Detection
625a9b9183a4a4dfd0f082698de0d1ae06311e60
4b82c0cc5d909598c1e0bf1dc7811f8fcc147630
refs/heads/master
2020-12-27T02:24:53.551056
2020-02-02T08:16:20
2020-02-02T08:16:20
237,733,199
3
0
null
null
null
null
UTF-8
Python
false
false
921
py
import torch.nn as nn import torch.nn.functional as F class cifar10_cnn_net(nn.Module): def __init__(self): super(cifar10_cnn_net, self).__init__() self.conv1 = nn.Conv2d(3, 64, 3, 1) self.conv2 = nn.Conv2d(64, 64, 3, 1) self.conv3 = nn.Conv2d(64, 128, 3, 1) self.conv4 = nn....
[ "noreply@github.com" ]
skamdar.noreply@github.com
0d5996acbeb697b58611426db25b498715d856d0
97a8c745db33c7e4f33d573a70c8060ad1cf0e72
/Advanced Algorithms/Rivest Shamir Adleman Encryption/rsacrypto.py
68b029b9862fe7e66163fc0479629d8b9e65bb0d
[]
no_license
Sudipta2002/UEMK-CSE-RESOURCES
498fcaef1565a066687fe3e5d14c15c911db3f0e
529dd518442c962406abfd0506d372f169e7a5f3
refs/heads/main
2023-06-15T21:25:20.134069
2021-07-12T06:25:39
2021-07-12T06:25:39
347,376,840
6
3
null
2021-06-14T14:33:34
2021-03-13T13:23:18
Java
UTF-8
Python
false
false
693
py
p=int(input("Enter p :")) q=int(input("Enter q :")) n=p*q t=(p-1)*(q-1) print(t) #e=int(input("Enter public key which should not be factor of t :")) # For Calculate public key which should not be factor of t for i in range(1,50): e=t%i if(e!=0): e1=i print(e1) break # Calc...
[ "71402528+ArchishmanSengupta@users.noreply.github.com" ]
71402528+ArchishmanSengupta@users.noreply.github.com
b7a14f536f1e9b4afcc040d99de0e15bb06126bf
2d997a015015dbfe457fbec38007ffaadbdb97aa
/manage.py
9641b75b81967ee2951308a000c8f3cc098c2451
[]
no_license
vinodkumar-git/1stZoomAssignment
e45ec1870bae3a0c8dd0e88c7a326543c513320a
2f4d8c79762a9ed7c204646f6556db2f0101e8d6
refs/heads/master
2023-08-28T21:43:42.022040
2021-10-22T12:40:40
2021-10-22T12:40:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'search_app.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Imp...
[ "vinodkumar-git" ]
vinodkumar-git
79a6c644ba882a986e907796dfcce38cc3ad4274
9206dbab09ba6c0ae1a82df07e3014ee2bcde548
/kickstarter-scraper/settings.py
04912ea7c665b68fb04d7386f8249ec3b69a6731
[]
no_license
yambakshi/kickstarter-scraper
6876d736c49e8ef1b03daa00aa74db9c419b1f72
2d2025001ed377c89975aef1e115753ae193a117
refs/heads/master
2022-01-29T09:33:28.113997
2019-10-19T09:37:32
2019-10-19T09:37:32
216,181,008
1
0
null
2022-01-06T22:37:49
2019-10-19T09:27:37
Python
UTF-8
Python
false
false
3,492
py
""" Django settings for trossassignment project. Generated by 'django-admin startproject' using Django 2.1.3. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ impo...
[ "yambakshi@gmail.com" ]
yambakshi@gmail.com
8073e5d4da533bba669535deae7fbcac20df8051
1a2e61b08f8ef9fde6cf1103ccb7f782c45de6c6
/travelteam/urls.py
434690a3365ec26cd466d12c8296334c1444b152
[]
no_license
lvrenshy/tutu
4d3891632405cb7d75e56ba251048a22d5f2702c
c24f957aa424592a92565e670935b5dae07b104d
refs/heads/master
2020-04-01T09:51:47.852123
2018-11-08T05:46:36
2018-11-08T05:46:36
153,092,377
0
0
null
2018-10-15T10:09:20
2018-10-15T10:09:20
null
UTF-8
Python
false
false
964
py
from django.conf.urls import url from django.urls import path,include from . import views app_name='travelteam' #tips子路由 urlpatterns = [ url(r'^show/',views.show,name='show'), url(r'^$',views.show,name='null_show'), url(r'^search/', views.search, name='search'), url(r'^abcd/', views.abcd, name='abcd'), ...
[ "1695877814@qq.com" ]
1695877814@qq.com
d143a4c5b308009a40b5662ce5e3313d1dde774e
0dba8fb214b6fc72d818d084939db8b1b7a22bff
/day12/01.py
d7bf53b19cb1242143af6b764bb0fb4d017f95d8
[]
no_license
Timofeu296/Python
92ef7abb59a013b943233afba91560e08504e86f
e9cd3b92f2499d5f696a66877e17c68ddaad1e62
refs/heads/master
2022-07-14T16:28:34.040017
2020-05-05T12:21:21
2020-05-05T12:21:21
258,222,643
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
a = [3, 5, 6, 8, 10, 11, 45, 86, 95, 1826, 94648, 0, 3, 17] for i in range(len(a)): if i % 2 == 0: print(a[i])
[ "tkuz006@mail.ru" ]
tkuz006@mail.ru
6b2c42f511747065a31707486302c2cbb6f71fd7
389f62023453868c1b2c228534b6f8d1a85f39fd
/MemeEngine/MemeEngine.py
57abeca020b4acf28311b4f7806c0ec6e6fd15ea
[]
no_license
YoumnaHammoud/MemeGenerator
a20edcc98dbbd345eb720a56256872421b368d41
2b7f8d51a8b6a74b8d200356475e76202841ac92
refs/heads/main
2023-03-16T22:06:50.576068
2021-03-10T21:09:04
2021-03-10T21:09:04
346,489,577
0
0
null
null
null
null
UTF-8
Python
false
false
890
py
from PIL import Image, ImageDraw, ImageFont from random import randint class MemeEngine(): def __init__(self, output_dir): self.output_dir = output_dir def make_meme(self, img_path, text, author, width=500): img = Image.open(img_path) # Resize image ...
[ "noreply@github.com" ]
YoumnaHammoud.noreply@github.com
d9870d5296ca9bdb5b68de162a107a9fa360dbbe
b98cd0e4c06d48fc197e5f10468f359a70305676
/tensorflow_graphics/physics/test_tf_speed.py
0c90410c356a5b7dbe2386bc47313b5036120a8d
[ "Apache-2.0" ]
permissive
aespielberg/graphics
e2b515b35ae8f228d9cb68476bc10be1dbb88d63
28a5c1a51565a9c30c82290eb420e9854d588882
refs/heads/main
2023-06-26T18:29:31.343006
2021-02-23T19:38:29
2021-02-23T19:38:29
341,668,523
0
0
Apache-2.0
2021-02-23T19:37:08
2021-02-23T19:37:07
null
UTF-8
Python
false
false
1,053
py
import os import time import unittest import numpy as np import tensorflow as tf import tensorflow.contrib.slim as slim import sys from IPython import embed import mpm3d from simulation import Simulation os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' sess = tf.compat.v1.Session() # Memory bandwidth of 1070 = 256 GB/s def...
[ "aespielberg@csail.mit.edu" ]
aespielberg@csail.mit.edu
088f927f5484d27d5ad614e7bd50d35470096630
686171b12b83bcc503d8ba06137a43c3ef5970b6
/busca_sequencial_sentinela.py
e6f83289e1045ae6dac32295bb4471e81f5f06a8
[ "MIT" ]
permissive
EDAII/Lista1_JoaoVitor_JoaoPedro
5dc7e167acedaecb3de4e5dc715b033e26f585fd
1c7be5b662590bcb98ef5339189a9b7564d8e80f
refs/heads/master
2020-04-30T23:20:32.717007
2019-03-29T18:08:49
2019-03-29T18:08:52
177,141,508
0
0
null
null
null
null
UTF-8
Python
false
false
1,181
py
import random import time def busca_sequencial_sentinela(lista, elemento): """ Reliza busca sequencial com sentinela do elemento passado por parametro lista -- lista de inteiros desordenada elemento -- elemento a ser buscado """ contador = 0 lista.append(contador) try: ...
[ "joaovytor0@gmail.com" ]
joaovytor0@gmail.com
f11c75f3c9f3539706191c40e2409dbbf31e2547
083ca3df7dba08779976d02d848315f85c45bf75
/PalindromePartitioning2.py
3ab089a2d7be5fc6fe8feeb7b8c9e61f0a2f0324
[]
no_license
jiangshen95/UbuntuLeetCode
6427ce4dc8d9f0f6e74475faced1bcaaa9fc9f94
fa02b469344cf7c82510249fba9aa59ae0cb4cc0
refs/heads/master
2021-05-07T02:04:47.215580
2020-06-11T02:33:35
2020-06-11T02:33:35
110,397,909
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
class Solution: def partition(self, s): """ :type s: str :rtype: List[List[str]] """ return [[s[:i]] + rest for i in range(1, len(s)+1) if s[:i]==s[i-1::-1] for rest in self.partition(s[i:])] or [[]] if __name__=='__main__': s = raw_input() solution = Soluti...
[ "jiangshen95@163.com" ]
jiangshen95@163.com
e98eb7f57fdba6490262bb70449fd21f32900d83
e4d26cf840606b53354f2930d0825556f1669ce9
/settings.py
42f70e663a23db0c7b60a817fb2c345f9aa091d5
[]
no_license
laisee/taiaha
a031561898b99f7183658c88dc2a1986629e6b9e
aedd61c36d03acf2c16e81cd21591072dccc114a
refs/heads/master
2021-01-23T06:45:26.631262
2017-04-02T08:37:03
2017-04-02T08:37:03
86,398,699
0
1
null
2017-03-28T15:47:58
2017-03-28T00:52:44
Python
UTF-8
Python
false
false
71
py
''' Module settings ''' BASE_URL = 'api.quoine.com' PROTOCOL = "https"
[ "tinwald@gmail.com" ]
tinwald@gmail.com
abe6aec458815791248191b3e06ad76a1b3ab93d
3bbcda4d74d9aa65e5c705352a4a60d9db0c6a42
/third_party/github.com/ansible/awx/awx/ui/conf.py
335ca0d386e67b6269434336076d0267207fedf3
[ "Apache-2.0" ]
permissive
mzachariasz/sap-deployment-automation
82ecccb5a438eaee66f14b4448d4abb15313d989
cb4710f07bb01248de4255a0dc5e48eda24e2d63
refs/heads/master
2023-06-25T15:09:53.505167
2021-07-23T18:47:21
2021-07-23T18:47:21
388,017,328
1
0
Apache-2.0
2021-07-23T18:47:22
2021-07-21T06:29:55
HCL
UTF-8
Python
false
false
2,270
py
# Copyright (c) 2016 Ansible, Inc. # All Rights Reserved. # Django from django.utils.translation import ugettext_lazy as _ # Tower from awx.conf import register, fields from awx.ui.fields import PendoTrackingStateField, CustomLogoField # noqa register( 'PENDO_TRACKING_STATE', field_class=PendoTrackingState...
[ "joseph.wright@googlecloud.corp-partner.google.com" ]
joseph.wright@googlecloud.corp-partner.google.com
403616d8eaf0156a9af1909c800def2b4ce84a24
93364c613702075e3451390f424b046a13f37064
/scripts/packages/ffmpeg4.py
cc46dbd57d9eb3fb9c33a792452f0fb4786bb79a
[]
no_license
shadimsaleh/pink-python
0b4413c6c13542e336f8d2896d578cd138077043
c44e3343adce93338f0698f34f779e4a24b2443d
refs/heads/master
2020-04-01T06:46:45.422886
2018-10-11T19:03:27
2018-10-11T19:03:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
import ffmpeg input = ffmpeg.input('https://ma7moud3ly.github.io/video.mp4') text=input.drawtext(text='Pink Python ^_^', fontcolor='red', fontsize=30, box=1, boxcolor='black@0.5', x='(w-text_w)/2', y='(h-text_h)/2' ) text=text.drawtext(text='By Mahmoud Aly', fontcolor='white', fontsize=15, x='(w-text_w)/2', y='((h-te...
[ "ma7moud3ly2012@gmail.com" ]
ma7moud3ly2012@gmail.com
167ee0603464db503156512bac92a82d08162da2
601ad3cdceedef1c850b214e1abf67bb03d3ebe8
/music/migrations/0001_initial.py
c53170e3feaf4a4dfd2c6abc0a908f31809c707e
[]
no_license
Ibrokola/kabalMusic
d08e509aac09cf8d0641ce35756984766e26a5e5
285923df37fda6286a91baa0392d822d437cde03
refs/heads/master
2021-01-23T00:40:41.823884
2017-08-03T08:33:15
2017-08-03T08:33:15
92,833,862
1
0
null
null
null
null
UTF-8
Python
false
false
1,605
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-08-03 06:56 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...
[ "babskolawole@gmail.com" ]
babskolawole@gmail.com
28910397ae1bb940b890d46c573966e49c6e1f14
01dc30515dbf084f8269cdc1b8a48a8c852de71b
/Apps/try.py
c2bfeca912f4193341e1bfc4c3d9e4aadf29bab1
[]
no_license
dkluis/TVMaze-Management
f42fe83cfd7142d16bf58576dd951be039930043
0b18f207f889f7d2536ba6df2357c4ce10a8a046
refs/heads/master
2023-07-28T10:13:27.901219
2021-09-02T14:01:34
2021-09-02T14:01:34
283,617,497
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
from docopt import docopt from Libraries import mariaDB, check_vli, logging from Libraries import part from Libraries import find_show_via_name_and_episode result = find_show_via_name_and_episode('Home', 1, 1, 'Watched', True, '2020-04-20') print(result) ''' log = logging(caller="Try", filename='Try') db = mariaD...
[ "dkluis@icloud.com" ]
dkluis@icloud.com
aa981af9d186e49939d3c265e2bb4b8ac2311bd2
3af525525a6e25d017bdfe3978af76e1e13de913
/Rodolfo_Valdivieso/djangoORM/BooksAuthors/BooksAuthors/settings.py
02ab03352eb9e2ee80c861f3accee7d25dc210d7
[]
no_license
vrodolfo/python_nov_2017
957610050acdc344d8d17508750b258d446f13d8
08f54899a9e25dcf643b16077c4c687f5b32ec3f
refs/heads/master
2021-05-07T19:41:04.459906
2017-11-19T03:05:28
2017-11-19T03:05:28
108,898,612
0
0
null
2017-10-30T19:28:41
2017-10-30T19:28:41
null
UTF-8
Python
false
false
3,136
py
""" Django settings for BooksAuthors project. Generated by 'django-admin startproject' using Django 1.11.7. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ impo...
[ "valdivieso_rodolfo@hotmail.com" ]
valdivieso_rodolfo@hotmail.com
38bd78816170e6300ff9fb600597b5d22694b153
3a9f2b3d79cf214704829427ee280f4b49dca70a
/saigon/rat/RuckusAutoTest/components/lib/zd/rogue_devices_zd.py
712c3201710cca5b3a6cff0d6144a31f5cef7fdc
[]
no_license
jichunwei/MyGitHub-1
ae0c1461fe0a337ef459da7c0d24d4cf8d4a4791
f826fc89a030c6c4e08052d2d43af0b1b4b410e3
refs/heads/master
2021-01-21T10:19:22.900905
2016-08-20T03:34:52
2016-08-20T03:34:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,211
py
''' ''' from RuckusAutoTest.common.utils import list_to_dict from RuckusAutoTest.components.lib.zd import widgets_zd as wgt locators = dict( rogue_tbl_loc = "//table[@id='%s']", client_tbl_nav_loc = "//table[@id='%s']/tfoot", client_tbl_filter_txt = "//table[@id='%s']/tfoot//input[@type='text']", ) tbl_i...
[ "tan@xx.com" ]
tan@xx.com
080f113bfcfa6f90f7b52e51405743d372f42196
1f148555f389878fdac2079c3e553d52df92697f
/pyproof/objects.py
b7274a3acd9abaf579e36c345a1447e16bbd5d8f
[ "MIT" ]
permissive
jvsiratt/pyproof
260cba9339ea113fe70c969b3b5e3350f4752b1c
bf7ce159cd2a038b83ffd93845fb5ee9f859f1df
refs/heads/master
2021-01-10T09:35:26.882783
2016-11-14T17:35:53
2016-11-14T17:35:53
48,866,947
3
1
null
null
null
null
UTF-8
Python
false
false
3,724
py
"""implementation of logical objects""" from . import * #parent class for logical objects class logical: left_delimiter = "(" right_delimiter = ")" def __init__(self): self.string = '' self.contents = [] #overloading the ~ operator to perform negation def __invert__(self): return negation(self) ...
[ "John Siratt" ]
John Siratt
d4d2d43875ad5889cfe89fdbb9b2421593fb03b2
0eda49f82fee0f7b8247fbea108861d3b54ab872
/path_planning/build/catkin_tools_prebuild/catkin_generated/pkg.installspace.context.pc.py
7e7f1d92d0cc8d449d15ff7f6ec648d182ff2036
[]
no_license
jainSamkit/demo_codes
08295b4e9c42e1e8ef5162030ef6489a6d67a8e8
9d4a4e9bf1cb0ce4dbf1bba21c06342c942576a2
refs/heads/master
2020-05-05T03:32:13.138218
2019-04-05T13:01:09
2019-04-05T13:01:09
179,676,469
0
0
null
null
null
null
UTF-8
Python
false
false
390
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 = "catkin_tools_prebuild" PROJECT_SPACE_...
[ "samkit@flytbase.com" ]
samkit@flytbase.com
45bfce2f2787dd46a1cf0a3cee58953d60ab9a06
947ccb3fa062a56d7f05182a016bab48f9648eb0
/users/views.py
e5e0695cda89990f79f6c5a1521fa7a1c877d3c8
[]
no_license
royhanmardista/twitterro
5300946deb6ab82927820b2d2d995cfbd7dcd04b
795b1b277ff15aa17da9c941e8d2b21b0fe9f1f1
refs/heads/master
2022-12-05T06:48:54.933785
2020-01-23T01:45:16
2020-01-23T01:45:16
234,495,855
1
0
null
2022-11-22T05:15:48
2020-01-17T07:33:26
Python
UTF-8
Python
false
false
1,567
py
from django.shortcuts import render, redirect from django.contrib import messages from .forms import UserRegisterForm, UserUpdateForm, ProfileUpdateForm # navigation guard in vue from django.contrib.auth.decorators import login_required # Create your views here. def register(request): if request.method == 'GET' : ...
[ "royhanm23@gmail.com" ]
royhanm23@gmail.com
f28080a44bdf249a670a453764b168a3e1e994f8
4ce140660f06a2c39f79c951439497ee57dc034f
/project/settings.py
4e9be61b8736b9534e86e3f422c99f5f6dfd71dc
[ "MIT" ]
permissive
kkampardi/photo-bucket
ed211ba4046c5ab02f34ca2c15595e5e62282b05
1095460e41a0ebce7b45774ed9c136fedfd03c35
refs/heads/master
2020-12-24T07:52:22.086242
2017-09-03T07:59:12
2017-09-03T07:59:12
73,369,106
0
1
null
null
null
null
UTF-8
Python
false
false
6,318
py
# Django settings for example project. DEBUG = True ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'NAME': 'project.sqlite', ...
[ "kkampardi@gmail.com" ]
kkampardi@gmail.com
bf8e7fdce50b4135c4623c77f8dcc0205daf92c0
0e92e682806724b9e27badd4842e9a9bd8eadce3
/app/models/connection.py
8f78de0256559efbf4d69f35e3d593d5aeef06de
[]
no_license
AlJohri/partyblock
f957eeedb59714ac90d1b8a4241f872679c4219e
259353b217283f36f3d15757eca35701aaf4ce1a
refs/heads/master
2020-04-24T19:50:13.370087
2014-06-01T15:28:29
2014-06-01T15:28:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,044
py
from . import db, BaseModel class Connection(BaseModel, db.Model): id = db.Column(db.Integer, primary_key=True) user_id = db.Column(db.Integer, db.ForeignKey('user.id')) provider_id = db.Column(db.String(255)) provider_user_id = db.Column(db.String(255)) access_token = db.Column(db.String(255)) ...
[ "al.johri@gmail.com" ]
al.johri@gmail.com
833c4201535d99aff6b0aeb53c7acdc6ea4a2cc8
e68728a7cd89feab582a62e103206316ef28241a
/Tutorial/storingvariables,input,versioncheck.py
d94e44e219c3c73ac58b90899083215567935685
[]
no_license
aarontinn13/Winter-Quarter-History
6222d355aad9ea20f53e67a491e2f5a930aba3a4
25ef6e920c7173cce2c726b36fec53c4d633147b
refs/heads/master
2020-03-31T11:39:15.711952
2018-10-09T04:10:26
2018-10-09T04:10:26
152,185,411
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
name = input('What is your name? ') print('Hello, ', name) import sys print(sys.version_info) #good way to check what version of pycharm you are using.
[ "tinn.3@buckeyemail.osu.edu" ]
tinn.3@buckeyemail.osu.edu
c2aaa8508102af3110d166eb2fc4748fe6c397f7
8e7b60de4dc314a4419d86067db4a65de847bff1
/Assignment4/constants.py
df086c62fee5e6822f3fab3629d5fdc1591d8ad9
[]
no_license
teofilp/Artificial-Intelligence
c3ee4a137298fb01770c91c59fc2dfe783e12c9f
0950099fd0a6fecbf44a96f6149de217a8829136
refs/heads/main
2023-05-12T04:45:29.496676
2021-06-03T11:10:30
2021-06-03T11:10:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
# Creating some colors BLUE = (0, 0, 255) GRAYBLUE = (50, 120, 120) RED = (255, 0, 0) GREEN = (0, 255, 0) BLACK = (0, 0, 0) WHITE = (255, 255, 255) PINK = (255, 192, 203) # define directions UP = 0 DOWN = 2 LEFT = 1 RIGHT = 3 SIZE = 50 # define indexes variations directions = [[-1, 0], [0, 1], [1, ...
[ "noreply@github.com" ]
teofilp.noreply@github.com
2f1b28b1e52a0f8c02103d5364e192de238fb35a
55ab366290ebc791c5ca2708e1c850058e63307b
/ScoreBoard.py
d3db423c7961add7bdbc9011450f4ed3ef93e4e6
[]
no_license
stalker2312/game
511e099bda5abfc0b415ffd604753c4ad1f22d60
a66e0e7e000a6b7ab5531687a186db2ab784b1e0
refs/heads/master
2020-06-23T12:05:12.526317
2019-07-27T17:22:15
2019-07-27T17:22:15
198,618,127
0
0
null
null
null
null
UTF-8
Python
false
false
2,844
py
import pygame.font from pygame.sprite import Group from pers import Perso class Scoreboard(): def __init__(self, ai_settings, screen, stats): #Инициализирует атрибуты подсчета очков.""" self.stats = stats self.screen = screen self.screen_rect = screen.get_rect() self.ai_settings = ai_settings self.stats ...
[ "79242258075@yandex.ru" ]
79242258075@yandex.ru
4939e9e596691cb979fc4634bfb018505f1e93a8
af05e8167ba9b73f470b2de2fa390fb03541ddaf
/conquestrequest/views.py
a88c0cdd83262d7ecf5e37a4f8fc68d8e0777417
[]
no_license
nicholeemma/conquest
290320230f3a2b8eb4a5b88d6497b3003e9e3b0c
1b6c81f9ec4be77c065916ad7fa5a2f5b589310c
refs/heads/master
2022-10-17T01:49:02.071153
2020-06-11T06:32:59
2020-06-11T06:32:59
271,462,803
1
0
null
null
null
null
UTF-8
Python
false
false
4,923
py
from django.shortcuts import render,redirect, get_object_or_404 from django.shortcuts import render,HttpResponseRedirect,HttpResponse from .models import Item from django.core.files.storage import FileSystemStorage from django.http import JsonResponse from django.urls import reverse from .forms import ItemForm from dj...
[ "jiayue@spiraldatagroup.com.au" ]
jiayue@spiraldatagroup.com.au
eff46b9daf12736f78c5244e874c7ef9951d7ea5
a95ec84be08a4194d58a0389b25fb539e472f7d4
/LightGBM.py
62265b824592203396aebc84e38f0ba9ea5e16cc
[]
no_license
dvirsimhon/Boosting-Algorithm
3639743f318a236755f817f2c6dca021d8b8cf78
15358bcff60caee845bf4fb7d4294b60e81915cd
refs/heads/main
2023-03-07T07:09:58.759460
2021-02-22T16:08:45
2021-02-22T16:08:45
341,257,837
0
0
null
null
null
null
UTF-8
Python
false
false
2,218
py
import lightgbm import optuna import sklearn import databases import boosting_alg def basic_LightGBM(): db = databases.get_db("life expectancy") X_train = db.X_train y_train = db.y_train X_test = db.X_test y_test = db.y_test lightgbm_model = lightgbm.LGBMRegressor() lightgbm_...
[ "noreply@github.com" ]
dvirsimhon.noreply@github.com
8117ca189eea6ff3e295b33541c20dc324de2884
e91137041dc25ebd683ed009e00241016c57dba7
/src/generation.py
bafa313793a8f27406b5e417a235aaabd1d448dc
[ "MIT" ]
permissive
gdh756462786/DialogRPT
772d450ee0d80d21b9380b1d6ebba943d63a2844
b8e137e7b5515a16f54304a0fad4b155af130d06
refs/heads/master
2022-12-21T10:20:40.844206
2020-09-23T22:22:58
2020-09-23T22:22:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,631
py
# author: Xiang Gao at Microsoft Research AI NLP Group import torch, pdb import numpy as np from shared import download_model class GPT2Generator: def __init__(self, path, cuda): from transformers import GPT2Tokenizer, GPT2LMHeadModel, GPT2Config self.tokenizer = GPT2Tokenizer.from_pretrained('gp...
[ "gxiang1228@gmail.com" ]
gxiang1228@gmail.com
bd70146a6b196dad7d046e111e77d31f93ddfdc6
14c276db8c957019e7a4685ba3a9fa245cad20c8
/flask1/utils/functions.py
e28a658b4626e5f6400acad81eb85dde8952a1dd
[]
no_license
ThreerEyed/flask_1
7d1fa3b6ae35c0a2b80591cd95c63799546abc94
98eb5f6257ccfccaa22c84b6cf633c6f2a73d63a
refs/heads/master
2020-03-19T21:03:27.120163
2018-07-11T07:54:31
2018-07-11T07:54:31
136,927,761
0
0
null
null
null
null
UTF-8
Python
false
false
1,348
py
import os import redis from flask import Flask from user.stu_views import stu_blueprint from user.views import user_blueprint from utils.ext_init import ext_init def create_app(): # 指定静态目录和模板目录的文件位置 BASE_DIR = os.path.dirname(os.path.dirname(__file__)) static_dir = os.path.join(BASE_DIR, 'static') t...
[ "2622509069@qq.com" ]
2622509069@qq.com
509d5d2a2850aa60c968d20a312e29121e400244
14638f1aab4b6a73a2a10b7c245792cb0596a883
/translations/CAMINO.py
adfbf943f69fcf2c33e790cf5f60a9869596512b
[ "CC0-1.0", "WTFPL" ]
permissive
kresp0/btn252osm
4750e46ddcabf33b630eb2ac130955ce02cdb77c
f2e3026f92c8622a1a4b0d13c88b78adca3ba9a4
refs/heads/master
2021-01-11T02:45:34.542785
2016-12-28T17:51:03
2016-12-28T17:51:03
70,932,754
0
1
null
null
null
null
UTF-8
Python
false
false
1,222
py
#!/usr/bin/python # -*- coding: utf-8 -*- # ogr2osm.py falla con el archivo Valencia/HUSO30/57058/BTN25_ETRS_BCN0623L_CAMINO_line.shp # porque el "Camí de'l Hort del Llidoner" contiene un carácter de control ("Camí de lHort del Llidoner") # Hay que editar este shp (por ejemplo con qgis), elegir codificación ISO-8859-...
[ "noreply@github.com" ]
kresp0.noreply@github.com
2ba7d5f87b8075f7a41e92bed08800b1e889bcd9
9d427971db6a4e1c95903ed334e6f0fed98973bc
/arduino_dev/tester.py
6bc6a99f562b4c16edaecbfd5bf770b17ee53278
[]
no_license
burck1/Kinect-Mapper
58a41aa79604f7c12fe90fb62b86e21384144aeb
b77a94ae9a7f6bfc2995a7dcfa69ca5979225d3f
refs/heads/master
2021-01-18T11:12:46.701676
2013-03-08T15:35:03
2013-03-08T15:35:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
import serial import time def measure(ser): ser.write(get_analog) time.sleep(1) while 1: data += ser.read(ser.inWaiting()) if '\n' in buffer: return buffer get_analog = "2/1/9/" data = "" ser = serial.Serial('/dev/ptyp5', 9600) while 1: data = measure(ser) #if data != '/n': print "Analog reading: ", da...
[ "lx.icomputer@gmail.com" ]
lx.icomputer@gmail.com
591c1a128b98017cbd4309da898ccc96ac5d60ff
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17r_2_00/routing_system/ipv6/router/ospf/distribute_list/__init__.py
b5ed40b38059c555a2c7b1ca875fd96c538025ec
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,113
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
5ddff3086f082dcce6fd39c0b9e373a9d21aadc6
369adb23b6b94cefeb5545ea6ae0f09c9e5d3fd8
/venv/bin/flask
fbfd1151b337065f604236ae45792b744669cfc5
[]
no_license
yzjiangyang/flask-book-catalog
b861e58412d3d14d963951d71684c23e2f756404
e73f4de7a19fa55fe9ce2e62f3ff1b9040461900
refs/heads/master
2023-05-23T18:57:46.855823
2021-07-06T21:48:11
2021-07-06T21:48:11
383,381,709
0
0
null
null
null
null
UTF-8
Python
false
false
239
#!/Users/Yang/Python/book_catalog/venv/bin/python # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "yzjiangyang123@163.com" ]
yzjiangyang123@163.com
2373c43d24c2bc34bcebf4ed8fdbf821e9137162
d462c3a35af48ed93477e5f69a474a5133b475b1
/Python/Python customized/DAY1/Demo1_scripts/Day1_scripts/4_numbers.py
4c4d01f2d1bf95f0a65d848c361dc06d4dd134ae
[]
no_license
sandeep24789/Python
52713df4be6fc47fc02b3631481506433e70aab2
86b983d7b5d8b09aa7952722fa3962d3551920ac
refs/heads/master
2021-05-03T06:39:22.404047
2018-02-07T10:29:01
2018-02-07T10:29:01
120,599,693
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
import os os.system('cls') myint= 7 myfloat1 = 7.65 myfloat2 = float(7.9265) print("MyInt= "+str(myint)) print("MyFloat1 = "+str(myfloat1)) print("MyFloat2 = "+str(myfloat2))
[ "Training_C2a.05.01@accenture.com" ]
Training_C2a.05.01@accenture.com
efbf59f66e33f035081b8f643a9e1518983c28a0
f76c0a9e29ddf1b89952d65730e5c0b545d4a054
/solucoes/TiagoPedrosa/lista2/exercicio10.py
3087956d30ec7b9bbd7687615fa354609241ca1d
[]
no_license
ai2-education-fiep-turma-2/05-python
d20b20d96b167b8b65e5e341b371aa012e4e514c
5d072a11b798b1d080cdd47a23726eb2cdcbd5a5
refs/heads/master
2023-03-26T18:05:27.477433
2021-03-30T16:35:42
2021-03-30T16:35:42
288,202,197
0
15
null
2020-09-08T12:32:37
2020-08-17T14:28:46
Jupyter Notebook
UTF-8
Python
false
false
200
py
def multSum(): limite = (int(input("Limite: "))) soma = 0 for i in range(0,limite + 1): if (i % 3 == 0 or i % 5 == 0): soma += i print("A soma é ", soma) multSum()
[ "tgopedrosa@gmail.com" ]
tgopedrosa@gmail.com
22ee5d8c19b72c0839e5d2f84698f41393dbfe4d
7ca241cce9b472a9b446a7bad637cc14768ac956
/Python/Regex And Parsing/Validating__Roman_Numerals.py
dd51b162b72e60005fc53a7b33551b2de78088dd
[ "MIT" ]
permissive
abivilion/Hackerank-Solutions-
b872e0ac7a61db9512127aac974b129d9b02a7d2
e195fb1fce1588171cf12d99d38da32ca5c8276a
refs/heads/master
2023-07-13T21:43:13.089190
2021-08-25T03:18:46
2021-08-25T03:18:46
394,753,941
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
thousand = "(?:(M){0,3})?" hundred = "(?:(D?(C){0,3})|(CM)|(CD))?" ten = "(?:(L?(X){0,3})|(XC)|(XL))?" unit = "(?:(V?(I){0,3})|(IX)|(IV))?" regex_pattern = r"^" + thousand + hundred + ten + unit + "$"
[ "noreply@github.com" ]
abivilion.noreply@github.com
eafea9af363afd6c769dd848ba5f29ea8e21b6d0
ba8a61d7515eb15c38eadbd79ab8f3f95d4350a7
/performance_old.py
68d394da36f6d33c515b6d377439d74ad3704aa1
[ "Apache-2.0" ]
permissive
zacQin/ID_card_identification_2
0331ec6013866f1af45f8d1890a57cbfae18c80a
b359e8b0d26352ce359b280c36f2ffa837aa9611
refs/heads/master
2020-04-14T15:12:51.130250
2019-01-03T03:51:29
2019-01-03T03:51:29
163,918,871
0
0
null
null
null
null
UTF-8
Python
false
false
2,960
py
import cv2 import pandas as pd from face_alignment_1 import face_alignment from face_base import find_face from face_base import license_detection_Rough from face_base import license_detection_Detailed from smooth_sharpen import smooth from smooth_sharpen import sharpen from face_base import divide_image from face_base...
[ "noreply@github.com" ]
zacQin.noreply@github.com
4030e33569cbe533a770e86abeea0227fc99ce4a
1b894d8617ca7ded2dc7172bfd7234bee9721f94
/ex6.py
58a41a7241cc56b2bf51a408b49eec179c9de349
[]
no_license
Saurabh-Thakre/My-python-code
ddaec22656b9aee082547f2b41166358ccfc62b1
8fbc4816bbd9b37ee1dee7810dd0f9f81d15ca2a
refs/heads/master
2023-03-16T18:18:08.176960
2021-03-08T15:33:06
2021-03-08T15:33:06
343,020,502
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
x = "There are %d types of people." % 10 binary = "binary" do_not = "don't" y = "Those who knows %s and those who %s." % (binary, do_not) print x print y print "I said: %r." % x print "I also said: '%s'." % y hilarious = False joke_evaluation = "Isn't that joke so funny?! %r" print joke_evaluation % hilarious w = ...
[ "thakre.sau@gmail.com" ]
thakre.sau@gmail.com
82f67372d223dd8775c490792f32f71c5d790caf
b05a2a6d3c148a6bfcb243e7e53c7bb137e23e5c
/lib/connector/bibhttp.py
2c519ce79f3da5a1f19c1aff4b8bdaafd833cc73
[]
no_license
bopopescu/canopsis-edc
b9ee122bde697630c8f0410cc4b2e6b2e045be4e
bf070da7b22adad7c327cb7f337bfd08245b3e05
refs/heads/master
2022-11-26T19:48:50.618226
2014-05-12T16:44:22
2014-05-12T16:44:22
282,184,585
0
0
null
2020-07-24T09:59:48
2020-07-24T09:59:47
null
UTF-8
Python
false
false
911
py
import httplib class BibHttps(object): ''' classdocs ''' conn = None hostname = None certfile = None port = None def __init__(self,hostname,certfile,port): ''' Constructor ''' self.hostname = hostname self.certfile = certfile ...
[ "vincent.candeau@panamedia-international.com" ]
vincent.candeau@panamedia-international.com
8dcf46da5d5251054ab4d0634cea363cc90f9a25
86541e6a9463a0de1d1b102426c73bc731b30349
/blog/urls.py
8fa09a0ea8fdeaed3a7eb3ec917a5ceadf8bcdd0
[]
no_license
smapotato/MyBlog
f1cc3148f19b19ba4f5f4437b90cffd8b0ddbe91
ff058c5c5d067437d2e2799a44aae0bf17ff22ba
refs/heads/master
2020-03-18T17:26:28.626358
2018-05-27T09:07:12
2018-05-27T09:07:12
135,029,369
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
from django.urls import path, re_path from . import views app_name = "blog" urlpatterns = [ # https:localhost:8000/blog/1 path("", views.blog_list, name="blog_list"), path("<int:blog_id>", views.blog_detail, name="blog_detail"), path("type/<int:id>", views.blogs_with_type, name="blog_with_type"), p...
[ "15702431853@163.com" ]
15702431853@163.com
eccdeba8d12343adba43b43885619a77658f8698
94c7bcc7fa0749ef3890af6dac39341c14f5d259
/tensorflow/compiler/tests/function_test.py
fbc3c994d163a504351fcccd1ba71a0997e6516f
[ "Apache-2.0" ]
permissive
lgeiger/tensorflow
e75e32cd23a45d29bac1fc10eda23499a66d188a
1bf9ec7f8545c7aa6fa915c6576a3b984af59ded
refs/heads/master
2023-08-18T23:16:38.380820
2018-04-26T20:47:51
2018-04-26T20:47:51
127,307,734
2
1
Apache-2.0
2018-03-29T15:02:37
2018-03-29T15:02:36
null
UTF-8
Python
false
false
5,037
py
# Copyright 2017 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...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
55783bd684a31e0636091192094aecde6021cb7f
bfd75153048a243b763614cf01f29f5c43f7e8c9
/1906101093-陈泰江/第二次课后作业/6.py
7f0be3fea1518f32befd6043d25aec2946514f15
[]
no_license
gschen/sctu-ds-2020
d2c75c78f620c9246d35df262529aa4258ef5787
e1fd0226b856537ec653c468c0fbfc46f43980bf
refs/heads/master
2021-01-01T11:06:06.170475
2020-07-16T03:12:13
2020-07-16T03:12:13
239,245,834
17
10
null
2020-04-18T13:46:24
2020-02-09T04:22:05
Python
UTF-8
Python
false
false
389
py
# 16.(使用def函数完成)编写一个函数,输入n为偶数时, # 调用函数求1/2+1/4+...+1/n,当输入n为奇数时,调用函数1/1+1/3+...+1/n def res(n): if n%2==0: for i in range(2,n+1): sums=sums+(1/i) return sums else: for i in range(1,n+1,2): sums=sums+(1/i) return sums print(res(6))
[ "1844579965@qq.com" ]
1844579965@qq.com
bf488b29fab3bcc25d0f6a80dd37081e4c332e97
69901578da8e9e093d273bb5af5fe420d2938135
/tn3270/structured_fields.py
a1349e6afd791e0f190e76df7c44113291d42ba0
[ "ISC" ]
permissive
lowobservable/pytn3270
205d9574d8e51ad4c986109b2430004082ebee34
7b023bfa3dbf0f50b2e58da3261df55911f1f5d6
refs/heads/master
2023-08-31T18:06:45.449531
2023-08-26T05:13:50
2023-08-26T05:13:50
204,607,476
24
7
ISC
2021-08-31T13:06:20
2019-08-27T02:57:45
Python
UTF-8
Python
false
false
608
py
""" tn3270.structured_fields ~~~~~~~~~~~~~~~~~~~~~~~~ """ from enum import Enum, IntEnum class StructuredField(IntEnum): READ_PARTITION = 0x01 ERASE_RESET = 0x03 OUTBOUND_3270DS = 0x40 QUERY_REPLY = 0x81 class ReadPartitionType(IntEnum): QUERY = 0x02 QUERY_LIST = 0x03 class QueryListRequestT...
[ "git@ajk.me" ]
git@ajk.me
e03a876b7d56e48ac2f3f96cde981c161616a5e2
64ad41c5fda39ca14dafd29d12d24fc8869f3b84
/DSA_algo/Binary_search_recursive/main.py
686d6cc274a4f79493e9a5f53e601e4ba1948213
[]
no_license
vaideheebhise/100daysofCode
3cebd1c78652a36e1683242239dcddff851c8f3c
78ade82f7011131d8a112d16e4f54aa88af71cc7
refs/heads/master
2023-08-27T21:17:44.891480
2021-10-12T16:43:17
2021-10-12T16:43:17
369,046,098
0
0
null
2021-10-12T16:16:02
2021-05-20T01:32:57
Python
UTF-8
Python
false
false
372
py
def binary_search(a, key, l, r): if l > r: return -1 else: m = (l + r) // 2 if key == a[m]: return m elif key < a[m]: return binary_search(a, key, l, m - 1) elif key > a[m]: return binary_search(a, key, m + 1, r) a = [15, 21, 47, 84, ...
[ "vaidehibhise94@gmail.com" ]
vaidehibhise94@gmail.com
5b81f20e824d659ec30e77e0696b01f0e33e5c37
fa492ec2b4c5c4c756861e1f8726396e59d7e170
/Registrar.py
79899d31d3723163b053e35bb85a80d42afaa082
[]
no_license
Julian-guillermo-zapata-rugeles/RegistroPantallaBasadoenPID
077348b60a10603bccc3610376b7daaa8e1a16ce
724d4541b43b5694b99f2e64fee78efdc9b2f5f7
refs/heads/master
2020-12-05T02:15:30.547446
2020-01-05T21:37:28
2020-01-05T21:37:28
231,979,058
0
0
null
null
null
null
UTF-8
Python
false
false
1,998
py
""" Julian Guillermo zapata rugeles julianruggeles@gmail.com Probado en UBUNTU 16.04 UBUNTU 18.04 LTS / GNU/LINUX Este script permite realizar un seguimiento fotografico a aplicaciones con restriccion en el dispositivo. Ejemplo : si la aplicacion "Pagos" se encuentra en ejecución el script capturará un pantallazo d...
[ "noreply@github.com" ]
Julian-guillermo-zapata-rugeles.noreply@github.com
6cfd93825cbd61552c664d7325b0ed8e0bec56be
9365556a67e0a996d0e3bfa052f7f566c27eea2f
/check.py
6ec3554c6bacf26a0e4d6146ed94cc774d40a276
[]
no_license
Siddhesh777/temp_prediction
6499f0651be34660656fa87e282d3415075d26dd
0394cb6d0d7a923f601368afca6a3166098eb152
refs/heads/master
2023-03-20T19:07:32.168502
2019-12-02T07:39:14
2019-12-02T07:39:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
import importlib import cv2 import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl #from resnet_sw import * filename = "filtered_daejon_test/ArrayOfImages.npy" savefile = "filtered_daejon_test/newArrayOfImages.npy" data = np.load(filename) """ print("The number of train samples are:",len(data))...
[ "kanybekasanbekov@gmail.com" ]
kanybekasanbekov@gmail.com
4a8d9f6d69f01f33e91366d418033c25a63fff0d
d69398b9cb1f47f845c3bac1a3b0a7962cd4b63d
/exmaple2.py
735150521c9b57cf7f23f3b2eb97a3ff9e842416
[]
no_license
sureshallaboyina1001/python
be1ed86dc22be3cbc4bf521b588f2707b28896a9
80249a6f4fa7bed71b5f46e2678e4be217387951
refs/heads/master
2020-03-21T17:34:56.463953
2018-06-29T10:40:05
2018-06-29T10:45:51
138,840,625
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
tupl=() n=int(input()) print("How many elemnts",n) for i in range(n): print("enter name:",end("")) str= input() print("enter age:") tupl.append(str) print(tupl)
[ "yadavsureshkumar40@gmail.com" ]
yadavsureshkumar40@gmail.com
2c35c16cf9fae18d48f8e1fb03f22a5b6ce0fd7f
c743a81ad72a19a99750de14213a7a6781141108
/tweet/migrations/0001_initial.py
7c3982c4bf1417990b9e0ed7d34564caf5aa1586
[]
no_license
Maingart/samplesample
a84b415540f724f1773e422dffa7312b0f30a438
0be9846dfca5a000e16d947f543e0c2c79f2222e
refs/heads/main
2023-07-11T07:07:20.890905
2021-07-29T20:24:52
2021-07-29T20:24:52
361,077,285
0
0
null
null
null
null
UTF-8
Python
false
false
854
py
# Generated by Django 3.2 on 2021-04-23 00:42 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] opera...
[ "maingartvlad@outlook.com" ]
maingartvlad@outlook.com
b332b45ca383fcfb85f866cb82cdb5b65b111c1f
dd45981db15a9cdd80f6d91482dcd255f1870637
/code/lxmert/src/tasks/lxrt/entry.py
c86b3bf3239aa611787f33315fc66e94b0bb09da
[]
no_license
zhangqibot/KDD2020_mutilmodalities
8656e147e5d34a2520f8e5217bb693f199be9e0c
38e89f7bb7daa566df72c0fc79cb2194dee1821f
refs/heads/master
2022-10-21T09:06:16.551505
2020-06-16T12:22:32
2020-06-16T12:22:32
272,988,384
2
0
null
2020-06-17T13:57:39
2020-06-17T13:57:39
null
UTF-8
Python
false
false
5,259
py
# coding=utf-8 # Copyright 2019 project LXRT. # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the ...
[ "1909856661@qq.com" ]
1909856661@qq.com
5a9f42af00ea86efe4b8e80d495fcecfbd62b44a
bbc1b385e8f822c1184575a6ab2b2d65e0e6aaac
/arc/parserTest.py
54e01d49cc42fa5939e62e1ad76964f1fe0005ac
[ "MIT" ]
permissive
yunsiechung/ARC
35f03db1c32c4b005a1a88564357ac0711aabf46
a99988916b2dfa4347c0ad2be3e6d72ccc84c40e
refs/heads/master
2020-06-30T01:51:19.630292
2019-08-05T14:28:35
2019-08-05T14:53:22
200,684,242
0
0
MIT
2019-08-05T15:42:18
2019-08-05T15:42:18
null
UTF-8
Python
false
false
7,823
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ This module contains unit tests for the parser functions """ from __future__ import (absolute_import, division, print_function, unicode_literals) import unittest import os import numpy as np from arc.settings import arc_path from arc.species import ARCSpecies from ar...
[ "alongd@mit.edu" ]
alongd@mit.edu
be9223f965ed3a77e9cde24b40545d675fb0d43e
eac7fadde995a3bc70a79a020fbc337aa88297e7
/entertainment_center.py
ebb752d78addb8aba5a8946cae9603da29a2284a
[]
no_license
hernanpgarcia/ud036_StarterCode
a303e6426c1d13ac1223af8d59994ce6cb9d9e62
e22a1d9753bf64648e40bde3c61f3c0acba3cee9
refs/heads/master
2021-01-02T23:36:25.201629
2017-08-10T22:53:55
2017-08-10T22:53:55
99,503,561
0
0
null
2017-08-06T17:49:28
2017-08-06T17:49:28
null
UTF-8
Python
false
false
1,994
py
import media import fresh_tomatoes # Details of the movies that will show up on the website the_avengers = media.Movie( "The avengers", "A group of super heros must overcome their relationship issues in order" "to protect the planed from an alien invasion", "https://upload.wikimedia.org/wikipedia/en/f/...
[ "hernanpgarcia@gmail.com" ]
hernanpgarcia@gmail.com
6414f665ae200b63779f180c3cf907f4e1f27686
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/64/usersdata/172/31394/submittedfiles/atm.py
b3a62b7e2c282af5b8dc77ae006ecf2045bc209c
[]
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
138
py
# -*- coding: utf-8 -*- from __future__ import division import math #COMECE SEU CODIGO AQUI saque=int(input('digite o valor do saque') a=
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
710895ac2d0d8fae4d0acbf007029ef9b99ddc7a
acef2884f3bf63c3b6d545b86fb8654fd8323b30
/minimum-4-chisiel.py
30d7f10bb8d913bf725c0e9e2014432c621f50ba
[]
no_license
NinaS0220/coursera
b3aa106902624a0f26a72fc9a49b65649357c522
7d85133e02fd150f77a8f00e21e288d276f810cc
refs/heads/master
2021-10-25T19:30:49.172529
2021-10-13T13:37:06
2021-10-13T13:37:06
221,946,475
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
def min4(a, b, c, d): e = min(a, b) f = min(c, d) m = min(e, f) return m a = int(input()) b = int(input()) c = int(input()) d = int(input()) print(min4(a, b, c, d))
[ "soboleva_n_a@list.ru" ]
soboleva_n_a@list.ru
0016c4d0401853b1dc42bac9b1b084824a18a42c
9bf8f8b23ae62a2b79381bd37f083e9e7ef737ed
/class3/dict3.7.py
6fb8a45842df207890ee41753405b7f6d6cc28fb
[]
no_license
CookyChou/fluent_python
dea2fd45982d1f0e9a9f43141b26ead97d8de189
6d50d442913896cabe384b55f4c0b89997813aaf
refs/heads/master
2020-05-04T14:31:12.564480
2019-11-15T10:54:03
2019-11-15T10:54:03
179,200,366
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
from types import MappingProxyType # MappingProxyType提供一个视图索引,动态变化,可以通过索引访问查看,但是无法进行修改 d = {1: 'A'} d_proxy = MappingProxyType(d) print(d_proxy[1])
[ "cookyzhou@digitalgd.com.cn" ]
cookyzhou@digitalgd.com.cn
2b6540edeb561c70cca55caa5666a55c9ebf10bc
c24036a526ced6ee029741dfa032620562f7db98
/problems/abc086_b.py
cb333ae60fba9f6f95eedf9c3ffdc345611871ff
[]
no_license
ogawayuj/atcoder-autotest
1f240ec2987e916c1981649542490c983b83b5dc
4ec119593aba431f90a44773cb6412654f52a92a
refs/heads/main
2023-04-28T23:39:49.305512
2021-05-17T16:10:56
2021-05-17T16:10:56
368,245,902
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
line = list(map(int, input().split())) multi = line[0] * line[1] if multi % 2 == 1 : print("Odd") else : print("Even")
[ "ogawa.playlist@gmail.com" ]
ogawa.playlist@gmail.com
442f331765b30d7a1097fc09c256418680e11296
68a088346090ae4e929c208906b14181da0f92f6
/第一阶段/4. Python03/day02/code/mymod1.py
02601a49b7ac5cb8a86c19eb1b360f5019239b93
[]
no_license
LONG990122/PYTHON
d1530e734ae48416b5f989a4d97bd1d66d165b91
59a2a2a0b033c8ad0cb33d6126c252e9d574eff7
refs/heads/master
2020-07-07T09:38:03.501705
2019-09-23T16:28:31
2019-09-23T16:28:31
203,316,565
0
0
null
2019-10-23T15:02:33
2019-08-20T06:47:44
HTML
UTF-8
Python
false
false
224
py
# mymod1.py # 此模块是用户自定义模块 # 假设小张写了此模块 def myfun1(): print('正在调用mymod1里的 myfun1()') def myfun2(): print("mymod1里的myfun2()") name1 = 'audi' name2 = 'tesla'
[ "54302090+LONG990122@users.noreply.github.com" ]
54302090+LONG990122@users.noreply.github.com
90a9dc40dce2210dd81dc71a24f6a4713137d123
4e5a72e25685d1f3374885a3664e1b29af3d6e22
/03/t07_calculambdor/calculator.py
d6bbaa82c73abea9bfde7122ea73f9cc8adfa963
[]
no_license
GennadiiStavytsky/PythonMarathon
5a6a2f827f3f0a53eb7e8c2675ef213244a1934e
d897fb3d705fb7fd668ce3aa2554c8c7d8182c76
refs/heads/main
2023-07-07T17:24:01.550943
2021-08-16T20:36:34
2021-08-16T20:36:34
353,433,377
0
1
null
null
null
null
UTF-8
Python
false
false
1,073
py
def valid_oper(oper: str) -> bool: if isinstance(oper, str): if oper == 'add' or oper == 'sub' or oper == 'mul'\ or oper == 'div' or oper == 'pow': return True e = 'Invalid operation. Available operations: add, sub, mul, div, pow.' raise ValueError(e) def valid_n...
[ "noreply@github.com" ]
GennadiiStavytsky.noreply@github.com
9e64b76ccf82b31edcb1bc9c8731e53c34955d04
6840e7c0182a5df03e13172d20f246ac86a8c9af
/02-loop/mul99.py
9fa4d68eaff4fed327efd416a25bd32176f7ed38
[ "Apache-2.0" ]
permissive
ccto/python-demos
9016ddcc6100685f01c60d3ba61ae56e9d79edb3
4ffb77573320d5df2cb30ec65a6181bae0e63d14
refs/heads/master
2020-07-12T17:34:29.657901
2017-09-10T10:37:52
2017-09-10T10:37:52
94,280,922
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
for i in range(1, 10): for j in range(1, 10): # print(format(i*j,'3'),end='') print("{0:3}".format(i * j), end='') print()
[ "outlook.com" ]
outlook.com
e3c327e6c4d3dc062ff591227f5682845a02d0d2
50c27aa92edfe5351dc14214f9039de3fad7c5ad
/qtc/heatform_db.py
cab974b0ff7efec8c1263591df47f57f6bb386a5
[ "Apache-2.0" ]
permissive
keceli/QTC
43b842b71cdc5869a1b93589565a98634d956c61
334fae9cd0eea493437e95c9aeb5a3088cbac343
refs/heads/master
2022-05-06T09:46:52.939126
2022-04-18T23:18:05
2022-04-18T23:18:05
90,078,099
8
2
null
2018-06-29T20:07:42
2017-05-02T21:07:23
Python
UTF-8
Python
false
false
36,014
py
db = [ { '_id' : '[H]_m2' , 'formula': 'H' , 'delHf': { 'ATcT': 216 , 'ANL0': 216.10 , 'ANL1': 216.1 , 'ATcTsig': 0.00 }}, { '_id' : '[H][H]_m1' , 'formula': 'H2' , 'delHf': { 'ATcT': 0 , 'ANL0': 0 , 'ATcTsig': 0.00 }}, { '_id' : '[C]_m3' , 'formula': 'C' , 'delHf': { 'ATcT...
[ "sarah.elliott26@uga.edu" ]
sarah.elliott26@uga.edu
af8e2b06212eed4f6b85dcdf5cfc89c85fa1d032
16378f47e8f366f3400f0a05c2d583da94c548d5
/Projects/project1/dice_game.py
29c22c384eda3c16489dd148bf54ec52c43f8f05
[]
no_license
nicsins/Capstone2020
1bcd5df596e82f868bd833bbce0bba4221ffd214
149625f13f7d295e2f0ce1ff863f4dbf0a6593c6
refs/heads/master
2020-12-12T14:28:51.441461
2020-02-26T22:17:56
2020-02-26T22:17:56
234,150,083
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
from random import randint as r #simple die class class Die(): roll=r(1,6) # get player name def __getattr__(): return input('please enter your name') # determine palyers rolls def player_roll(): return Die.roll def computer_roll(): return Die.roll def outcome(name,player,computer): print(f'{name...
[ "DominicB@email.com" ]
DominicB@email.com
585b0561eaa4209c11e08a59e043bd686d5fd41d
43be487bd69b82bcad74764ca63545e5d6d49d25
/gpa/GPA.py
236aa060bd8e51e875b1ed48f224d0697dcbc80e
[]
no_license
Bullldoger/graduate-work
0e5740b57dcd120b68da9486e2220e1fcdb74d09
4509da5aae86b53d7a9957b2b31991dcdd9b174c
refs/heads/master
2021-05-07T01:28:37.191745
2018-04-27T21:49:37
2018-04-27T21:49:37
110,348,180
0
0
null
null
null
null
UTF-8
Python
false
false
19,207
py
""" Contain a class declaration with represent GPA system """ import math from copy import deepcopy import sympy as sm import networkx as nx import numpy from numpy import dot class GPA: """ Represent GPA system """ def __init__(self, params=None): """ :param params: system...
[ "kaire1996@gmail.com" ]
kaire1996@gmail.com
280a2b04ec7ec04eabd8222ef0006b43991c521d
52c705205b243016c90757ed9d7332840277ce11
/atracoes/migrations/0002_atracao_foto.py
3a8c8b3837477b1351ec35c732ceff2b24dfbd5b
[]
no_license
lssdeveloper/pontos_turisticos
eb943549cb18561205818dcfb8c624bba32c7100
24852ca1b35795db876219a7a3439f496866d3d5
refs/heads/main
2023-04-03T10:24:22.000414
2021-04-15T20:13:02
2021-04-15T20:13:02
355,312,899
1
0
null
null
null
null
UTF-8
Python
false
false
404
py
# Generated by Django 3.1.7 on 2021-04-09 02:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('atracoes', '0001_initial'), ] operations = [ migrations.AddField( model_name='atracao', name='foto', fie...
[ "leandro.serra.10@gmail.com" ]
leandro.serra.10@gmail.com
487f68f34dcb908b166d179da6b8dfb4c51ce586
6b6dc8055603aeb8f69f4e6decc61eaf15c056af
/scripts/relax.py
f20f2f7606260ff8a7341c6aa0c1462363ad0133
[ "MIT" ]
permissive
matteoferla/ITPA_analysis
1dfa3a630eb8bce0b1723e9b3c9d1261733a3d33
86280bd36f90c616046489cffe8c1afdfe57d679
refs/heads/main
2023-04-11T11:32:06.749553
2021-05-27T15:32:18
2021-05-27T15:32:18
315,982,053
0
0
null
null
null
null
UTF-8
Python
false
false
3,635
py
# ED without membrane # ======== init pyrosetta ============================================================================================== import pyrosetta from init import make_option_string pyrosetta.init(extra_options=make_option_string(no_optH=False, ex1=None, ...
[ "matteo.ferla@gmail.com" ]
matteo.ferla@gmail.com
51d026cfa7430e8f7491129baabd72a37a91e840
49e49f91499acff2deb770a9d41fd3c7afa419d7
/boutique1/migrations/0021_auto_20170828_1007.py
30be1325a4f6e10529e4fd2964194cfe1339a9df
[]
no_license
fakher-saafi/Boutique
a99b4ebc58e533305ac3322ecc7164dc338d42c2
33900be6847f5911b79c990ad8b439c398a1cc36
refs/heads/master
2021-01-20T22:05:50.693711
2017-08-30T07:27:59
2017-08-30T07:27:59
101,799,379
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-08-28 10:07 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('boutique1', '0020_auto_20170827_1909'), ] operations = [ mi...
[ "fakher.saafi@esprit.tn" ]
fakher.saafi@esprit.tn
5ddfadb6800b7112cce4db57dc24afecba137124
da9b9f75a693d17102be45b88efc212ca6da4085
/sdk/identity/azure-identity/azure/identity/_credentials/chained.py
8f3a3acd0efa9bd2fe8ef6a5dd4a81948f2a433a
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
elraikhm/azure-sdk-for-python
e1f57b2b4d8cc196fb04eb83d81022f50ff63db7
dcb6fdd18b0d8e0f1d7b34fdf82b27a90ee8eafc
refs/heads/master
2021-06-21T22:01:37.063647
2021-05-21T23:43:56
2021-05-21T23:43:56
216,855,069
0
0
MIT
2019-10-22T16:05:03
2019-10-22T16:05:02
null
UTF-8
Python
false
false
2,471
py
# ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ from azure.core.exceptions import ClientAuthenticationError try: from typing import TYPE_CHECKING except ImportError: TYPE_CHECKING = False if TYPE_CHECKING: ...
[ "noreply@github.com" ]
elraikhm.noreply@github.com
6b126ed8f11be13685967d7a27133560fa43b6a6
c1ef956dec0cab468e99243e80a62ea260745a37
/2 Semestr/Cw7/Zad1.py
56bb013956c7e67139da5dc29c3af7384a8a5284
[]
no_license
KaroSSSSS/Pyton-zaj-cia
c0d0f8be83843b68fa72ca73c4bcef80a6569cc5
e3f28ceb63d9e6399a69de32f05f04bd01629925
refs/heads/main
2023-05-13T13:09:23.909276
2021-06-04T09:43:39
2021-06-04T09:43:39
328,436,409
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
kod = input("Podaj kod pocztowy w oznaczeniu międzynarodowym: ") def Add(kod, file): file.write(kod) file.close() try: file = open('kodPocztowy.txt', 'w') if kod[0] == "P": if kod[1] == "L": Add(kod, file) except FileNotFoundError: print("to nie jest kod pocztowy Pols...
[ "noreply@github.com" ]
KaroSSSSS.noreply@github.com
0648131ddb4cf752fd0f3e723810f1e182e08214
92d015e16cc1d2b4bea2eec54123d97443b42324
/9.py
312503dcd4a677fb7baaa55d590f572324a3e804
[]
no_license
Shakarbek/ICT-task1
fae1c435794aac6fb4b70215eaf1f160544e5779
d139d88a9edecc9a898b50a82cda928e26690044
refs/heads/master
2023-01-18T21:33:17.154456
2020-11-25T14:44:11
2020-11-25T14:44:11
296,678,793
0
0
null
null
null
null
UTF-8
Python
false
false
245
py
n=int(input()) s=input() a_cnt=0 d_cnt=0 for char in s: if char=="A": a_cnt+=1 elif char=="D": d_cnt+=1 if a_cnt>d_cnt: print("Anton") elif d_cnt>a_cnt: print("Danik") else: print("Friendship")
[ "noreply@github.com" ]
Shakarbek.noreply@github.com
87396bd41e695812d4d265028918ac9583cf9cdf
128994424a207ce8f946e72f2273d20f273596ad
/Assignment01/assignment1/sigmoid.py
1f67b0632d12d741702fe66b45e1b520868c6cfa
[]
no_license
CaroDur/MachineLearning
0d72765444c8702ddc476c617012af5f74e336ee
07e59eba84d41752a808d43b8a8f270dcff96c41
refs/heads/main
2023-02-12T17:22:02.556330
2021-01-02T09:57:36
2021-01-02T09:57:36
303,332,465
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
import numpy as np from numpy import exp def sigmoid(z): """ Computes the sigmoid of z element-wise. Args: z: An np.array of arbitrary shape Returns: g: An np.array of the same shape as z """ # g is an np.array of the same shape as z g = np.ones_like(z) ############...
[ "64893637+CaroDur@users.noreply.github.com" ]
64893637+CaroDur@users.noreply.github.com