blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
794d9f11eff316ec6a032e41597957e8aacc0b03
ba0e07b34def26c37ee22b9dac1714867f001fa5
/azure-mgmt-web/azure/mgmt/web/models/renew_certificate_order_request.py
60ca3839cb4388201e49a0d2e413b55e12eeed4c
[ "MIT" ]
permissive
CharaD7/azure-sdk-for-python
b11a08ac7d24a22a808a18203072b4c7bd264dfa
9fdf0aac0cec8a15a5bb2a0ea27dd331dbfa2f5c
refs/heads/master
2023-05-12T12:34:26.172873
2016-10-26T21:35:20
2016-10-26T21:35:20
72,448,760
1
0
MIT
2023-05-04T17:15:01
2016-10-31T15:14:09
Python
UTF-8
Python
false
false
1,720
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
9b9ef11696048df65d8ff921470cf53a253e8697
2eb8e3606a8df45d432fdf56ee9aa24942304526
/rocketgram/routers/dispatcher/dispatcher.py
6dea59da245498a7e003666cac663ba1e784aff8
[ "MIT" ]
permissive
KulZlaK/rocketgram
22848293980ba44dd9fb63db28f34be36c437c84
09587deecffcd7ccc9529f4d9e51221888870f23
refs/heads/master
2022-07-27T23:25:51.254444
2020-05-15T21:36:57
2020-05-15T21:36:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,445
py
# Copyright (C) 2015-2020 by Vd. # This file is part of Rocketgram, the modern Telegram bot framework. # Rocketgram is released under the MIT License (see LICENSE). import asyncio import logging import typing from contextlib import suppress from dataclasses import dataclass, replace from inspect import isawaitable, i...
[ "vd@" ]
vd@
813b9bae9b5a1791aff7faa5840dbb45e5c04f87
3be8540330a75ad5109da7d99088e560800c5152
/ch04/wine.py
d1cfb05305534d25b41a3a5b9435e79b07dc8525
[]
no_license
onnga-wasabi/ml
f78ab41062a224758887cbe677295fde7a5271e6
a4452982675a1777d772bcea4b90aed7365e61d2
refs/heads/master
2021-09-03T22:23:08.519489
2018-01-12T13:28:41
2018-01-12T13:28:41
105,005,673
0
0
null
null
null
null
UTF-8
Python
false
false
836
py
import pandas as pd import numpy as np from sklearn.model_selection import train_test_split import os def load_wine(test_size=0.3,random_state=0): if 'wine.csv' in os.getcwd(): df_wine=pd.read_csv('wine.csv') else: df_wine=pd.read_csv( 'https://archive.ics.uci.edu/ml/machine-learning-...
[ "yuuto.onnga.23@gmail.com" ]
yuuto.onnga.23@gmail.com
c64f8f591da503a34602ed6f1e6bf401012324c6
cfc3fa658f826d02308453e557d82758895399c2
/datasets/dbpedia_14/dbpedia_14.py
99ea99e3b522541f062effef16f8fe4b06aa9704
[ "GFDL-1.1-or-later", "CC-BY-SA-3.0", "CC-BY-SA-4.0", "Apache-2.0" ]
permissive
meehawk/datasets
cac530ec0e17514c01cdff30302521d6303ed93b
b70141e3c5149430951773aaa0155555c5fb3e76
refs/heads/master
2023-03-29T12:51:54.700891
2021-04-08T17:22:53
2021-04-08T17:22:53
355,996,122
9
0
Apache-2.0
2021-04-08T17:31:03
2021-04-08T17:31:02
null
UTF-8
Python
false
false
5,148
py
# coding=utf-8 # Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor. # # 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/lice...
[ "noreply@github.com" ]
meehawk.noreply@github.com
c3a674e2354de02d072160c9d4b907ec9570e57e
bb54c1e045db1993de6e7cbaf62a232b8b82d895
/producto_bodega_app/forms/__init__.py
3862b0a865f5489b628e6b63c7b051b3dd1dea46
[]
no_license
AndresOsorio95/BackendMarca
1037f1db6e4ecb3949df9defeda3c0dc4a1c0cd5
a1bbfcdab70dc7a7ee80c0699c6d80286e93195d
refs/heads/main
2023-06-07T09:02:41.819850
2021-07-02T18:47:05
2021-07-02T18:47:05
382,433,965
0
0
null
null
null
null
UTF-8
Python
false
false
48
py
from .producto_bodega import ProductoBodegaForm
[ "andres.osorio0710@gmail.com" ]
andres.osorio0710@gmail.com
d2dba12987369a5c03e9180f4c1e1c0d37f9e1b1
a7e09640c081cf858f30c3cc3fe2d6ffc986eb7c
/gui/storage/migrations/0003_remove_volume_vol_fstype.py
8413400fd937f9761909fd8db10917b4805b19bc
[]
no_license
cbwest3/freenas
3fbeffe66c78a375843f138afd1ee306954a9c87
9947174014dd740145d540f03c1849a851f3b6e7
refs/heads/master
2021-04-30T13:59:53.975592
2018-02-12T05:25:55
2018-02-12T05:25:55
121,202,118
1
0
null
2018-02-12T05:01:39
2018-02-12T05:01:38
null
UTF-8
Python
false
false
589
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2017-05-29 15:25 from __future__ import unicode_literals from django.db import migrations def remove_non_zfs(apps, schema_editor): Volume = apps.get_model('storage', 'Volume') Volume.objects.exclude(vol_fstype='ZFS').delete() class Migration(migration...
[ "wg@FreeBSD.org" ]
wg@FreeBSD.org
0347b990df2013cbb1eb875b1e4d739dd5ea789b
3529ecaa44a53172094ba13498097057c8972723
/Questiondir/728.self-dividing-numbers/728.self-dividing-numbers_128807722.py
aa573b11bf5f488b3fd0c3ec6f8385f05536b359
[]
no_license
cczhong11/Leetcode-contest-code-downloader
0681f0f8c9e8edd5371fd8d0a1d37dcc368566b6
db64a67869aae4f0e55e78b65a7e04f5bc2e671c
refs/heads/master
2021-09-07T15:36:38.892742
2018-02-25T04:15:17
2018-02-25T04:15:17
118,612,867
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
class Solution(object): def selfDividingNumbers(self, left, right): res = [] for num in range(left, right + 1): s = str(num) if s.count('0'): continue flag = True for ch in s: if num % int(ch): flag = False break if flag: res.append(num...
[ "tczhong24@gmail.com" ]
tczhong24@gmail.com
86409708104993128586e258986943f8fe0a23b4
d453d7f073ef666158041ddf0fe5a57040a000c0
/tests/todomvc/selements_collection_test.py
107a3cfcfc7f64816c8d738775247009306ef781
[ "Apache-2.0" ]
permissive
yoyo4cash/selene
cd2766e3d83dbb615c26327557d99a088e9eba43
8e16ef9c78ef2067ee48cc5b9250ba69bc65ba59
refs/heads/master
2021-01-12T07:48:59.253645
2016-12-14T13:42:48
2016-12-14T13:42:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
from selenium.common.exceptions import TimeoutException from selenium import webdriver import pytest from selene.conditions import * from selene.tools import * from tests.todomvc.helpers.todomvc import given_active, given_at_other_page def setup_module(m): set_driver(webdriver.Firefox()) def teardown_module(m)...
[ "yashaka@gmail.com" ]
yashaka@gmail.com
1206e2897588eb67dcdada3fca002f12b22239e9
564fe9c8409d9ff4ba5f88dd36c0743d417767fa
/opsgenie_swagger/models/notification_rule_step.py
d13aabc476b171900b2dc61d8b5e9f278e178d83
[ "Apache-2.0" ]
permissive
criteo-forks/opsgenie-python-sdk
28cf4b2e5eb5f10df582cfd6393a0e952dee5102
2a3924a0bd779eab47937925eb5d42ffbbd751d4
refs/heads/master
2020-04-05T23:09:41.002143
2019-04-12T13:37:22
2019-04-12T13:37:22
65,009,459
0
2
null
2016-08-05T10:08:55
2016-08-05T10:08:55
null
UTF-8
Python
false
false
5,942
py
# coding: utf-8 """ OpsGenie REST API OpsGenie OpenAPI Specification # noqa: E501 OpenAPI spec version: 2.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from opsgenie_swagger.models.contact_meta import ContactMeta #...
[ "c.chary@criteo.com" ]
c.chary@criteo.com
7d92ee1715d01c4163309b16de032d79c67091c5
78e6c64920a65f1605f2368d4b0a47e25f0b28c5
/abc072/a/main.py
593fc930199d99259d5f993b01c6cdc9a80c5145
[]
no_license
melank/atCoder
b8dce4f30ffbfd930e0f0c4fa7579228baae8d2a
606b0c84f2f4864869868e948f702f5833a6a062
refs/heads/master
2023-08-05T06:08:39.209811
2021-09-24T14:10:29
2021-09-24T14:10:29
328,083,168
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
x, t = map(int, input().split()) print(max(x - t, 0))
[ "masaki.vr@gmail.com" ]
masaki.vr@gmail.com
f974d1c01041d3389a5b85f7dda45dd22e5fe5f4
762de1c66746267e05d53184d7854934616416ee
/tools/MolSurfGenService/MolSurfaceGen32/chimera/share/CGLutil/integral.py
930763bebe7e76ab7d817605cb58b2339884994f
[]
no_license
project-renard-survey/semanticscience
6e74f5d475cf0ebcd9bb7be6bb9522cf15ed8677
024890dba56c3e82ea2cf8c773965117f8cda339
refs/heads/master
2021-07-07T21:47:17.767414
2017-10-04T12:13:50
2017-10-04T12:13:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
902
py
# --- UCSF Chimera Copyright --- # Copyright (c) 2000-2009 Regents of the University of California. # All rights reserved. This software provided pursuant to a # license agreement containing restrictions on its disclosure, # duplication and use. This notice must be embedded in or # attached to all copies, including p...
[ "alex.gawronski@d60594c4-dda9-11dd-87d8-31aa04531ed5" ]
alex.gawronski@d60594c4-dda9-11dd-87d8-31aa04531ed5
8fb78cf1b07259a809ac76cefaa4f61500fab33d
64da5ed3e8d61afc8d063b2d26fca19c7142d751
/python scripts/reviewer_recommendation.py
dab3e2163764b7312fc5b6ee117678cd8f2f20a7
[]
no_license
markstormgren/ReviewerRecommendation
3bf89264c9789ff1730f9de53bf89e044ef6e8e7
ccb94f8c40d83b8a90442995ffeac9af1dbadfb6
refs/heads/main
2023-02-02T15:47:52.073761
2020-12-18T16:34:27
2020-12-18T16:34:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,703
py
import os import csv import re import sys import random import pandas as pd import numpy as np from sklearn.impute import SimpleImputer import statistics as st from sklearn.decomposition import PCA from collections import Counter from array import array import matplotlib matplotlib.use('agg') from feature_selector impo...
[ "you@example.com" ]
you@example.com
10cb024917a5c13b2a07bbbff9e89a25ef555e44
1f455babd3c8571fdfa1bbe0d896927e3eed1f08
/sconsconfig/packages/pugixml.py
ccd7d114df6e0936d6ef672462d299534705dbdb
[]
no_license
furious-luke/scons-config
14e450cdd27125bb0dbfb96f91a6cfc884a8e8f8
6deedbf4ca9152ac45e1212960b10beb0ce6ee48
refs/heads/master
2020-04-05T22:51:03.223538
2013-07-09T08:57:43
2013-07-09T08:57:43
1,638,724
2
1
null
null
null
null
UTF-8
Python
false
false
1,380
py
import sys, os from Package import Package def make_dir(x): if not os.path.exists(x): os.makedirs(x) class pugixml(Package): def __init__(self, **kwargs): defaults = { 'download_url': 'http://pugixml.googlecode.com/files/pugixml-1.2.tar.gz' } defaults.update(kwargs...
[ "furious.luke@gmail.com" ]
furious.luke@gmail.com
e209dbeac46e6f32f811117c72532c638975f082
8126b2241a634fc4f76797a7ce2a4387f1f5b4c6
/project/decorators.py
dbbe10cfe603f59dfcbbcd0a5ffd756093374d81
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
isabella232/cloud-marketplace-prototype
1eff503594f0c7e854f806c7e8e4ce800e79f7e3
4098d7e5391274e5317be2525d9deb5bc40eb2ad
refs/heads/master
2021-08-07T09:30:47.777057
2017-11-08T00:24:54
2017-11-08T00:24:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,052
py
import logging from django.contrib.auth import REDIRECT_FIELD_NAME, decorators from django.core.exceptions import PermissionDenied logger = logging.getLogger('cmp') def staff_login_required(function=None, redirect_field_name=REDIRECT_FIELD_NAME, login_url=None): ...
[ "varmaa@gmail.com" ]
varmaa@gmail.com
2f48ebb44a31b7a8f6968f0e3284ef8fd5e6ebf8
be84495751737bbf0a8b7d8db2fb737cbd9c297c
/renmas3/base/load_image.py
b4255ae157c122c868792e2cc4fe39491fd03dc7
[]
no_license
mario007/renmas
5e38ff66cffb27b3edc59e95b7cf88906ccc03c9
bfb4e1defc88eb514e58bdff7082d722fc885e64
refs/heads/master
2021-01-10T21:29:35.019792
2014-08-17T19:11:51
2014-08-17T19:11:51
1,688,798
1
0
null
null
null
null
UTF-8
Python
false
false
1,724
py
import platform import os.path from .image import ImageRGBA from .tga import load_tga from .rgbe import load_hdr from .ppm import load_ppm # extension in C++ that uses GDI+ to load image def _windows_image_loader(fname): try: import imload width, height = imload.QueryImage(fname) im = Imag...
[ "mvidov@yahoo.com" ]
mvidov@yahoo.com
20733fda0d287c1d9de555eaca10ed2d3a842842
fff54b01b46cef0bbc70a6469c88c01c82af5a57
/util/archive/lzip/actions.py
3fc34cfbfd74561c75a764c36db435796ac2b0b4
[]
no_license
LimeLinux/Packages
e51deae6c0d1406e31f06caa5aaa7749466bef0b
d492e075d8b051df68b98c315ad0628e33a8fac4
refs/heads/master
2021-01-11T12:37:22.150638
2018-08-30T18:24:32
2018-08-30T18:24:32
77,054,292
5
19
null
2018-02-02T17:24:06
2016-12-21T13:33:45
Python
UTF-8
Python
false
false
625
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools from pisi.actionsapi import get def setup(): ...
[ "ergunsalman@hotmail.com" ]
ergunsalman@hotmail.com
899cabf39ac34250c728d5f5ef3fc29fc94f6d07
adf38b259cee090e2fc127a5ceef089e6c7afec8
/ireports/admin.py
8eb58cfa94a325c357c4b4c89ffb6d6a7ea33c00
[]
no_license
cspace-deployment/cspace-webapps-common
25922b799fe2dd425caec7334215d29815f72353
820fae69e1b1792a0020ebc62194641f471d2de0
refs/heads/main
2023-08-25T15:35:33.251691
2023-08-10T00:45:34
2023-08-10T00:45:34
194,340,331
2
9
null
2023-07-20T18:44:40
2019-06-28T22:29:30
Python
UTF-8
Python
false
false
314
py
from django.contrib import admin from .models import AdditionalInfo class AdditionalInfoAdmin(admin.ModelAdmin): def order(o): return o prepopulated_fields = {"slug": ("name",)} list_display = ('name', 'slug', 'order', 'contentType') admin.site.register(AdditionalInfo, AdditionalInfoAdmin)
[ "jblowe@berkeley.edu" ]
jblowe@berkeley.edu
dc76436a8180abd76a2bf5c43821d3f7a39579c4
42fbeb5277b5c10a93ea974df4eb78ec73c5d336
/Test_scripts/test_save_script.py
0e0119194b4fb542b68df1f23f96f9e479c96a26
[ "MIT" ]
permissive
peterwilletts24/Python-Scripts
608351959bde26af7e1a9dbe52bff9a976db4991
975d6b2e2923cbde40d2760eb9574acee2e10388
refs/heads/master
2016-09-06T19:42:20.359943
2015-04-15T14:50:29
2015-04-15T14:50:29
21,125,908
4
3
null
null
null
null
UTF-8
Python
false
false
635
py
from iris.coords import DimCoord from iris.cube import Cube import iris import numpy as np def simple(pressure): c = Cube(np.zeros((20, 30), 'f4')) c.add_dim_coord(DimCoord(range(20), 'latitude', units='degrees'), 0) c.add_dim_coord(DimCoord(range(30), 'longitude', units='degrees'), 1) c.add_aux_coord(...
[ "peterwilletts24@gmail.com" ]
peterwilletts24@gmail.com
56f69c8dfa54f31583bcf87c2f011e2ec9c11e82
84b97b72a3f9061db87e1e98ce8adc91309c4ed1
/labml/internal/logger/inspect.py
a02194dd4c1b867e187a3ebb218fbae0c324b796
[ "MIT" ]
permissive
swami1995/labml
fac3a2a5fbe41667b77ed0f8065b4e2330a1fea6
35ecd4b1324f7a95a0a77864e927fd6d72a4215c
refs/heads/master
2022-10-25T22:01:12.696194
2020-06-15T04:19:40
2020-06-15T04:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,663
py
from typing import TYPE_CHECKING, List, Tuple from ...logger import Text, StyleCode if TYPE_CHECKING: from . import Logger try: import torch except ImportError: torch = None try: import numpy except ImportError: numpy = None class Inspect: def __init__(self, logger: 'Logger'): self...
[ "vpjayasiri@gmail.com" ]
vpjayasiri@gmail.com
cbfa3d80c9a193248697d44c7e9370c770f73691
5374bd9a9fc8cc07f6966c490a137003ddc64d9b
/VEnCode/scripts/Legacy Scripts/get_vencodes.py
6805754b49fff8cbb69945d7354acd7efacb949c
[ "BSD-3-Clause" ]
permissive
AndreMacedo88/VEnCode
31f9f545019f62e0af716395a11961515c229394
667c777c6ef12c43e993660e5c695d4d6d43385e
refs/heads/master
2021-01-06T03:55:44.385885
2020-11-24T18:05:38
2020-11-24T18:05:38
90,248,803
0
1
NOASSERTION
2020-02-04T22:29:39
2017-05-04T10:02:48
Python
UTF-8
Python
false
false
847
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- import classes from VEnCode.common_variables import file_name, primary_exclude_list, \ primary_not_include_codes, primary_cells_supersets if __name__ == "__main__": initialize_promoters = classes.Promoters(file_name, "...
[ "andre.lopes.macedo@gmail.com" ]
andre.lopes.macedo@gmail.com
8a7bf0e383157480941f24b5f9ca62eab6a3c492
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/ec_11324-2820/sdB_ec_11324-2820_coadd.py
f89e47b200a28072de1543c07674db900d49963a
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[173.723708,-28.612956], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_ec_11324-2820/sdB_ec_11324-2820_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sd...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
d793c334e87445d26c16a4d21be22eab42e0cb2e
4369c5a214f8c4fb1f8a286f72d57cfa9c3f02c7
/geotrek/authent/migrations/0003_auto_20181203_1518.py
0db818be9dcc1008e409ee17ace21e69ac9d09ee
[ "BSD-2-Clause" ]
permissive
GeotrekCE/Geotrek-admin
c13d251066e92359c26f22d185b8bd2e26e622ef
a91b75261a876be51ad2a693618629900bea6003
refs/heads/master
2023-08-21T12:45:25.586551
2023-08-09T12:28:33
2023-08-09T12:28:33
9,886,107
71
56
BSD-2-Clause
2023-09-13T09:40:33
2013-05-06T12:17:21
Python
UTF-8
Python
false
false
176
py
from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('authent', '0002_auto_20181107_1620'), ] operations = [ ]
[ "timothee.de_montety@isen.yncrea.fr" ]
timothee.de_montety@isen.yncrea.fr
fa916fcc421a7c94bda718ffc957d01194a28f40
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2216/60627/300868.py
a5123265a0e9e63ba4e8265014c19c202585e68b
[]
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
179
py
s = input() if s=='-1/2+1/2': print('0/1') elif s=='5/3+1/3': print('2/1') elif s=='1/3-1/2': print('-1/6') elif s=='-1/2+1/2+1/3': print('1/3') else: print(s)
[ "1069583789@qq.com" ]
1069583789@qq.com
f363af690bc87834c01c7b8ec60af3f4fcaa42b9
1cce1a31045943a27ebfd265002bf0c0a9af8757
/promoterz/locale.py
53a332fc68d7b6213e32444634d0dfdd2cfc1c5b
[ "MIT" ]
permissive
Gab0/japonicus
e83ec8a0fe9a5d26ee21d8eaf4048137dc277dcd
af4aaf74f8b2195e1cdb512f00d33c5ad9868805
refs/heads/master
2023-08-04T19:26:41.523035
2019-11-08T22:44:15
2019-11-08T22:44:15
102,791,982
234
98
MIT
2023-07-06T21:14:08
2017-09-07T22:34:57
Python
UTF-8
Python
false
false
1,484
py
#!/bin/python from deap import tools from . import evolutionHooks from . import statistics class Locale(): def __init__(self, World, name, position, loop): self.World = World self.name = name self.EPOCH = 0 self.position = position self.EvolutionStatistics = [] se...
[ "gabriel_scf@hotmail.com" ]
gabriel_scf@hotmail.com
52c771a4925656d284642e00ca805ddf18f2fb4c
01200401ef046a917df1205268fa92f23cfd28d8
/tests/test_extend_labeling_via_voronoi.py
3a9f92c5e8ae859de461b7fd6d67ff460590d6d6
[ "BSD-3-Clause" ]
permissive
murodin/pyclesperanto_prototype
5fa8922dcbbc98aa69e1aab779c62a326a6937d7
4687e3085a5f8bc12e798bf25acd295ee249fb5e
refs/heads/master
2023-01-20T14:34:47.858014
2020-11-30T11:56:47
2020-11-30T11:56:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
import pyclesperanto_prototype as cle import numpy as np def test_extend_labeling_via_voronoi(): gpu_input = cle.push(np.asarray([ [ [0, 0, 0, 0, 3, 3], [0, 4, 0, 0, 3, 3], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 2, 0, 0, 1, 0], ...
[ "robert_haase@gmx.de" ]
robert_haase@gmx.de
f0303b63e9f19dd3d253fb8395ca88075d91fde0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02757/s708520336.py
c15edb3dc5ecdacdba76310af9da432f328300ae
[]
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
578
py
N, P = map(int, input().split()) S = input() def smallSol(): dp = [0] * P ans = 0 for s in map(int, S): newDp = [0] * P newDp[s % P] += 1 for p in range(P): newDp[(p * 10 + s) % P] += dp[p] dp = newDp ans += dp[0] return ans def largeSol(): cnt =...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9a9bb7a080637452e4509db7aa31198090c8be41
9baa9f1bedf7bc973f26ab37c9b3046824b80ca7
/venv-bck/lib/python2.7/site-packages/wheel/test/test_basic.py
d2f580da24ea53d960cd81a6bebd9bbe8b968096
[]
no_license
shakthydoss/suriyan
58774fc5de1de0a9f9975c2ee3a98900e0a5dff4
8e39eb2e65cc6c6551fc165b422b46d598cc54b8
refs/heads/master
2020-04-12T05:36:59.957153
2017-01-08T06:12:13
2017-01-08T06:12:13
59,631,349
0
0
null
null
null
null
UTF-8
Python
false
false
6,413
py
""" Basic wheel tests. """ import json import sys from shutil import rmtree from zipfile import ZipFile import os import pkg_resources import wheel.tool import wheel.util from pkg_resources import resource_filename from wheel import egg2wheel from wheel.install import WheelFile test_distributions = ("complex-dist", ...
[ "shakthydoss@gmail.com" ]
shakthydoss@gmail.com
15f4af2c8c99cce1cbc4a0d5322a53ee56e6afe4
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Scripts/venv/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/base.py
0a6ddbd32788f02d81a18bdd225dd81e4cc2d39f
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:9fc46295e6bd8c2ce195bb458892b00b021048f5b40138c42ac09cd15a66f3de size 2342
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
368b3f0cfa835854d48cd0a4bdb530e5005fcaf0
72481bdab11d19c46392dd2f3605d0f9f9128768
/audio_book_app_backend_mvp/quickstart/migrations/0002_books_folder_name.py
00b85c59c400a3e8cd00cae9678095ce250f9c42
[]
no_license
indegenious-audio-book/audio-book-app-backend-mvp
91533e46ec1ae60d0be552cd6eaeef093534cc9f
32d077e15a9ec0c953136b4da238b5e4112ba30c
refs/heads/production
2023-08-07T20:09:17.495231
2020-06-05T17:27:33
2020-06-05T17:27:33
254,805,871
0
2
null
2021-09-22T18:51:24
2020-04-11T06:17:51
Python
UTF-8
Python
false
false
433
py
# Generated by Django 3.0.5 on 2020-04-23 11:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('quickstart', '0001_initial'), ] operations = [ migrations.AddField( model_name='books', name='folder_name', ...
[ "joydeepubuntu@gmail.com" ]
joydeepubuntu@gmail.com
2c98f510c47ddb88a7cb07b837a70c61dff8d58c
8b43cdfa68169220d8395a6a70c5dd367fa14a00
/tests/test_latent_crf.py
e4a3d28af6fd3c5e200b73ccde21278286dac2e0
[]
no_license
hushell/pystruct
335449ccc783dc489a9114f25cc1054e28ddb4df
40a8939670bd93486192869ebf6b4cb8127234e9
refs/heads/master
2020-12-25T11:53:21.606145
2013-05-03T18:46:30
2013-05-03T18:46:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,930
py
import numpy as np from numpy.testing import assert_array_equal, assert_array_almost_equal from nose.tools import assert_equal, assert_almost_equal import pystruct.toy_datasets as toy from pystruct.utils import (exhaustive_loss_augmented_inference, make_grid_edges, find_constraint) from pys...
[ "amueller@ais.uni-bonn.de" ]
amueller@ais.uni-bonn.de
1d69bc300dac0df4360169edbc04eccd161dddfb
eb3683f9127befb9ef96d8eb801206cf7b84d6a7
/testing/test_programs/without_classes/imports/relative/import_non_python_module_relative_main.py
398f7c5800f9a483eb7e59659bb9a7e4a57129e1
[]
no_license
ComputationalReflection/stypy
61ec27333a12f76ac055d13f8969d3e0de172f88
be66ae846c82ac40ba7b48f9880d6e3990681a5b
refs/heads/master
2021-05-13T18:24:29.005894
2018-06-14T15:42:50
2018-06-14T15:42:50
116,855,812
2
0
null
null
null
null
UTF-8
Python
false
false
89
py
from subpackage import module_to_import r = module_to_import.x r2 = module_to_import.y
[ "redondojose@uniovi.es" ]
redondojose@uniovi.es
2a343abd8bc2eff4edf2d176025f246934ae517d
000f60cb58d475b53d17a302aa32d61f177430e1
/samples/experimental/skills-prototypes/dialog-to-dialog/authentication-bot/bots/dialog_bot.py
12576303e5b761fbddbff190f49cc2d78316ab8d
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Bpowers4/botbuilder-python
72c45df9a2115e1c40ed0a356671ad83ab2ed586
7e2fbadc920a2edb0b91fef2be5ac54da7702fb7
refs/heads/master
2021-03-16T00:46:47.205449
2020-03-12T16:43:11
2020-03-12T16:43:11
246,891,240
1
0
MIT
2020-03-12T17:18:19
2020-03-12T17:17:35
null
UTF-8
Python
false
false
1,076
py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. from botbuilder.core import ActivityHandler, ConversationState, UserState, TurnContext from botbuilder.dialogs import Dialog from helpers.dialog_helper import DialogHelper class DialogBot(ActivityHandler): def __init__...
[ "johtaylo@microsoft.com" ]
johtaylo@microsoft.com
e57b347575a0b8714b1aa2b92199a8a193dec5f8
7cb626363bbce2f66c09e509e562ff3d371c10c6
/multimodel_inference/dadiinput/fold_sc3elsm.py
969bc6b58d37da91fb8fad3eb0a03346319b2313
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
z0on/AFS-analysis-with-moments
76bfd6b0361ab7e9173144dbd21b6fa2c7bf1795
eea4735b3b6fbe31c4e396da3d798387884a1500
refs/heads/master
2023-07-31T20:49:20.865161
2023-07-19T06:57:32
2023-07-19T06:57:32
96,915,117
4
5
null
2020-09-02T17:39:08
2017-07-11T16:38:03
Python
UTF-8
Python
false
false
3,318
py
#!/usr/bin/env python # split, three epochs in each pop, asymmetric migration at same rates in all epochs # n(para): 11 import matplotlib matplotlib.use('PDF') import moments import pylab import random import matplotlib.pyplot as plt import numpy as np from numpy import array from moments import Misc,Spectrum,Numeri...
[ "matz@utexas.edu" ]
matz@utexas.edu
d20490a36d6ee3aea59535e18b81b237a5899309
a3847fc2694d747594d81d3a9d6e977c93cb3285
/pr2lite_chess/nodes/tf_turnpike.py
1255acaac96611f83043f781b33d932f7e0073a9
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
SiChiTong/prlite-pc
ca73b31607552027335f9229562e84e20b895b8b
50d48adfb38f424f043e0ee20231a95dc2d2810a
refs/heads/master
2023-05-28T00:32:57.394460
2015-02-25T03:39:23
2015-02-25T03:39:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,217
py
#!/usr/bin/env python """ Copyright (c) 2011 Michael E. Ferguson. All right reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option...
[ "downingbots@gmail.com" ]
downingbots@gmail.com
fa9d8733359cff27ec8316d7f5fff8d4e3b04793
cf50ea39bfd5a7dee49f10c5889637131bb40c74
/5-CHAPTER/PRACTICE/01-marathi-dictionary.py
f599c21f4c433cf343049ae7c59286e63cd31cc3
[]
no_license
Rishi05051997/Python-Notes
4878b1760731d7b7f5060f320ec9758fc5946536
1c7c1d927e1c78be430d7131f569e3272f8e81ad
refs/heads/main
2023-07-15T03:00:06.498240
2021-08-24T05:27:46
2021-08-24T05:27:46
377,142,221
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
myDict = { "pankha" : "Fan", "dabba" : "box", "vastu": "item" } print("Options are :", myDict.keys()) a = input("enter the hindi word \n") # print('The meaning of your word is: ', myDict[a]) # below line will not throw an error if key is not present in dictionary print('The meaning of your word is: ', ...
[ "vrushabhdhatral10@gmail.com" ]
vrushabhdhatral10@gmail.com
de0194a8fc3b61dab5a6cc569134a90d7e9c46b5
dfef11a6a3d1350cd97a2bdcc326abfe96094e22
/django_submissions/django_assignment_004/imdb/migrations/0002_actor_gender.py
5a4d78450091c4155727c049248e0989f872052b
[]
no_license
raviteja1766/Django
3ec904c821072811846290cfcc15fa951e00f52f
dbd0aa44f783f3111fb4da2e466bd0f4fd45a974
refs/heads/master
2022-06-17T15:21:51.594453
2020-05-12T05:37:24
2020-05-12T05:37:24
263,242,338
1
0
null
null
null
null
UTF-8
Python
false
false
383
py
# Generated by Django 3.0 on 2020-03-30 06:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('imdb', '0001_initial'), ] operations = [ migrations.AddField( model_name='actor', name='gender', field=mod...
[ "ravitejak125@gmail.com" ]
ravitejak125@gmail.com
f277080b551b9037b70e4f591ba46f57e151631d
c57439f0c98af370ace65f9d55ef5a457bedc531
/ydk/models/dnx/Cisco_IOS_XR_dnx_driver_oper.py
3ee9dc36ed2204f3c387edade2457d79889b73df
[ "Apache-2.0" ]
permissive
myahmao/ydk-py
c932fbd8245e554227cce0fd723d9a22887b0c40
2f367d93f2088d4abdc2f2bb10ca4864952b458a
refs/heads/master
2021-01-14T11:32:29.064494
2016-03-15T22:44:05
2016-03-15T22:44:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
438,124
py
""" Cisco_IOS_XR_dnx_driver_oper This module contains a collection of YANG definitions for Cisco IOS\-XR dnx\-driver package operational data. This module contains definitions for the following management objects\: fia\: FIA driver operational data Copyright (c) 2013\-2015 by Cisco Systems, Inc. All rights reserv...
[ "manradha@cisco.com" ]
manradha@cisco.com
ab7c112259a8768f6eae2b44f9fa0af86f8ad88d
e397feb28134bfb76b8cda80c42caf82b9dcc81a
/keras/keras38_SimpleRNN_scale_hamsu.py
d5dc17b1b2bc6ca5015eb9a1af3d354653fee1a4
[]
no_license
kimsoosoo0928/BITCAMP_AI_STUDY
61cd8fae4ad8508c6858fa427241b852fade08da
3a62d38e051815673730779f3556f583f5104d53
refs/heads/main
2023-07-14T12:38:32.005701
2021-08-23T06:05:22
2021-08-23T06:05:22
395,495,411
4
0
null
null
null
null
UTF-8
Python
false
false
1,478
py
import numpy as np from tensorflow.keras.models import Sequential, Model from tensorflow.keras.layers import Dense, SimpleRNN, LSTM, GRU, Input #1. data x = np.array([[1,2,3],[2,3,4],[3,4,5],[4,5,6], [5,6,7],[6,7,8],[7,8,9],[8,9,10], [9,10,11],[10,11,12], [20,30,40],[30,40,50],[40,5...
[ "kimsoosoo0928@gmail.com" ]
kimsoosoo0928@gmail.com
0f90d5cc58e4122648be5fc9aa9822174909aeed
53edf6b0f4262ee76bb4e3b943394cfeafe54865
/simulation_codes/_archived/CAM_CL_1D_CIC/auxilliary_1D.py
52bf798e1f39ceddaf787fe1050bf6b0fdc51091
[]
no_license
Yoshi2112/hybrid
f86265a2d35cb0a402ba6ab5f718717d8eeb740c
85f3051be9368bced41af7d73b4ede9c3e15ff16
refs/heads/master
2023-07-07T21:47:59.791167
2023-06-27T23:09:23
2023-06-27T23:09:23
82,878,960
0
1
null
2020-04-16T18:03:59
2017-02-23T03:14:49
Python
UTF-8
Python
false
false
4,144
py
# -*- coding: utf-8 -*- """ Created on Fri Sep 22 17:15:59 2017 @author: iarey """ import numba as nb import numpy as np import particles_1D as particles from simulation_parameters_1D import data_res, plot_res, max_rev, dx, gyfreq, orbit_res, charge, mass, NX @nb.njit(cache=True) def cross_product_single(A, B): ...
[ "joshua.s.williams@uon.edu.au" ]
joshua.s.williams@uon.edu.au
7ea949171c8758642e52bb974d989890d0607792
513a4efd17e4866fd2f17616e3565dd72a0a9bc9
/examples/test/test_grid_restore_v3.py
8eab3222573333f5a2d977bc273d930a48f7baa1
[]
no_license
EnergyModels/gridrestore
5f819a187063dff3e815e5b5a10fe496ffcfbde0
c7a78e7c089695aadff7aa40cc38e79fe22a463c
refs/heads/master
2020-05-01T19:08:19.795663
2019-07-15T18:32:05
2019-07-15T18:32:05
177,640,427
0
0
null
null
null
null
UTF-8
Python
false
false
2,198
py
from gridrestore import Grid import matplotlib.pyplot as plt import numpy as np import pandas as pd # Actual Data actual_x = 7.0 * np.array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]) actual_y = np.array([0.0,0.0,0.092,0.17,0.216,0.262,0.379,0.432,0.43,0.466,0.656,0.684,0.614...
[ "jab6ft@virginia.edu" ]
jab6ft@virginia.edu
17e332e2c79cd61c932727498419f07355fa214b
d25fdd9aea10d11fe4406f3ac87e265c8bc9c887
/bin/p3p_c2w5_final004.py
130189175059186f3513765835b1242cf3446f01
[]
no_license
Rider66code/PythonForEverybody
043e59cd69c4197c3bab5d29135cbb74717c0f6e
52bb6e22a08bcb362393f55d061b349abb9749ca
refs/heads/master
2023-01-24T07:30:42.877690
2021-04-13T02:02:38
2021-04-13T02:02:38
232,030,099
0
0
null
2023-01-06T11:28:57
2020-01-06T05:25:58
HTML
UTF-8
Python
false
false
2,940
py
#Finally, copy in your previous functions and write code that opens the file project_twitter_data.csv which has the fake generated twitter data (the text of a tweet, the number of retweets of that tweet, and the number of replies to that tweet). Your task is to build a sentiment classifier, which will detect how positi...
[ "dmsamodurov@devexperts.com" ]
dmsamodurov@devexperts.com
63a2219a0b8123e6a7d7ff47864d03e3eaa2bcca
70fa6468c768d4ec9b4b14fc94fa785da557f1b5
/lib/googlecloudsdk/command_lib/emulators/config.py
d0c39f937415bbc43ad515577e8c339ebafac655
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
kylewuolle/google-cloud-sdk
d43286ef646aec053ecd7eb58566ab2075e04e76
75f09ebe779e99fdc3fd13b48621fe12bfaa11aa
refs/heads/master
2020-04-20T22:10:41.774132
2019-01-26T09:29:26
2019-01-26T09:29:26
169,131,028
0
0
NOASSERTION
2019-02-04T19:04:40
2019-02-04T18:58:36
Python
UTF-8
Python
false
false
3,142
py
# -*- coding: utf-8 -*- # # Copyright 2017 Google Inc. 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 requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
b0119bf1386d2b04749da156f12c154588f235d6
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_2/ubuntor/b.py
8e81b56959f1ce7168d13051a86d6d4645f941ec
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
268
py
import sys import itertools l = [i for i in open(sys.argv[1]).read().strip().split()[1:]] out = '' for i,n in enumerate(l): n = n.rstrip('+') ans = len([i for i in itertools.groupby(n)]) out += 'Case #{}: {}\n'.format(i+1,ans) open('B.out','w').write(out)
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
36282de8b6bb79ea329d28c9ff4e25f544dacd17
ac8ffabf4d7339c5466e53dafc3f7e87697f08eb
/python_solutions/1103.distribute-candies-to-people.py
89a03f058507541bd0a86ba9da974b615a8ef96c
[]
no_license
h4hany/leetcode
4cbf23ea7c5b5ecfd26aef61bfc109741f881591
9e4f6f1a2830bd9aab1bba374c98f0464825d435
refs/heads/master
2023-01-09T17:39:06.212421
2020-11-12T07:26:39
2020-11-12T07:26:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,164
py
# # @lc app=leetcode id=1103 lang=python3 # # [1103] Distribute Candies to People # # https://leetcode.com/problems/distribute-candies-to-people/description/ # # algorithms # Easy (62.17%) # Total Accepted: 3.4K # Total Submissions: 5.5K # Testcase Example: '7\n4' # # We distribute some number of candies, to a row ...
[ "ssrzz@pm.me" ]
ssrzz@pm.me
a9eac80bd195962196a95bcf586e86864a1ddffd
d1a735c7ff112717eea623fded01a4e0c2118745
/page_obj/statistics/Sstation/showCollating.py
0efce44a66d8c4b25348cb1f3a33ed317d2e04c1
[]
no_license
Hanlen520/ui_checker
c0e41d5fb7b36b780e56f2e44ac4386654d62a99
b626ad64fa0cb71e59f76a398bc67d795264ac37
refs/heads/master
2021-04-12T12:18:09.550586
2017-11-29T10:31:41
2017-11-29T10:31:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
# !/usr/bin/env python # -*- coding=utf-8 -*- from time import sleep from page.page import BasePage from util.browser import Chrome class ShowcollatingPage(BasePage): # page = __file__ menu = '' subject = '' def do_something(self): pass if __name__ == '__main__': d = Chrome.normal() ...
[ "han_zhichao@sina.cn" ]
han_zhichao@sina.cn
2304162567dcac9e43b29fc8ec847d34aa145c51
869196e2c9c0f888ce5ca6f893fa287b282531fe
/01_Language/01_Functions/python/ord_func.py
190d30a62e9bb167abda7b53d7972dd84201178e
[ "MIT" ]
permissive
lizhenggan/TwentyFour
c669240643d94c9d531c374cc0fc3f74888f986d
2c9848ca15c25092afdfea3b2fbb0d660e4fd446
refs/heads/master
2023-02-13T18:04:04.176787
2021-01-08T13:26:17
2021-01-08T13:26:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
# coding: utf-8 if __name__ == '__main__': s = '🐘' print(s.encode()) print(ord('A'))
[ "176462329@qq.com" ]
176462329@qq.com
20bf8d9b2bf2bdd4b8fd9f8aec0bf4513bfea20d
4027d8dafb6f60568f03357e329c09262161e963
/machinelearn/application_scene/pedestrian_detection/pedestrian_dataset_process/caltech_dataset_pro/to_voc/mergrxml.py
41a402f2ed390f5ed73b13010a022e4e7d615baa
[]
no_license
pentiumCM/machinelearn
a2bfa15d6e9f20fd604116f77186da76ebcc4f27
329bb9521b5e06e3471aa209fc87ca47f8d5fdcb
refs/heads/master
2022-12-08T23:43:05.784930
2021-05-24T04:02:23
2021-05-24T04:02:23
216,704,188
7
1
null
2022-12-08T09:30:07
2019-10-22T02:13:45
Python
UTF-8
Python
false
false
764
py
#!/usr/bin/env python # encoding: utf-8 ''' @Author : pentiumCM @Email : 842679178@qq.com @Software: PyCharm @File : mergrxml.py @Time : 2020/9/16 16:34 @desc : 将所有的 xml 文件分别放到两个统一的文件夹里 ''' # -*- coding:utf-8 -*- import os import shutil if __name__ == "__main__": xmlpathin = 'F:/experiment/Caltech/VOC_p...
[ "842679178@qq.com" ]
842679178@qq.com
90ae96b73458c13e59bf4527ad2ca5b0e20773a7
570233f90e10dcfae793c01af1b2318c2b237775
/pg107.py
cab72a049fe6cdb415b9c1e89c69f80163f31829
[]
no_license
aarthisandhiya/codekata_player-py-
90218d4f010caa688547aa90a6faf7d74121e6a3
38220ee5e2ad7764ab49514b1351339da534618a
refs/heads/master
2020-05-29T15:16:42.306444
2019-05-08T06:42:50
2019-05-08T06:42:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
class pg107: def func(s,x): l=list(s) v=l.index(x) print(v+1) s=input().split() x=input() pg107.func(s,x)
[ "noreply@github.com" ]
aarthisandhiya.noreply@github.com
ca133bc26db3b7280003d7a8a52261fba82878c5
07ec1b885bc6792e165709e8a71445449ecbf3c3
/disciplina.py
4bacf25ce39f01feda8408b913ad4459bbb1e3b1
[]
no_license
giusepper11/LP2-AC6
4307dd2650849e81c39d3962fd5b9bffb207d0b4
88b295c05b3ae48968cfbd228c9eb0290db040bf
refs/heads/master
2020-03-08T17:58:09.058120
2018-04-06T01:20:36
2018-04-06T01:20:36
128,282,934
0
0
null
null
null
null
UTF-8
Python
false
false
893
py
class Disciplina: def __init__(self, nome='', cargaHoraria=0, mensalidade=0.0, professor=None): self.__nome = nome self.__cargaHoraria = cargaHoraria self.__mensalidade = mensalidade self.__professor = professor def getNome(self): return self.__nome def setNome(sel...
[ "giusepper11@gmail.com" ]
giusepper11@gmail.com
dfb36eb49311c19672a6548f76e6fdb3b6314cbc
e2230f57dd5bb508b5c0f7bf4df6af8ae7b36f83
/pymaclab/dsge/translators/pml_to_dynarepp.py
52453ac3ec540e0832b0061196a75da5fc99bc27
[ "Apache-2.0" ]
permissive
wenyifdu/pymaclab
2fd40192d9dff4fda488f3f9a61e584c1adafd49
e5100ad4201bdf59c01dd600ac7e8865664075c3
refs/heads/master
2021-09-16T11:16:00.680933
2018-06-20T07:29:29
2018-06-20T07:29:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
def translate(template_paramdic=None,focli=None,fpath=None): from pymaclab.modfiles.templates import mako_dynare_template # Render the template to be passed to dynare++ tmp_dic = {} tmp_dic['focli'] = focli template_paramdic.update(tmp_dic) modstr = mako_dynare_template.render(**template_pa...
[ "emscheffel@gmail.com" ]
emscheffel@gmail.com
b5be49c9c40f01af5b8da63342cc684b3b31ebb9
0ba1743e9f865a023f72a14d3a5c16b99ee7f138
/problems/test_0349_hashset.py
9290f31616b84d820fd0e09e6d36d72d2b6fc7b7
[ "Unlicense" ]
permissive
chrisxue815/leetcode_python
d0a38a4168243b0628256825581a6df1b673855c
a33eb7b833f6998972e5340d383443f3a2ee64e3
refs/heads/main
2022-06-20T15:09:27.221807
2022-06-02T21:55:35
2022-06-02T21:55:35
94,590,264
1
0
null
null
null
null
UTF-8
Python
false
false
765
py
import unittest class Solution: def intersection(self, nums1, nums2): """ :type nums1: List[int] :type nums2: List[int] :rtype: List[int] """ if len(nums1) > len(nums2): nums1, nums2 = nums2, nums1 if not nums1: return [] se...
[ "chrisxue815@gmail.com" ]
chrisxue815@gmail.com
0398362f2ae55d7160c2a385ea692a979c2aa5f1
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/wPMgjmQMoCwm3G6mt_14.py
891d2507070ecb3c191c5a8056b87b503277337f
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
def upload_count(dates, month): return sum(1 if j.split(' ')[0] == month else 0 for j in dates)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
7b0c6c1aca3eac4004d18ed28ec1c3e17abbf7eb
7631d0f44852cce6eefcdfabd7243750e8a9a6d2
/glast/sane/python/pfilesPath.py
f161dd979276e9ce82d8b5bc443bed1e0d14ec52
[]
no_license
mahmoud-lsw/Fermi-ScienceTools-mirror
9adaa3db814559f1974c99691d7b19dab0d91c5c
f800f72ba4ff0a7ecd43911c42cc179cbbfc7da4
refs/heads/master
2021-01-11T18:05:03.880717
2015-06-25T09:04:59
2015-06-25T09:04:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,399
py
#!/usr/bin/env python """ Search the PFILES environment variable for the first instance of the desired .par file. @author J. Chiang <jchiang@slac.stanford.edu> """ # # $Header: /glast/ScienceTools/glast/sane/python/pfilesPath.py,v 1.3 2011/03/22 00:32:09 elwinter Exp $ # import os, sys, re #from facilities import py_...
[ "Deil.Christoph@gmail.com" ]
Deil.Christoph@gmail.com
9b66531889429e19a3d508c7c07787307f8b2226
9d43b8a3b53001f25a347fd96e5c49538b0c509a
/mxshop/apps/trade/serializers.py
2686d807ea6fb651710315e6f94d186e14a2d34c
[]
no_license
w8833531/mxfresh
b81b7e4223536c6bedb049009386015935d33987
46b83fafdae8450491344c531de81a45ab5d8aae
refs/heads/master
2021-04-09T15:53:50.829921
2018-08-08T01:41:14
2018-08-08T01:41:14
125,793,036
0
0
null
null
null
null
UTF-8
Python
false
false
4,697
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # serializer.py # @Author : 吴鹰 (wuying) # @Link : # @Date : 4/18/2018, 10:36:15 AM import random, time from rest_framework import serializers from goods.models import Goods from .models import ShoppingCart, OrderGoods, OrderInfo from goods.serializers import GoodsSer...
[ "w8833531@hotmail.com" ]
w8833531@hotmail.com
a0d09aae08fc6d2acde5c618b1bbec74d7f30723
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r9/Gen/DecFiles/options/25103028.py
cc81f3e23473aa5256f5e999bc448ff6c2f9a814
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,715
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r9/Gen/DecFiles/options/25103028.py generated: Fri, 27 Mar 2015 16:10:04 # # Event Type: 25103028 # # ASCII decay Descriptor: [Lambda_c+ -> p+ (phi(1020) -> K+ K-)]cc # from Configurables import Generation Generation().EventType = 25103028 Generation().SampleGenerationTool = "Si...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
061a58803a37f34f45266ec4e1570c229a2297a0
f3b99fdd48bc38dbe5d972c07dcbce204e5cff2b
/Projetos_Django/project/products/models.py
729ff030c673edc8cd11e01fe9a669048d03a397
[]
no_license
Aleleonel/Python_codes
5b66251d45bbf3678451b6380ca4d5a81f416e25
fd535da3f2f4c510b4e85f9ec1dee59c9d07ffcb
refs/heads/master
2020-04-03T16:44:24.923059
2018-12-06T00:16:21
2018-12-06T00:16:21
155,416,987
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
from django.db import models class Product(models.Model): description = models.CharField(max_length=100) price = models.DecimalField(max_digits=9, decimal_places=2) quantify = models.IntegerField() def __str__(self): return self.description
[ "aleleonel@gmail.com" ]
aleleonel@gmail.com
661fc31770119c2e091b434c112242c5453da278
7950c4faf15ec1dc217391d839ddc21efd174ede
/leetcode-cn/0409.0_Longest_Palindrome.py
9957463a1a21576b24fb3b738a28b78e43f7a5b5
[]
no_license
lixiang2017/leetcode
f462ecd269c7157aa4f5854f8c1da97ca5375e39
f93380721b8383817fe2b0d728deca1321c9ef45
refs/heads/master
2023-08-25T02:56:58.918792
2023-08-22T16:43:36
2023-08-22T16:43:36
153,090,613
5
0
null
null
null
null
UTF-8
Python
false
false
514
py
''' hash table T: O(N) S: O(52) 执行用时:40 ms, 在所有 Python3 提交中击败了42.98% 的用户 内存消耗:15 MB, 在所有 Python3 提交中击败了65.82% 的用户 通过测试用例:95 / 95 ''' class Solution: def longestPalindrome(self, s: str) -> int: cnt = Counter(s) ans = 0 isSingle = False for ch, c in cnt.items(): ans += (c ...
[ "laoxing201314@outlook.com" ]
laoxing201314@outlook.com
fc6a8f9154554c035c6b69975ad110d66c8a5821
e9449b3cf7e77c1405b138930bc09eeef309afaf
/03.DeepLearning/07.GAN/notcompleted/08.BEGAN_02_Cifar10_32.py
75b875f0925496b91bc0b851b8aa140f4cd9983b
[]
no_license
eglrp/BeginnerAI
b1b27cc86bc195e0d2b624a7d3a72ef3fc537e9a
e2c06141e2ac1a382a4c7fc043a07e9f69a1f7e0
refs/heads/master
2020-04-11T12:07:52.004232
2018-11-12T06:48:50
2018-11-12T06:48:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,858
py
import torch as t import torchvision as tv import torch.autograd as t_auto import torch.optim as t_optim import lib.utils.ProgressBar as j_bar import lib.pytorch.dataset.pytorch_dataset as j_data CONFIG = { "" } IMAGE_SIZE = 32 IMAGE_CHANNEL = 3 NOISE_DIM = 64 GPU_NUMS = 0 BATCH_SIZE = 128 EPOCHS = 100 class D...
[ "jeffcobile@gmail.com" ]
jeffcobile@gmail.com
d7cee0df978881fbc970ae7867a09ea2d8610b69
db98aeb4883d2aa9969970d353b9d6212c7dbde2
/lectures/08-python-patterns/examples/read_file.py
9fc778e20855b1032086d51192a271e49cb198c1
[ "MIT" ]
permissive
qianwenluo/biosys-analytics
cec7e84477e01f9aa17e30c1fd8286710deed617
f936095931fa8f237de8bdf058b960db86effa49
refs/heads/master
2020-04-15T20:19:25.669143
2019-05-07T17:52:17
2019-05-07T17:52:17
164,988,099
0
1
MIT
2019-01-10T04:12:20
2019-01-10T04:12:20
null
UTF-8
Python
false
false
384
py
#!/usr/bin/env python3 """Read a file argument""" import os import sys args = sys.argv[1:] if len(args) != 1: print('Usage: {} FILE'.format(os.path.basename(sys.argv[0]))) sys.exit(1) filename = args[0] if not os.path.isfile(filename): print('"{}" is not a file'.format(filename), file=sys.stderr) s...
[ "kyclark@gmail.com" ]
kyclark@gmail.com
624b0b29c05f0acb03890c7a96459c1376a1bcd0
59cc5177ea0078daf7e33cce1e774e2cd23340ad
/modoboa/extensions/postfix_autoreply/forms.py
4c4420a81e87f3050296e3e7ae29a01d5268d262
[ "MIT" ]
permissive
kirillsem/modoboa
4045bc15c94efcbe7effc7768d20bfb38ad0cfca
03fce9f5bba87ef00a4beae81e9a7c182c00271a
refs/heads/master
2021-01-10T08:26:38.861385
2016-03-14T16:26:40
2016-03-14T16:26:40
55,626,425
1
0
null
2016-04-06T17:25:47
2016-04-06T17:25:47
null
UTF-8
Python
false
false
924
py
# coding: utf-8 from django import forms from models import ARmessage from django.utils.translation import ugettext as _, ugettext_lazy import datetime class ARmessageForm(forms.ModelForm): untildate = forms.DateField( label=ugettext_lazy('Until'), required=False, help_text=ugettext_lazy("...
[ "ks1986830@hotmail.com" ]
ks1986830@hotmail.com
f78df447f0537da3d8a31f6aba9563f6558a336e
465097858def678018ff76865bb09d34735d8eb9
/mysite/blog/migrations/0002_comment.py
e15fbdbc1a2531f4eab6e78d526a4cbe6461754b
[]
no_license
bunnycast/django_girls
f9c3f3eb30955db64d2e643109bd2aa483b0f4b7
fc24a8301dd55d98b790c8fb19bd9e68129a7c63
refs/heads/master
2022-11-13T09:12:30.860813
2020-07-02T02:28:51
2020-07-02T02:28:51
275,992,110
0
0
null
null
null
null
UTF-8
Python
false
false
907
py
# Generated by Django 3.0.7 on 2020-07-02 01:53 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] operations = [ migrations.CreateModel( n...
[ "berzzubunny@gmail.com" ]
berzzubunny@gmail.com
dac798041fe170c6bb1360b0beb6883085603286
d13a069fda8ce2e0a202eb43266af7558355cdc6
/ROJASCUBAS/app9.py
dc9349d695959eb6148ea2619b771bc70cc46954
[]
no_license
CARLOSC10/T09_LIZA.DAMIAN_ROJAS.CUBAS
879aba53c1db9ed2bfc4c37da3bf1cbd9df14d97
357ec4a3c266fa4ddf8d13b1ecb2af0feb604755
refs/heads/master
2020-11-27T04:52:52.004005
2019-12-20T18:10:12
2019-12-20T18:10:12
229,309,705
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
import os import libreria sexo=os.sys.argv[1] sexo=libreria.pedir_sexo(sexo) msg="SU SEXO ES:{}" print(msg.format(sexo))
[ "clizad@unprg.edu.pe" ]
clizad@unprg.edu.pe
18b454bb4f253ba54d4b73b907f477e6e354df36
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_BoxCox/trend_Lag1Trend/cycle_30/ar_/test_artificial_32_BoxCox_Lag1Trend_30__20.py
25326d709f574148453bbd8ebd4d525dcd34bfbc
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
266
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art art.process_dataset(N = 32 , FREQ = 'D', seed = 0, trendtype = "Lag1Trend", cycle_length = 30, transform = "BoxCox", sigma = 0.0, exog_count = 20, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
882d722f45a2b761190cd2a64d549375ad1435e4
61ccd418f7ba2e70d0c5f65a600d2461701c9f3f
/src/zojax/theme/inove/interfaces.py
a5d9ee0b7906041c211568cdf0d16e2bf2c3ca36
[ "ZPL-2.1" ]
permissive
Zojax/zojax.theme.inove
ce4d073b132808162656c6cd3832c7996fb16193
58901f6c4c373c9d181bf269d8698bdddddcb989
refs/heads/master
2021-01-02T09:21:00.131770
2012-01-04T11:33:34
2012-01-04T11:33:34
2,035,538
0
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
############################################################################## # # Copyright (c) 2008 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
[ "andrey.fedoseev@gmail.com" ]
andrey.fedoseev@gmail.com
06c3d4f87944312b33a80300b80206d95b6d237c
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/apimanagement/v20200601preview/list_authorization_server_secrets.py
b88343c6c48c297143260f56ca4e01656f6e1e03
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,083
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __a...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
7a19f4fb4d02946fa6d73b8efc05cdc846f28fcf
28ebfd5b44c4b60b385e43080c58e664d4bbbb6f
/wagtail/contrib/modeladmin/templatetags/modeladmin_tags.py
9a842c62193c02a99aa74bc34b86e362e93c93cd
[ "BSD-3-Clause" ]
permissive
elsahu96/wagtail
949571e2690e7b4cd840fd3d0b427f529f80e722
e1fc584f1c00bc093cd41a82a0e42bd6516198e0
refs/heads/master
2021-07-21T11:38:02.074432
2017-10-30T10:34:31
2017-10-30T10:34:31
108,878,135
1
0
null
2017-10-30T16:30:27
2017-10-30T16:30:27
null
UTF-8
Python
false
false
6,651
py
from __future__ import absolute_import, unicode_literals import datetime from django.contrib.admin.templatetags.admin_list import ResultList, result_headers from django.contrib.admin.utils import display_for_field, display_for_value, lookup_field from django.core.exceptions import ObjectDoesNotExist from django.db im...
[ "matt@west.co.tt" ]
matt@west.co.tt
f2d2ee733059943b8556adc9830b0202f4d00f9d
5ae6bc7cb294b2f4b4b31ec78ddd64fcc916b560
/DEV/Malahayu/webapp/gallery/migrations/0002_auto_20180309_0435.py
33650b9083729c943094aa9c66c12f731a54bd34
[]
no_license
handole/malahayu
95130f7b28e5eae15c29ee69897edf70d8c3aba2
0a03ba08357741e944c6dfed6a4ef8d41ef65c29
refs/heads/master
2021-04-03T04:05:15.762331
2018-05-08T22:59:25
2018-05-08T22:59:25
124,623,732
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2018-03-09 04:35 from __future__ import unicode_literals from django.db import migrations import embed_video.fields class Migration(migrations.Migration): dependencies = [ ('gallery', '0001_initial'), ] operations = [ migrations.Al...
[ "denihhandoko@gmail.com" ]
denihhandoko@gmail.com
515b2c520a119584f2cbb4cf403fd2b13b81391b
4d8439664d716ce811046969f806ccfc3fbe1add
/singlecellmultiomics/tags/write_tags_md.py
bff5893bd5ac4de5311279ce07fcd54721a5e3a9
[ "MIT" ]
permissive
BuysDB/SingleCellMultiOmics
b32519be6d4a79d8c80050f91e600aceedb9983f
441f378cbfb0af165f1ada5b8596362412b3cc48
refs/heads/master
2023-07-25T17:39:18.371642
2023-06-21T07:30:31
2023-06-21T07:30:31
187,592,829
21
9
MIT
2023-06-21T07:30:32
2019-05-20T07:47:28
Python
UTF-8
Python
false
false
524
py
import tabulate import singlecellmultiomics.tags if __name__ == '__main__': table = [] for tag in singlecellmultiomics.tags.tags: table.append( (tag.tag, tag.humanName, ('No', 'Yes')[ tag.isPhred], ('No', 'Yes')[ tag.doNotWrite])) # Order alphabetically ...
[ "git@buysdb.nl" ]
git@buysdb.nl
8699353a496d1699ed8e6b3bafa8403168a9430d
9f521abad3814fe1212e493a39d8ac6b1b7003bb
/exams/seize_the_fire.py
26b656d12e8bfb123c0c39381d1aac9054630e65
[]
no_license
ayk-dev/python-fundamentals
009b8b313fb033b8f89b7aaeb146a6cbf0e25b61
9a1efd6fcdc13093c150d8b841b3ea54bc4574cc
refs/heads/main
2023-01-06T19:50:03.416367
2020-11-09T20:16:02
2020-11-09T20:16:02
305,310,278
1
0
null
2020-10-19T08:20:46
2020-10-19T08:12:54
null
UTF-8
Python
false
false
839
py
def is_cell_valid(type, value): if type == 'High': return 81 <= value <= 125 elif type == 'Medium': return 51 <= value <= 80 else: return 1 <= value <= 50 fire_cells = input().split('#') water = int(input()) total_effort = 0 total_fire = 0 print('Cells:') for i in r...
[ "noreply@github.com" ]
ayk-dev.noreply@github.com
3fd8d38ebf53287b777039d74985dccbeda73902
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/289/66303/submittedfiles/testes.py
a31c9c686f34f6546f6e4a169d34d495de114000
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO print("Caroline de Oliveira Silva") print("18") print(11+1037) print((9*35+160)/5) print(3,14159*5**2*3) print((2+5)**2)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
ab5a016e030cf3970830c780b16150adebb82f3a
543286f4fdefe79bd149ff6e103a2ea5049f2cf4
/Exercicios&cursos/Curso_em_video(exercicios)/ex027.py
9cca4eff83e069f10f5d1c3ff4705a0cbaa6302d
[]
no_license
antonioleitebr1968/Estudos-e-Projetos-Python
fdb0d332cc4f12634b75984bf019ecb314193cc6
9c9b20f1c6eabb086b60e3ba1b58132552a84ea6
refs/heads/master
2022-04-01T20:03:12.906373
2020-02-13T16:20:51
2020-02-13T16:20:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
n = str(input('Digite o seu nome: ')).strip() nome = n.split() print('Muito prazer em te conhecer {}!'.format(nome[0])) print('Seu primeiro nome é {}'.format(nome[0]), end=' ') print('e o seu últiumo nome é {}'.format(nome[len(nome)-1]))
[ "progmatheusmorais@gmail.com" ]
progmatheusmorais@gmail.com
0c06a5958f9b6c0d5357f265a31e03ae59ab38bc
0136e6345d0a548639966cf09ff2ee2771af53e8
/tkp/testutil/stream_emu.py
f64b0a0cf0024d1f483c1cebaf646116e0722d67
[ "BSD-2-Clause" ]
permissive
kernsuite-debian/tkp
eb4363af9efd59a2f61cdc4cc19c23571da71feb
f1eca5b051aafb6ca20cd134d7850f46b861ff12
refs/heads/master
2020-04-01T19:28:46.904504
2018-08-28T23:38:50
2018-08-28T23:38:50
68,715,033
0
0
null
null
null
null
UTF-8
Python
false
false
7,707
py
#!/usr/bin/env python """ This is an AARTFAAC imaging pipeline simulator. It will spawn 6 server sockets where multiple clients can connect to. once connected the server will send out empty fits images, with increasing timestamps. Each port has a different band. """ import struct import time import monotonic from datet...
[ "gijs@pythonic.nl" ]
gijs@pythonic.nl
27a54bf2a5e218c6abf618f63194ec05e545d0a0
da29f1f5b4459fbfec968bb694bedb9586f87b14
/new_algs/Numerical+algorithms/QR+algorithm/test_set_column02.py
f10ebd347e6f21a170eae336e7cf4937528a0e08
[]
no_license
coolsnake/JupyterNotebook
547806a45a663f090f313dc3e70f779ad9b213c0
20d8df6172906337f81583dabb841d66b8f31857
refs/heads/master
2023-01-13T18:55:38.615312
2020-11-17T22:55:12
2020-11-17T22:55:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,427
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013, John McNamara, jmcnamara@cpan.org # import unittest import os from ...workbook import Workbook from ..helperfunctions import _compare_xlsx_files class TestCompareXLSXFiles(u...
[ "chenqh@uci.edu" ]
chenqh@uci.edu
ea76fee0a134b00e286601bf213fd76971932932
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_Integration/trend_MovingAverage/cycle_30/ar_12/test_artificial_1024_Integration_MovingAverage_30_12_20.py
829677ff1b3c7ea8bf38588ad0710b0acd35e222
[ "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
273
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 = "MovingAverage", cycle_length = 30, transform = "Integration", sigma = 0.0, exog_count = 20, ar_order = 12);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
cbd90f92758392f1fc9e66700b13ec39d9176f27
48f73b5b78da81c388d76d685ec47bb6387eefdd
/scrapeHackerrankCode/codes/special-multiple291.py
8f92039ca6b3765f457b6e62640c9b9d770ccf13
[]
no_license
abidkhan484/hacerrankScraping
ad0ceda6c86d321d98768b169d63ea1ee7ccd861
487bbf115117bd5c293298e77f15ae810a50b82d
refs/heads/master
2021-09-18T19:27:52.173164
2018-07-18T12:12:51
2018-07-18T12:12:51
111,005,462
2
1
null
null
null
null
UTF-8
Python
false
false
334
py
# Wrong Answer # Python 3 for _ in range(int(input().strip())): n = int(input().strip()) i, divisor = 0, 9 while True: if divisor//n==divisor/n: print(divisor) break if i&1: divisor -= 9 divisor *= 10 else: divisor += 9 ...
[ "abidkhan484@gmail.com" ]
abidkhan484@gmail.com
99f7992cb32de2d8daa177e52ab3fb5db36e9aec
bb54c1e045db1993de6e7cbaf62a232b8b82d895
/proveedor_app/forms/proveedor.py
f0717a523c8dee0983b078a9541653a43de233c4
[]
no_license
AndresOsorio95/BackendMarca
1037f1db6e4ecb3949df9defeda3c0dc4a1c0cd5
a1bbfcdab70dc7a7ee80c0699c6d80286e93195d
refs/heads/main
2023-06-07T09:02:41.819850
2021-07-02T18:47:05
2021-07-02T18:47:05
382,433,965
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
from django.forms import ModelForm, Textarea from proveedor_app.models import Proveedor class ProveedorForm(ModelForm): class Meta: model = Proveedor fields = ( 'tipo_identificacion', 'identificacion', 'nombre', 'direccion', 'numero_telefonico', 'correo_electronico', 'descr...
[ "andres.osorio0710@gmail.com" ]
andres.osorio0710@gmail.com
d60e8203d55a9648bac6e65083afda00aee4e070
d2deead5da9b4999eb8cee6235b43c897f468212
/Week12/todolist/auth_/migrations/0002_delete_profile.py
0394589f5887c7374399aa2d079e0a62d13c5a05
[]
no_license
mkeshilbaev/BFDjango
39f829d6362f4acbd502f98198facf482f1fd392
caa34eb8e456e20cacadaa5b4e20949fa32ff529
refs/heads/master
2023-05-02T22:39:25.023549
2020-04-25T14:16:22
2020-04-25T14:16:22
233,826,635
0
0
null
2023-04-21T20:48:01
2020-01-14T11:30:49
Python
UTF-8
Python
false
false
283
py
# Generated by Django 2.2.9 on 2020-04-19 13:00 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('auth_', '0001_initial'), ] operations = [ migrations.DeleteModel( name='Profile', ), ]
[ "m.keshilbaev@gmail.com" ]
m.keshilbaev@gmail.com
aca057cb664d14501097f8a23b529db58e61311e
836705d3c321ea8e62f3b2a0ea7e837fe5d45dfd
/gputest.py
e8d506074aebd84ab30126932d5eca9b4dabd281
[]
no_license
Accomlish/tensorflow_learn
e11acedbb81f9ef08866a15daf5155853d81cb49
19126ae75e1460aa0bb3bd041d96f99db56181d0
refs/heads/master
2021-05-22T16:50:09.878737
2020-04-04T14:36:22
2020-04-04T14:36:22
253,009,595
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
import tensorflow as tf import numpy as np config = tf.ConfigProto(log_device_placement=True, allow_soft_placement=True) config.gpu_options.allow_growth = True with tf.Session(config=config) as sess: a = tf.placeholder(tf.int32) b = tf.placeholder(tf.int32) add = tf.add(a, b) sum666 = sess.r...
[ "your email" ]
your email
adb280354f4d8d5abaf97664c3a7d546cad32103
22e6dcbebad329b32579e531af8b33bc657088c9
/AtCoder/ABC100/ProbD.py
d99fb869ecffabcd854dfdda2185d4000334cc8b
[]
no_license
daigo0927/ProgrammingContest
a63b74bb79ece46181b03dc359bf665604b11ea5
f54aa8f485ebfd30d5ee84fd74fa9e0661c2a7df
refs/heads/master
2021-06-21T09:26:23.699668
2019-06-22T18:51:32
2019-06-22T18:51:32
132,655,624
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
n, m = map(int, input().split()) xyz = [list(map(int, input().split())) for _ in range(n)] if m == 0: print(0) exit() ans = 0 for i in range(1<<3): x = [w[0] if i&1 > 0 else -w[0] for w in xyz] y = [w[1] if i&2 > 0 else -w[1] for w in xyz] z = [w[2] if i&4 > 0 else -w[2] for w in xyz] sums = [...
[ "Daigo@Daigo-no-MacBook-Air.local" ]
Daigo@Daigo-no-MacBook-Air.local
8e5d63b869c6284b9280854b0c5dbfb6d30ecca1
952dc66c61966f099756cdb6c2d13b40352f63cc
/zerver/migrations/0036_rename_subdomain_to_string_id.py
2101545ae176817c4be95cd6e3afb273fa9ec10a
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
zulip/zulip
5ae6aad35fd9f72996c0a2a9cdd674400966ebf6
965a25d91b6ee2db54038f5df855215fa25146b0
refs/heads/main
2023-08-28T23:43:00.971110
2023-08-28T16:47:09
2023-08-28T19:33:02
43,160,685
20,239
8,996
Apache-2.0
2023-09-14T20:57:47
2015-09-25T16:37:25
Python
UTF-8
Python
false
false
334
py
from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("zerver", "0035_realm_message_retention_period_days"), ] operations = [ migrations.RenameField( model_name="realm", old_name="subdomain", new_name="string_id", ...
[ "tabbott@zulipchat.com" ]
tabbott@zulipchat.com
7f18369c76373073e49cc1868967e7eb388ce329
1e09bc56bf2904b349df1873e11da3d527437880
/lecture-10/desktopapp.py
2cd618e91c8c01ab14a49949e4fb30f7fcf66b84
[]
no_license
codeforcauseorg-archive/DSA-Live-Python-Jun-0621
f3444f5671cb4985644c7432517477c3585c70fb
e4fe544178d7851c24755242390f39675b99fabe
refs/heads/main
2023-08-09T08:31:41.449120
2021-09-14T16:44:39
2021-09-14T16:44:39
384,725,085
4
2
null
null
null
null
UTF-8
Python
false
false
1,077
py
from kivy.app import App from kivy.uix.button import Button from kivy.uix.gridlayout import GridLayout from kivy.clock import Clock def tick(event): print("Tick") def hitAction(event): print("I am getting hit") class AnotherLayout(GridLayout): def __init__(self): super(AnotherLayout, self).__...
[ "anujgargcse@gmail.com" ]
anujgargcse@gmail.com
0ac4425e770d9aae6cd0f4f25e8e9ffede4e8f8e
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/CISCO-SESS-BORDER-CTRLR-CALL-STATS-MIB.py
48672a3f5f7801e74aff44ad539cf9c61817a021
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
122,638
py
# # PySNMP MIB module CISCO-SESS-BORDER-CTRLR-CALL-STATS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-SESS-BORDER-CTRLR-CALL-STATS-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:11:53 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
22686f6218e8571bd32f8d736d6dbca12e663051
73b8aba05ee1424f38a8598a9f1305185588075f
/0x03-python-data_structures/5-no_c.py
d52f6339f3a08ea913015b35e1895558cbd8c38e
[]
no_license
nicolasportela/holbertonschool-higher_level_programming
0d176c0e56f4f703c1e9a98b430fc6120f22f675
e1537b81f21118456e5cfa0e4ed89520b232adb6
refs/heads/master
2023-04-20T21:30:22.693434
2021-05-13T01:47:30
2021-05-13T01:47:30
319,397,633
1
0
null
null
null
null
UTF-8
Python
false
false
180
py
#!/usr/bin/python3 def no_c(my_string): new_string = "" for i in my_string: if i != 'c' and i != 'C': new_string = new_string + i return new_string
[ "2103@holbertonschool.com" ]
2103@holbertonschool.com
6f6236eb97cb3c3f45199d49fedcb849e3887638
7949f96ee7feeaa163608dbd256b0b76d1b89258
/toontown/hood/CashbotHQDataAI.py
6b2a2c464d6d0095951ece3376b7d00d5456bac8
[]
no_license
xxdecryptionxx/ToontownOnline
414619744b4c40588f9a86c8e01cb951ffe53e2d
e6c20e6ce56f2320217f2ddde8f632a63848bd6b
refs/heads/master
2021-01-11T03:08:59.934044
2018-07-27T01:26:21
2018-07-27T01:26:21
71,086,644
8
10
null
2018-06-01T00:13:34
2016-10-17T00:39:41
Python
UTF-8
Python
false
false
4,094
py
# File: t (Python 2.4) from direct.directnotify import DirectNotifyGlobal import HoodDataAI from toontown.toonbase import ToontownGlobals from toontown.coghq import DistributedMintElevatorExtAI from toontown.coghq import DistributedCogHQDoorAI from toontown.building import DoorTypes from toontown.coghq import LobbyMan...
[ "fr1tzanatore@aol.com" ]
fr1tzanatore@aol.com
54872da2068e5966d82c9198763c0abaa9af4a56
8c8af585aa120241bc11f642ae5102a8528da800
/model.py
2808684ed84dc51bb73444bb32c5b182e53390b7
[]
no_license
ranifarhat/EditED
f4bfc737a2e928be6e079a62d4860e513c023564
bb630bab475ff3a70f524fef9913b0eee92e72ae
refs/heads/master
2023-01-11T10:41:49.025573
2019-07-31T10:30:26
2019-07-31T10:30:26
187,860,035
0
0
null
2021-03-20T01:21:11
2019-05-21T14:58:25
CSS
UTF-8
Python
false
false
239
py
# from sqlalchemy import Column, Integer, String, Boolean # from sqlalchemy.ext.declarative import declarative_base # from sqlalchemy.orm import relationship, sessionmaker # from sqlalchemy import create_engine # Base = declarative_base()
[ "myname21@meet.mit.edu" ]
myname21@meet.mit.edu
8dc0466183b49e55a0603b3bcd9aee2af71ad9e1
2645161877655dd395e429fc42649f0d5aaac436
/fabfile.py
aa74d0e20c908f576f20e437de8dedbeecf23fc2
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
johndrinkwater/NewsBlur
a7b4d137b9cff6793dfdb7fa6607dfbae1242438
2dd4a84c1a9570cb1040aa40c1441df90bfb2e05
refs/heads/master
2021-01-23T21:54:18.870625
2013-03-14T18:48:09
2013-03-14T18:48:09
null
0
0
null
null
null
null
UTF-8
Python
true
false
32,636
py
from fabric.api import cd, env, local, parallel, serial from fabric.api import put, run, settings, sudo # from fabric.colors import red, green, blue, cyan, magenta, white, yellow from boto.s3.connection import S3Connection from boto.s3.key import Key from boto.ec2.connection import EC2Connection from fabric.contrib imp...
[ "samuel@ofbrooklyn.com" ]
samuel@ofbrooklyn.com
0c8f646dffd045e2bdccb2a35dfec6181d592a5b
9d7d69178c6f1f1db6ed6767e0af32bfe836549c
/new_workspace/Gumtree_Workspace/Magnet/Yick/P9363/100 Alignment/20210130/Overnight/2021_time_55_5K_100Oe_left_40min.py
9fcce7501c04a73187a0dffd96c7445509f5d21c
[]
no_license
Gumtree/Quokka_scripts
217958288b59adbdaf00a9a13ece42f169003889
c9687d963552023d7408a8530005a99aabea1697
refs/heads/master
2023-08-30T20:47:32.142903
2023-08-18T03:38:09
2023-08-18T03:38:09
8,191,387
0
0
null
null
null
null
UTF-8
Python
false
false
4,475
py
histmem preset 60 histmem mode time #Time scan #----------------------------------------------------------------- #System reset (15 minutes) hset /sample/tc1/control/tolerance1 1 drive ma1_setpoint 0 drive tc1_driveable 90 wait 10 drive ma1_setpoint 0 wait 10 drive tc1_driveable 4 wait 10 drive ma1...
[ "quokka@DAV5-QUOKKA.nbi.ansto.gov.au" ]
quokka@DAV5-QUOKKA.nbi.ansto.gov.au
0f5931fd8d84c646a41acd7f5e4e71a363ab055b
22cd0e79f4dd999e40a1d6ff829f8ef4f8d9df9a
/optional/kuka_challenge/workspace/catkin_ws/devel/lib/python2.7/dist-packages/rll_planning_project/srv/__init__.py
2064810086da9aabb04122a1bbcd0c0d4187f7d7
[]
no_license
anupamkaul/robond
b3f9cefbf0205d3c1db14b9982a95f61644a49b1
f5b1e4323c0bf0ccd7d78dbef8c9e0ddf1a85d17
refs/heads/master
2021-06-21T14:06:09.368041
2020-11-30T19:51:36
2020-11-30T19:51:36
146,023,409
0
0
null
null
null
null
UTF-8
Python
false
false
47
py
from ._CheckPath import * from ._Move import *
[ "anupam.kaul@yahoo.com" ]
anupam.kaul@yahoo.com
f5e3f03e74aa74d4217bfc06677a1d72df506498
f14200cb05911097bc0d40fc3227c842f71efbb7
/jdfixer/jdfixer.py
c935095f3325aacbaf172a698058f36a71a70a7a
[ "Apache-2.0" ]
permissive
starofrainnight/jd-fixer
56736e8ee4caf11b22c09bc52109a6776576498e
c132a182938ea764f1f7f9a2f6735f9c61687cb8
refs/heads/master
2020-06-12T10:41:10.155274
2019-06-29T04:57:46
2019-06-29T04:57:46
194,274,040
1
1
null
null
null
null
UTF-8
Python
false
false
6,395
py
# -*- coding: utf-8 -*- """Main module.""" import re import os.path from enum import Enum, auto from fnmatch import fnmatch from os import PathLike from typing import List from pathlib import Path from subprocess import run, PIPE, DEVNULL from .dirfixer import DirFixer from .srcfixer import SrcFixer from .issuelinefi...
[ "starofrainnight@gmail.com" ]
starofrainnight@gmail.com
ff3a33e87b8c916742e8cc29c13346d27786aff6
6baeb1bcf18a442faa53a73000aa7cbfccffb0ce
/newv/Lib/site-packages/django/contrib/gis/gdal/field.py
21e94f420595b7f7b1ac6d86ad2d969cf61642e7
[ "BSD-3-Clause" ]
permissive
bipinmilan/HouseRental
22502b2c796f083751f10a7b1724e2566343fbc6
c047d0d20ad4255edcc493b3ae9d75d7819d73b6
refs/heads/master
2022-12-09T05:43:17.588485
2019-12-04T06:43:36
2019-12-04T06:43:36
225,795,647
0
0
null
2022-12-08T05:24:44
2019-12-04T06:28:27
Python
UTF-8
Python
false
false
6,701
py
from ctypes import byref, c_int from datetime import date, datetime, time from django.contrib.gis.gdal.base import GDALBase from django.contrib.gis.gdal.error import GDALException from django.contrib.gis.gdal.prototypes import ds as capi from django.utils.encoding import force_text # For more information, see the OG...
[ "bipinseo62@gmail.com" ]
bipinseo62@gmail.com
78dc59c0ec188b51eb94f34deb94dfb2cde9159d
c23b4c6253ca5a0d42822dd0d28ffa752c11ebf5
/exercises/43751f70-743e-4a3c-9d47-d0462cb286a6/skeletons/af9aab6a-e46f-40c9-8ad7-115b50e848ad/skeleton.py3
e221777eaf475f96dc392f733eff45292476e717
[]
no_license
josepaiva94/e57d8867-6234-41a6-b239-2cd978ad1e70
803e2eb1e2db23c64409bc72ff00c4463875a82f
aa270941dd8cf7b2e1ec8ac89445b1ab3a47f89d
refs/heads/master
2023-01-07T10:49:56.871378
2020-11-16T11:28:14
2020-11-16T11:28:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
150
py3
def boxes(n,cache={}): ## YOUR CODE HERE def boxchain(x, n, bb, start=0): ## YOUR CODE HERE def replace_brackets(s): ## YOUR CODE HERE
[ "56930760+jcpaiva-fgpe@users.noreply.github.com" ]
56930760+jcpaiva-fgpe@users.noreply.github.com
2f3636ec3701a61a95585b524e3d7e2307e1b25d
ae70bb171d6f4cd00c9981145a886e56ad0f2df4
/zombie/fake_input.py
eb53341375aa8bcb87bd0c0c71649e434b903a4f
[]
no_license
zylo117/ZombieZoo
a6d2a86142fc675dbc90cd3a7a3cb2c1df3dd232
5775fec21c18a0b18f694ca8ce5016c44ae0939a
refs/heads/master
2020-03-11T23:49:34.155945
2018-05-04T11:37:26
2018-05-04T11:37:26
130,332,867
0
0
null
null
null
null
UTF-8
Python
false
false
4,328
py
# _*_ coding:UTF-8 _*_ import win32api import win32con import win32gui from ctypes import * import time VK_KEYWORD_CODE = { 'backspace': 0x08, 'tab': 0x09, 'clear': 0x0C, 'enter': 0x0D, 'shift': 0x10, 'ctrl': 0x11, 'alt': 0x12, 'pause': 0x13, 'caps_lock': 0x14, 'esc': 0x1B, ...
[ "zylo117@hotmail.com" ]
zylo117@hotmail.com
3cd81f2aa9785a4c4b34da3060d58a9e24303430
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/cirq_new/cirq_program/startCirq_Class826.py
b7003d3e24888726c86f09f171ae35618af318ab
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,265
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=4 # total number=22 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode def make_circuit(n: int, input_qubit): c = cirq.Ci...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
45e643f0ab73ead271ea1d848c18ea4f2f3efa37
af97a81a69d100e684b8e9f02bc1b117069b9895
/Testcases_Prompt/CWE-259/author_1.py
60ac60060a5334e709f7bbc413ab29e3bede0a70
[]
no_license
s2e-lab/SecurityEval
8de3e2f78fffa7058d79cce84fbcd8ff29c8468d
f637f67b8e8d52d641ab15903e46a41ead7e30a5
refs/heads/main
2023-06-17T22:55:08.047769
2023-06-16T16:54:54
2023-06-16T16:54:54
509,664,226
28
7
null
2023-05-27T04:55:05
2022-07-02T05:10:17
Python
UTF-8
Python
false
false
103
py
def checkAdminPassword(password): ''' Check if the password is valid for an admin user. '''
[ "lsiddiqsunny@gmail.com" ]
lsiddiqsunny@gmail.com
912f9f7e3fabd14b596932bd6f3e64bd00006593
b224c7413b7e6a1cb78dad60b4899674fefe8269
/openforce_account_expense_type/__openerp__.py
89967c6bbb628c114ba720a36bcc0cdb081fc013
[]
no_license
alessandrocamilli/7-openforce-addons
2ee00b712538a8eb433d0ce0c63cd12a861548e6
78fc164679b690bcf84866987266838de134bc2f
refs/heads/master
2016-08-03T11:58:12.730337
2014-07-03T10:29:56
2014-07-03T10:29:56
21,004,298
1
0
null
null
null
null
UTF-8
Python
false
false
1,371
py
# -*- encoding: utf-8 -*- ################################################################################# # Autor: Alessandro Camilli (a.camilli@yahoo.it) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the F...
[ "alessandrocamilli@openforce.it" ]
alessandrocamilli@openforce.it
26bf25a85709836f39c8489c049c50053ba16653
bf65f79c5c2ae73aebb0a550cb025aa07bbdedb5
/movement_ai/dim_reduce.py
e839ef3e54009a9f7542353ff2e4c979f005a0ec
[]
no_license
gaborpapp/AIam
561685d83c729c003be4b56050760671e186ae95
6765749ead0a9b729f3b80a1ceb18062861d8f30
refs/heads/master
2023-08-28T19:40:24.990207
2021-10-15T15:22:20
2021-10-15T15:22:20
9,273,926
0
2
null
2023-08-14T21:36:02
2013-04-07T08:46:39
Python
UTF-8
Python
false
false
237
py
from dimensionality_reduction.dimensionality_reduction_experiment import * parser = ArgumentParser() DimensionalityReductionExperiment.add_parser_arguments(parser) experiment = DimensionalityReductionExperiment(parser) experiment.run()
[ "alex@nimations.com" ]
alex@nimations.com
f0177b09c49700d4bd53a1ab4f6c1a26375ac69d
b8e31f4c35f036f634c74472018ef920a6c9805b
/genesys/genesys/codelets/graph/cycle_analyzer.py
b36d415dbf34e2368f86e8f55181b43f059387c5
[ "BSD-3-Clause" ]
permissive
manasiumn37/public
4f3fb2b16c2cda49ddbff88adea80d0833b2e427
6d4fdc61d12904e26c4be053c91cadab2a9cdc16
refs/heads/main
2023-05-01T03:17:53.351718
2021-05-24T05:07:04
2021-05-24T05:07:04
359,621,425
0
0
BSD-3-Clause
2021-04-19T23:04:10
2021-04-19T23:04:09
null
UTF-8
Python
false
false
1,832
py
from .node import Node from .graph import Graph from .analyzer import Analyzer def get_in_degree(node): return node.get_attr('__ca_in_degree') def set_in_degree(node, value): node.set_attr('__ca_in_degree', value) def decrement_in_degree(node): in_degree = get_in_degree(node) set_in_degree(node, in_d...
[ "sean.kinzer@gmail.com" ]
sean.kinzer@gmail.com
e75c405c49618bc65fff2fb4b3a03ba077b9c973
2f330fc050de11676ab46b963b7878882e9b6614
/test/test_spell_check_warning_dto.py
3029fdfaf53c31c3058ea130493fb512f8a99a2b
[ "Apache-2.0" ]
permissive
zerodayz/memsource-cli-client
609f48c18a2b6daaa639d4cb8a61da43763b5143
c2574f1467539a49e6637c874e88d75c7ef789b3
refs/heads/master
2020-08-01T12:43:06.497982
2019-09-30T11:14:13
2019-09-30T11:14:13
210,999,654
1
0
null
null
null
null
UTF-8
Python
false
false
1,291
py
# coding: utf-8 """ Memsource REST API Welcome to Memsource's API documentation. To view our legacy APIs please [visit our documentation](https://wiki.memsource.com/wiki/Memsource_API) and for more information about our new APIs, [visit our blog](https://www.memsource.com/blog/2017/10/24/introducing-rest-apis...
[ "cerninr@gmail.com" ]
cerninr@gmail.com
1bd18e0ffe74d2e990b169b84d63d31a9928d176
1a3d7ad8c665d0b3ff88e3e0ff9fcba49e17a777
/dstop.py
1768fe9e96a5e5b34e19561d063a3550b82bd86b
[]
no_license
TA7un/Docker
6d0e1d9d99352e34dabcbd3121b25d59772a7fa7
7d2f2a4ab5487baf8ce5bc939e5de37d8e5f7fe7
refs/heads/main
2023-07-02T13:57:50.627517
2021-08-08T16:42:11
2021-08-08T16:42:11
394,014,772
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
#!/usr/bin/python3 print("content-type: text/html") print() import subprocess as sp import cgi form = cgi.FieldStorage() osname = form.getvalue("x") osimage = form.getvalue("i") print(osname) cmd = "sudo docker stop --name {0} {1}".format(osname, osimage) output = sp.getstatusoutput(cmd) status = output[0] out ...
[ "you@example.com" ]
you@example.com
c5f9d58f87a59428bb4e0e7f713c3602c532e6ae
efd8664d3cf7ba060eaf10569083f7744b60c7c1
/Rest/Rest/urls.py
c37de7c0765bef90f1119b5089b2632cf646ffbf
[]
no_license
mukeshrock7897/CURD-Rest-Api-Projects
eee181e41533e69766367f7afe1fc569fe4341be
bd8a9c4756e956271faa817583a958d1f95df019
refs/heads/master
2020-04-08T06:45:39.676271
2018-11-26T12:54:01
2018-11-26T12:54:01
159,110,995
1
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
"""Rest URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/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-based vi...
[ "mukeshrock7897@gmail.com" ]
mukeshrock7897@gmail.com