blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
928f58c34772c2b4138712fdfcb79215f149fc96
7b4cbaa1e7bab897e34acba06f73ac17760d394a
/sdks/python/client/argo_workflows/model/persistent_volume_claim.py
ed5b44656127c9955f253ef33fcc1405c9aaf6b6
[ "Apache-2.0" ]
permissive
nHurD/argo
0fab7f56179c848ad8a77a9f8981cb62b4a71d09
f4a65b11a184f7429d0615a6fa65bc2cea4cc425
refs/heads/master
2023-01-13T04:39:54.793473
2022-12-18T04:48:37
2022-12-18T04:48:37
227,931,854
0
2
Apache-2.0
2019-12-13T22:24:19
2019-12-13T22:24:18
null
UTF-8
Python
false
false
13,755
py
""" Argo Workflows API Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ # noqa: E501 The version of the OpenAPI document: VERSION Generated by: https://openapi-g...
[ "noreply@github.com" ]
noreply@github.com
ef3a5db952481818bb6e7c6d4a2fe09a5b89a6c9
f7f2a9ed0d56a2d8a626f42444b60d28212c827a
/maml_rl/envs/laser/Laser/envs/reacher.py
28ddd1d8808c71175a5a17019d85e6b6544cac84
[ "MIT" ]
permissive
shawnmanuel000/pytorch-maml-rl
568b641cbf8dea94fa163230e28590ed77cb8b42
e040f011ce5551cac9f12c80572f126f88ff188d
refs/heads/master
2022-11-23T11:19:17.279928
2020-07-26T17:27:59
2020-07-26T17:27:59
282,566,143
0
0
null
2020-07-26T03:13:24
2020-07-26T03:13:23
null
UTF-8
Python
false
false
3,211
py
import re import copy import random import numpy as np from .base import MujocoEnv import xml.etree.ElementTree as ET class Reacher(MujocoEnv): def __init__(self): super().__init__('Reacher.xml', frame_skip=2) def init_task(self, root): option = root.find("option") option.set("gravity"...
[ "shawn@DN51s561.SUNet" ]
shawn@DN51s561.SUNet
a7cd2315cf74a1e14c921de851749ad44885f092
ccf7ca1e3eb8918426fd33b61855768a0a4e06ee
/app/apps/order_item/migrations/0004_auto_20201206_1747.py
7afc250f269ac9e8e762b1a98ab21d57fa280dc2
[ "MIT" ]
permissive
barisortac/mini-erp-docker
b4a77370d8cc10bc010756180a6c9a033276399e
f5c37c71384c76e029a26e89f4771a59ed02f925
refs/heads/master
2023-02-13T16:27:58.594952
2021-01-15T21:23:40
2021-01-15T21:23:40
322,933,618
1
0
null
null
null
null
UTF-8
Python
false
false
660
py
# Generated by Django 3.1.3 on 2020-12-06 14:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('order_item', '0003_auto_20201206_1707'), ] operations = [ migrations.AddField( model_name='orderitem', name='total_am...
[ "baris.ortac@hamurlabs.com" ]
baris.ortac@hamurlabs.com
11c49749e86f0d534753ff193be9ff0791d68364
0b159f8a12c7d4e624511b12109e5d6e569b7be1
/matrix_product.py
0c531c7e7f1a2d8f1d5a69359a57d56b13662c24
[]
no_license
Kuvaldis/StepicNeuralNetwork
1d007bc2d394348d6ceabaeccf04f4fb3c51227e
5fb4685486d35fe9196a19c34076f1a09854b2af
refs/heads/master
2016-08-12T19:01:15.692020
2016-05-08T13:53:34
2016-05-08T13:53:34
55,699,717
0
0
null
null
null
null
UTF-8
Python
false
false
544
py
import numpy as np x_shape = tuple(map(int, input().split())) # reads first line from input and maps it to int iterator, then converted into tuple. this is the size nxm X = np.fromiter(map(int, input().split()), np.int).reshape(x_shape) # reads second line and creates flatten array from iterator, then reshapes it t...
[ "kuvaldis1988@gmail.com" ]
kuvaldis1988@gmail.com
1cf3ae0a6ba180ced5b33a3c2ebba81e91fb0720
503c623c76a0ee1d3c72d47dd013a516f074ac8c
/App_Login/migrations/0001_initial.py
2eb2f96d36fc070b4094b26e5d323d6754d78462
[]
no_license
abbappii/My-Blog_Project
a0b73622d82b273cfd7d2b2630fb4602cc3f313f
0fecb9b71ac141771cf6ebc947acd11c4902852b
refs/heads/main
2023-03-16T00:26:33.855191
2021-03-03T09:27:02
2021-03-03T09:27:02
344,067,153
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
# Generated by Django 3.1.6 on 2021-02-16 08:35 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), ] ope...
[ "bappi142434@gmail.com" ]
bappi142434@gmail.com
3f217f46168d101b201473002d4ac69810cc1ce2
3df1c70b3deb923cc9089f53fd5be41cba1d9c4a
/test.py
6aa9f53d8a8aba050d8ccaac5dabd2a471c85eab
[]
no_license
gzm1997/add_christmas_hat
a8d2c800e1e8bd509aec257e24383fbeb8ae2b3d
e0a6befdc8be943aa6d872d5a56ef044029f06fe
refs/heads/master
2021-08-28T06:50:58.893334
2017-12-11T13:35:59
2017-12-11T13:35:59
113,862,956
1
1
null
null
null
null
UTF-8
Python
false
false
411
py
import numpy as np import cv2 s_cascade = cv2.CascadeClassifier('data/haarcascade_profileface.xml') img = cv2.imread('head5.jpg') gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) results = s_cascade.detectMultiScale(gray, 1.3, 5) print("r", results) for (x, y, w, h) in results: cv2.rectangle(img, (x, y), (x + w,...
[ "1617899539@qq.com" ]
1617899539@qq.com
5b9db0eb730220f5629ce6332d08817059389b44
f1e34dd513f55e18c9a2e8565c39950918f4e8fc
/django_playground/models.py
832a4ecee876708e914f5ae9dd5f8e1200809e33
[]
no_license
HondoOhnaka/django_playground
d9ed720ea6172545f4da2a6013e807e9454e86c0
caf0e3112935efb32a7524238b511a9908fd7027
refs/heads/master
2021-05-26T20:46:39.981724
2013-01-04T20:22:06
2013-01-04T20:22:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
708
py
from django.db import models from django.core.urlresolvers import reverse, reverse_lazy MY_CHOICES = ( ('FOO', 'foo'), ('BAR', 'bar'), ('BAZ', 'baz'), ) class Playground(models.Model): name = models.CharField(max_length=20) price = models.DecimalField(null=True, max_digits=5, decimal_places=2) description = mod...
[ "jim.munro@sendgrid.com" ]
jim.munro@sendgrid.com
256584a19b23c90cb6a68016a4812c2daa606738
60bb28bc36989b4332e35a32ff4c373fd3acd163
/lessons/function.py
cbf1147f342a8d7bd04957cfe2c5bacc62fe9e30
[]
no_license
shristi-unc/comp110-21f-workspace
78939b0d8fefa8b9b6be61ac9a0ada392fe862bf
7ec440cdad8a333bfec59ff9ae9a13bf7ddc2e2a
refs/heads/main
2023-07-21T00:21:27.118765
2021-09-10T01:45:41
2021-09-10T01:45:41
404,922,994
0
0
null
2021-09-10T01:45:49
2021-09-10T01:45:48
null
UTF-8
Python
false
false
182
py
def my_max(a: int, b: int) -> int: """Returns the greatest argument.""" if a >= b: return a return b x: int = 6 y: int = 5 + 2 z: int = my_max(x, y) print(z)
[ "ssharma@unc.edu" ]
ssharma@unc.edu
99f1d92efabf6b36037742d64efe5971305ca901
cfae8cc592c09c943efb171e2abdc7278c518216
/bib/source/dblp-parse.py
9abe850c8de8f40ecba84005fa13c899cf744df6
[]
no_license
mattnmorgan/ECU-19-Redis
3d3879d4d3fc076c9e39e3d80394e032447aa451
63cab256d644e91e61119ae4b093efd06ac313af
refs/heads/master
2022-07-22T19:49:30.970750
2019-05-03T18:12:33
2019-05-03T18:12:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,107
py
""" File: dblp-parse.py Author: Matthew Morgan Date: 2 May 2019 Description: This file parses the DBLP file, filtering out groups of 10000 entries and parsing them into a bibtex format. """ import sys, os, re # records is a collection of all the records # skip is the number of meta-data lines to skip ...
[ "morganmat16@d25kg0yjdnmp.intra.ecu.edu" ]
morganmat16@d25kg0yjdnmp.intra.ecu.edu
238d95c0bfbc0c23adaa9fc2f97336faf8c29914
2544c3ba081d8e16a6f1a483b76915e9e51cccbe
/blog/admin.py
37d7a1eee9c154d891cfcfdcb57b9a035817477d
[]
no_license
kingleoric2010/Blog_project
beb7c4375d92c2166f130b3ce09b266cc90d2690
1d84856633da46c9b2a52437c080189c6941e57a
refs/heads/master
2021-05-08T00:02:59.535840
2016-08-01T22:26:30
2016-08-01T22:26:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
983
py
# -*- coding:utf-8 -*- from django.contrib import admin from models import * # Register your models here. class ArticleAdmin(admin.ModelAdmin): list_display = ('title', 'desc', 'click_count',) list_display_links = ('title', 'desc', ) list_editable = ('click_count',) fieldsets = ( (None, { ...
[ "“luuuuqi@163.comgit config --global user.name “cenyu00" ]
“luuuuqi@163.comgit config --global user.name “cenyu00
8680b4918578c16766d9dc72be2fd9a01d9c7ee9
cfbfdc61295322af13eb760ee4ebc60a3420eb7b
/InputAndOutput/shelveExample.py
f481ea64f0776d94ca9facf30591626471aba80a
[]
no_license
joshuagato/learning-python
eba8974d5cb41c1f3b641eae3a9770169a1a9839
19669dd09fd17ecfbb20059f4d3b5d2e62f5a8f2
refs/heads/master
2021-05-20T11:35:02.973848
2020-04-13T06:52:25
2020-04-13T06:52:25
252,277,879
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
import shelve with shelve.open('ShelfTest') as fruit: fruit['orange'] = "a sweet, citrus fruit" fruit['apple'] = "good for making soda" fruit['lemon'] = "sour yellow citrus fruit" fruit['grape'] = "a small, sweet fruit growing in bunches" fruit['lime'] = "a sour, green citrus fruit" print(frui...
[ "joshuagatogato37@gmail.com" ]
joshuagatogato37@gmail.com
0c32284d1a23f3a1a9d753a4db5bfa2e17be9d3d
ed73ee4cddb06dc9a545abf5a1c8deea3ce2f58f
/5-face-recognition.py
976c29fb6fd633f9a98f052433408cd4815f9aa3
[]
no_license
gerafko/Face-Regonation-OpenCV-python36-
bfa98069cfe17947afe4696c26be37f15d2b2636
2b739d7817f3521cbf96d13b0567e5b22e7b1d9a
refs/heads/master
2021-01-24T08:22:06.654721
2018-02-26T14:22:50
2018-02-26T14:22:50
122,978,939
0
0
null
null
null
null
UTF-8
Python
false
false
7,832
py
#!/usr/bin/env python # Software License Agreement (BSD License) # # Copyright (c) 2012, Philipp Wagner <bytefish[at]gmx[dot]de>. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistrib...
[ "goryu-anton@ya.ru" ]
goryu-anton@ya.ru
24cc400d27586e265618100bac0ae076245ebbd0
d80d3adc3fd0fcaa2f818f2754f8bb68bc98650f
/fetus_to_mother.py
15810e46fb0ee84cc8dcae033859519bff33f003
[]
no_license
harel-coffee/fragilex-checker
42fd78b90e7fa05d1c35756d42c3ebc88ab5ec7f
2f7c9c505c4047f4f279e18a61900c530c1e7bad
refs/heads/main
2023-07-28T09:36:13.300227
2021-09-10T11:07:12
2021-09-10T11:07:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,108
py
module load python/miniconda3-4.5.12-pytorch /share/apps/python/miniconda3-4.5.12-pytorch/bin/python MIN_LENGTH = 140 MIN_AVERAGE_PHRED = 20 #(up to 37) MIN_MAPPING_QUAL = 20 #(up to 60, pysam recommends 50) EDGE_NUC_NUM = 6 #recommended 3-10 DIFF_NUC_ALLOWED = 1 #always less then EDGE_NUC_NUM import pysam samf...
[ "59049322+Arik-coffee@users.noreply.github.com" ]
59049322+Arik-coffee@users.noreply.github.com
c6870f0f392d973959a4e8236a2aadf2507635ad
eebb210f13d452822d46432643215a4c8b656906
/bsl_21716/settings.py
f2b659a27d63e57f748807a78ce2ab48d20a787c
[]
no_license
crowdbotics-apps/bsl-21716
5e817b94f0a692469a986f3955cbaf1e813102c9
3e4cb348cdd4f84c5b78c35bf5c4f4f37d58fdbb
refs/heads/master
2023-01-03T18:12:09.360592
2020-10-19T19:11:41
2020-10-19T19:11:41
305,488,134
0
0
null
null
null
null
UTF-8
Python
false
false
5,823
py
""" Django settings for bsl_21716 project. Generated by 'django-admin startproject' using Django 2.2.2. 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 ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
89bc553261509785779919691202bc8ff9d94257
5c69e63f3bb1286a79cb81ca70c969bccd65d740
/bocadillo/exceptions.py
e8cfd93892c17f615e36715a36c0bba654f5a71f
[ "MIT" ]
permissive
stjordanis/bocadillo
85dc5895966d3e2031df365db55e4def156e92aa
658cce55b196d60489530aaefde80b066cb8054b
refs/heads/master
2020-04-14T09:36:47.245246
2019-01-01T19:27:37
2019-01-01T19:27:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,196
py
from http import HTTPStatus from typing import Union, Any, List from starlette.websockets import WebSocketDisconnect as _WebSocketDisconnect WebSocketDisconnect = _WebSocketDisconnect class HTTPError(Exception): """Raised when an HTTP error occurs. You can raise this within a view or an error handler to in...
[ "florimond.manca@gmail.com" ]
florimond.manca@gmail.com
967cc3984e379c358d4879323b95f39ca6f0b86c
2416013b474fa2e34cb53eab35f8b43be9e97245
/PySuffixTree.py
8f77c1d58a54d4d2b07e42764a2a2c04cb025efd
[ "Apache-2.0" ]
permissive
bssrdf/PySuffixTree
196ed1cb9ddb5443befee63d2a91d9111a188a92
432c6aa98c842f9bfe73826efde7e77462bccf1d
refs/heads/master
2021-12-03T12:21:45.655196
2014-06-29T02:56:46
2014-06-29T02:56:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,657
py
""" Copyright 2014 Sam Clarke Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
[ "clarke.sam1@gmail.com" ]
clarke.sam1@gmail.com
aab761a34ab72f36dae08a23dc3656ce3ff5b2db
69f5f0e2717489c605b8f60ee56fd76e67c6ca2d
/python/examples/SwapMultipleReturns.py
b1d10b131dea10fc2ad4f2477c9f4c5b6d23a518
[ "Apache-2.0" ]
permissive
kmova/bootstrap
b95c774d558453a52c75d7f646f51fa3b8929357
f162e100fe9398e1e344dd224fdd75071674c24b
refs/heads/master
2021-12-08T02:57:01.850488
2021-12-03T13:45:21
2021-12-03T13:45:21
74,550,534
17
16
Apache-2.0
2021-07-09T17:31:03
2016-11-23T07:15:35
Shell
UTF-8
Python
false
false
191
py
import sys def swap ( a, b): return b, a if __name__ == "__main__": if len(sys.argv) < 3: print "Need atleast two arguements" sys.exit(1) print swap(sys.argv[1], sys.argv[2])
[ "kiran.mova@cloudbyte.com" ]
kiran.mova@cloudbyte.com
16df9dd074e96e634f0fd4a337b0b549b576ad0c
9eaca6376c8867e50da0b70fd262dc633a4191f8
/model_functions/DataPreprocess.py
815750f66984f67bcda07a5dfc308cff8f6d6e0b
[]
no_license
wangqi1919/LPEP2_code
b29ef59ebe3e0c87a923e6193f0f9cd5f1816cec
d9346af6c1e37332d4254f92b6bb2475f4284454
refs/heads/master
2020-05-31T13:00:45.000835
2019-06-04T23:41:29
2019-06-04T23:41:29
190,294,148
0
0
null
null
null
null
UTF-8
Python
false
false
2,903
py
import numpy as np from scipy import stats def take_log(y): y = y + 0.1 y = np.log(y) return y class Data: def __init__(self, data_path, splitting_method, response, conditional): self.data_path = data_path self.splitting_method = splitting_method self.response = response ...
[ "wangqi19@msu.edu" ]
wangqi19@msu.edu
69354a0bd822307b273f6b1b5fdfdcb3a5c10b88
16a5c9c9f0d7519a6808efc61b592b4b614102cf
/Python/16.py
3672e6b7b0f7551a670966ce8b46ac170ca86da6
[]
no_license
kevin851066/Leetcode
c1d86b2e028526231b80c6d4fb6d0be7ae8d39e5
885a9af8a7bee3c228c7ae4e295dca810bd91d01
refs/heads/main
2023-08-10T16:50:12.426440
2021-09-28T15:23:26
2021-09-28T15:23:26
336,277,469
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
class Solution: def threeSumClosest(self, nums, target): ''' :type: nums: List[int] :type: target: int :rtype: int ''' nums.sort() dis = float('inf') res = 0 for i in range(len(nums)-2): if i == 0 or nums[i] != nums[i-1]: ...
[ "kevin851066@gmail.com" ]
kevin851066@gmail.com
95755e9a1e0f833b83378e6bb2c2e32f27beba58
ae99d9bb5b51f7824f74b196e9b93748ac02a3cd
/ParserForRabotaCom/rabota_parser_loggin.py
e52a44fabaf343b98a76bf60192a9451c1e468ab
[]
no_license
Vika030718/LerningPython
4e62579f7220acec5ff3e518402e1548ce25d9f4
a93d1d4ef50f5ea20e47d32d0544655d0364bf39
refs/heads/master
2020-03-15T04:11:53.365706
2018-07-08T11:22:37
2018-07-08T11:22:37
131,959,708
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
import csv class Logger(object): @classmethod def log_reader(cls): with open('rabota_data.csv', 'r') as csv_file: csv_reader = csv.reader(csv_file) for line in csv_reader: print(line) @classmethod def log_cleaner(cls): with open('rabota_data....
[ "vika030718@gmail.com" ]
vika030718@gmail.com
846723238f8d5247b99f655d2a26cfc3593ec6eb
42d2dea48cba0dc6eb9ffcc40677783f18f97c01
/core/__init__.py
00b59d490afbf30ce6ae09cd31e2bdd0468cde26
[]
no_license
BreadBomb/FameGrame
0e32f6d919873c1453dc6c2efc9d6b239f2c5c84
2115f49fe44abeed60383825b3273c00252d5be3
refs/heads/master
2022-11-18T15:09:05.809544
2020-07-17T21:03:55
2020-07-17T21:03:55
280,434,336
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
from core.renderer import Renderer from core.application import Application from core.bootstrap import bootstrap_application
[ "jonah@wichtrup-li.de" ]
jonah@wichtrup-li.de
45ceb9ec67132ca6081f9b283ae0ee535f79bf15
9d488348a134800ca1a4d9f3105e826fcb669087
/scrape_mars.py
d426197a94a50b670ff04df14aed639d053a9a40
[]
no_license
nfarooqi92/web-scraping-challenge
b51e85c066a4d6914b9979bdba8a0d170f7f76e3
2923c664e92717499588690e35a661f202250bb1
refs/heads/main
2023-03-18T21:20:57.964019
2021-03-18T18:02:31
2021-03-18T18:02:31
349,142,300
0
0
null
null
null
null
UTF-8
Python
false
false
3,072
py
#!/usr/bin/env python # coding: utf-8 # In[5]: import requests import bs4 from webdriver_manager.chrome import ChromeDriverManager from bs4 import BeautifulSoup from splinter import Browser import pandas as pd import time # ## NASA Mars News # * Scrape the NASA Mars News Site and collect the **latest** News Titl...
[ "noreply@github.com" ]
noreply@github.com
63d0acc2591e05e070551f3ffbb2f7032f3f8bfa
dd0958767a5b16df3137288a1b67ba1db25c0a37
/airflow/dags/training.py
15e8c67f8b41812f8014c770a4d2d5d674e82b4c
[]
no_license
chinhang0104/-credit-risk-analysis-aks
c0adfe316f2fc3125782be3481417cb465cc6f48
d9f8c3e3513988f3fb0722d0b43fbb3fb6dcf6b6
refs/heads/master
2023-03-27T19:23:25.499402
2020-12-19T18:59:06
2020-12-19T18:59:06
352,958,027
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
from datetime import timedelta from airflow import DAG from airflow.operators.bash_operator import BashOperator from airflow.operators.dummy_operator import DummyOperator from airflow.utils.dates import days_ago args = { 'owner': 'airflow', } dag = DAG( dag_id='training', default_args=args, schedule_...
[ "kingychiu@gmail.com" ]
kingychiu@gmail.com
44c36be3d14151335716e257311f97e0760b11f5
3712a929d1124f514ea7af1ac0d4a1de03bb6773
/开班笔记/个人项目/weather/venv/Scripts/pip3.6-script.py
d64c53761d2ebf358b440b0154196e579055f766
[]
no_license
jiyabing/learning
abd82aa3fd37310b4a98b11ea802c5b0e37b7ad9
6059006b0f86aee9a74cfc116d2284eb44173f41
refs/heads/master
2020-04-02T20:47:33.025331
2018-10-26T05:46:10
2018-10-26T05:46:10
154,779,387
0
0
null
null
null
null
GB18030
Python
false
false
450
py
#!E:\学习文件\python学习资料\开班笔记\个人项目\weather\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.6' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.ar...
[ "yabing_ji@163.com" ]
yabing_ji@163.com
e8d41c9181c17d69226ce323936457aa4a6847e4
91bfbeacd0e5c0c6c807131dcce2c0424ec501b3
/rasanahal/stars/user_get_characters.py
84cd87015587245391fe75d82c8ac4c843969e4a
[]
no_license
Fermitech-Softworks/rasanahal-backend
a54bb709d5eaa259c5775a2b55cdf097401a78f5
b5526b611014e332c033a17cf5c4cc362c4c4afb
refs/heads/master
2022-10-01T22:46:22.217149
2020-06-08T18:25:30
2020-06-08T18:25:30
222,428,629
0
3
null
2020-05-10T00:31:15
2019-11-18T11:02:40
Python
UTF-8
Python
false
false
791
py
import royalnet.utils as ru import royalnet.constellation.api as rca import royalnet.constellation.api.apierrors as rcae from royalnet.backpack.tables import User from rasanahal.tables import Character class UserGetCharStar(rca.ApiStar): summary = "Method that returns all the characters of a certain user." de...
[ "lorenzo.balugani@gmail.com" ]
lorenzo.balugani@gmail.com
92c7c1d781c48f2d0f2eb4a87f4712597bfac026
398aa75f1698fd86702f25837b76dfc9bdbe2418
/examples/plain-win.py
e9183f6f1e22ceebfacb269dfffc51c5e07390e6
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
haddadabdelaziz/pysciter
b0e783f6946675680281526d5e2382e40781cab1
4567d8111c1583d8889e80720e50eee75ff85ff3
refs/heads/master
2020-03-22T18:08:41.296963
2018-07-04T19:35:22
2018-07-04T19:35:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,742
py
"""Sciter sample for Win32 API.""" # sciter import from sciter import sapi from sciter.scdef import * # ctypes import from ctypes import * from ctypes.wintypes import * # defs WS_EX_APPWINDOW = 0x40000 WS_OVERLAPPEDWINDOW = 0xcf0000 WS_CAPTION = 0xc00000 SW_SHOWNORMAL = 1 SW_SHOW = 5 CS_HREDRAW = 2 CS_VREDRAW = 1 ...
[ "ehysta@gmail.com" ]
ehysta@gmail.com
3b145a926f138b7e3c7654e62897c4923073adf6
6beecae61b6cf917ea4acd90f4064a13375d4457
/cob_roboskin_exp/script/lwa_script_server.py
734dd39996faa301f89d6339c874ffeabec4f1c8
[]
no_license
ipa-rmb-mo/cob_bringup_sandbox
f1d0fd1f4d5fa239be27380efdfd12566eb99ecc
da256f1ef78d0e3e985685dd17d7930c56360414
refs/heads/master
2020-05-29T11:57:54.578091
2016-11-07T01:51:38
2016-11-07T01:51:38
56,847,368
0
1
null
2016-04-22T10:24:06
2016-04-22T10:24:06
null
UTF-8
Python
false
false
2,454
py
#!/usr/bin/python import time import roslib roslib.load_manifest('cob_roboskin_test') import rospy from simple_script_server import script import tf from geometry_msgs.msg import * from kinematics_msgs.srv import * #this should be in manipulation_msgs #from cob_mmcontroller.msg import * class GraspScript(script)...
[ "nadia.hammoudeh-garcia@ipa.fraunhofer.de" ]
nadia.hammoudeh-garcia@ipa.fraunhofer.de
d29c8376fe707012ec1dc91d756bf033412ffdd8
6053bb25f87a01b55660d07acef8a67de76bd179
/src/py/flwr_example/quickstart_pytorch/server.py
da64cfaf683fa26ef166d746f57a7236707beeca
[ "Apache-2.0" ]
permissive
GaryYe/flower
87c352a38698062a5f55aee62a2dc47bff0f89f7
c47ad4532070f0ac2137a6191151fe39c59f103f
refs/heads/main
2023-04-30T12:09:47.519081
2021-05-24T17:04:37
2021-05-24T17:04:37
370,049,658
1
0
Apache-2.0
2021-05-23T12:39:58
2021-05-23T12:39:57
null
UTF-8
Python
false
false
775
py
# Copyright 2020 Adap GmbH. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "noreply@github.com" ]
noreply@github.com
f68bb0271e39fa7b40af4acddcc7e06351cc1a00
a28e8305a18fb0b513b1cbb75a8897bf9cd26a49
/catalog/migrations/0001_initial.py
41e0c9e45131aced00921c670742750c49b4f852
[]
no_license
mkarki1/Assignment2_deploying
414d17e45046217f8679bfe4160e60e5f2b15d0a
7cd38f5a53c1128c90b3582b4e87df3c3e28d740
refs/heads/main
2023-05-23T04:42:15.970670
2021-06-03T22:51:57
2021-06-03T22:51:57
373,661,053
0
1
null
null
null
null
UTF-8
Python
false
false
2,949
py
# Generated by Django 3.2.3 on 2021-05-28 23:37 from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Author', field...
[ "noreply@github.com" ]
noreply@github.com
78190f02bb4cf4d02a5972eb17fd30fd9c0d3bea
87b1736c19cd79903aaf7df9e8a7f52b0bbe355c
/lab6_outlab/p7/p7.py
2e8605962ae6378431a00764fa1be19a2423427a
[]
no_license
imagine5am/cs699-pm9
85029a0ab8e41f90038ab86caf0e8db0edb6bee1
0c28d479c688387f66575317bcadf667d8abb78a
refs/heads/main
2023-04-06T15:37:19.828890
2021-04-29T18:27:31
2021-04-29T18:27:31
362,910,668
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
if __name__ == '__main__': num_match = int(input()) matches = dict() players = dict() for i in range(num_match): match_line = input().split(':') match_name, player_scores = match_line[0], match_line[1] matches[match_name] = dict() for player_score in player_scores.split(','): player = player_score.s...
[ "ssood@cse.iitb.ac.in" ]
ssood@cse.iitb.ac.in
92e2ffb6e01ccf60d49d3427184289857918536d
20f951bd927e4e5cde8ef7781813fcf0d51cc3ea
/fossir/web/forms/util.py
1f03bb0a3347fb4b7c709e2715f01c827d7c8c71
[]
no_license
HodardCodeclub/SoftwareDevelopment
60a0fbab045cb1802925d4dd5012d5b030c272e0
6300f2fae830c0c2c73fe0afd9c684383bce63e5
refs/heads/master
2021-01-20T00:30:02.800383
2018-04-27T09:28:25
2018-04-27T09:28:25
101,277,325
0
2
null
null
null
null
UTF-8
Python
false
false
2,463
py
from __future__ import unicode_literals from collections import OrderedDict from copy import deepcopy from wtforms.fields.core import UnboundField def get_form_field_names(form_class): """Returns the list of field names of a WTForm :param form_class: A `Form` subclass """ unbound_fields = form_cl...
[ "hodardhazwinayo@gmail.com" ]
hodardhazwinayo@gmail.com
39c7a34748c1b3e7fb4a8f0b57485acabb6c4b65
e7efae2b83216d9621bd93390959d652de779c3d
/kyototycoon/tests/test_kyototycoon.py
b7e964c19cda690b27c0b54a0d45f7ae777a268f
[ "BSD-3-Clause", "MIT", "BSD-3-Clause-Modification", "Unlicense", "Apache-2.0", "LGPL-3.0-only", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "CC0-1.0" ]
permissive
DataDog/integrations-core
ee1886cc7655972b2791e6ab8a1c62ab35afdb47
406072e4294edff5b46b513f0cdf7c2c00fac9d2
refs/heads/master
2023-08-31T04:08:06.243593
2023-08-30T18:22:10
2023-08-30T18:22:10
47,203,045
852
1,548
BSD-3-Clause
2023-09-14T16:39:54
2015-12-01T16:41:45
Python
UTF-8
Python
false
false
1,657
py
# (C) Datadog, Inc. 2018-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) from copy import deepcopy import pytest from datadog_checks.kyototycoon import KyotoTycoonCheck from .common import DEFAULT_INSTANCE, TAGS GAUGES = list(KyotoTycoonCheck.GAUGES.values()) DB_GAUGES = li...
[ "noreply@github.com" ]
noreply@github.com
c425b9cf9d1956cd084ab9cc72fc011bac13d073
fd059414d6474f004d583b77d106196d0f13dfe2
/analyser.py
e6cd4984c0a8562f4bd2f88e2320c529ed578957
[]
no_license
parsekarnehal/pythonWorkshop
743171e4f95b10836f510a7755c1e5ce091cce49
60bb396e7b650bfd6d6171f4a9906b106087fbb4
refs/heads/master
2020-04-29T08:41:56.176518
2019-03-16T16:21:16
2019-03-16T16:21:16
169,849,686
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer analyser = SentimentIntensityAnalyzer() def scoreAnalyser(sentence): score = analyser.polarity_scores(sentence) print(score['compound']) scoreAnalyser("The movie was very good")
[ "parsekarnehal@gmail.com" ]
parsekarnehal@gmail.com
7174ff52ea33f34fd5f98c5cf397e907b859575a
61f6bc565cedebec5424f0c765b12bb6ce7cb63b
/printing_tweets_inCSV.py
667f4ee797d251a9f32d70113780598cfeb583c0
[]
no_license
Vikashpro/tweets_sentiments
4a86a5f1f150d893491238db6438d2d980981ad1
3c9b76ec8b386d5fba361ed0454c39d92d781c8e
refs/heads/master
2018-09-20T12:38:53.678035
2018-06-06T14:03:56
2018-06-06T14:03:56
136,315,730
0
0
null
null
null
null
UTF-8
Python
false
false
1,234
py
import tweepy from textblob import TextBlob import numpy as np import operator #step 1 : get authentication consumer_key = 'COMSUMER_KEY' consumer_secret = 'CONSUMER_SECRET' access_token = 'ACCESS_TOKEN' access_token_secret = 'ACCESS_TOKEN_SECRET' auth = tweepy.OAuthHandler(consumer_key,consumer_secret) auth.set_ac...
[ "vikprogrammer@gmail.com" ]
vikprogrammer@gmail.com
aaa4d43eedd631f95373b5c1e619128ca3d84716
0211ae622c2adedb637bd7da1a9678d98d8ae14a
/views.py
f8c81622466fc7d5a530780f794b03244321c719
[]
no_license
paramjit-tech/TextUtills
83a0489dda8d3588b0ce6267bee09fd1c04aa9b0
64c1b163369d1a69addd37388d6fa38b9ae6228a
refs/heads/master
2021-05-23T09:32:40.236845
2020-04-06T02:21:40
2020-04-06T02:21:40
253,222,846
0
0
null
null
null
null
UTF-8
Python
false
false
1,993
py
# I have created this file-Param from typing import Dict from django.http import HttpResponse from django.shortcuts import render def index(request): params = {'name':'paramjit', 'place':'Canada'} return render(request, 'index.html',params) def analyze(request): #get the text djtext= request.POST.g...
[ "ts2102102@gmail.com" ]
ts2102102@gmail.com
5af066017354ddfe77b49febe3569943670c638a
9faf3bd9b92f761ca5dc840a1b8fa237486e459b
/ros/src/robot_base/scripts/base/base_node.py
9d2ea65f31d873cf03281ad07ac41e676663a251
[]
no_license
lolwuz/IDP
abbc6686159eeef6a1ad139faf12bdc7cada7f4e
da276f8197f815aa398d65d2e9e516c4121f6d0b
refs/heads/master
2020-05-16T10:37:35.801795
2019-04-23T10:20:17
2019-04-23T10:20:17
182,990,013
0
0
null
null
null
null
UTF-8
Python
false
false
4,611
py
#!/usr/bin/env python import rospy import math from robot_controller.msg import MotorState, PwmState, SteerState, GoalPosition, Led, GripperState from robot_base.msg import BaseMsg from sensor_msgs.msg import JointState class BaseNode(object): def __init__(self, name, is_running, rate): """ Base node wit...
[ "martenhoekstra2@gmail.com" ]
martenhoekstra2@gmail.com
912647855a1b4890e7b9513bccec2b3a0971cbf6
95b1bfb8b1208de406c32c213913c046967d04ba
/evaluation/IAM-evaluation-sample/take_evaluation_sample.py
a1be3d92a345ef95be37e17d32381f536529b305
[]
no_license
Linguistics575/575_OCR
7755f58bbadd5f01e6d399b8bdcd6f6ab997d3a9
b3e8c3074e0bc8813189064cf7fca83b0b307e9c
refs/heads/master
2020-03-09T02:11:40.584585
2018-06-07T16:03:34
2018-06-07T16:03:34
128,534,525
0
1
null
null
null
null
UTF-8
Python
false
false
2,783
py
''' script to take a sample of 100 forms from the IAM database, stored locally. Takes the sample and copies the files. All paths are hard-coded. ''' import numpy as np import os from shutil import copy from sys import stderr def get_all_form_ids(form_file): ''' Return a list of all form_ids from the form_file...
[ "jbruno@uw.edu" ]
jbruno@uw.edu
fcd1dd7f9a39674fd518e6db3c7dda9b4f19be65
78ce9fd8a5e91e7c375739d834cb2488d3b9b2d3
/gravityinfraredco2sensor/__main__.py
d2acbb1b137bdd1fb77cc4222ddac38516ec6028
[ "MIT" ]
permissive
osoken/py-gravity-infrared-co2-sensor
2829c1dbd9b61cc23abfb01da0ba8555c40318c6
242885e16d2bb0c43d8abbb9807f9932c8209427
refs/heads/master
2020-06-04T13:24:01.665379
2019-06-15T05:54:20
2019-06-15T05:54:20
192,040,068
1
0
null
null
null
null
UTF-8
Python
false
false
258
py
# -*- coding: utf-8 -*- from argparse import ArgumentParser from . server import gen_app parser = ArgumentParser(description='run CO2 sensor server') args = parser.parse_args() app = gen_app() app.run(host=app.config['HOST'], port=app.config['PORT'])
[ "osoken.devel@outlook.jp" ]
osoken.devel@outlook.jp
09a83e46e47353b343109304cf6f67d42fd334f5
aeef6b4493c804d09e872346213f80caa6227c7e
/tf2caffe/utils/util.py
a3a9c2a5054be4466df2435c243df374683d1dcc
[]
no_license
manogna-s/TF_to_Caffe_conversion
906730b5c6d26d9c2cf63d06dd774a9dacd0c6ea
c801d133a9a0116e63c24feb4680ea202706bf7a
refs/heads/master
2023-05-30T09:41:24.993957
2020-03-14T19:13:02
2020-03-14T19:13:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,481
py
# Author: Bichen Wu (bichen@berkeley.edu) 08/25/2016 """Utility functions.""" import numpy as np import time #import tensorflow as tf def iou(box1, box2): """Compute the Intersection-Over-Union of two given boxes. Args: box1: array of 4 elements [cx, cy, width, height]. box2: same as above Returns: ...
[ "noreply@github.com" ]
noreply@github.com
1d71b7125d01aec9110239b478452b9f53a321c7
460f928904593ff770809cd977b7a20fb2c9c119
/Remove Duplicates.py
c8c81c184e0c78190d164d20c4e1da842bb4090e
[]
no_license
srilekha-peace/Strings
0d679d268d016bf6ea631840152a5d107bbad65a
d9c28b544dc7d85f844f32138e22c459a16bb2ff
refs/heads/master
2020-12-01T17:26:21.288003
2020-02-09T17:08:00
2020-02-09T17:08:00
230,710,752
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
def remove_duplicates(s, n): res = 0 for i in range(0, n): for j in range(0, i+1): if s[i] == s[j]: break if(j == i): s[res] = s[i] res += 1 return "".join(s[:res]) if __name__ == '__main__': str = "abacbdce" s = list(str) n ...
[ "noreply@github.com" ]
noreply@github.com
e84b95bb39988f554a01b1e8c3b68a406c186fe0
76b5c27b67ac195abeb817032527c2c80911e4b7
/peekalink/tests/models/test_link_preview.py
e112146bed078d6450edb5d90c4c373b7a6c7310
[ "MIT" ]
permissive
jozsefsallai/peekalink.py
e371ed0117f7b4e5525c4db5c357f9d4a797aea1
fcd3b5573557768ede9b0d96fe931572be7c468d
refs/heads/master
2023-06-10T07:35:22.899682
2021-06-27T14:57:46
2021-06-27T14:57:46
380,608,158
1
0
null
null
null
null
UTF-8
Python
false
false
3,136
py
import unittest from datetime import datetime from dateutil.tz import tzutc from peekalink.models.link_preview import LinkPreview from peekalink.models.helpers.image_asset import ImageAsset from peekalink.models.helpers.link_details import TwitterDetails, YouTubeDetails from peekalink.models.helpers.content_type impo...
[ "jozsef@sallai.me" ]
jozsef@sallai.me
c96e7a60b206a9a0ed2292d388e43a340c284cc5
5c2f520dde0cf8077facc0fcd9a92bc1a96d168b
/from_cpython/Lib/types.py
b8166edf94fcba78305f53822b17e69b61cb466e
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "Python-2.0" ]
permissive
nagyist/pyston
b613337a030ef21a3f03708febebe76cedf34c61
14ba2e6e6fb5c7316f66ccca86e6c6a836d96cab
refs/heads/master
2022-12-24T03:56:12.885732
2015-02-25T11:11:08
2015-02-25T11:28:13
31,314,596
0
0
NOASSERTION
2022-12-17T08:15:11
2015-02-25T13:24:41
Python
UTF-8
Python
false
false
2,342
py
"""Define names for all type symbols known in the standard interpreter. Types that are part of optional modules (e.g. array) are not listed. """ import sys # Iterators in Python aren't a matter of type but of protocol. A large # and changing number of builtin types implement *some* flavor of # iterator. Don't check...
[ "kmod@dropbox.com" ]
kmod@dropbox.com
24da27cc4ddcbf764296ab7823036015e6244e5c
97eb2aed00f42ada3df7ac63d240eb8073051fb8
/Analysis.py
9bfcccfc28bb7124f000211f7385454c35c83a41
[]
no_license
Ty-Stinson/Opioid_Crisis_Project
dabbcad61df65bc27d5e384c696cc9c976fc0a06
cff09970b95da096f88b2e723c31be6c306cccda
refs/heads/master
2022-02-16T18:49:52.929451
2019-08-21T20:51:59
2019-08-21T20:51:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,981
py
# Hussein, Ty, and Ongun # Age Groups (15 - 64) vs. Years (01 - 15) #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Import~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ import numpy as np import pandas as pd import matplotlib.pyplot as plt import scipy.interpolate as sc #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Data Table~~~~~~...
[ "noreply@github.com" ]
noreply@github.com
bf25c491d026c56c2680ee54c6c6da0ef243d622
1d96db84225301d972f07cad95c2a13f4fbafa84
/python/my_PyFeyn/testing/pyfeyn-test2.py
82ff7bcb08a3d9741dea8c1a1909d75c7af37668
[]
no_license
mattbellis/matts-work-environment
9eb9b25040dd8fb4a444819b01a80c2d5342b150
41988f3c310f497223445f16e2537e8d1a3f71bc
refs/heads/master
2023-08-23T09:02:37.193619
2023-08-09T05:36:32
2023-08-09T05:36:32
32,194,439
0
0
null
null
null
null
UTF-8
Python
false
false
826
py
#! /usr/bin/env python from pyfeyn.user import * fd = FeynDiagram() p1 = Point(2, -2) p2 = Point(-2, 2) p3 = Vertex(1.25, 1.25, mark=CIRCLE) p4 = p1.midpoint(p2) p5 = p4.midpoint(p1) p6 = p4.midpoint(p2) c1 = Circle(center=p1, radius=0.5, fill=[RED], points=[p1]) c2 = Circle(center=p2, radius=0.3, fill=[GREEN], poi...
[ "matthew.bellis@gmail.com" ]
matthew.bellis@gmail.com
08358000152a8399a848e04f23b01ebc3517344e
744cd757c3a97894dbe1e86573c950dc7ee6f12e
/posts/tests.py
96f8d159459f45caed875a4c1d3e96fe2f006eae
[]
no_license
Leopoldo-Flores/Message-Board
2b4cbc5143ef6bcde318ad35c90314a4686e4450
4ea0ac69da9ae7d9855e253990f15f2695c34cfb
refs/heads/main
2023-07-09T23:29:59.330359
2021-08-16T22:18:55
2021-08-16T22:18:55
396,993,453
0
0
null
null
null
null
UTF-8
Python
false
false
1,240
py
from django.test import TestCase from django.urls import reverse from .models import Post class PostModelTest(TestCase): def setUp(self): Post.objects.create(text="Just a test") def test_text_content(self): post = Post.objects.get(id=1) expected_object_name = f"{post.text}" ...
[ "leopoldoflores2002@gmail.com" ]
leopoldoflores2002@gmail.com
af984f8b92fa6d9f2f3f4f2529a36de9c3b048da
3ac9cc9f54b1d6c6d5e05317bb0b977f4c1b363d
/profab/main.py
811a78a9ea7a173bb25ab8d19309d19a26ddd8c8
[ "Apache-2.0", "BSL-1.0" ]
permissive
sittisak/profab
5f5a92d8da7a07af80727eee337993929931ba2a
ff3967397b31986c9396f70a44a565d85178e6a6
refs/heads/master
2020-04-05T14:05:47.613997
2016-11-22T02:50:12
2016-11-22T02:50:12
94,763,557
0
1
null
2017-08-21T09:09:46
2017-06-19T10:09:29
Python
UTF-8
Python
false
false
541
py
"""Helper functions for the entry point scripts. """ def process_arguments(*args): """Do the initial argument parse phase. This produces tuples of role instructions """ args = list(args) # Convert tuple to list args.reverse() # We really wanted head() here, but no matter... instructions = [] ...
[ "k@kirit.com" ]
k@kirit.com
7fc0c30c3be8ed6c6ac93d5c7a31ef363035a72f
8caeffc71aa7ad6d06267de82458102205e6a62d
/Step_14/15649.py
f3fe19385ac08d555eac9eae5a21f5c625835734
[]
no_license
eymin1259/Baekjoon_Python
c75b61cf6a83d8d3c4e6ab75e44dd8f8e431a99a
09f3fb1a664c926aa8b589aebf88faf054878d22
refs/heads/master
2023-07-18T17:48:48.280179
2021-09-24T02:37:51
2021-09-24T02:37:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
N, M = map(int, input().split()) selected = [False for _ in range(N+1)] selection = [] def dfs(cnt): if(cnt == M): print(*selection) return for i in range(1, N+1): if(selected[i]): continue selected[i] = True selection.append(i) dfs(cnt + 1) ...
[ "susan900000@gmail.com" ]
susan900000@gmail.com
49c62fa3d24304217c0bc06286f9eb152d473d28
68b2ac84025100a9cd44622eab8f1afe2c05ca14
/fleet_asset_project_mro_task_issue/fleet_asset_project_mro_task_issue.py
6b3b8eda96f3976548059da0d9228fa3f2c8ac9a
[]
no_license
stellaf/fleet_asset_project_mro_task_issue
863d0b28570a0db95fbe1d9fc3d870e0d16caaec
8be381c231a29af50d72c101c10f1827aaebfadb
refs/heads/master
2021-01-20T04:42:56.369229
2017-04-28T16:14:57
2017-04-28T16:14:57
89,719,229
0
1
null
null
null
null
UTF-8
Python
false
false
10,252
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Addon by CLEARCORP S.A. <http://clearcorp.co.cr> and AURIUM TECHNOLOGIES <http://auriumtechnologies.com> # # # This program is free software: you can redistr...
[ "noreply@github.com" ]
noreply@github.com
d758fcb94a1bd0ce5d642054a8d44bb749b2bcd6
793e94e5c530e54b4728fe75138c8ad22717ad21
/src/data_collect/data_collect.py
c7cda3b93aebcbbaa364e10982318025ac41dfaa
[]
no_license
currylien/mbed08new
382c164140288bd94f1eee140a60d509b6af2fb2
6a0b670798990193eecf66146fa97b20e8e5ffd1
refs/heads/master
2023-04-03T01:45:09.754149
2021-04-14T10:06:08
2021-04-14T10:06:08
357,840,319
0
0
null
null
null
null
UTF-8
Python
false
false
868
py
import serial import sys import time serdev = '/dev/ttyACM3' s = serial.Serial(serdev) data = [] data_new = [] while True: try: line = s.readline().decode() if '---start---' in line: print("---start---") data_new.clear() elif '---stop---' in line: print("---stop---") if len(data_...
[ "lianmelody102321@gmail.com" ]
lianmelody102321@gmail.com
201bd48c1a55e0576ab1353a135a62a1f411a968
395cddc0d991199b459f84e3589ffa9761217cb9
/Chapter 03/exercise-3-1.py
2320de67f8c4c49d5dc4fc2fef201029d065b22c
[]
no_license
tanakorn-dev/code-for-python-book
4aec0027d4693741abdb468dd6465f145a17cc7f
a06c05756c537dd46c22c3f4b9b576387cf0595b
refs/heads/master
2020-08-17T19:32:14.467199
2019-12-12T19:42:28
2019-12-12T19:42:28
215,703,271
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
# Assigning Values to Variables counter = 100 # An integer assignment miles = 1000.0 # A floating point name = "John" # A string print(counter) # Respond: 100 print(miles) # Respond: 1000.0 print(name) # Respond: John # Multiple Assignment Type 1 a = b = c = 1 print(a) # Re...
[ "tanakorn@eventpop.me" ]
tanakorn@eventpop.me
4bead64dcf7a59f2fb8ac1ad7ff3f597a268d9d1
180531c591e7a20da9d8c26d1e75c200917e4052
/COM/imageProc/QCT_ConvertToShort.py
f8590c96cf22e03e24d1dfedaf2939ec102dfe26
[]
no_license
jamesben6688/FemurSegmentation-MSKI2017
a8ffc78352c75ade3b0aa9d5ef22f939da27927f
90286d0ff990b8a68bf027b12ee2911a843d03b1
refs/heads/master
2021-06-22T02:46:29.520500
2017-07-11T16:06:50
2017-07-11T16:06:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,621
py
# History: # 2017.04.06 babesler Created # # Description: # Convert an image to short. This is needed for Elastix # # Notes: # - No range checking, because that seems like a pain # - Runs a connectivity filter over the image since MITK-GEM introduces weird # noise at the edge of images. # # Usage: # ...
[ "babesler@ucalgary.ca" ]
babesler@ucalgary.ca
fda6fd5ae09921326fb145dd50de3ff9024f26a4
8da47c5ce21009b56e71110ffeac836762a680bb
/aae/__init__.py
7be02ceac5de34816454d3db3d1ddcb886483931
[]
no_license
watsonjiang/nodetool
7272c505c6e590d8a922d2567fc09d71964b99b7
e2b180335d4289f1a25a2bc93f9be1c96df485c1
refs/heads/master
2016-09-05T10:11:44.842956
2014-03-19T06:38:02
2014-03-19T06:38:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
#!/usr/bin/python from treebuilder import TreeBuilder from treebuilder import tree_cmp from console import AaeConsoleFactory from filterlist import FilterList from config import Config from metadata import Metadata
[ "watson.jiang@gmail.com" ]
watson.jiang@gmail.com
cb933e18f1201ebaeebd417ad77557ec55ced8dd
2e7e3d3ebdf1c7d8cf62dcf0f48c4b83d31bbc21
/day02.py
0dd13bcb695ea9d919096aba1bed88555c0095ee
[]
no_license
jeremystephencobb/AdventOfCode_2019
e4dc265fd6b25756769fa521afa918472e0702d1
d1608136f1f6c380661545e2e8f837e9e7be872a
refs/heads/master
2020-09-28T04:38:35.352706
2019-12-08T05:54:59
2019-12-08T05:54:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
768
py
inp = open("inputs/day02.txt") arr = inp.read().split(",") def part1(noun, verb): codes = [int(a) for a in arr] codes[1] = noun codes[2] = verb for i in range(0,len(codes),4): opcode = codes[i] oper1 = codes[i+1] oper2 = codes[i+2] oper3 = codes[i+3] if opcode =...
[ "guitarman.dan29@gmail.com" ]
guitarman.dan29@gmail.com
641e1a92713a233f7a9a9ebadd2bacedb157a27b
21f200208146a92154d49ce04e9a76331a819d73
/utils.py
1ece16f8d4756282bfaf610cb8b0e42ebc4195d3
[ "MIT" ]
permissive
oguzserbetci/discrete-ehr
72737cb77ab896d9b9d235de9e4200a8cce73b3e
3bc873d56d00987ff11851276d43d254b20f57cf
refs/heads/main
2023-02-04T21:58:28.177190
2020-12-27T15:47:58
2020-12-29T22:57:38
324,794,852
4
0
null
null
null
null
UTF-8
Python
false
false
14,945
py
import csv import gzip import importlib import logging import math import os import sys from collections import defaultdict from glob import glob from os import makedirs from pathlib import Path from typing import Dict, List, Callable import matplotlib.pyplot as plt import numpy as np import pandas as pd import seabor...
[ "oguz.serbetci@gmail.com" ]
oguz.serbetci@gmail.com
1eb854a21b4d1c66f1bafe2b2b4809fe75cbfdbe
444a9480bce2035565332d4d4654244c0b5cd47b
/research/cv/tgcn/src/model/loss.py
df6f31eabe38cc43ea7ed62b3e9617852ab03f2a
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-proprietary-license" ]
permissive
mindspore-ai/models
7ede9c6454e77e995e674628204e1c6e76bd7b27
eab643f51336dbf7d711f02d27e6516e5affee59
refs/heads/master
2023-07-20T01:49:34.614616
2023-07-17T11:43:18
2023-07-17T11:43:18
417,393,380
301
92
Apache-2.0
2023-05-17T11:22:28
2021-10-15T06:38:37
Python
UTF-8
Python
false
false
1,186
py
# Copyright 2021 Huawei Technologies Co., Ltd # # 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...
[ "yinanf@foxmail.com" ]
yinanf@foxmail.com
f665b88702d4599076b1bb8085a8e8dfde5326c1
408698afe271cb013cccb558674d8e48a115a2db
/player.py
abee1dd0af45ab3efdc128f0f8fd4cf12e08b419
[]
no_license
Gleb-Vagin/survival
2465a5d5ed439c5809dcbbe0aeeae3d6a793e094
7aff1f9df21eb9e82fe31ea841b4baac2c456a50
refs/heads/master
2023-01-09T11:14:54.174840
2020-11-10T17:31:02
2020-11-10T17:31:02
288,446,223
0
1
null
null
null
null
UTF-8
Python
false
false
3,243
py
import pygame import settings import utilite PLAYER_STATE_STAND = 1 PLAYER_STATE_DOWN = 2 PLAYER_STATE_UP = 3 PLAYER_IMAGE_STAND = pygame.image.load(utilite.get_path('assets/player_stand.png')) PLAYER_IMAGE_DOWN = pygame.image.load(utilite.get_path('assets/player_down.png')) PLAYER_IMAGE_UP = pygame.image.l...
[ "vagingleb439@gmail.com" ]
vagingleb439@gmail.com
e9d18118dbebc168c5107c01343996c5c4b9cf41
3c8808ed813114b6e605d1b36822eb653b5e0bf2
/days/10/bestsellers.py
c607bf75c595c28bee043ed5871f033a71ba8366
[]
no_license
shaversj/100-days-of-code
ad5382ceb600dfbecac0301ddb1dbaff846f94f2
12ed32abaf7795cee2c4242e37e53584f191f2d7
refs/heads/master
2020-03-29T01:13:36.632380
2019-01-09T02:30:16
2019-01-09T02:30:16
149,377,806
1
0
null
null
null
null
UTF-8
Python
false
false
4,931
py
bestsellers_list = [] def main(): filename = input('Please enter the filename: ' "") read_data(filename) answer = 0 while answer != 'Q': print() answer = (input( 'What would you like to do? \n1: Look up year range \n2: Look up month/year \n3: Search for author \n4: Search ...
[ "shaversj@gmail.com" ]
shaversj@gmail.com
5c7ce8feb82bd96466bdcc23bd4a7765826cf693
d08d442320edeb36323cea858b88ce4b42813102
/usuario/urls.py
ebd1328864177c52da8f33067d3e6bbfbb367097
[]
no_license
boabner/treecePythonDjango
0177604fa63ddb7637a577802028bfa9cd770592
cb41b409b18ea4ff945fc9f03926e182bc3b162f
refs/heads/master
2022-12-12T08:14:01.752494
2020-09-09T05:02:59
2020-09-09T05:02:59
294,000,971
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
from django.conf import settings from django.conf.urls.static import static from django.urls import path from usuario.viewss import UsuarioDeleteView, RecuperarView, PostCreateView, PostUpdateView app_name = 'usuario' urlpatterns = [ path('usuarios/cadastrar/', PostCreateView.as_view(), name="cadastra_usuario")...
[ "boabner@gmail.com" ]
boabner@gmail.com
534a63d88de1f26d7ee6eba727a6b55f06405dad
2efd470ee359d547f475bae0c5b2546abc86208c
/Useful_annex_codes/Intersection_over_union/IOU_ratio.py
7290ba360a1b0500ca09613e86f8e81e3041875b
[ "MIT" ]
permissive
oceam/EasyMPE
109a9a3ec6ad7877989edb32be3fbc0a0c62a56d
b4c828aba4e82984b3e7fbc7e31165dbb885f85e
refs/heads/master
2021-06-17T10:07:39.430284
2019-12-25T10:22:34
2019-12-25T10:22:34
167,278,171
5
5
MIT
2021-02-08T17:02:13
2019-01-24T01:02:28
Python
UTF-8
Python
false
false
2,800
py
# -*- coding: utf-8 -*- """ Created on Sun Jan 6 09:03:21 2019 @author: leatr calculate the Intersection Over Union ratio based on specific inputs Text file must have 8 columns as: y_1, x_1, y_2, x_2, y_3, x_3, y_4, x_4 which can be obtained by running: - Get_IOU_coordinates.py over the Plot_origin...
[ "noreply@github.com" ]
noreply@github.com
12c6166544742411950cb2b3abd36c9d9dbe6081
794d9dfdc092264be377d611d81fea1531d75356
/src/TaskAndFlow/migrations/0012_custominfo.py
939844c5ac61e0b55520c44c3e1cb16fc205dd95
[]
no_license
56907dzq/11111111
ba86b41c59522bc4ede66351a2d41dd2384b90cc
bae27a13e973c057f0aa3f26d96a32dae01e766b
refs/heads/master
2020-09-23T13:41:44.820501
2017-12-29T04:00:59
2017-12-29T04:00:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('TaskAndFlow', '0011_unitproject_isdefault'), ] operations = [ migrations.CreateModel( name='CustomInfo', ...
[ "13865363107@163.com" ]
13865363107@163.com
bad546783b9b98f9247c0f019612677ae5645e1c
7146f78c9a72e1fbb9b4c33c06fe692cd1d0b7d0
/board/urls.py
c968b63e981573dcd6ea53a6f920dd207b6e0e5d
[]
no_license
kimhagyeong/LikeLion_GASILI_Project
031919c7aa64539149d1d96cbeaa79d7e33fcf87
791a18542cf9aee245ded1fa37123315d8b1f24f
refs/heads/master
2022-02-20T09:38:36.237129
2019-08-19T02:21:41
2019-08-19T02:21:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
from django.urls import path from . import views urlpatterns = [ path('new/',views.board_new, name="board_new"), path('create/',views.create, name="board_create"), path('test/<int:board_id>',views.test, name="test"), path('test/<int:board_id>/create/comment',views.createcomment, name="createcomment"), ...
[ "hong7511059@koreatech.ac.kr" ]
hong7511059@koreatech.ac.kr
f9b3093a80598c1ebdcda0c19e3f5fb6c3bdbe2c
37c5185268936be570e26f2c99f97c64c25dba30
/3_1_3/parse_qs.py
2b8dda0615102db9a5d00571dd3fa885650eecec
[]
no_license
JasonSam1996/Python3CrawlerDemo
7b19beb96b28691d9f386f383f63801dce2a3d23
7ad2c78e3e2ff9e804b99ef88d8ebbaf11fa3e97
refs/heads/master
2020-04-08T04:09:32.109601
2018-12-09T10:34:07
2018-12-09T10:34:07
159,005,281
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
from urllib.parse import parse_qs # 反序列化,返回字典 query = 'name=germey&age=22' print(parse_qs(query))
[ "json_sam@json-samdeiMac.local" ]
json_sam@json-samdeiMac.local
a7aee24e288378ec3f0696bd416597f7e660d0f0
47628df1cc45d9f04489c4a8061431f34bfd4184
/portfolio/settings.py
b7899977f99b97351a21d798dda397ac90edfed2
[]
no_license
mahesh190495/portfolio123
a2c053088ab624b761a934a7002c61445d1f2274
ae191c43105fd9bc55010d00a48233f8765e5d76
refs/heads/master
2023-04-30T07:09:58.231973
2020-01-03T08:29:23
2020-01-03T08:29:23
231,352,361
0
0
null
2023-04-21T20:44:31
2020-01-02T09:47:42
HTML
UTF-8
Python
false
false
3,486
py
""" Django settings for portfolio project. Generated by 'django-admin startproject' using Django 2.2.8. 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 ...
[ "“mp526613@gmail.com”" ]
“mp526613@gmail.com”
7892120a6d6a7156cc8d1cd0c3b45f581a21e5bc
b23d294fdffabe72c336644f119860f5ce704eef
/python_1000phone/语言基础-老师代码/day12-生成器和模块/day12-生成器和模块/game/image.py
fd2e2576d1f4c32bae8d829d16fda3308ee0debd
[]
no_license
ikaros274556330/my_code
65232758fd20820e9f4fa8cb5a6c91a1969862a2
92db21c4abcbd88b7bd77e78d9f660b4534b5071
refs/heads/master
2020-11-26T09:43:58.200990
2019-12-23T02:08:39
2019-12-23T02:08:39
229,032,315
1
0
null
null
null
null
UTF-8
Python
false
false
48
py
"""__author__=余婷""" print('image被执行')
[ "274556330@qq.com" ]
274556330@qq.com
cb9e5f6db6e0b3873a0632324314e9ab5a8908c9
d211d9f7635a301ee44f57b8a853c6b6271ab68f
/55/steam.py
e047d9bfecd7c39c82aa0464c34fde567ba63555
[]
no_license
kincerb/bitesofpy
77c8a01208e9928e2382c506abd1e2970bf8200e
401bf1bd66934baeee33a82825b140668dfaff56
refs/heads/master
2020-12-27T11:33:05.175158
2020-07-28T01:12:29
2020-07-28T01:12:29
237,887,760
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
from collections import namedtuple import feedparser # cached version to have predictable results for testing FEED_URL = "https://bites-data.s3.us-east-2.amazonaws.com/steam_gaming.xml" Game = namedtuple('Game', 'title link') def get_games(): """Parses Steam's RSS feed and returns a list of Game namedtuples"""...
[ "dev.bkincer@gmail.com" ]
dev.bkincer@gmail.com
1f3bac0bbd584f3c5e69e06a55233271cc44667a
0f0df335f4aa65f86e901fba4836e9b4c50e4a83
/phase3/lbevents/migrations/0001_initial.py
358fe8eaf973bdb612598dd8eba15209c42a41cb
[]
no_license
btezergil/Location-Based-Events
f781df16eb078879190ea31d23814aebf3b0d950
00a6d7d192867d6b4e537929339de98b30e88956
refs/heads/master
2021-09-10T07:48:26.307900
2018-03-22T10:56:19
2018-03-22T10:56:19
111,220,278
0
1
null
null
null
null
UTF-8
Python
false
false
1,498
py
# Generated by Django 2.0 on 2017-12-29 13:53 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Event', fields=[ ...
[ "ege.cikla@gmail.com" ]
ege.cikla@gmail.com
b00a21dd568d108fa15dddaabca63ca0aa04260b
56cf8e324d088d4ab5232c395a7e0ebaa2c621d6
/venv/bin/pasteurize
646874e5de9e9a6fae1cbc158a03f31518192138
[]
no_license
jussupov/sdukz_bot
18722671c8cb6ad78f21d62a329eb5759b15419b
42905995e3ff899ee19f957273d0381df80747b5
refs/heads/master
2020-07-09T01:21:36.417407
2019-10-20T03:21:33
2019-10-20T03:21:33
203,834,088
1
0
null
null
null
null
UTF-8
Python
false
false
420
#!/Users/jussupov/Desktop/work/sdu/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'future==0.17.1','console_scripts','pasteurize' __requires__ = 'future==0.17.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]...
[ "jus.kz09@gmail.com" ]
jus.kz09@gmail.com
752815958bfdfa5e32e199e674509154536a9079
8aab760584ec587f173ed19e00f4b73d4ce9ccdc
/common_util/DictUtil.py
91a6c96bf17482426a5bd27208fa8d87e74ae341
[]
no_license
chenhz2284/python_lib
4650a751e8de6514f31c7e23af31e6d4e299833e
f3b8c27ea14c5c7694716fdb42eeed22922f20c7
refs/heads/master
2021-01-10T13:36:50.607299
2015-11-04T09:17:56
2015-11-04T09:17:56
43,418,286
0
0
null
null
null
null
UTF-8
Python
false
false
2,931
py
# encoding: utf8 import types from common_util import TypesUtil import logging from collections import OrderedDict from operator import isMappingType import datetime from logging import Logger import threading def put(varDict, key, value): varDict[key] = value def get(varDict, key, defValue=None): if varDic...
[ "chenhongzhen@zhicloud.com" ]
chenhongzhen@zhicloud.com
1d292c1d3a6db92cbb96b393c1ac4d37ab18ce94
f192f8007e8ef49377333da89c3c7a33d6b7e5cb
/heroku.py
366ce97c7fdfce69b1c885114fbfc65f5130328e
[]
no_license
JumaKahiga/Send-IT-API
94315d9bebd72f4d6db5588bc99e8d6dbb3cca36
74918c594422b9d1e0e3d89d9c2e0149b8e5e342
refs/heads/develop
2022-12-17T00:30:14.918174
2019-02-06T16:38:15
2019-02-06T16:38:15
156,717,216
0
1
null
2022-05-25T00:44:52
2018-11-08T14:15:18
Python
UTF-8
Python
false
false
104
py
from app import create_app app = create_app(config='production') if __name__ == '__main__': app.run()
[ "kabirumwangi@gmail.com" ]
kabirumwangi@gmail.com
6b94e747755d5a2a25c566732d1a63a93bbab36f
f043a0935aac61b9d726668809505a19b93480a7
/bullet.py
9a0bbfded60eb0fcff43a95e9aba21a5aeef6911
[]
no_license
zhenggl/alien_invation
85f52ec7dd82dcab3adc7b009648b00faa205c67
877ff0a70fda9228963b83994a8be9a24c9237f5
refs/heads/master
2022-10-30T21:05:48.585248
2020-06-18T15:20:18
2020-06-18T15:20:18
271,929,982
0
0
null
null
null
null
UTF-8
Python
false
false
1,217
py
# _*_ coding:utf-8 _*_ # 开发团队: # 开发人员:Administrator # 开发时间:2020/6/106:21 # 文件名称:bullet # 开发工具:PyCharm import pygame from pygame.sprite import Sprite class Bullet(Sprite): """对飞船发射的子单管理的类""" def __init__(self, ai_settings, screen, ship): """在飞船所在处创建一个子弹""" super().__init__() self.scre...
[ "zhenggl_ing@163.com" ]
zhenggl_ing@163.com
24285adff16977ae58d4235dd26177b2aa1cd910
96c18f190e4850db3aaca45ce62e4b2aa30f4c5e
/landside/catkin_ws/src/gui/src/gui/camera_status_widget.py
0892c181921616a23eea9fece5810f52f60f6f16
[]
no_license
DukeRobotics/robosub-ros
085c878f7fe1a22401309cc3aa19c47141594685
e2fd7ab924d143bf6354806a104f49d982f32fb1
refs/heads/master
2023-08-10T14:32:10.684964
2023-07-31T00:35:50
2023-07-31T00:35:50
176,614,524
24
33
null
2023-09-14T00:00:35
2019-03-19T23:29:57
C++
UTF-8
Python
false
false
16,235
py
from datetime import datetime from enum import Enum from python_qt_binding import loadUi from python_qt_binding.QtWidgets import ( QWidget, QTableWidget, QHeaderView, QTableWidgetItem, QTabWidget, QDialog, QGridLayout, QMessageBox, QAbstractItemView, QLineEdit, QDialogButton...
[ "noreply@github.com" ]
noreply@github.com
2ca98c5399ca4e051f6ba3b6370573ba00678d56
ee3e0a69093e82deff1bddf607f6ce0dde372c48
/ndb769/개념/linked_list.py
96c6f60d40eb889dc16b88a18505851cfabdcac7
[]
no_license
cndqjacndqja/algorithm_python
202f9990ea367629aecdd14304201eb6fa2aa37e
843269cdf8fb9d4c215c92a97fc2d007a8f96699
refs/heads/master
2023-06-24T08:12:29.639424
2021-07-24T05:08:46
2021-07-24T05:08:46
255,552,956
0
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
class Node: def __init__(self, data): self.data = data self.next = None class LinkedList: def __init__(self, data): self.head = Node(data) def append(self, data): cur = self.head while cur.next is not None: cur = cur.next cur.next = Node(data) ...
[ "cndqjacndqja@gmail.com" ]
cndqjacndqja@gmail.com
a23f86e441d5f4f5da7915919e8b469c935713f3
4a3fa0a12e840a78a3a0e6a9e5791bf9b5d171cf
/KNN.py
31ceb81b182022ded07bfa81063a109d2dc04e00
[]
no_license
mylesdoolan/knn
1fb2baef475b5f04089ed69d4fe07c381880c20b
88ce319b2973d3dbb884d568289e4d81bd2f5f5a
refs/heads/master
2022-04-23T06:03:26.908906
2020-04-23T16:54:45
2020-04-23T16:54:45
257,062,569
0
0
null
null
null
null
UTF-8
Python
false
false
2,195
py
#K Nearest Neighbour import math import csv # C:\Users\Myles\Downloads\CFIR-dataset-2020.csv def main(): unchecked = [] checked = [] k = 3 #change print("Please supply the CSV file you wish to have KNN'd:\n") file = input() print("Opening: ", file) with open(file, 'r') as csvfile: ...
[ "mylesdoolan@gmail.com" ]
mylesdoolan@gmail.com
80d5e8488b998c3a964276ac08c88b9427f99959
342a719a93627a5fc79ba687c42e5d02ff5c5185
/SICOS/facturacion/migrations/0014_auto_20201002_1324.py
6fc61ebb3d9ea59bec97dd40d90d8b2e4f640f2a
[]
no_license
wilmerurango/sicos
bee82bac95c05af5c9479a74dad51defb0634e38
cac42d2a0c009697ca1c5bfd4531ea72c785a533
refs/heads/master
2023-04-11T12:07:08.427674
2021-04-11T16:46:45
2021-04-11T16:46:45
321,412,147
0
0
null
null
null
null
UTF-8
Python
false
false
1,039
py
# Generated by Django 3.1 on 2020-10-02 18:24 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('facturacion', '0013_auto_20201002_1321'), ] operations = [ migrations.AlterField( ...
[ "analista.costos@clinicadelrio.org" ]
analista.costos@clinicadelrio.org
e81831a09161f0c07cee9bea289671b167dea5db
1f235736e804be5a614bc492028081e9c169f976
/minions.py
503d13041e57e6bf9d4a21606df52a31efe02160
[ "Apache-2.0" ]
permissive
Diavolo/minions
9d781d2789b34a21d6761b29ba685a4d77ca81af
18fc278e46d5c06c3b0805979a7c5fd0db9b2d19
refs/heads/master
2021-09-25T01:46:16.234359
2021-09-11T03:27:13
2021-09-11T03:27:13
79,663,675
0
0
null
null
null
null
UTF-8
Python
false
false
3,373
py
#!/usr/bin/env python3 # # ██████╗ █████╗ ██╗ ██╗██████╗ ███╗ ██╗███████╗████████╗ # ██╔════╝ ██╔══██╗██║ ██║██╔══██╗ ████╗ ██║██╔════╝╚══██╔══╝ # ██║ ███╗███████║███████║██║ ██║ ██╔██╗ ██║█████╗ ██║ # ██║ ██║██╔══██║██╔══██║██║ ██║ ██║╚██╗██║██╔══╝ ██║ # ╚██████╔╝██║ ██║██║ ██║██████╔╝██...
[ "diavolo@gahd.net" ]
diavolo@gahd.net
cb663256f0b048e27918df956633071fb141407d
24c050e1c2053b7b5e240de14f4fb3f8bdb8f1b7
/algorithm/dPPOcC.py
a83b51c6a3403b5c69c74c71e4143552dc0246ac
[]
no_license
hybug/test_ppo
9d4d426888ebecd1763c97f85f6d716249125090
4c4db6924be47e1cca92a877feff379400e139eb
refs/heads/master
2023-02-05T06:35:43.108082
2020-12-16T03:28:14
2020-12-16T03:28:14
321,856,460
0
0
null
null
null
null
UTF-8
Python
false
false
650
py
# coding: utf-8 from collections import namedtuple from algorithm import dPPOc from module import mse PPOcCloss = namedtuple("PPOcCloss", ["p_loss", "v_loss"]) def dPPOcC(act, policy_logits, behavior_logits, advantage, policy_clip, vf, vf_target, value_clip, old_vf): a_loss = dPPOc(act=act, ...
[ "hanyu01@mail.jj.cn" ]
hanyu01@mail.jj.cn
eff87412bf6ca4715fe05272080cc15cbc15f11a
a9aa0bce4e45b8712ce77045d0ec52eb4014692f
/manage.py
b001c976f32b96704d291a9e4d06d4bf5c399154
[]
no_license
Aleleonel/BionicoBusiness
93431e94a750f86c86d99925952cfc7b7c8cdb6d
85326614f64235d8348aebac8e8b42a9e0764e18
refs/heads/master
2023-08-17T00:41:53.660157
2020-06-01T22:04:06
2020-06-01T22:04:06
268,640,058
0
0
null
2021-06-10T19:24:12
2020-06-01T21:49:19
Python
UTF-8
Python
false
false
627
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', 'bionico.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Import...
[ "aleleonel@gmail.com" ]
aleleonel@gmail.com
9b61853924eb18e6ee43387888b12daaf7b0dea5
0b0ca6853f351530384fcb9f3f9c91d4c034512b
/website/opensource/views.py
ba63fbd77e3145251be0ac3cead121e00526bdd4
[]
no_license
thanhleviet/syrusakbary.com
d767129c6b00c092816e3cb58f063d1b052f0df0
ca04f55462db72bb603bfc0453b9404b04ee6687
refs/heads/master
2021-01-18T09:30:31.278757
2012-07-22T20:32:12
2012-07-22T20:32:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
# Create your views here. #from django.http import HttpResponse #from coffin.template import add_to_builtins #add_to_builtins('jinja2-mediasync.media') #from coffin.shortcuts import render_to_response #from django.shortcuts import render_to_response #from django.template import add_to_builtins #add_to_builtins('media...
[ "me@syrusakbary.com" ]
me@syrusakbary.com
ab0546c97ea3957a9270775cbf4888ba4f60f9f7
f211198984faad9ee550f79cd6db727347b6ad94
/yolov3/proj_code/trainer.py
85c90d0522a77f74a80c19dcc7488ba571382a48
[]
no_license
Morris88826/yolo-depth-estimation
30fa484fc64d243e4ca36bf2565c07e160ae023e
d9f6f19317b3661fa0b03e3590e5fff1d75a5241
refs/heads/master
2022-09-20T11:10:59.118888
2020-06-03T17:31:47
2020-06-03T17:31:47
246,574,792
6
0
null
null
null
null
UTF-8
Python
false
false
1,586
py
import tensorflow as tf class Trainer(): def __init__(self, model, lr=1e-5, decay=0.9): self.model = model self.optimizer = tf.optimizers.RMSprop(learning_rate=lr, decay=0.01) self.lr = lr def train(self, X, y): with tf.GradientTape() as tape: _, y_predict...
[ "morris88826@gmail.com" ]
morris88826@gmail.com
7b095e3e066626392f53c9d6e431e87be22263e4
2a7fe1988b9a9aaf5e301637883319c43d38bcb9
/users/serializers.py
e18ccb36912540ec79d98c4ac36785882da3fc0c
[]
no_license
kenassash/django_rest_notes
65d799b32f520faef2dbd02fae2e05efa8535797
eab022e6e57aaa06918ee5ab80586c8a1a8894c3
refs/heads/master
2023-09-03T19:36:28.304504
2021-10-27T08:19:14
2021-10-27T08:19:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
from rest_framework.serializers import HyperlinkedModelSerializer # from .models import NoteUser from .models import User class UserModelSerializer(HyperlinkedModelSerializer): class Meta: # model = NoteUser # fields = ('username', 'firstname', 'lastname', 'email') # fields = '__all__' ...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
3998ac44feab7bf948caa2d13bff1d8ba307d16f
1b2f82c41677a73f8ad68536d56f9a68a99e54a7
/CryptoAttacks/tests/Block/cbc_oracles.py
ee8396ea5460ebbf112924f40b1c4daf64cd21cc
[ "MIT" ]
permissive
akbarszcz/CryptoAttacks
0cced001bf245bdc7c1ffeb4621797db54636ff6
ae675d016b314414a3dc9b23c7d8a32da4c62457
refs/heads/master
2020-09-13T03:11:23.414940
2019-11-19T08:32:27
2019-11-19T08:32:27
222,640,867
0
0
MIT
2019-11-19T07:59:34
2019-11-19T07:59:32
null
UTF-8
Python
false
false
1,883
py
#!/usr/bin/python from __future__ import print_function import sys from builtins import bytes # aes returns bytes or strings depending on python version from Crypto.Cipher import AES from CryptoAttacks.Utils import (add_padding, b2h, bytes, h2b, print_function, random_bytes, strip_p...
[ "e2.8a.95@gmail.com" ]
e2.8a.95@gmail.com
f2501ce2955e913fdc89e767db67ecad2564420a
925bdd2e81d678e5e428afb07e9cd77e1c7dca4f
/dalsil_pkg_basic/model/supplier_return/__init__.py
5b35f9dd35831b12520b9a7aaca2db95873bc48c
[]
no_license
Irawan123/dalsilsoft
78b607515d43753ed8bb9dfb6211eead129c19cc
1862560375b5dfd4d7f4fade7c4491bf7235b58e
refs/heads/master
2021-01-16T18:34:07.176625
2018-11-12T09:07:57
2018-11-12T09:07:57
100,094,412
0
1
null
null
null
null
UTF-8
Python
false
false
50
py
import supplier_return_line import supplier_return
[ "michaelputrawijaya@gmail.com" ]
michaelputrawijaya@gmail.com
156cee855fb4337b19f958444b0a101e766d89a5
cee0df2a184f3f99306193b9f34aba16889cc57c
/pvextractor/utils/wcs_utils.py
88cd249959d5af27eeb395dc415eeb0160e41646
[]
no_license
teuben/pvextractor
169f3317eb2d53013eb981fca18f69d17fa3a8b3
889c108a964d8130b1a17066890c7325b57daf4c
refs/heads/master
2021-01-14T13:16:48.485846
2014-04-18T23:29:17
2014-04-18T23:29:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,278
py
import numpy as np from astropy import units as u from astropy import wcs def get_pixel_scales(mywcs, assert_square=True): # borrowed from aplpy mywcs = mywcs.sub([wcs.WCSSUB_CELESTIAL]) cdelt = np.matrix(mywcs.wcs.get_cdelt()) pc = np.matrix(mywcs.wcs.get_pc()) scale = np.array(cdelt * pc) ...
[ "keflavich@gmail.com" ]
keflavich@gmail.com
3cea7cfc0e0c7f0ce28a2297adca573ec9a9e999
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/devtools/cloudbuild/v1/devtools-cloudbuild-v1-py/google/devtools/cloudbuild_v1/services/cloud_build/transports/base.py
36c52c54ceb1c9b4ddd4224c7b0ac3a69084ee44
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,757
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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 o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
3b8eff9089bde89425a026654008455602339787
eae717f81315d3902ba85eb4f799b3ab3f2a07a2
/AIPC/01_Searching_and_Sorting/01_Insertion_Sort/Python/insertion_sort.py
7fdd2d08d655123f64e2de260755b8408e91ab3a
[]
no_license
tejakummarikuntla/algo-ds
56af87c28925f02f3cac8b950771607cdebe9358
008164bff1ea01a2e1c85ab18ad3e4ae461fbe04
refs/heads/master
2020-06-18T20:42:52.697814
2020-04-21T18:10:45
2020-04-21T18:10:45
196,440,639
1
1
null
null
null
null
UTF-8
Python
false
false
351
py
def insertionSort(arr): for i in range(1, len(arr)): key = arr[i] j = i-1 while j >=0 and key < arr[j] : arr[j+1] = arr[j] j -= 1 arr[j+1] = key arr = [12, 11, 13, 5, 6] insertionSort(arr) print ("Sorted array is:") for i in range(len(arr...
[ "teja.kummarikuntla@gmail.com" ]
teja.kummarikuntla@gmail.com
91c7b020d129097e537fd56e7bb8fe53783057e1
fcb97f6a222644a062bcde5bbec928c5ff4c7072
/A2/src/lineADT.py
d8a852a76664f4812d7ea9bf257cd266d5e538db
[]
no_license
pollyyao/CS2ME3
4fae1b662267fe2989e7d3c5319441909b4cb5d4
024f03c83e0da1a429440e9d132eb66c25384c32
refs/heads/master
2020-03-20T21:41:09.635133
2018-06-18T13:21:10
2018-06-18T13:21:10
137,754,218
0
0
null
null
null
null
UTF-8
Python
false
false
1,440
py
## @file line.py # @title lineADT # @author Polly Yao # @date 2/19/2017 ## @brief This class represents a line # @details This class represents a point as p1 and p2 define two point of a line import math import pointADT ## @brief Constructor for LineT # @param p1 a point at the front of the line # @param p2 ...
[ "dreamingpuff_711@hotmail.com" ]
dreamingpuff_711@hotmail.com
e79b562e547ad917a43f9220f4fe08ced3997797
8ac272bf68c98de18ff6290ce213584dc29468de
/test.py
ee900ebd10de49c823d725f0e17d8d7ebf460d45
[]
no_license
SkironYong/-Offer
7c6ce8bba6bdfadfea27201f581e8024aea01776
37dcad819bb1fb711a644d61b019a5a1d09a9f84
refs/heads/master
2020-09-27T12:58:45.778926
2019-12-07T13:46:04
2019-12-07T13:46:04
226,522,035
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
list = [] file = open(r'C:\Users\HP\Desktop\output.txt','w+') with open(r'C:\Users\HP\Desktop\rpc_MasterProvisional2_2.out', 'r') as f: for line in f: ls = line.replace(',','\n').replace(' ','') list.append(ls) file.write(''.join(list))
[ "sxy@email.com" ]
sxy@email.com
21096abaca6cc57f72b3d2d60587a14a10cc9954
eea07c016236a95216ed7b7f2519f002beb69d9a
/K-Nearest Neighbours/k-nearest_neighbours.py
0f80fd1015961466d6beb9775287c507b0bfc1d2
[]
no_license
SayJayWay/Data-Science-Algorithms
7b44e18bf2a38b96b4240162658b88d93aacf50d
34e3ab35ed85297229679fc1fc4188bdf5f9876d
refs/heads/master
2020-06-03T15:47:19.525170
2020-03-17T20:46:13
2020-03-17T20:46:13
191,636,192
0
0
null
null
null
null
UTF-8
Python
false
false
1,496
py
from collections import Counter import numpy as np import math def raw_majority_vote(labels): votes = Counter(labels) winner,_ = votes.most_common(1) return winner def majority_vote(labels): """assumes labels are ordered from nearest to farthest""" vote_counts = Counter(labels) win...
[ "noreply@github.com" ]
noreply@github.com
3dd9e13d0dd32e098150e68b9ee292c05b615573
f1994887e5ec2845ed9cdda27629fba7b0a86067
/stk_prc.py
ef447e899367db827c7409077a1493c9ddbf1e4e
[]
no_license
ma-lijun/ISO100-Stock
6208b71bcb03091334e7fa4a8ac451504d5013d3
e76fabbdcb0aa4674e6a9b2fd2276c830c23bfe9
refs/heads/master
2020-03-31T12:47:29.407892
2016-11-15T06:52:35
2016-11-15T06:52:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,133
py
#Created on 2015/06/15, last modified on 2016/05/04 #By Teague Xiao #This script is aim to download the current price of a specific stock from SINA Stock #The info of each column is: stock number, stock name, opening price today, closing price today, current price, highest price today,lowest price today,don't know, do...
[ "xiaopeiqing@gmail.com" ]
xiaopeiqing@gmail.com
e4daeee18e6019172b6e6ca634c32a0f38eaad55
80e6bfc88c8c7118c6a9c08e7d20d8ae2ae5332d
/DataUtils/PrintAndPlot.py
ae1ffaa5c13b7502da37a570e12aebf35873129a
[]
no_license
CuberMessenger/MultiTask-US-AI-Model
48c72a67dd9e61e42cd733e379b2bb0352a91a1b
4b2e7c0e93d1a78f6490f70ad46d0847e81d9e30
refs/heads/main
2023-05-15T14:52:56.093338
2021-06-08T09:46:54
2021-06-08T09:46:54
374,961,127
1
0
null
null
null
null
UTF-8
Python
false
false
14,122
py
import os import csv import torch import numpy as np import matplotlib.pylab as plot import sys,inspect current_dir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) parent_dir = os.path.dirname(current_dir) sys.path.insert(0, parent_dir) from StatisticsUtils import CalculateAUC, Classificati...
[ "cuber_messenger@hotmail.com" ]
cuber_messenger@hotmail.com
6da64ddbe8b389fea336607a103d15766e44bd65
3dd58a087b59bdba102f2e6e95b3e200a9530c4c
/django_demo/mysite/polls/tests.py
7d7c15443ccc50f0a7b07c5f29af512cd9f3697e
[]
no_license
natepill/Server-Side-Architecture
b17926cf467083182e96257589dfdc7c3d5ea40e
4765136c5fe9d0eedc6b50a2bbbb0c9458170694
refs/heads/master
2022-12-11T03:41:46.296869
2019-06-24T19:53:15
2019-06-24T19:53:15
189,689,598
0
0
null
2022-12-08T01:22:18
2019-06-01T04:19:09
Python
UTF-8
Python
false
false
5,492
py
import datetime from django.test import TestCase from django.utils import timezone from django.urls import reverse from .models import Question, Choice, def create_question(question_text, days): """ Create a question with the given `question_text` and published the given number of `days` offset to now (ne...
[ "natepill@gmail.com" ]
natepill@gmail.com
1df7eadc27717cbe1e8b63f7988b4b0d50e0b417
ef96386bfcf2bce8b32badf2c05bc6ba43be6b26
/DB.py
0b2e425232377ed3ab7efb3bec52df4eb38012cc
[]
no_license
George-Abdelmessh/Cafe-system
59b24e265274bacb914114b0fedd060816e28ee6
61e4fe6c4e9e178676f7b272b4b08641613e5eeb
refs/heads/main
2023-06-19T09:31:57.163760
2021-07-14T23:51:34
2021-07-14T23:51:34
386,106,251
17
0
null
null
null
null
UTF-8
Python
false
false
2,913
py
if __name__ != '__main__' or __name__ == '__main__': import sqlite3 as sql DB = sql.connect('shop.db') cursor = DB.cursor() cursor.execute("CREATE TABLE IF NOT EXISTS products(ID integer PRIMARY KEY, name Text, price Real, category Text)") class Product: ID = 0 name = '' price = ...
[ "noreply@github.com" ]
noreply@github.com
de826dfae0fa88b16b9f28a90bfb267c18c844c7
ff2b4b972865ab82464d550934329117500d3195
/bfg9000/tools/mkdir_p.py
f12325a7350d79273dadc255603b865d4c34c859
[ "BSD-3-Clause" ]
permissive
juntalis/bfg9000
cd38a9194e6c08a4fbcf3be29f37c00bfa532588
594eb2aa7c259855e7658d69fe84acb6dad890fa
refs/heads/master
2021-08-08T21:35:33.896506
2017-11-11T08:47:57
2017-11-11T08:47:57
110,331,128
0
0
null
2017-11-11T08:46:05
2017-11-11T08:46:04
null
UTF-8
Python
false
false
396
py
from . import tool from .common import SimpleCommand @tool('mkdir_p') class MkdirP(SimpleCommand): def __init__(self, env): default = 'doppel -p' if env.platform.name == 'windows' else 'mkdir -p' SimpleCommand.__init__(self, env, name='mkdir_p', env_var='MKDIR_P', de...
[ "jporter@mozilla.com" ]
jporter@mozilla.com
e9324eef34fb658a2a2410163dc0d91ffe9b2fdd
d33e7882ea7152395253149ecceeee0884f6abc6
/KeyedCipher.py
4bd4ec0a6f989cb9fac1ffc2da44e9940e73a3ad
[]
no_license
meghna-2210/Ciphers
794cd9247515d51f0c9f6c74446a1029879f9379
d4fad54bd45f34ec4a3534408d5f8237e28ef743
refs/heads/main
2023-06-11T08:17:25.051546
2021-07-01T20:13:10
2021-07-01T20:13:10
382,145,436
0
0
null
null
null
null
UTF-8
Python
false
false
2,163
py
import string import secrets def convert_to_int(key): key = list(key) return [int(k) for k in key] def permuteGrid(grid, key): numRows, numCols = len(grid), len(grid[0]) gridPerm = [[''] * numCols for i in range(numRows)] for r in range(numRows): for idx, val in enumerate(key): ...
[ "noreply@github.com" ]
noreply@github.com
48f8756bb27e520f9b03a71ef2a2d39744eb78ca
3c8b2fca42bbc011a645d0df8b3983cdcee99e01
/Pi_Python_Code/face_recognition.py
c71553bf644a6d4411d8a343f92190bbd45bb38f
[ "MIT" ]
permissive
buvnswrn/Smart-Home-Manager
6edb3dfa802aca75ce61fc4eb29efbb714b6575b
aa94740f432bb968d00909e2af2a92c89c7c8546
refs/heads/master
2022-07-21T03:34:17.874933
2022-07-20T04:52:34
2022-07-20T04:52:34
101,571,333
2
1
NOASSERTION
2022-01-05T18:52:31
2017-08-27T18:15:28
JavaScript
UTF-8
Python
false
false
3,106
py
from picamera.array import PiRGBArray from picamera import PiCamera import time import cv2 import numpy as np import Id as findid import db def recognise(): facecascade = cv2.CascadeClassifier('Haar/haarcascade_frontalcatface.xml') eye = cv2.CascadeClassifier('Haar/haarcascade_eye.xml') spec = cv2.CascadeCl...
[ "noreply@github.com" ]
noreply@github.com
7eddbc7b95a49c0fbdf23d178fb7efe07f2a9248
3b642fe4bda6ab4b5529481285f1f31449c2ce32
/ex11.py
011f030da2b402d13703cc12ebce4afb15ba192c
[]
no_license
Arianazarkaman/python-hardway
f0dc490281fc2c5b915b2371863dd2ce04206e14
a6fd874b8db09d4662d4203bd116eb28fea24163
refs/heads/master
2023-01-21T13:15:55.947782
2020-11-30T07:03:14
2020-11-30T07:03:14
286,235,592
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
print("How old are you?", end=' ') age = input() print("How tall are you?", end=' ') height = input() print("How much do you weigh?", end=' ') weight = input() print(f"So, you're {age} old, {height} tall and {weight} heavy.")
[ "arianazarkaman@yahoo.com" ]
arianazarkaman@yahoo.com
75884c7471e9dd66681bd4ab738f236b9c0c488b
024808b8fe97561b1df10d7030b00406cdea5ad4
/map/__manifest__.py
156437f17ded4ef45cd7533e4cb88199bc5d0661
[ "MIT" ]
permissive
jaidis/Map-plugin-for-Odoo
ca42fec2fc6cfbc5cecab5ff64c4fbdbe30eb6ed
09163b94017f1029a668fe14b14e2f2dd97a68ee
refs/heads/master
2020-04-22T11:38:51.353286
2019-02-19T13:10:32
2019-02-19T13:10:32
170,348,262
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
{ 'name': 'Plugin Mapa', 'version': '0.1', 'description': 'Modelo básico para mapas', 'category': 'Tools', 'summary': 'Modulo para Odoo que utiliza las herramientas Leafletjs y Mapbox para mostrar mapas', 'author': 'Manuel Munoz', 'depends': ['web'], 'installable': True, 'auto_instal...
[ "heidiaricel@hotmail.com" ]
heidiaricel@hotmail.com
4a888d759547b059ec71cec92a291a9997a3c4ba
f2b2b4e6f6f0753433cd092ee09d6b4206cc4ea5
/convert/convert_new_coreference.py
76b28e86bbd25a30e650bc9b224eadae62fdf120
[]
no_license
anshiquanshu66/analyse_bert
894800d837b8d12b9f00b031f7ad016c6fd91efe
aa9b614fd96971825f71f31d6182aa55919966cb
refs/heads/master
2022-03-30T14:00:32.929097
2020-01-03T06:14:39
2020-01-03T06:14:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,490
py
import json import argparse from tqdm import tqdm import re coreference = {'version': 'coreference_new', 'data': []} new_coref = {'version': 'coreference_new', 'data': []} def convert_data_all(data_file, read_data_file, save_file): with open(data_file, 'r', encoding='utf-8') as f: with open(read_d...
[ "caijie@pku.edu.cn" ]
caijie@pku.edu.cn
8ee5c4ff0ed4aa486b8cac243bd512996bb6c74e
b599e8531a940ee32ea47018ea0aea2789d5ea3f
/flask/lib/python3.5/site-packages/ebcli/operations/useops.py
28e6940661b775176b1501643c32f1cccd027c94
[]
no_license
HarshitaSingh97/FetchGoogleTrends
3bfaba9ac2b365530beeb8f740c6ca8de09e84e0
2acc62d42b1a4fc832c78fc1e4290d7531e25dcd
refs/heads/master
2022-12-10T14:30:47.772224
2018-07-13T18:25:46
2018-07-13T18:25:46
138,040,665
3
0
null
2022-07-06T19:49:43
2018-06-20T14:02:16
Python
UTF-8
Python
false
false
1,490
py
# Copyright 2017 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompa...
[ "harshitasingh1397@gmail.com" ]
harshitasingh1397@gmail.com
0dc860e73fdb9073bea7b31d75831fe246b55cd2
35c3999aa3f6a9e31ae6f9170ac0235da4fe7e11
/irekua_rest_api/serializers/devices/physical_devices.py
c9b5828b1b4bdec7cd965b6ca25e906f17db16f2
[ "BSD-2-Clause" ]
permissive
CONABIO-audio/irekua-rest-api
28cf9806330c8926437542ae9152b8a7da57714f
35cf5153ed7f54d12ebad2ac07d472585f04e3e7
refs/heads/master
2022-12-12T09:24:18.217032
2020-08-15T21:01:20
2020-08-15T21:01:20
219,046,247
0
4
BSD-4-Clause
2022-12-08T10:54:47
2019-11-01T19:03:10
Python
UTF-8
Python
false
false
2,098
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from rest_framework import serializers from irekua_database.models import PhysicalDevice from irekua_rest_api.serializers.base import IrekuaModelSerializer from irekua_rest_api.serializers.base import IrekuaHyperlinkedModelSerializer from irekua_rest_ap...
[ "santiago.mbal@gmail.com" ]
santiago.mbal@gmail.com