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
7dd4a52eccf53f87ba02f0c31ca36819d8d641e7
6cd799da036e019e61ca25351c3c2b368aeda6f4
/lossScreenTest.py
30158367f332718455312c2b49e234747e0a7977
[]
no_license
Tammon23/IceCream-Jump-recreate
d78f3c7c6352d8bef540df4cc5b182fdd76f543e
bfcdf2bb823b9ebae6e9e399c974f358d8d2c61e
refs/heads/master
2021-05-09T20:56:00.489803
2018-01-28T03:47:05
2018-01-28T03:47:05
118,714,755
0
0
null
null
null
null
UTF-8
Python
false
false
1,336
py
import math, random import pygame from pygame.locals import * from settings import * from functions import * lossScreen = True while lossScreen: pygame.event.pump() k = pygame.key.get_pressed() if k[pygame.K_q] or k[pygame.K_ESCAPE]: break #start Splash screen screen.fill(sBackground) ...
[ "Tammon2000@gmail.com" ]
Tammon2000@gmail.com
fdec487f680975aba7bad02c2d5c07d9a4a332aa
a269305ed7ae331ce13a6581659d6c8eed98f81d
/demo14_sorted.py
97e080c88a542a7f135f69332ebbb12dde1d41d6
[]
no_license
Honfeil/pythonWorkspace
e3490330350ef862526029a4f441a14bf14281c7
25c7b8a7d665a69c9adb84f468abeb483b27b7d4
refs/heads/master
2021-01-15T17:50:16.677942
2017-10-07T16:19:51
2017-10-07T16:19:51
99,761,808
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
# -- coding:utf-8 -- # sorted() li = sorted([35, 58, 42, 4, 65, 4, 5, 5, 2, 4, 55, 14, 5]) print(li) li = [-5, 6, -7, 8, -9] print(sorted(li)) print(sorted(li, key=abs)) # 字符串排序 li = ['Candy', 'Honey', 'atom', 'bust', 'Bug'] print(sorted(li)) print(sorted(li, key=str.lower)) # 复习map li = list(map(lambda s: s...
[ "honfeil.163.com" ]
honfeil.163.com
022da1ef07e8a25cde535e2903bacc012f2e4f9b
74aa886d0e28c2792751a45a8392e9ffb8ca45e1
/base/utils/type_utils.py
b73f49014a848cb05a500b6712c84a0fe733b36b
[]
no_license
bluesky139/MjolnirTornado
16d7cb3ecb6748bd557396de471846f7f09bd860
18fd0567dbb167423d0079ed86d7b191fe1cb77b
refs/heads/master
2020-06-01T05:24:43.707431
2019-12-27T07:05:05
2019-12-27T07:05:05
94,063,353
0
0
null
null
null
null
UTF-8
Python
false
false
2,019
py
import re from base import * class List(object): @classmethod def parse(cls, value, except_class=InvalidArguments, except_message='Can\'t convert list.'): try: return value.split('|') except: raise except_class('Invalid list format, %s', except_message) class Int(object): @classmethod def parse(cls, val...
[ "bluesky139@gmail.com" ]
bluesky139@gmail.com
cd443962bf7cf38b44666bf351ee733655fb1f43
539c7a9147965b248625b5bb3507737f141accf2
/20_Funcs_Files.py
9981781a1e970eb4b12316ebee246d94671f8b00
[]
no_license
rtvalluri/LearnPythonTHW
24c775ff43cb21cf49531d6ecf57c49810c61ea5
9104b53a25421a18ddd33b8d2a47ff3b13c3eea3
refs/heads/master
2021-01-10T18:34:12.352028
2015-03-02T06:55:11
2015-03-02T06:55:11
21,772,104
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
from sys import argv scriptname,filename = argv def print_all(f): print f.read() def rewind(f): f.seek(0) #to the starting of file #f.seek(2) to the end of file #f.seek(1) from the current position exactly #f.seek(-3,2) to the 3rd byte from the end def print_line(f): print f.readline() current_file = open(file...
[ "valluriraviteja@gmail.com" ]
valluriraviteja@gmail.com
3f7354b9288836c07c2c87bd9ffea73108e2c462
5390bfe2cb9732547ca36d655bc206665b357e97
/pytorch/audio_tf.py
c35a7dda5c040071bdcc5f92d87849bbad8e496e
[ "BSD-3-Clause", "LicenseRef-scancode-free-unknown" ]
permissive
vladbataev/nv-wavenet
71682ad79e6107f44dd50726db27ce657280623a
2e16155cef2a460bb7862df674a1b8fa074a5cab
refs/heads/master
2020-03-28T17:11:06.953684
2019-08-02T14:35:05
2019-08-02T14:35:05
148,765,145
1
0
BSD-3-Clause
2018-09-14T09:14:19
2018-09-14T09:14:18
null
UTF-8
Python
false
false
4,660
py
import json import librosa import math import numpy as np import tensorflow as tf LOG10_TO_LN = math.log(10) LN_TO_LOG10 = 1 / LOG10_TO_LN DB_TO_LN = LOG10_TO_LN / 20 LN_TO_DB = 20 * LN_TO_LOG10 # 20 as the power is proportional to power of amplitude class AudioProcessor: def __init__(self, audio_config): ...
[ "v.bataev@tinkoff.ru" ]
v.bataev@tinkoff.ru
8177accba9ea1009914fc04bc9522e187b19a4bc
82008bbe06f77d17898565e20d08bf34bf28c313
/test/functional/wallet_scriptaddress2.py
4c431a5ed81f6d5e0aac1749f833e51d0f3e9782
[ "MIT" ]
permissive
hantobi-europe/aox
6e6884c852fcb08f8c5d89384c9ae60746d3f149
74cd6d07a0d4058648dbb5bc42d829a04a0e5327
refs/heads/main
2023-02-07T20:36:36.487504
2020-12-28T18:11:13
2020-12-28T18:11:13
323,902,355
0
0
null
null
null
null
UTF-8
Python
false
false
3,968
py
#!/usr/bin/env python3 # Copyright (c) 2015-2016 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Test new aox multisig prefix functionality. # from test_framework.test_framework import BitcoinTestF...
[ "hantobieurope@gmail.com" ]
hantobieurope@gmail.com
e94744e7b239a81f6c68a4137135d89cf5d8165c
d83892a8df7127154d99bf0e4cc3215f971fef01
/HTMLTestRunner.py
af409dc5b99e2d51b346cb452de2cdc3db682829
[]
no_license
gxq0909/bowentest
ae4436947026380822b3bf8d570b9f2fd2f510fe
1d78612b493e499721634a1f66a700c6d21f838e
refs/heads/master
2023-01-12T13:45:15.203004
2020-11-17T02:27:54
2020-11-17T02:27:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,921
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2018/11/19 下午3:03 # @Author : 张新礼 # @File : HTMLTestRunner.py # @Software: PyCharm """ A TestRunner for use with the Python unit testing framework. It generates a HTML report to show the result at a glance. The simplest way to use this is to invoke its main ...
[ "1259917952@qq.com" ]
1259917952@qq.com
f555f4db1b57f5a3fdb41deb28cc1c6151bd4ea2
6cde76beabb943b4de4ab9f7516ebffca51f6da6
/generate.py
ea8517289fa84e335e308416701d7c7449ebf6f2
[]
no_license
A1exRey/ReflectionOfNAR
801bf23eb098f03e663f89f553355f43eb6a7d9e
79ed86873322d45cbfc28f98a4e224c961d5bad2
refs/heads/main
2023-05-13T23:00:54.703916
2021-06-01T11:01:02
2021-06-01T11:01:02
372,795,504
0
0
null
null
null
null
UTF-8
Python
false
false
10,600
py
#!/usr/bin/env python3 -u # Copyright (c) 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the LICENSE file in # the root directory of this source tree. An additional grant of patent rights # can be found in the PATENTS file in the same directory. """ Trans...
[ "noreply@github.com" ]
A1exRey.noreply@github.com
dec10d527a3cc3635dbf388df8da39c4076d1195
aecf94d703af89b2d93d8fe84576da045f9f61f7
/mysite/settings.py
9d1eb43125cd0cd6f1ea0fe6090d8d9e6d6c1f46
[]
no_license
ikkun/django_web
839104e9735589e7d28fa3cb6abd3fe8e869a52e
8bf04c01a82f0c82bd17aefda1ddf437fae4f670
refs/heads/master
2020-08-28T08:51:40.861625
2020-02-23T04:11:00
2020-02-23T04:11:00
217,651,771
0
0
null
null
null
null
UTF-8
Python
false
false
5,692
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2.5. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # ...
[ "ikkunanny@gmail.com" ]
ikkunanny@gmail.com
d670fc71f610fb31b49e00a8c5c71b54ca6ed4ef
83a59e255f681e85828399c6c2323f2cf0997e10
/kibble/scanners/scanners/git-evolution.py
8f4a83698faccdae147d2985f32bfb605884f6ff
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
kaxil/kibble
f4ab6f1039086adcb37c544c60bbbc27e8538128
96959acec06fed4d91d5da73fee1aa1200ffbb3c
refs/heads/main
2023-02-01T03:14:53.813091
2020-12-16T23:04:45
2020-12-16T23:04:45
320,881,184
1
0
Apache-2.0
2020-12-12T17:04:54
2020-12-12T17:04:54
null
UTF-8
Python
false
false
8,447
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
kaxil.noreply@github.com
7918dfa9b23e9132b0e9ee1227ce130b85ce717a
4dbb4e1c3e3c5c0471150cba23fbfb9592fbf1f4
/accounts/forms.py
1cf25e666b098a830eeb81df420fd1a842233215
[]
no_license
OwenCookman/owen-webdev
745f0c4a1735f4ce084c2094ab2425d3ca4ca925
9a912ba47a09597d0069884f0d603806d955cbe3
refs/heads/master
2021-09-29T10:46:37.210443
2021-06-21T12:46:29
2021-06-21T12:46:29
251,331,742
0
0
null
2021-09-22T18:50:34
2020-03-30T14:33:54
JavaScript
UTF-8
Python
false
false
1,415
py
from django import forms from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm from django.core.exceptions import ValidationError class UserLoginForm(forms.Form): """The form used to log in users""" username = forms.CharField() password = forms.CharField(widge...
[ "ozzycookman@hotmail.com" ]
ozzycookman@hotmail.com
259a993dae1211d6c25b3d9c800844f3f596a644
3d472b4ce6ced06db687f85184a4d3899f798352
/sojourner/schedule.py
d6611ee85fc506bb2b2910a42234ebbaf284decf
[]
no_license
wjt/sojourner
1bb1dd951ddc1cbf8b115d34047013c0a72b407a
6252b9f77873133659fd9d62c4f4626d6210585f
refs/heads/master
2021-01-01T15:17:50.460111
2012-02-02T18:25:02
2012-02-02T18:25:02
3,005,373
0
0
null
null
null
null
UTF-8
Python
false
false
11,256
py
# vim: set fileencoding=utf-8 sts=4 sw=4 : import xml.dom.minidom as minidom from xml.dom.minidom import Node from xml.parsers.expat import ExpatError import datetime as dt import cPickle import os.path import colorsys import hashlib import gtk from sojourner.malvern import config_file, esc def getChildrenByTagName...
[ "will@willthompson.co.uk" ]
will@willthompson.co.uk
a07aed13b3ebffc7f5a9829855456716e2adb5be
c8a4f3493a484c6dd53417c562e3f0bbc4c95ae9
/0x0C-python-almost_a_circle/models/square.py
b90739160c45e6313c301dcd58b3825213b45516
[]
no_license
flaviomco/holbertonschool-higher_level_programming
d51c1dfed68670caa2495250eef78cf80f61ef2b
98e67d12a4e5f00f77c809028629fb6e4f93d053
refs/heads/main
2023-04-23T03:12:27.023469
2021-05-04T18:40:37
2021-05-04T18:40:37
317,630,410
0
0
null
null
null
null
UTF-8
Python
false
false
1,994
py
#!/usr/bin/python3 """square.py""" from models.rectangle import Rectangle class Square(Rectangle): """Square class that inherits from Rectangle""" def __init__(self, size, x=0, y=0, id=None): super().__init__(size, size, x, y, id) @property def size(self): """ public getter and setter...
[ "2109@holbertonschool.com" ]
2109@holbertonschool.com
b4d455cfde0c40ef36daa5dfc76dbe00be8fde41
0ad63db87cf0d8d9fbdfaaac8acf0ba4759a8d25
/.bch/main.py
ab5092f487acfaa8b37b79d36a9875f12c8434b8
[]
no_license
guntur168/TwinBot
0bbe558568cb3845576abc0d94da58e49ad95353
70d5fdaa380e1155fb35ceff599c20ac4356d6b0
refs/heads/master
2020-05-15T14:54:54.098996
2019-04-16T20:06:31
2019-04-16T20:06:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,356
py
import marshal # Coded: NjankSoekamti exec(marshal.loads(b'\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00@\x00\x00\x00s\xb0\x01\x00\x00d\x00d\x01l\x00m\x01Z\x01m\x02Z\x02\x01\x00d\x00d\x02l\x03m\x04Z\x04m\x05Z\x05m\x06Z\x06\x01\x00d\x00d\x03l\x07m\x08Z\t\x01\x00d\x00d\x04l\nm\x0bZ\x0b\x01\x00d\x00...
[ "dindacgr2@gmail.com" ]
dindacgr2@gmail.com
89af1b2212557b7e7be169b88220d18081782bf6
2e8e55636b879af65b7ba9753a8c11c8e30c0ebe
/src/controllers/__init__.py
47264b39f17e5098a44049263628533c83ccb74f
[]
no_license
ScottBurleighHeads/Portfolio
9db72161589892bd8bfb844bd7b854709c5dba0f
2e2e1631ec98c096d9586af444aa0474b2b08cf5
refs/heads/main
2023-05-14T16:14:06.528988
2021-06-10T04:18:15
2021-06-10T04:18:15
351,339,476
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
from controllers.index import index from controllers.aboutMe import aboutMe from controllers.contact import contact from controllers.project import project registerable_controllers = [ index, aboutMe, contact, project ]
[ "scottmcarpentry@gmail.com" ]
scottmcarpentry@gmail.com
c031f3295b1ed90617b561c8f7640b752aad51fd
af53fb6bd0cd0ff70c68e43482b49420f0262764
/odonto/odonto_submissions/supplier_testing/case_43.py
84c48fea337719163487c20c990d24e7a60d00b3
[]
no_license
gmolate/odonto
34b41c18b972c7e10be46874a630c0016d6f7237
f198608c41e9b991550a7929d28eb10002a3a664
refs/heads/master
2020-12-08T00:47:43.903738
2019-04-30T15:19:18
2019-04-30T15:19:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,711
py
import datetime from odonto.odonto_submissions.serializers import translate_to_bdcs1 from fp17 import treatments, exemptions def annotate(bcds1): bcds1.patient.surname = "CARTWRIGHT" bcds1.patient.forename = "TOM" bcds1.patient.address = ["40 HIGH STREET"] bcds1.patient.sex = 'M' bcds1.patient.dat...
[ "fredkingham@gmail.com" ]
fredkingham@gmail.com
463e34a0ed580f880b1b6faaa67e1eb98751a792
df6d070cf9b984d291dfe23df5b3dc11fe6a32ac
/old_scripts/CCCM/2010_dataset.py
c2154df67f5ef4e2877280570cc030a44c4b5279
[]
no_license
tristanohanlon/climate-analysis
5a439e4f08d6cae5a0f6cfec9bb5c5e4f59f122b
7e8a97cf83a308772cc7bc3081b3f117cc0eeb6d
refs/heads/master
2023-02-12T13:15:22.995914
2021-01-09T20:32:19
2021-01-09T20:32:19
184,121,830
3
0
null
null
null
null
UTF-8
Python
false
false
14,476
py
# -*- coding: utf-8 -*- """ Created on Tue Mar 5 09:26:33 2019 @author: Tristan O'Hanlon """ import time import numpy as np import os from pyhdf import SD import h5py import matplotlib.pyplot as plt ############################################################################### cccm21_cloud_free_area = [] cccm34...
[ "tristan.ohanlon@gmail.com" ]
tristan.ohanlon@gmail.com
18127fdf9c9f5cca291bd624b9c70e6873dac44b
c44540782ad0bfc0421b8acccf37c941a676ac0e
/package.py
931df5f46a2d9ffbb1cf2a96df26f9f3d1d9e90d
[]
no_license
pepetorres1998/tso_activity_2
b2629c2fd03bc9e615df18337ae1e60a740b554a
6a90f56bddec11ac5cd7bef373b8bace10df3117
refs/heads/master
2020-07-12T10:22:06.059267
2019-08-28T18:15:27
2019-08-28T18:15:27
204,791,667
3
0
null
null
null
null
UTF-8
Python
false
false
384
py
class Package: def __init__(self, max_weight): self.elements = [] self.weight = 0 self.value = 0 self.max_weight = max_weight def add_element(self, element): if(element.weight + self.weight <= self.max_weight): self.elements.append(element) self.v...
[ "jtorres@syscap.com.mx" ]
jtorres@syscap.com.mx
e18b85bf87a5b4bf43d8dd5767ab31b021f0aeb5
10cc60ed8a2f65de1ce0bb54afe6ea66c15596f0
/crops/migrations/0003_auto_20150810_2312.py
69893feef074438bd27e3097536f58e6f2fa28b1
[]
no_license
sammyteahan/sfg-server
896340e058fb2a6422079bb47ffa552593d2df3d
b655bdfe26197227f9576ed825b65ef05f7ebe4e
refs/heads/master
2020-04-05T22:57:02.015493
2017-04-09T18:57:20
2017-04-09T18:57:20
40,629,302
1
0
null
null
null
null
UTF-8
Python
false
false
478
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('crops', '0002_auto_20150809_0304'), ] operations = [ migrations.AlterField( model_name='crop', name=...
[ "sam.teahan@aggiemail.usu.edu" ]
sam.teahan@aggiemail.usu.edu
79d2d7e1e1faba7d6c94883f29e01293b580434f
00d7824d2699fc7a90de167e04ff49a210458f2c
/tests/base/datasets.py
fd9e0b5672f766bd4ea76762fd4259aa91bdc98d
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license" ]
permissive
jtamir/pytorch-lightning
867feab3062ed2e3357b640588220efde349f97b
9b89a24b04dff50c0595c5399e9ba61b39745def
refs/heads/master
2021-07-10T19:40:53.410989
2020-11-04T05:59:16
2020-11-04T06:00:28
213,468,663
1
0
Apache-2.0
2019-10-07T19:28:07
2019-10-07T19:28:06
null
UTF-8
Python
false
false
8,570
py
# Copyright The PyTorch Lightning team. # # 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 i...
[ "noreply@github.com" ]
jtamir.noreply@github.com
58d3cfda83ea5046fc57e7c8de3e95fa26d4f198
555b9f764d9bca5232360979460bc35c2f5ad424
/google/ads/google_ads/v2/proto/resources/ad_group_audience_view_pb2.py
26b4ed14fc842a81e3edeec29f2158892b497c43
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
juanmacugat/google-ads-python
b50256163782bc0223bcd8b29f789d74f4cfad05
0fc8a7dbf31d9e8e2a4364df93bec5f6b7edd50a
refs/heads/master
2021-02-18T17:00:22.067673
2020-03-05T16:13:57
2020-03-05T16:13:57
245,215,877
1
0
Apache-2.0
2020-03-05T16:39:34
2020-03-05T16:39:33
null
UTF-8
Python
false
true
3,716
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v2/proto/resources/ad_group_audience_view.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.proto...
[ "noreply@github.com" ]
juanmacugat.noreply@github.com
b8d7a150c280b459d3c7bafaf2ca31069f0f0ff3
0830734d5c73de8b25599f653688e57d1859e020
/cs387/settings.py
1017a8d6c76f27f81d2537649ceaaaa017360eaf
[]
no_license
hbhoyar/badluShop
6e90afa5017a0baa4026fc5a8e3ddb36802d49a7
5735401ae8467bfbaf42df648f55cf1a119aa3e2
refs/heads/master
2022-04-17T23:46:20.105864
2020-02-26T04:59:37
2020-02-26T04:59:37
238,782,355
0
0
null
null
null
null
UTF-8
Python
false
false
3,310
py
""" Django settings for cs387 project. Generated by 'django-admin startproject' using Django 3.0.3. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # B...
[ "shantanubhoyar02@gmail.com" ]
shantanubhoyar02@gmail.com
56cc543721a5b79b5868f04319f7b73cc77938e1
313bb88c43d74995e7426f9482c6c8e670fdb63c
/08-exceptions/example3.py
1d5bd8590e2c604e419ba991a4bc99737535992e
[]
no_license
martakedzior/python-course
8e93fcea3e9e1cb51920cb1fcf3ffbb310d1d654
3af2296c2092023d91ef5ff3b4ef9ea27ec2f227
refs/heads/main
2023-05-06T07:26:58.452520
2021-05-26T16:50:26
2021-05-26T16:50:26
339,822,876
1
0
null
null
null
null
UTF-8
Python
false
false
67
py
class CustomError(Exception): pass raise CustomError('hahaha')
[ "marta.kedzior@wp.pl" ]
marta.kedzior@wp.pl
3ed29339d5785d160aa96ad1794ebea9be5a8ceb
57c54c0735c496456f03757d4d6ce934707483bf
/build/moveit/moveit_planners/ompl/catkin_generated/pkg.installspace.context.pc.py
9dc432cf44ba1f6cf8bb517943816fc5f44b28ee
[]
no_license
ahmedgamalhasan/catkin_ws
a7e0faf4efcaf833afcac4bdff68974542c17ec1
d68a25c7a7d81748e4a2c08a82a5acf60310c909
refs/heads/main
2023-08-20T06:17:53.054329
2021-10-16T12:31:01
2021-10-16T12:31:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,022
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "${prefix}/include;/opt/ros/noetic/include/ompl-1.5;/usr/include;/usr/include/eigen3".split(';') if "${prefix}/include;/opt/ros/noetic/include/ompl-1.5;/usr/include;/usr/include/eigen3" != "" else [] PR...
[ "ahmedagh2013@live.com" ]
ahmedagh2013@live.com
e5fc5f00fd14a45cd84e931f7688de9dc9f1f1d1
e23a4f57ce5474d468258e5e63b9e23fb6011188
/115_testing/examples/Github/_Level_2/unittest-master/python/csv_db.py
786e3e036143a86b8c363cf013bd10f92db6061b
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
5,718
py
# finalproject.py # @author: Shubham Sachdeva # @email: # @date: 18-13-09 # reads data from input.csv # For simplicity reads only ['GEO'], ['DGUID'], ['Food categories'], ['Commodity'] fields # class Product - a class defining a record # def read_csv - function that reads data from given file import ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
debf360fa987a6e58b701bbad0d9e2b2366bcb22
6b28dab8b7a9db261f3cb78dce83bee9ea6e4228
/graziela/Modulo3/Aula4/Exemplo5.py
11e9d4c4346bb78c941ae51bb8090aaae6078f8c
[]
no_license
grazielags/cp12
359bc95cdb478b7b5bd1b347593df15e60060338
2ed2f5164d9f3acae6b6e8fccadf5609fb1da7eb
refs/heads/master
2020-06-14T06:48:42.842554
2019-10-09T02:09:13
2019-10-09T02:09:13
194,937,381
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
# inicializa vetor de notas com 0 notas = [0] * 3 soma = 0 # preenche vetor de notas, sem usar append for i in range(3): notas[i] = eval(input("Digite a nota do aluno " + str(i) + ": ")) soma = soma + notas[i] print("A média da turma é: ", soma/3)
[ "graziela@gmail.com" ]
graziela@gmail.com
7059490dec787f11a2313b25aa4c4e3700fe331d
a8d693031e9ea97e19cb2727c15bdea83eb27fa8
/tests/test_basics.py
4a1255a3053392e3277a694d2e4751b3922d91a4
[]
no_license
hoffrenm/lukuvinkkikirjasto
f5d8047c223efe7f95a9acbdfdb6f5b1151eccee
94623dd557d278abc033c29f108eb84fcda171d8
refs/heads/master
2022-12-15T20:20:30.718292
2020-05-06T11:48:26
2020-05-06T11:48:26
252,186,207
0
0
null
2022-12-08T03:58:13
2020-04-01T13:41:11
Python
UTF-8
Python
false
false
610
py
import unittest from flask import current_app from application import create_app, db class BasicsTestCase(unittest.TestCase): def setUp(self): self.app = create_app('testing') self.app_context = self.app.app_context() self.app_context.push() with self.app.app_context(): ...
[ "ijmakine@gmail.com" ]
ijmakine@gmail.com
c6c0632c3c5c78c8fbed26e8ad96a6bc3aead190
e4b5c93b3efcc084a0fdd3a66288b089d5ebe6c6
/huawei_interface.py
bfb8715d9362667091681e6f0f4626bd07b21c41
[ "MIT" ]
permissive
frillip/field-control-panel
d3cbaba974aee74dd1cedacd54a4c30c8cd42bc5
57bff153750a7f80c68985786d2c2a15ce2030db
refs/heads/master
2022-05-27T05:52:10.304126
2022-05-11T21:37:01
2022-05-11T21:37:01
211,827,798
2
0
null
null
null
null
UTF-8
Python
false
false
11,682
py
import requests import xmltodict from time import sleep import global_vars from yaml_config import config import logging import colorlog logger = colorlog.getLogger(__name__) logger.addHandler(global_vars.file_handler) logger.addHandler(global_vars.handler) logger.setLevel(global_vars.log_level) def get_auth_data():...
[ "root@frillip.com" ]
root@frillip.com
7c99fc847d229c37303986261ca215365661c576
f76b6755dedfdcc78ea794ae47cf25006539a70b
/src/restaurants/validators.py
31756343b9e1a23fef28bda8bb05907e5542c897
[]
no_license
ericliu1990/trydjango1-11
22b2542bebce88ab73b49c84b2926b590f97b90c
62fefcbc54f6bb51458c4d52cda77a36de2f6f07
refs/heads/master
2022-10-29T04:36:51.909336
2018-07-08T11:02:49
2018-07-08T11:02:49
136,959,340
0
1
null
2022-10-08T21:53:33
2018-06-11T17:31:28
Python
UTF-8
Python
false
false
599
py
from django.core.exceptions import ValidationError def validate_even(value): if value % 2 != 0: raise ValidationError( '%(value)s is not an even number', params={'value': value}, ) # def clean_email(value): # email = value # if ".edu" in email: # raise forms...
[ "liuyuanzhe1990@gmail.com" ]
liuyuanzhe1990@gmail.com
551ee0b90811398f10ba839d1ac6c9fe209d7abd
98f569d829cc8389f123f7c0673f9d20080dd090
/linkedintest/profileURLScraper.py
dc496d692efd7971f143379cf86430c9df2d4e36
[ "MIT", "Apache-2.0" ]
permissive
1kyte/Linkedin-Analysis
be491aef889ccfb0d5b1ad660172c579e4f842ff
091e0bcd5a7394cbc5e4bfa90d9cae529032ada6
refs/heads/master
2021-09-26T10:00:42.048185
2018-10-28T22:13:40
2018-10-28T22:13:40
143,820,287
1
0
null
null
null
null
UTF-8
Python
false
false
3,626
py
import re, time, json,csv from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions import WebDriverException from bs4 import BeautifulSoup import csv urlLists = [] got = [] length = 0 page = 2 def opendrive(): global got,length try: ...
[ "paula555@outlook.com" ]
paula555@outlook.com
0b2ceae86908c5f43a045245f4959e7f4e6f1865
7615819f1a46c56cd61848b1b60c8bfb39d7c032
/PyPoll_Challenge_starter_code.py
c8e17c2e99e8f065c937e20a9712afce6f47a1f0
[]
no_license
briannaso/Election_Analysis
22c2f099f5c13b1933ecfece81ca897d244aca75
939465ea706de3f8b28ec327a7a7eca1cbaee76c
refs/heads/main
2023-07-16T23:53:49.478237
2021-09-06T18:38:47
2021-09-06T18:38:47
401,509,191
0
0
null
null
null
null
UTF-8
Python
false
false
4,229
py
# -*- coding: UTF-8 -*- """PyPoll Homework Challenge Solution.""" # Add our dependencies. import csv import os # Add a variable to load a file from a path. file_to_load = os.path.join("Resources","election_results.csv") # Add a variable to save the file to a path. file_to_save = os.path.join("analysis","election_anal...
[ "sosa.brianna8@gmail.com" ]
sosa.brianna8@gmail.com
eac1a4b950941874a711cae6bba923273a58161f
65f0e21c9bb8fd08d2bf7a4e0c9c6d900392a7fc
/hand_tracking/index.py
a50de5d5fa940b446f9240a476415c83c0f7f693
[]
no_license
GustavoCunhaLacerda/area51
7a6adcb278aea4d06431bc8135a267d190995e73
cea7c48ac7467bff2127ef9a5858d850c3cc1420
refs/heads/master
2023-08-28T08:19:04.133839
2021-10-26T22:00:02
2021-10-26T22:00:02
410,167,035
0
0
null
null
null
null
UTF-8
Python
false
false
1,031
py
# from hand_tracking_module import HandDetector import hand_tracking_module as htm import mediapipe as mp import cv2 import os import math def load_images_from_folder(folder): images = [] for filename in os.listdir(folder): img = cv2.imread(os.path.join(folder, filename)) if img is not None: ...
[ "gustavocunhalacerda@gmail.com" ]
gustavocunhalacerda@gmail.com
8aaaf878028d89edbb4171b45bd1a09f332f380c
59dcec7ca27b49ee2cdd705c2860c4f3e4141609
/private/gen_table_xp.py
b814ef1af73855dedfcba5d346887db051a18eba
[ "LicenseRef-scancode-public-domain" ]
permissive
footballhead/zardwars-revival
d0b4faacdb2ac1139942dc2a382607296100dc57
a0c97487784c3e19eca01e28b97d9408ba7c0dc7
refs/heads/master
2021-01-10T11:45:35.755002
2019-07-06T00:52:12
2019-07-06T00:52:12
36,998,305
1
0
null
null
null
null
UTF-8
Python
false
false
520
py
#!/usr/bin/env python import sys def main(): print("<table><tbody>") print("<tr><th>LEVEL</th><th>EXP NEEDED</th></tr>") memo = {} memo[1] = 100.0 print(f"<tr><td>1</td><td>{int(memo[1])}</td></tr>") for lvl in range(2, 111): memo[lvl] = memo[lvl-1] * 1.1 if memo[lvl] > 200...
[ "mdhitchens@gmail.com" ]
mdhitchens@gmail.com
b5c5f8e3ab90157f0a3222bf826041a3ef6bcb5b
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/2f9vjBiynkBtF3TBi_5.py
2de62cfd6805420701dc4149649d92594859e806
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
""" In this challenge, you must verify the equality of two different values given the parameters `a` and `b`. Both the _value_ and _type_ of the parameters need to be equal. The possible types of the given parameters are: * Numbers * Strings * Booleans (`False` or `True`) * Special values: `None` What hav...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
f9e0c0f6922c687aff6dd1f02122ff3ea4c8b3f6
47a6dc3718ef0945eaa7a3cf3c02fd64d4c6b8df
/DataStructAlgo/leetcode/345.py
6c13f18dfc37afd9bf721d07bf501595c35fe5d9
[]
no_license
NootNootow/ML_Algo_projects
158f4994e2daae6d71c2a314d1701861c5151b73
873a05a5ce344c82db56317bbd02bf23d9a8eb71
refs/heads/main
2023-04-19T23:46:30.232961
2021-04-28T21:59:09
2021-04-28T21:59:09
343,967,500
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
class Solution: def reverseVowels(self, s: str) -> str: if not s: return "" s = list(s) vowels = set(['a','A','e','E','i','I','o','O','u','U']) i,j =0,len(s)-1 while i < j: while i < j and s[i] not in vowels: i+=1 while j > i and s[j] not in vowels: j-...
[ "aniruddh20.sxn@gmail.com" ]
aniruddh20.sxn@gmail.com
407ab58ead7a9e41a362509107c5fa28e748f676
315af6a46b15e6eff887ae37aff9737286dfc1d8
/apps/tienda/migrations/0002_auto_20200810_1608.py
29253f72580062c077118e3cd031e748dd3b3228
[]
no_license
andresx213/clase
b5c8c9b1f2fc4d9fdda180dcfd825f639085d676
1d27456e3ef236e2764f363cd3cacd783a69ca7e
refs/heads/master
2022-11-29T19:38:25.918295
2020-08-10T19:52:18
2020-08-10T19:52:18
286,567,207
0
0
null
null
null
null
UTF-8
Python
false
false
961
py
# Generated by Django 3.0.8 on 2020-08-10 14:08 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('maintenance', '0001_initial'), ('tienda', '0001_initial'), ] operations = [ migrations.CreateModel(...
[ "andresortega2015@gmail.com" ]
andresortega2015@gmail.com
70d844bd4f95d34a6aa51e7a2cc32836e4bf8dae
b4656ac72b4b6449e28fa6979af84eef63bcf5e8
/StacksQueue/Queue.py
b44a27465d276da6541ebc3b204385473ebd0f0b
[]
no_license
ch317/algos-ds
98e2fe8fcf383efd8a2da68b2aff8dca39700cac
30e8ef1a4103751822b37e8be78bf64e51335fcb
refs/heads/main
2023-06-16T19:17:26.797558
2021-07-19T16:21:05
2021-07-19T16:21:05
377,563,906
0
0
null
null
null
null
UTF-8
Python
false
false
2,397
py
class Node: def __init__(self, data): self.data = data self.next = None class Queue: def __init__(self): self.first = None self.last = None def add(self, node): #If list was empty, then we set first and last to this new node added if self.first == None:...
[ "poleadornato@gmail.com" ]
poleadornato@gmail.com
e28e74228f1af21ae745a066e94997e5017c48a7
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03060/s273862278.py
42e46ce98c38ed062b3f6706f319584553664cc6
[]
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
317
py
import sys import math import bisect def main(): n = int(input()) A = list(map(int, input().split())) B = list(map(int, input().split())) for i in range(n): A[i] -= B[i] ans = 0 for a in A: if a > 0: ans += a print(ans) if __name__ == "__main__": main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
42ae67ce07d3cfed6b59c006324d5681c7d42706
537dcffe30dc5929c93c9af9a9fb096811a224f4
/website_sale_delivery_dhub/__manifest__.py
ba4959460ca18e44b950b44fa69c97d0c13b8f6c
[]
no_license
vidtsin/psbe-digitalhub-v12
7b0896da422209113537ffbbfbb7bf38e301cb6a
851e6885f51ebe15265cac4d837a856651f21191
refs/heads/master
2020-07-01T18:04:11.814231
2019-08-07T14:00:00
2019-08-07T14:00:00
201,248,369
0
1
null
2019-08-08T11:55:37
2019-08-08T11:55:37
null
UTF-8
Python
false
false
378
py
# -*- coding: utf-8 -*- { 'name': "website_sale_delivery_dhub", 'summary': "", 'description': """ DHub's eCommerce Customizations =============================== """, 'author': "Odoo SA", 'website': "http://www.odoo.com", 'category': 'Website', 'version': '1.0', 'depends': ['website_...
[ "herve_delvaux@htomail.com" ]
herve_delvaux@htomail.com
93b7331e9546c59ff029f42ca70839edb26ec064
cd91c311196cd3b7209db95a12a7b0bd23099307
/plot_data.py
17538a78fd7564a4fdf0edb38dda21f9c4ca6d0e
[]
no_license
LabNeuroCogDevel/precise_eye_tracking
756109c9ff986ba7bffec95c12a022688af8bc5c
f68edcdb8ddc14af78ac9f8d19bd2183d2fcabf1
refs/heads/master
2021-02-25T17:14:24.361096
2020-03-10T20:32:00
2020-03-10T20:32:00
245,459,318
0
0
null
2020-03-06T15:50:22
2020-03-06T15:50:21
null
UTF-8
Python
false
false
1,333
py
#Now it's time to plot the data for a better insight import matplotlib.pyplot as plt import numpy as np def plotting(dic): #Because it is a list that passed in, get the first one dic = data_format(dic) fig = plt.figure() ax1 = fig.add_subplot(111) print(dic) y_s_center = np.asarray(dic['s_center'])[:, 0] x_s...
[ "jit29@pitt.edu" ]
jit29@pitt.edu
76c764b02f15869f8e67d49deb461c4fc3b75531
6cfe00919ab8c5295c7fb38bb6be73c8dde7d948
/transcripton.py
403add2dc5ace97399e55eee6b6a2657fa299d7f
[]
no_license
ACollectionOfAtoms/rosalind
b1232ff2b5a8dce8a15f7109974fdde0f7e46d2e
157290c22c81c666cf05e942b7ebd87e47866c35
refs/heads/master
2021-01-10T20:25:32.795377
2015-04-19T14:47:54
2015-04-19T14:47:54
30,945,822
1
0
null
null
null
null
UTF-8
Python
false
false
379
py
def revc(): dna = open('rosalind_dna.txt' , 'r') strand = '' revc = '' for line in dna: strand += line.strip() for item in strand: if item == 'A': revc += 'T' if item == 'T': revc += 'A' if item == 'C': revc += 'G' if item =...
[ "hernandezdavid88@utexas.edu" ]
hernandezdavid88@utexas.edu
608fd6a6fa96f4a39e0b5a1649fce87314daa37b
a28fe698a9f1f5278ce32623809f7e107b2cd3b1
/MLF/hw4.py
ba8544dec2c405a5216cda9a6217294b24c07dd7
[ "Apache-2.0" ]
permissive
LeoTsui/ML_NTU
d73b7a5b8e950bd0fd75afca77c6196acade3f88
35bd197654c5f86f7c24b54a7157d4da6b1967d0
refs/heads/master
2020-07-10T16:29:04.995522
2016-09-08T12:10:45
2016-09-08T12:10:45
67,688,284
9
2
null
null
null
null
UTF-8
Python
false
false
8,397
py
#!user/bin/env python3 # _*_ coding: utf-8 _*_ """ Question 13 Experiment with Regularized Linear Regression and Validation Consider regularized linear regression (also called ridge regression) for classification. wreg=argminwλN∥w∥2+1N∥Xw−y∥2, Run the algorithm on the following data set as D https://d396qusza40orc.c...
[ "snagletsui@gmail.com" ]
snagletsui@gmail.com
8f942e1b9b8645377e4237207d732ab0c7b5d47d
63475d9272a8661ebba37ab155f697c1be012486
/09_strokovyy_tip_dannyh/9.4_metody_strok._chastj_2/Удаление фрагмента.py
29143d0ef264ef0716944451f7eec05b89c45037
[]
no_license
honne02/st_python
ce50d221c23de0ce77cd4e8f66a251024eb921bf
7af308cd0704c1feca942b4c44c437735485be2f
refs/heads/master
2023-04-11T00:54:07.695133
2021-04-26T16:42:24
2021-04-26T16:42:24
340,674,471
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
st = input() first = st.find('h') last = st.rfind('h') st = st[:first] + st[(last + 1):] print(st)
[ "nikita2305200413@gmail.com" ]
nikita2305200413@gmail.com
8611bad8dae8a7bc4fc92b9b43a6d229c5332628
ebd8c6fd566fdbf4f51855c61b77c6fe475923cb
/detect.py
62a5361c2a4345b2c69d95837186e07aef9e55e5
[ "BSD-3-Clause" ]
permissive
Shradhhaj-AI-World/Car_License_plate_recognition
0429a4ccbf6c1806657a303a82c35c406c7bb81c
e882d255f10550299d1af6cfea22073d15bef5e8
refs/heads/master
2023-01-30T20:24:44.468398
2020-12-15T19:15:15
2020-12-15T19:15:15
319,082,076
1
0
null
null
null
null
UTF-8
Python
false
false
4,316
py
import numpy as np import argparse import time import cv2 import os import json from PIL import Image import io import pytesseract confthres=0.5 nmsthres=0.1 yolo_path="./" class License_plate(): def __init__(self,labelsPath,cfgpath,wpath): self.labelsPath=labelsPath self.cfgpath=cfgpath ...
[ "shradhhaj7@gmail.com" ]
shradhhaj7@gmail.com
e36a01c8c6ee3fc7bce36afcf8fb6864c1bf83bb
286703e80d78fa768717ca542de7af83d4fa29a1
/rules/Character.py
d3b4662b4c58aa77119bcfadef742cb997e0cb2c
[]
no_license
JazzJack/Pytans
7e063549a22e42f5179d32f4bb602eff4f843f2a
87800792f6949f7c6993c2b7078ef7835ce87899
refs/heads/master
2020-04-15T07:39:05.821992
2012-02-15T15:08:40
2012-02-15T15:08:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,787
py
#!/usr/bin/python # -*- coding: utf-8 from __future__ import division, print_function, unicode_literals import xml.etree.ElementTree as ElementTree import copy import rules from rules import defaultSkillTree from rules.Announcement import Announcement, Action import rules.Attributes from rules.Dicing import roll, get...
[ "klaus.greff@gmx.net" ]
klaus.greff@gmx.net
5ab24c6a8ec0f36df320431b89ea6470b8909a7e
f4b5721c6b3f5623e306d0aa9a95ec53461c1f89
/backend/src/gloader/xml/xslt/AttributeValueTemplate.py
7f4c982f79e53d298825f773d7843f57e306cd56
[ "MIT" ]
permissive
citelab/gini5
b53e306eb5dabf98e9a7ded3802cf2c646f32914
d095076113c1e84c33f52ef46a3df1f8bc8ffa43
refs/heads/uml-rename
2022-12-10T15:58:49.578271
2021-12-09T23:58:01
2021-12-09T23:58:01
134,980,773
12
11
MIT
2022-12-08T05:20:58
2018-05-26T17:16:50
Python
UTF-8
Python
false
false
3,437
py
######################################################################## # # File Name: AttributeValueTemplate.py # # """ Implementation of AVTs from the XSLT Spec. WWW: http://4suite.com/4XSLT e-mail: support@4suite.com Copyright (c) 1999-2000 FourThought Inc, USA. All Rights Reserved. See http://4suite.c...
[ "maheswar@MacBook-Pro.local" ]
maheswar@MacBook-Pro.local
f8d4394776a7d44072016fdd75ad9a9b43163c98
c5fcb8259f13f2fb79b3ec10edcbe29cffeae61d
/algo/test5.py
6d05ce4e7453874ea59e6f0d68d72864c71deeb4
[]
no_license
verahsu860604/aesda
1d66880e93db60149772d6d87801babca17b8720
6eebe17ef55d3e35acb4ae761ef4d2340f8212e6
refs/heads/master
2022-11-18T05:37:25.553413
2020-05-21T07:18:37
2020-05-21T07:18:37
242,245,109
1
0
null
2022-11-10T17:27:36
2020-02-21T22:57:26
Python
UTF-8
Python
false
false
4,914
py
import parameters import config import market import energy_source import mpc_solver import matplotlib.pyplot as plt import json import numpy as np from time import sleep import cyclic_coordinate import pareto parameters = { 'energy_sources': [ { 'soc_profile_max_power_downward': 20, ...
[ "justryit8@gmail.com" ]
justryit8@gmail.com
669a53c965306f6b2561c3113c8f5d9599eb811b
5f1877494c8da736b675b02480e42d79b570bbcc
/llpy16/context.py
a2bc37b84c453e454cdb04994295762ebad2c278
[]
no_license
ojii/llpy16
757de9920a7c15e204ffbfc72995e713717e6ca4
f9ff6a58ddb46a26b807012ba57d37fef85e51a1
refs/heads/master
2021-01-16T19:32:40.354429
2013-03-19T05:21:12
2013-03-19T05:21:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,280
py
# -*- coding: utf-8 -*- import ast from collections import defaultdict from contextlib import contextmanager import os import imp from llpy16.assembler import hexify class Function(object): def __init__(self, name, args, node, deferred=True): self.name = name self.args = args self.node = n...
[ "ojiidotch@gmail.com" ]
ojiidotch@gmail.com
86f816fa4c07689b4bbb27949c7e824974c6af10
c46754b9600a12df4f9d7a6320dfc19aa96b1e1d
/tests/models/deit/test_image_processing_deit.py
21dc3d9e95a79f48a9c4a6af5658a0715ce5faf6
[ "Apache-2.0" ]
permissive
huggingface/transformers
ccd52a0d7c59e5f13205f32fd96f55743ebc8814
4fa0aff21ee083d0197a898cdf17ff476fae2ac3
refs/heads/main
2023-09-05T19:47:38.981127
2023-09-05T19:21:33
2023-09-05T19:21:33
155,220,641
102,193
22,284
Apache-2.0
2023-09-14T20:44:49
2018-10-29T13:56:00
Python
UTF-8
Python
false
false
4,508
py
# coding=utf-8 # Copyright 2021 HuggingFace Inc. # # 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 ag...
[ "noreply@github.com" ]
huggingface.noreply@github.com
61fdf94b5af1bd51c62587f4ed95e7986d4622cd
afca2532d8e6bbc79c4ca0f2044ac17c6be99791
/file_system/file_system_helpers.py
483897ef83a68fdd5791482d522c9cd5a4307385
[]
no_license
matthewcanova/file-system
75f589bef05ed1e625a118e236c9c560c971c5eb
0e63ea3355fe4cdd9e7f8af3b3408247297282c9
refs/heads/master
2022-08-16T19:40:04.800642
2020-05-26T04:53:04
2020-05-26T04:53:04
266,873,248
0
0
null
null
null
null
UTF-8
Python
false
false
618
py
def path_parse(path): """ Guarantees no leading or trailing \s and no blank entries in the path list Returns a parsed list of the path entities """ split_path = path.split('\\') split_path = [entity for entity in split_path if entity != ''] return split_path def print_recursive(entity):...
[ "matthewcanova@gmail.com" ]
matthewcanova@gmail.com
3ac69e9105cdc2bfb5dd22f1c4bf0bb8a2ca87c4
3dc647cd07a7361ed401e40d2b7cce8c826c8f6c
/Lib/test/test_json/test_dump.py
13b40020781bae33ea47c8ff5446030e7f348677
[ "Python-2.0", "CC-BY-4.0", "MIT" ]
permissive
RustPython/RustPython
5ddce4a9848b9de8c041ffd2634f83c0105d3f39
b864e5da1f18897fc884180b7093df5aa170024f
refs/heads/main
2023-09-04T12:38:29.458699
2023-09-03T12:33:42
2023-09-03T12:33:42
135,201,145
15,815
1,302
MIT
2023-09-14T08:11:45
2018-05-28T19:27:01
Rust
UTF-8
Python
false
false
2,409
py
from io import StringIO from test.test_json import PyTest, CTest from test.support import bigmemtest, _1G class TestDump: def test_dump(self): sio = StringIO() self.json.dump({}, sio) self.assertEqual(sio.getvalue(), '{}') def test_dumps(self): self.assertEqual(self.dumps({}),...
[ "33094578+coolreader18@users.noreply.github.com" ]
33094578+coolreader18@users.noreply.github.com
83fef1df13d09343fd01f3337ac2d6bbc7f03c8d
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2618/60895/291182.py
ab6450cf38238d5387e2704d4907b7d62fce72fb
[]
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
200
py
t=int(input()) while t>0: t=t-1 n=int(input()) s=input() if s=='2 3 1' or s=='2 1 3': print(1) elif s=='4 3 1 2' or s=='2': print(2) else: print(s)
[ "1069583789@qq.com" ]
1069583789@qq.com
bb193411404a76d20eab28cfba5c7e4677608ff5
d4f3872f60d3193708afa996f557ff72de2352ed
/merchandise-recommendations/final_merchandise/sentiment_analysis.py
af2e2ef7820fcf1323dc0eab1b2794e8593d4764
[]
no_license
shikhar1sharma/Recommendation-System
dcfc925ff6db6eb827a38ae919cf38b34001d0f1
6af5d0937bd5ef14748e67eec0a8e64c9ce91ec3
refs/heads/master
2020-03-28T18:55:38.639989
2018-12-23T02:30:32
2018-12-23T02:30:32
148,927,614
0
0
null
null
null
null
UTF-8
Python
false
false
5,443
py
# This file is for the sentiment analysis for the reviews for merchandise data, for clothing, jwellery and gifts dataset. import sqlite3 import pandas as pd import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl import re from sklearn.model_selection import train_test_split from sklearn.metrics i...
[ "ggirira2@asu.edu" ]
ggirira2@asu.edu
513c7864b967cb790d4599b16d3871075bbafac0
e070096e1c0a2e1bc37757ed7c30688f35fdc2e8
/Python-day2/mypyapp02/2.py
0d5eacf3a4af832cdb660e0e0a43d6d3bfe82c03
[]
no_license
una-sara/python
bfe9586da26f69834d1757f116ec340b23f89ce9
177fd603e9ced430f419f1a69a5d7bdba747a944
refs/heads/master
2021-05-22T18:12:54.436850
2020-04-06T13:51:00
2020-04-06T13:51:00
253,034,405
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
''' 练习:创建变量表示用户的积分,如果达到了10000分,输出"黑金用户"; 否则如果达到了5000分,输出"黄金用户"; 否则如果达到1000分,输出"白银用户"; 否则输出"普通用户" ''' #score = 30000 #score = 8000 #score = 2000 score = 200 if(score>=10000): print('黑金用户') elif(score>=5000): print('黄金用户') elif(score>=1000): print('白银用户') else: print('普通用户') print('程序运行结束')
[ "1527296894@qq.com" ]
1527296894@qq.com
c5afaa2e84fa29e5ab2ebdf6d8bad5d14b00c86e
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_Quantization/trend_ConstantTrend/cycle_12/ar_/test_artificial_1024_Quantization_ConstantTrend_12__0.py
8099a2bf0f032e0aa56a37bec74624f179bb330f
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
272
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "ConstantTrend", cycle_length = 12, transform = "Quantization", sigma = 0.0, exog_count = 0, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
4212c96c2d4a54c3fea87291044f58585ec4539f
394f29f04a8d786e9e92ecff6a71613a8b68aac1
/My_Blog_Project/urls.py
d0329d0ef6fb2fd6d7e509c3b4e6eeec964d448d
[]
no_license
hasnatul/CSE327_Project
f65f309460b2461327df964512b66d846b7dc25a
37f37ce5713c6189e625b8e181d4facee8ef9418
refs/heads/master
2022-12-24T10:08:27.961902
2020-09-27T11:21:17
2020-09-27T11:21:17
299,011,592
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
from django.contrib import admin from django.urls import path, include from . import views from django.conf import settings from django.contrib.staticfiles.urls import static, staticfiles_urlpatterns urlpatterns = [ path('admin/', admin.site.urls), path('account/', include('App_Login.urls')), pa...
[ "noreply@github.com" ]
hasnatul.noreply@github.com
db6ce37579d5c07f61e8b4a4197f106ecf688cc5
2293c76c3d18e2fcd44ded90bd40113d26285663
/pyeccodes/defs/mars/grib_efhs_cd_def.py
7454080db49fb1b562273035d3aeca6265c63663
[ "Apache-2.0" ]
permissive
ecmwf/pyeccodes
b1f121dbddf68d176a03805ed5144ba0b37ac211
dce2c72d3adcc0cb801731366be53327ce13a00b
refs/heads/master
2022-04-23T10:37:40.524078
2020-04-18T06:30:29
2020-04-18T06:30:29
255,554,540
9
3
null
null
null
null
UTF-8
Python
false
false
127
py
import pyeccodes.accessors as _ def load(h): h.alias('mars.step', 'stepRange') h.alias('mars.quantile', 'quantile')
[ "baudouin.raoult@ecmwf.int" ]
baudouin.raoult@ecmwf.int
6562c268a31325ccceab788846c67be462dab3ae
5c12ab4630086e389354277bb1716b82468be42e
/mrunal.py
882dd98cfe9f389c6d1c47c30d11ce6dcbdc7126
[]
no_license
mrunal736/msj-leetcodeprblms
743d76f491cb3f749abbd1f3fabd7f13c5b81671
4c70dade61ddb760b531ac80918dbc65cbaaddd1
refs/heads/main
2023-06-20T21:46:07.322995
2021-07-16T14:44:19
2021-07-16T14:44:19
386,318,967
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
print("I am Mrunal Jambenal,A first year computer Engineering student")
[ "noreply@github.com" ]
mrunal736.noreply@github.com
973972be69150ba2670e4c6c04896666b021944f
0052545f09c81b8d6720163213653260829b15bd
/algo/music_processor.py
7234dfe69a1fa506046cdf6ae451455354a3b7e2
[]
no_license
mashaka/AIBarney
76f4cc574e24c5e77c86209ca413490a00480beb
609986096b22cf774ef714fba184614f5bbc88f6
refs/heads/master
2021-01-20T06:38:16.177022
2017-10-22T17:56:50
2017-10-22T17:56:50
83,876,419
4
1
null
null
null
null
UTF-8
Python
false
false
9,334
py
from typing import List, Dict from .intersection import Intersection from .tip import Tip import random from datetime import datetime from .content import Content, ContentType from enum import Enum, unique from .tools import UpdateType def performerTipString(data, tipBegin, tipEnd): performerName = data["name"] ...
[ "aleksejzuravlev@MacBook-Aleksej.local" ]
aleksejzuravlev@MacBook-Aleksej.local
3b8f140a37c4d7ec791530c2bab613446afc7ba6
8015f1c62a2cb4efd21aa8938336913bf8117868
/bamap/ba2004.pngMap.py
606da98a32c0cbc92bb93493e35a6e3aab1839af
[]
no_license
GamerNoTitle/Beepers-and-OLED
675b5e3c179df0f0e27b42bf594c43860d03b9af
afe1340e5394ae96bda5f9022a8a66824368091e
refs/heads/master
2020-04-20T00:09:47.122471
2019-04-29T04:59:35
2019-04-29T04:59:35
168,515,579
4
2
null
null
null
null
UTF-8
Python
false
false
8,468
py
ba2004.pngMap = [ '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111', '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111', '0000000000000000000000000000000000000...
[ "bili33@87ouo.top" ]
bili33@87ouo.top
1f9e41df4cb178c1b0df2de1f4cb5f9dca1668e6
df52201219c5ccc4a0a4cd31ca63ef4532e0bfad
/Chapter5/Practice 5-1.py
4cf68b972114027f0273a400fa88567bb7e1dee9
[]
no_license
Wiilz/Python-learning
7ac9ab2f3d1844505545a2b79d16324765cd23a4
aaeff2b04c7492463af43d9e921d7b1fd6e72cc1
refs/heads/master
2021-01-01T04:41:45.392318
2018-04-25T15:19:11
2018-04-25T15:19:11
97,226,143
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
surname = 'W' name = 'L Z' print "My name is",surname,name
[ "weiliangze@vip.qq.com" ]
weiliangze@vip.qq.com
a85dbcfc2e92bd6e5126aad546f04d9e46064802
ec65e4109a2c89021a5cfc9f016f582512f2ec47
/accounting/urls.py
82a3ea055ed5a3aa28e283bba4ff8d1c8a88a367
[]
no_license
numan98khan/django-school-management
c048067a814787c9d272745264891ecb5e6ee370
6e4b8013f7261f2694d013bda9999bb47cfe8b31
refs/heads/master
2022-05-01T01:29:45.294035
2020-01-10T11:01:02
2020-01-10T11:01:02
232,884,590
0
0
null
2022-04-22T22:59:01
2020-01-09T19:10:47
Python
UTF-8
Python
false
false
675
py
# Copyright (c) 2015-2019 Data King Ltd # See LICENSE file for license details from django.conf.urls import * from accounting.views import * app_name = 'accounting' urlpatterns = ( url( r'^account_chart/(?P<fy>\w+)/$', AccountChartView.as_view(), name='account_chart' ), url( ...
[ "numan98khan@gmail.com" ]
numan98khan@gmail.com
cd93efb9b02731868665558f6d1fdbf55006f759
d4f6ab598aa54195db8c9140d227be77d8ec343e
/mangle-infra-agent/Faults/ClockSkewFault.py
a7529c14df88dcf5cff32ec14d16bf770d040a57
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
James-libangjian/mangle
956a94f90dc2a3ff4e5d5b352e25a8c57acb5cfb
f5012f4cfecfd8c8a9248159bcfc9423bd632f5d
refs/heads/master
2023-08-21T13:26:36.776623
2021-09-20T05:43:10
2021-09-20T05:43:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,614
py
from Faults import InfraFault from Faults import FaultStatus from multiprocessing import Process import time import psutil import sys import subprocess import distro import datetime import logging log = logging.getLogger("python_agent") class ClockSkewFault(InfraFault.InfraFault): def __init__(...
[ "ashrimali@vmware.com" ]
ashrimali@vmware.com
ef229ec59ceb4d8d92a729d7f17f0871bdfee2d2
fb1e073983243a9eaa9529569b46d618f71b1187
/firstPython.py
d0bfe1e2aaf547f26f7701b4f07ec8bcfac7c853
[]
no_license
chanderbijlani/test_repo
4560f362f50490df9072ae14ecf78d4f7ef4a450
9ddfa01a70e4f0d910a24b5d73be1172fbf57f2e
refs/heads/master
2022-12-08T18:39:10.177625
2020-09-18T18:41:54
2020-09-18T18:41:54
296,657,304
0
0
null
2020-09-18T18:41:55
2020-09-18T15:17:19
Python
UTF-8
Python
false
false
50
py
## My First python code print("New Python File")
[ "noreply@github.com" ]
chanderbijlani.noreply@github.com
23fe9c349d2bea9ee5b6c6cb3a0e3e09e58d4c6c
643a8e5b1cd0b0ec69f3cb4b0f65075f1be17ec8
/cpu_usage.py
7d22472d8b12c3ea811a87b8b405c98a88641fc6
[]
no_license
itsayushisaxena/Python_Utilities
01b36d8fc4b8aed765a34f10f16eb1128691c5c7
58378157526d900b91759a18cfad8be9d13158c1
refs/heads/master
2022-06-12T23:07:41.434551
2020-05-06T20:05:48
2020-05-06T20:05:48
261,845,145
2
0
null
null
null
null
UTF-8
Python
false
false
931
py
##This code checks whether the CPU is under too much load or not import psutil #psutil (python system and process utilities) is a cross-platform #library for retrieving information on running processes and #system utilization (CPU, memory, disks, network, sensors) in Python. def check_cpu_usage(percent): #cpu_pe...
[ "noreply@github.com" ]
itsayushisaxena.noreply@github.com
08329b9459b84578dea46f87b58ec8643041c8b8
584f7b51d7cd529448e2fc0147557e26931ab17e
/test_UsePyFFTW.py
5b4eb17729decdd1676234fbf4fc635aba9dee8e
[ "BSD-3-Clause" ]
permissive
opticspy/lightpipes
8ca0d2221a1b893de5e51fec9061e90b9145f5f8
f4ffdedb3ab2f9b5ae5a9a8e37985d2a7f8bb2ef
refs/heads/master
2023-09-04T19:07:11.376631
2023-09-04T15:24:55
2023-09-04T15:24:55
80,127,706
191
55
BSD-3-Clause
2023-08-23T00:45:33
2017-01-26T15:39:28
Python
UTF-8
Python
false
false
460
py
#! /usr/bin/env python """ Script to test the new usePyFFTW option to compare pyFFTW and numpy FFT """ import time from LightPipes import * start_time = time.time() wavelength = 500*nm size = 25*mm N = 1000 F=Begin(size, wavelength, N) F=Fresnel(F, 100, usepyFFTW = True) print(F.field[23,33]) #Fresnel: (1.0795142552...
[ "fred511949@gmail.com" ]
fred511949@gmail.com
6267d7aa1c8e47d9c979f168d10dee757731de26
6a08edd0e30d12eb89e8de486e2d2d0dddff74d7
/run_experiments/general_utils/lightgbm_optimizer.py
07f654e8ef7d6c22e4eed79240bb1347e38b469c
[]
no_license
jrzaurin/tabulardl-benchmark
63b0fa2c046f9900a51b0223a884c475ac66b17f
ceb7b7f8bc90666b2d010fe570a77eb3ff2dde78
refs/heads/master
2023-05-29T11:29:30.371284
2021-06-12T16:32:20
2021-06-12T16:32:20
356,328,779
46
7
null
2021-06-10T16:44:51
2021-04-09T16:08:21
Python
UTF-8
Python
false
false
6,539
py
import warnings from typing import Any, Dict, Optional import lightgbm as lgb import pandas as pd from hyperopt import Trials, fmin, hp, space_eval, tpe from lightgbm import Dataset as lgbDataset from optuna.integration.lightgbm import LightGBMTunerCV from sklearn.metrics import log_loss, mean_squared_error warnings....
[ "jrzaurin@gmail.com" ]
jrzaurin@gmail.com
f4353e767fb70115d18ba97653112056174e70a5
6fecdc9fae6f7a7b89fa6101cc914557b929fcbe
/Part2/gaussian_blur3d_starter.py
ad2c3734ea1bfa0bb8c43a087d3325bbb8181e36
[]
no_license
zzhang115/CodeChallenge
bee60e666f5ed17a7a0372f7d44a479b5f460b0d
a6ca04095771f5fa0299a0e0169d8ed83e486f55
refs/heads/master
2020-03-17T02:31:07.025144
2018-05-14T08:45:46
2018-05-14T08:45:46
133,193,314
0
1
null
null
null
null
UTF-8
Python
false
false
4,026
py
import numpy as np import h5py volume = [] meta_data = {} config = {"sigma" : 5} input_3d = None blurred_img = None # load 3d volume from hdf5 file and stored in input_3d def load_3dvolume(volume_path): global input_3d hdf5_file = h5py.File(volume_path, "r") pixel_data_grp = hdf5_file["pixel_data"] in...
[ "zzhang115@dons.usfca.edu" ]
zzhang115@dons.usfca.edu
a97f9739f04df3ba4810633235975d3143dfb466
cad460552d69a075c6dc3595949dffdb251704a3
/proj3/web/tr_insform.cgi
c9a463ad2001708566b2f52170612066f5d61222
[]
no_license
andretavluis/Databases
6d5c4779e173b58f39ad7fd12fde2a5943687ad4
c29d06d1485994fd5f9329408b378b69b5f231f7
refs/heads/main
2023-04-27T22:13:14.039316
2021-05-18T16:53:24
2021-05-18T16:53:24
368,599,975
0
0
null
null
null
null
UTF-8
Python
false
false
2,954
cgi
#!/usr/bin/python3 import psycopg2 import login import cgi form = cgi.FieldStorage() print('Content-type:text/html\n\n') print('<html>') print('<head>') print('<title>Proj 3</title>') print('</head>') print('<body>') # The string has the {}, the variables inside format() will replace the {} print('<h3>Insert New Tran...
[ "noreply@github.com" ]
andretavluis.noreply@github.com
d543afbd88b02247daaffc3464471ccbfa5b366a
03969015ab882f4751dc0e91beeda1212babca48
/robot_code/Nimbus_ws/build/robotiq_85_gripper_actions/catkin_generated/pkg.develspace.context.pc.py
5deddba43de547be76a27e50e515649c31ddd7ff
[]
no_license
lnairGT/Thesis_code
f3ad57f4344691227dcd128a741eb9c0e937738e
6f5dbfc2510272f294a0e9bb4273beceeacbff2a
refs/heads/master
2023-03-17T21:43:56.320553
2020-09-26T16:05:31
2020-09-26T16:05:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
388
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 = "robotiq_85_gripper_actions" PROJECT_S...
[ "lnair3@gatech.edu" ]
lnair3@gatech.edu
7d08f5615033845920551fbd2d3e302e74b1b049
0db410b97489d2ede4b612a840b8f3cf529a8e16
/__init__.py
09ad418de8d45f030c6cddfaca804bae8906260c
[ "MIT" ]
permissive
Desaiakshata/CovidTracker
a7cb98831662ff044bf7b7e331e9d282aeab212e
5609b67b7c48abf308e12e8d29cb7cf49cb24866
refs/heads/main
2023-06-26T20:27:12.082643
2021-08-04T11:18:43
2021-08-04T11:18:43
392,657,086
0
0
null
null
null
null
UTF-8
Python
false
false
80
py
from flask import Flask app = Flask(__name__) from program import routes
[ "noreply@github.com" ]
Desaiakshata.noreply@github.com
3055fa47d34910711fc7807295779602a0cc3cce
47fcf268ac089915e5983ff028ea58966eb75605
/envs_repo/inception_pytorch/utils.py
4711897a2f409977f277e583a139096e978a21a8
[]
no_license
goldenair/CE-GAN
8e47bc09de3d0312d4b5528f35e0bbe6737218cd
ad8b1946fbf9c76eca7a3480bbb61d9f3121e224
refs/heads/master
2023-02-10T13:01:20.826060
2021-01-10T07:39:40
2021-01-10T07:39:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
52,120
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Utilities file This file contains utility functions for bookkeeping, logging, and data loading. Methods which directly affect training should either go in layers, the model, or train_fns.py. """ from __future__ import print_function import sys import os import numpy a...
[ "l316652494@gmail.com" ]
l316652494@gmail.com
4ba4638364b0e7648d4f4abc2d5e18a29c56e940
b487c6fe5ee7006ba986ed468198e3681088bd41
/Models/Working_Hours.py
861fcaf056bdd313dcdef09d090a9dd6be8abcee
[]
no_license
jimist/yelp_crawler
cc9afbe08acc8e2c8b03b7c3c0d6a1ce49b3331c
4146bb6d1fa61d2e050bbf9494fa4cc09a2011a1
refs/heads/master
2022-12-11T07:25:12.853150
2019-05-09T19:04:23
2019-05-09T19:04:23
155,228,908
0
0
null
2022-07-06T20:00:46
2018-10-29T14:47:29
Python
UTF-8
Python
false
false
595
py
from sqlalchemy import ( Column, ForeignKey, Numeric, Date, JSON, VARCHAR, BOOLEAN, ) from sqlalchemy.orm import relationship from sqlalchemy.dialects.mysql import TINYINT,MEDIUMINT,CHAR from Models.Model import Model class Working_Hours(Model): __tablename__ = 'working_hours' biz_...
[ "alirezaimn@yahoo.com" ]
alirezaimn@yahoo.com
6e1ba496f5643843456002b2c52d9e8df006f364
f83c4ec82a4e02e599198372cb7987629665319c
/classifier/run_lgbm_focalloss.py
c0220813c96455c66ca501b0d650df662112b9ea
[]
no_license
lxgend/Classification_Toolbox
32aa2e90d0f0a85e1c9487e9b167f1014ac4e743
7da4268f5b39865f8b12529d3e8589e752a2df79
refs/heads/master
2023-02-08T21:13:18.225932
2020-12-17T09:36:20
2020-12-17T09:36:20
259,933,031
0
0
null
null
null
null
UTF-8
Python
false
false
6,178
py
# coding=utf-8 import joblib import lightgbm as lgb import numpy as np from scipy.misc import derivative from sklearn.metrics import classification_report from classifier.nets.wv import MODEL_FILE from data_processor.data2example import clf_data_processors from data_processor.example2dataset_vec import load_and_cache_...
[ "lx3103@gmail.com" ]
lx3103@gmail.com
a5fed35d5376b69927501652f565200ad51ad79b
ba9fa9990fae4a8e2a51a87fbc6e87675788e458
/merc/checker/checker.py
b5427b646675bb3bff04a9762d835d992f3d1956
[]
no_license
n57uctf/yetictf-2021
34ef0c90c3e4a73b3a70996119c2069e7618063f
6def7043b0c40076aa86d86bfde533de2742e290
refs/heads/main
2023-04-10T23:51:40.890494
2021-04-21T04:17:29
2021-04-21T04:17:29
359,523,625
2
0
null
null
null
null
UTF-8
Python
false
false
3,947
py
#!/usr/bin/env python3 import sys import requests import re import math from bs4 import BeautifulSoup from merclib import * def check(host): chk = CheckMachine(host) login = rnd_username() passwd = rnd_password() chk.register_user(login,passwd) sess = chk.login_user(login,passwd) ...
[ "rudkovskiyalex@gmail.com" ]
rudkovskiyalex@gmail.com
e98867a3a197ebb29a8f23339ac78c503871d5d3
b4dfb1830d6ce53bc131b3fbc8fbc54c85c017f1
/vehicle/models/vehi_assessment.py
84c0a53e6d70b731bcf5743254894be9f8565745
[]
no_license
faizasaeed97/sales-module
843d41ded4d4cafc3e69618e2c86407be548ee9c
80c60daef01665651a25cfbd3117a354a2764068
refs/heads/master
2023-02-09T00:41:26.611256
2020-11-24T09:00:20
2020-11-24T09:00:20
325,536,230
0
0
null
null
null
null
UTF-8
Python
false
false
19,695
py
from odoo import api, fields, models, _, tools from odoo.osv import expression import base64 from odoo import modules from odoo.exceptions import AccessError, UserError, ValidationError from PIL import Image class vehicel_assessment(models.Model): _name = 'vehicle.assessment' selection_body = [ ('a...
[ "rao.kashif8787@gmail.com" ]
rao.kashif8787@gmail.com
c72ad5c70ed4a19f205806882e71fa796e64c8e9
b565bb62e123bf42644c9c72f86077238b02f2c1
/myproyect/bin/pip
69d69d0c94541a00587fc6cb6b510fa15e7a974e
[]
no_license
grupo0331/my-first-blog
6bb569aab4e338d31f5935a4708fc60793741c58
5b502bb34192bfd7afd2f467ef79a31b14d753a9
refs/heads/master
2020-05-30T07:48:59.206361
2019-06-03T14:42:39
2019-06-03T14:42:39
189,539,031
1
0
null
null
null
null
UTF-8
Python
false
false
240
#!/home/daw/proyecto/myproyect/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "grupo.0331@gmail.com" ]
grupo.0331@gmail.com
7bb0d72071327484001e9078ca7127159bd0f30b
8f441cd3f02c7ee7b83bbe0196235f9df6ecc30b
/input_validation/another_validation.py
90d8e1e5694ce662e09db0323cc222b199ba0e95
[]
no_license
dcoreyrasm/SoftwareDesign
33057ebd88872596b96dfa50f963bcde7190da52
58c729964fab108fd1aee364ac7c20f269b2fc30
refs/heads/master
2021-01-09T06:41:06.870660
2016-09-14T00:38:04
2016-09-14T00:38:04
66,110,002
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
#Program prompts user to enter an integer between 5 and 10 (inclusive) until #they do so correctly. number = input("Enter an integer between 5 and 10 (inclusive): ") while number >10 or number < 5: print "Invalid input!", number = input("Enter an integer between 5 and 10 (inclusive): ") print ("Thank-you!")
[ "dcorey.rasmussen@gmail.com" ]
dcorey.rasmussen@gmail.com
067a8fe4686266d56354a64f364a4c13e4adb852
a6da6e69b75cea41c90b6aa497896d379cfbac9c
/neural_nets/mnist/web/load.py
c03c357a9950cba2e88bbe111da7141b29242af2
[]
no_license
grozail/otto-eilert
ee898c285688b87158c41c3b596ebeaca1e74f70
bb36429faeda671d4e7e126ff1d73212813f6039
refs/heads/master
2021-08-27T22:33:20.762926
2017-12-04T13:33:00
2017-12-04T13:33:00
113,045,915
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
import numpy as np import keras.models from keras.models import model_from_json from scipy.misc import imread, imresize, imshow import tensorflow as tf def init(): json_file = open('model.json', 'r') loaded_model_json = json_file.read() json_file.close() loaded_model = model_from_json(loaded_model_jso...
[ "grozail@yandex.ru" ]
grozail@yandex.ru
8da6c731d5e0553722f2e56ef3a7a028a86cce95
4ca8df3a127e9b15cbfecea6505928741f685a63
/gongfei/month03/Django/onlybuy/OnlyBuy/goods/migrations/0002_goods_saller.py
d6b69407f107d03ed0eace38b76d59329ac825ea
[]
no_license
gongfei6644/gongfei
2beb082c56197bc23ca20a6927ff6c10d8beaa83
bfdd5e6a3a8d76ad1e43cf54df186b944cad29e4
refs/heads/master
2022-11-30T20:49:22.213040
2020-08-16T12:52:28
2020-08-16T12:52:28
286,283,597
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2019-06-19 14:35 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...
[ "1" ]
1
e0dd3a5fc83f8f2e2d1152ce7a6035039cec3e4e
33f4e2028c2defd6c85e3af7d2df37f93dea1620
/app/pages/migrations/0001_initial.py
9e5af3de8615df5eda1652f005b7096b07d6b422
[]
no_license
Alienka89/test_project
59bb4057c508b2e355712777c86484c481e0d846
8cae27149a5df76273bc7971dd2fc3e9fb4f7a9b
refs/heads/main
2023-02-26T14:53:22.849660
2021-02-07T23:12:17
2021-02-07T23:12:17
336,908,070
0
0
null
null
null
null
UTF-8
Python
false
false
5,185
py
# Generated by Django 3.1.6 on 2021-02-07 21:37 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Audio', fields=[ ...
[ "abulatova@dtln.ru" ]
abulatova@dtln.ru
8970935fc41f575ebe52741f5209d23c102e738e
648ff4244380cbd042116885c17e9cdd159f4d86
/SMRFF/utest.py
5da55559396351f95fa742e722c06d022f65f8b3
[]
no_license
sunatthegilddotcom/perovskite-solvents
3d9b9fc53d7a4c30dd55131c84a1493043c55367
c644ff1eb9c827a348eeeb94a253690066ab7c06
refs/heads/master
2021-05-31T14:20:57.073824
2016-06-01T21:12:26
2016-06-01T21:12:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
from merlin import * #utils.opt_opls('methacrolein', taboo_time=10) extra = { (19, 66): (47, 3, 46):(85.00, 120.00), (47, 47, 3, 46):(0.0, 14.0, 0.0, 0.0) } #torsion 46 47 47 46 0.000 0.0 1 14.000 180.0 2 0.000 0.0 3 for name in ['pbcl_p']: print utils.Molecule('cml/'+name, check_charges= False)...
[ "jminuse@gmail.com" ]
jminuse@gmail.com
056d8d16c6915c205d1ad27aa3394b8c877a91cb
d1b1c6ef92e1cd650c1479d0900d7f0ca599772d
/hello_django/hello/urls.py
ff27f829836724536d4386cfff89c4d835c02e31
[]
no_license
MaFengWoXiaoZi/django_learning
30005d5c88fe646d4c9ac9c0e98cc3dacef06b22
fae7c6e957aede7a160c115dd2867e5b430b7c62
refs/heads/master
2021-09-05T19:36:51.263932
2018-01-30T15:43:50
2018-01-30T15:43:50
115,636,602
0
0
null
null
null
null
UTF-8
Python
false
false
1,293
py
from django.core.urlresolvers import reverse """hello_django URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatter...
[ "mafengwoxiaozi@gmail.com" ]
mafengwoxiaozi@gmail.com
8368a60298be2826652c9b2392af1de2414977d0
36df29dbd2c79f41ee5e70a6b836303d0f0fe186
/day1-15/day01/temperature.py
682675e9cff305a0db4848e6ddfe9d9035042a27
[]
no_license
roohom/Program_100Days
abbe20d5df4444adadc937f23f1e402fce3a8273
3fd87da8b8edaaeb9349f68db0b9b3cd0db9f159
refs/heads/master
2021-01-13T18:06:52.899517
2020-08-30T15:37:07
2020-08-30T15:37:07
242,451,115
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/2/24 14:40 # @Author : Roohom # @Site : # @File : temperature.py # @Software: PyCharm """ 将华氏温度转化为摄氏温度 """ F = float(input("请输入华氏温度:")) C = (F - 32) / 1.8 print('%.2f华氏度 = %.1f摄氏度' % (F, C))
[ "roohom@qq.com" ]
roohom@qq.com
0812e2bcc293a9c03102a0f77050227c0e0f6292
d0be9a3ac7c4e3eb18fc3f466bbbc3f12e1299ec
/app/kube_settings/validators.py
54810d6c4cfc940b097048c5d6bb606e4b36467b
[ "MIT" ]
permissive
PlatformOfTrust/connector-dummy-with-tests
0c3f8e69058f80cdedd8f617d11bba623a93ca88
f7c7d2283be3b9e8a4d7ff348f7799330f6d7e6a
refs/heads/main
2023-05-09T07:12:35.378027
2021-06-07T11:55:58
2021-06-07T11:55:58
303,936,477
0
1
null
null
null
null
UTF-8
Python
false
false
375
py
from app.log import logger def check_pem_key(value: str): """Check if string is a valid PEM formatted key""" from Crypto.PublicKey import RSA # nosec we use PyCryptodome, not PyCrypto try: RSA.importKey(value) except Exception as exc: msg = "Failed to import PEM formatted key" ...
[ "noreply@github.com" ]
PlatformOfTrust.noreply@github.com
5dbeac0b41a5a9769e34bc790b7a36b13aa7a48c
1ea814382e6038b68c2978cf3c2e0410f1a90371
/DyldExtractor/Converter/LinkeditConverter.py
c01947447aa001ef615efff87c690e3abb70d9b2
[]
no_license
sohsatoh/DyldExtractor
94a9dd7da9601e24ca1e0e6909ef0584fedf3c8c
42b5cf65619e9d54999d9000d72b32ae4be68a2a
refs/heads/master
2023-02-19T23:01:14.557607
2020-12-12T16:57:17
2020-12-12T16:57:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,658
py
import struct import typing from DyldExtractor import MachO from DyldExtractor import Dyld from DyldExtractor import Uleb128 class LinkeditConverter(object): """Rebuilds the linkedit. The all the linkedit segments in the dyld are combined into one big linkedit segment that is shared by all images. This class reb...
[ "haow6449@gmail.com" ]
haow6449@gmail.com
b5330606886b1e17f9c48c5b8b435ce85f4c5b24
5974396434d3cbff785f696b80d27e6fc92c7ffd
/posts/urls.py
e75b65c76d911c104716de59e714a82cbd8fe3ec
[]
no_license
thevivekshukla/django-blog
66a5a8e319269e627da7840626b433c40e2faa42
f521e2e72789cb3cdd85d5b2ccab9c2bdd204f66
refs/heads/master
2021-01-01T16:24:39.907564
2017-09-11T09:44:54
2017-09-11T09:44:54
97,830,071
2
0
null
null
null
null
UTF-8
Python
false
false
577
py
from django.conf.urls import url from . import views app_name = 'posts' urlpatterns = [ url(r'^post/new/$', views.post_create, name='post_create'), url(r'^(?P<slug>[\w-]+)/$', views.post_detail, name='post_detail'), url(r'^$', views.post_list, name='post_list'), url(r'^(?P<slug>[\w-]+)/edit/$', view...
[ "viv3kshukla@gmail.com" ]
viv3kshukla@gmail.com
5e1999c89045efcad19540cd757f6d1fdfc21ab2
80da32b5ff1006f572920839a884edbdc7848902
/web/main/urls.py
e5ab3f774606d5a834fbb28352548e67ddf82751
[]
no_license
SilinAlexander/Shop2
1f09c58d1463ef195df37418c267f2e3b6c51172
98fe52e97b0b8231d62674a39985e940a263f342
refs/heads/master
2023-04-03T13:42:48.284467
2021-04-10T10:16:00
2021-04-10T10:16:00
345,267,486
0
1
null
null
null
null
UTF-8
Python
false
false
628
py
from django.contrib.auth.decorators import login_required from django.views.generic import RedirectView from django.contrib.auth.views import LogoutView from django.urls import path from . import views urlpatterns = [ # path('', login_required(RedirectView.as_view(pattern_name='admin:index'))), path('', views....
[ "asilin1997@mail.ru" ]
asilin1997@mail.ru
c002bc2b4eb785c4ce7ad08f53bfcf002e3a8920
cb0c6a71c47b78cf0511fafc8e31deafcd77dbf2
/pages 0-100/first_letter.py
c48501988f2a12bd130cf86dfb407a88ca4866b5
[]
no_license
kaismithereens/realpython
123ef939c1822508980ba8a042d5d1ed442c2e75
7c57efbe12a3eaa4e8245b72486a77fc2cf78c74
refs/heads/master
2021-04-27T08:50:01.159261
2018-11-03T10:30:40
2018-11-03T10:30:40
122,499,501
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
user_input = input("Tell me your password: ") first_letter = user_input[0].upper() print(first_letter)
[ "kai.nevermind@gmail.com" ]
kai.nevermind@gmail.com
d81e23a2907a7d07f2afa16bf3158c280073b0b7
26c744710944c807d75e14d321fcdb796dc723d8
/env/Lib/site-packages/dash_bootstrap_components/_components/Col.py
e74c8bd8e7c17c32464a721cb7d3d0fd0a852125
[]
no_license
12JoshiMukesh/ServiceNowDashboard
2aa0f7031021f43d3160bc048103d114c230dc5e
0685dcceb082c6a9b68255e95573b664d3fee343
refs/heads/master
2023-08-04T17:04:46.449153
2021-09-25T06:18:14
2021-09-25T06:18:14
408,410,106
1
2
null
null
null
null
UTF-8
Python
false
false
4,650
py
# AUTO GENERATED FILE - DO NOT EDIT from dash.development.base_component import Component, _explicitize_args class Col(Component): """A Col component. Component for creating Bootstrap columns to control the layout of your page. Use the width argument to specify width, or use the breakpoint arguments (xs, sm, md...
[ "MAILNDG@REDIFF.com" ]
MAILNDG@REDIFF.com
9e4a6f3e8b974eb720523b31486a9285b279b22f
c7219c4d42071b623782522c5620b7cccbf38747
/venv/Scripts/pip3-script.py
0c2f3987f3d8952c8783d6f27fc28f092f75bc6c
[]
no_license
hongli9388/auto-register
f62c8900e45ce18ad7c3759b72d9ef74b86b7493
7f0a21b60db14c4b8c72e924a17a1ecd943d4296
refs/heads/master
2022-12-16T17:06:22.058761
2019-01-18T06:31:50
2019-01-18T06:31:50
164,560,647
0
0
null
2022-12-08T01:32:44
2019-01-08T04:28:05
Python
UTF-8
Python
false
false
410
py
#!E:\pycharm_home\auto_test_register_api\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip3' __requires__ = 'pip==9.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]...
[ "hongli9388@163.com" ]
hongli9388@163.com
72e6050d6c33d356d46e738ec6c5040e26acc627
fea4df9f31e62d7fc1adf0a5ca08c017cce504c1
/site_experiences/admin.py
b85e9c2ffdea9f247944eba23d694ef359d65798
[]
no_license
tahericode/personal-site-with-django
47eec11c243d047ced7bb997913b53c902913b23
0f1a4fc7aa1489487fdae174b4b75c4ab037106d
refs/heads/main
2023-07-07T07:29:10.454706
2021-08-03T19:48:37
2021-08-03T19:48:37
392,434,831
1
0
null
null
null
null
UTF-8
Python
false
false
126
py
from django.contrib import admin # Register your models here. from .models import Experience admin.site.register(Experience)
[ "mrtcode2@gmail.com" ]
mrtcode2@gmail.com
ef1289616c727ba7825f172842386212c6a0bb58
447c7a2c057c02488f6ebf79caba738ab5472fa0
/Well Planned Code/well_planned/well_planned/urls.py
5e646cfd436dcaa621e623dee859cfab760cba9d
[]
no_license
Ashish-3001/Well-Planned
71fba1e4834a41eac198bdb9e815d64fd87e4cbc
be9158688f09e4e79d27cd3c22f21b045763e982
refs/heads/main
2023-07-17T03:44:53.137726
2021-09-02T06:57:57
2021-09-02T06:57:57
402,314,142
1
0
null
null
null
null
UTF-8
Python
false
false
1,189
py
"""well_planned URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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') Class-...
[ "cvnnashish@gmail.com" ]
cvnnashish@gmail.com
20163c0275e74a387eb1f8fc5d48e35d34d934c1
fcb0d7f9e92349a5b512e26f3318b29e04636889
/proyecto_colima/settings/memo.py
0e04eb2d550f1c892965f53720266e872ad21e49
[]
no_license
alexabyx/RESPALDO-COLIMA
fc9f06ce38d2590499b45c0f97b25f9661663bf3
62cbe9c2700ccf01b40bd8e134dfc9ccf951fde3
refs/heads/master
2021-01-19T17:12:03.260726
2015-03-09T03:12:35
2015-03-09T03:12:35
30,132,081
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
from .common import * DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'so_factory', 'USER': 'root', 'PASSWORD': '', 'HOST': 'localhost', 'PORT': '3306', 'OPTIONS': { 'init_command': 'SET storage_engine=INNODB', }, ...
[ "alexabyx@gmail.com" ]
alexabyx@gmail.com
e9bed052d8dc90762bbb0cc2031106059fedb6e3
dcd8a0a9ce04818487ba7d46a1ba07d18fb08b9f
/torch/quantization/_quantize_script.py
5d77785cc7742a543324d7df64ba47cd81852158
[ "BSD-3-Clause", "BSD-2-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
thomaswang525/pytorch
284efc782fdc333e24892ac10b4d8963f812bd0b
9e3605de98abb969124faff96e6e90e4f4014eb6
refs/heads/master
2021-05-18T08:30:09.190932
2020-03-30T02:46:19
2020-03-30T02:48:29
251,193,560
1
0
NOASSERTION
2020-03-30T03:38:57
2020-03-30T03:38:57
null
UTF-8
Python
false
false
4,668
py
from __future__ import absolute_import, division, print_function, unicode_literals import torch from .qconfig import QConfig from torch.jit._recursive import wrap_cpp_module class ConvPackedParams(torch.nn.Module): def __init__(self): super(ConvPackedParams, self).__init__() wq = torch._empty_affi...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
f3d66fab8fe7027335f3df1d85adf1ea5da47df9
78fc676ac58b534ef695096b871de84c37a8d5c7
/env/bin/pyrsa-keygen
264cc096b710486dad6d5fcd5cb49617537b49d7
[ "Apache-2.0" ]
permissive
Pinto18/raspi_gassistant
60604ebb96b1150b64a19fe5a8a38f802ed37597
73910133a0f7b26d0d73f66ba48b056fa43a14d8
refs/heads/master
2021-08-30T05:17:12.812347
2017-12-16T04:44:53
2017-12-16T04:44:53
112,860,574
0
0
null
null
null
null
UTF-8
Python
false
false
243
#!/home/pi/AIY-voice-kit-python/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from rsa.cli import keygen if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(keygen())
[ "pinto18.nd@gmail.com" ]
pinto18.nd@gmail.com
eb2afda534a4e5d491b7d7b16a23a8f16d664115
985fd329007bc781e05604e65b260d0faf8eaec5
/views.py
f3a0efcf2d0958806d023371cab355556098ad0f
[]
no_license
zdanozdan/mshop
e2c5d0c89e3ba89296e5f58a12cf16e08bb78751
1c7f3187870a5c86a07d7f46fa01b03165c621de
refs/heads/master
2021-03-12T20:07:36.954175
2012-10-26T14:21:23
2012-10-26T14:21:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,112
py
# This Python file uses the following encoding: utf-8 from django.shortcuts import render_to_response, get_object_or_404, redirect from django.template import RequestContext from django.utils.translation import ugettext as _ from django.conf import settings from django.contrib import messages from django.http import H...
[ "tomasz@mikran.pl" ]
tomasz@mikran.pl
3a16940ab2a40e617ed92c2249c39f81f6e348a5
b553e12ccd8d7d4653e8987688494e322602b146
/scripts/process/hotfixes/hotfixes.py
c5ad7d2ee221c15e40f05ba30bc00eb6616c2370
[ "MIT" ]
permissive
fossabot/forensicworkflows
2a7339bc9e97f18e8a4f432e7a534f5318e1e8dc
fca4bcf5363163e6fdd78763fa4aa208c1f72d1f
refs/heads/master
2022-04-14T21:36:26.770660
2020-04-13T15:24:58
2020-04-13T15:24:58
255,069,891
0
0
null
2020-04-12T11:41:41
2020-04-12T11:41:40
null
UTF-8
Python
false
false
5,301
py
#!/usr/bin/env python # Copyright (c) 2019 Siemens AG # # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to deal in # the Software without restriction, including without limitation the rights to # use, copy, modify, me...
[ "noreply@github.com" ]
fossabot.noreply@github.com
99871bec3457acd943707f85993b4ee2b8e01ff4
1b14bc0a6ea80ac0c1a3a6f8dbc7d461e607c2f5
/textma/sva/migrations/0003_auto_20160609_1521.py
de76563a2ef0b21203f6dad541ca58b98d12f74c
[]
no_license
elwan/django
9fe3afc9efe31d0a63bd810b1c4d74040834cb5a
dc8b0ecc8ef7da6f07c230707b29a65c9cc55e7a
refs/heads/master
2020-04-06T06:58:49.353845
2016-07-19T12:25:23
2016-07-19T12:25:23
38,568,581
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-06-09 15:21 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sva', '0002_auto_20160609_1518'), ] operations = [ migrations.AlterField( ...
[ "elwan7@gmail.com" ]
elwan7@gmail.com
690ddbacd49f54be38fe169b8cab0f1ee0eb2081
60766ab0ba3157d9eca0118bc3cfdb93011848c9
/code/insightface/arcface_torch/partial_fc.py
13c427a3e1eff684464b08664895e64931cbcbd9
[]
no_license
wujiekd/Face_recognition_cnn
d63cb8b953b78b3bdabdfeaf1b5471579e9b2fbc
229b18a8eea1bcc3362f050cb3af2bc92beeaae5
refs/heads/main
2023-07-15T21:51:20.734410
2021-09-04T06:09:45
2021-09-04T06:09:45
403,071,269
1
0
null
2021-09-04T14:02:34
2021-09-04T14:02:33
null
UTF-8
Python
false
false
9,615
py
# -*- coding: utf-8 -*- import logging import os import torch #import torch.distributed as dist from torch.nn import Module from torch.nn.functional import normalize, linear from torch.nn.parameter import Parameter class PartialFC(Module): """ Author: {Xiang An, Yang Xiao, XuHan Zhu} in DeepGlint, Partial...
[ "noreply@github.com" ]
wujiekd.noreply@github.com