id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1
value | extension stringclasses 14
values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12
values | repo_extraction_date stringclasses 433
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23,300 | test_vpc.py | koalalorenzo_python-digitalocean/digitalocean/tests/test_vpc.py | import json
import unittest
import responses
import digitalocean
from .BaseTest import BaseTest
class TestVPC(BaseTest):
def setUp(self):
super(TestVPC, self).setUp()
self.vpc_id = '5a4981aa-9653-4bd1-bef5-d6bff52042e4'
self.vpc = digitalocean.VPC(id=self.vpc_id, token=self.token)
@... | 3,267 | Python | .py | 75 | 31.826667 | 80 | 0.58512 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,301 | test_certificate.py | koalalorenzo_python-digitalocean/digitalocean/tests/test_certificate.py | import json
import unittest
import responses
import digitalocean
from .BaseTest import BaseTest
class TestCertificate(BaseTest):
def setUp(self):
super(TestCertificate, self).setUp()
self.cert_id = '892071a0-bb95-49bc-8021-3afd67a210bf'
self.cert = digitalocean.Certificate(id=self.cert_i... | 3,991 | Python | .py | 84 | 33.202381 | 79 | 0.571024 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,302 | test_firewall.py | koalalorenzo_python-digitalocean/digitalocean/tests/test_firewall.py | import unittest
import responses
import digitalocean
import json
from .BaseTest import BaseTest
class TestFirewall(BaseTest):
@responses.activate
def setUp(self):
super(TestFirewall, self).setUp()
data = self.load_from_file('firewalls/single.json')
url = self.base_url + "firewalls/... | 6,221 | Python | .py | 140 | 32.521429 | 80 | 0.589034 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,303 | test_action.py | koalalorenzo_python-digitalocean/digitalocean/tests/test_action.py | import unittest
import responses
import json
import digitalocean
from .BaseTest import BaseTest
class TestAction(BaseTest):
def setUp(self):
super(TestAction, self).setUp()
self.action = digitalocean.Action(id=39388122, token=self.token)
@responses.activate
def test_load_directly(self):... | 1,586 | Python | .py | 39 | 30.487179 | 72 | 0.621005 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,304 | test_floatingip.py | koalalorenzo_python-digitalocean/digitalocean/tests/test_floatingip.py | import unittest
import responses
import digitalocean
from .BaseTest import BaseTest
class TestFloatingIP(BaseTest):
def setUp(self):
super(TestFloatingIP, self).setUp()
self.fip = digitalocean.FloatingIP(ip='45.55.96.47', token=self.token)
@responses.activate
def test_load(self):
... | 4,172 | Python | .py | 93 | 31.311828 | 78 | 0.552703 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,305 | test_image.py | koalalorenzo_python-digitalocean/digitalocean/tests/test_image.py | import unittest
import responses
import digitalocean
from .BaseTest import BaseTest
class TestImage(BaseTest):
def setUp(self):
super(TestImage, self).setUp()
self.image = digitalocean.Image(
id=449676856, token=self.token
)
self.image_with_slug = digitalocean.Image(... | 5,794 | Python | .py | 124 | 33.798387 | 76 | 0.580113 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,306 | test_droplet.py | koalalorenzo_python-digitalocean/digitalocean/tests/test_droplet.py | import json
import unittest
import responses
import digitalocean
from .BaseTest import BaseTest
class TestDroplet(BaseTest):
@responses.activate
def setUp(self):
super(TestDroplet, self).setUp()
self.actions_url = self.base_url + "droplets/12345/actions/"
data = self.load_from_file... | 43,208 | Python | .py | 830 | 37.785542 | 104 | 0.584704 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,307 | BaseTest.py | koalalorenzo_python-digitalocean/digitalocean/tests/BaseTest.py | import os
import unittest
DEFAULT_PER_PAGE = 200
class BaseTest(unittest.TestCase):
def setUp(self):
self.base_url = "https://api.digitalocean.com/v2/"
self.token = "afaketokenthatwillworksincewemockthings"
def load_from_file(self, json_file):
cwd = os.path.dirname(__file__)
... | 1,362 | Python | .py | 35 | 30.542857 | 79 | 0.600914 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,308 | test_snapshot.py | koalalorenzo_python-digitalocean/digitalocean/tests/test_snapshot.py | import unittest
import responses
import digitalocean
from .BaseTest import BaseTest
class TestSnapshot(BaseTest):
def setUp(self):
super(TestSnapshot, self).setUp()
self.snapshot = digitalocean.Snapshot(id="fbe805e8-866b-11e6-96bf-000f53315a41", token=self.token)
@responses.activate
def... | 1,605 | Python | .py | 35 | 35.285714 | 106 | 0.633504 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,309 | test_project.py | koalalorenzo_python-digitalocean/digitalocean/tests/test_project.py | import unittest
import responses
import digitalocean
from .BaseTest import BaseTest
class TestProject(BaseTest):
def setUp(self):
super(TestProject, self).setUp()
@responses.activate
def test_load(self):
self.project = digitalocean.Project(
id='4e1bfbc3-dc3e-41f2-a18f-1b4d7ba... | 9,116 | Python | .py | 178 | 36.994382 | 95 | 0.588506 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,310 | test_load_balancer.py | koalalorenzo_python-digitalocean/digitalocean/tests/test_load_balancer.py | import json
import unittest
import responses
import digitalocean
from .BaseTest import BaseTest
class TestLoadBalancer(BaseTest):
def setUp(self):
super(TestLoadBalancer, self).setUp()
self.lb_id = '4de7ac8b-495b-4884-9a69-1050c6793cd6'
self.vpc_uuid = "c33931f2-a26a-4e61-b85c-4e95a2ec43... | 18,560 | Python | .py | 365 | 35.534247 | 99 | 0.563461 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,311 | test_tag.py | koalalorenzo_python-digitalocean/digitalocean/tests/test_tag.py | import unittest
import responses
import digitalocean
import json
from .BaseTest import BaseTest
class TestTags(BaseTest):
def setUp(self):
super(TestTags, self).setUp()
@responses.activate
def test_load(self):
data = self.load_from_file('tags/single.json')
url = self.base_url +... | 4,000 | Python | .py | 94 | 29.765957 | 72 | 0.572462 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,312 | test_baseapi.py | koalalorenzo_python-digitalocean/digitalocean/tests/test_baseapi.py | import os
from digitalocean.baseapi import BaseAPI
try:
import mock
except ImportError:
from unittest import mock
import random
import responses
import requests
import digitalocean
from .BaseTest import BaseTest
class TestBaseAPI(BaseTest):
def setUp(self):
super(TestBaseAPI, self).setUp()
... | 3,176 | Python | .py | 64 | 36.3125 | 106 | 0.601107 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,313 | test_cdn_endpoint.py | koalalorenzo_python-digitalocean/digitalocean/tests/test_cdn_endpoint.py | import json
import unittest
import responses
import digitalocean
from .BaseTest import BaseTest
class TestCDNRecord(BaseTest):
def setUp(self):
super(TestCDNRecord, self).setUp()
@responses.activate
def test_load(self):
data = self.load_from_file('cdn_endpoints/single.json')
u... | 3,377 | Python | .py | 72 | 34.805556 | 117 | 0.612295 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,314 | lets_encrpyt.json | koalalorenzo_python-digitalocean/digitalocean/tests/data/certificate/lets_encrpyt.json | {
"certificate": {
"id": "ba9b9c18-6c59-46c2-99df-70da170a42ba",
"name": "web-cert-02",
"not_after": "2018-06-07T17:44:12Z",
"sha1_fingerprint": "479c82b5c63cb6d3e6fac4624d58a33b267e166c",
"created_at": "2018-03-09T18:44:11Z",
"dns_names": ["www.example.com","example.co... | 391 | Python | .py | 12 | 25.833333 | 71 | 0.578947 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,315 | lets_encrpyt.json | koalalorenzo_python-digitalocean/digitalocean/tests/data/certificate/lets_encrpyt.json | {
"certificate": {
"id": "ba9b9c18-6c59-46c2-99df-70da170a42ba",
"name": "web-cert-02",
"not_after": "2018-06-07T17:44:12Z",
"sha1_fingerprint": "479c82b5c63cb6d3e6fac4624d58a33b267e166c",
"created_at": "2018-03-09T18:44:11Z",
"dns_names": ["www.example.com","example.co... | 391 | Python | .pyt | 12 | 25.833333 | 71 | 0.578947 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,316 | lets_encrpyt.json | koalalorenzo_python-digitalocean/digitalocean/tests/data/certificate/lets_encrpyt.json | {
"certificate": {
"id": "ba9b9c18-6c59-46c2-99df-70da170a42ba",
"name": "web-cert-02",
"not_after": "2018-06-07T17:44:12Z",
"sha1_fingerprint": "479c82b5c63cb6d3e6fac4624d58a33b267e166c",
"created_at": "2018-03-09T18:44:11Z",
"dns_names": ["www.example.com","example.co... | 391 | Python | .rpy | 12 | 25.833333 | 71 | 0.578947 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,317 | detach.json | koalalorenzo_python-digitalocean/digitalocean/tests/data/volumes/detach.json | {
"action": {
"id": 68212773,
"status": "in-progress",
"type": "detach_volume",
"started_at": "2015-10-15T17:46:15Z",
"completed_at": null,
"resource_id": null,
"resource_type": "backend",
"region": {
"name": "New York 1",
"slug": "nyc1",
"sizes": [
"512mb",
... | 626 | Python | .tac | 34 | 11.852941 | 41 | 0.431703 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,318 | attach.json | koalalorenzo_python-digitalocean/digitalocean/tests/data/volumes/attach.json | {
"action": {
"id": 72531856,
"status": "completed",
"type": "attach_volume",
"started_at": "2015-11-12T17:51:03Z",
"completed_at": "2015-11-12T17:51:14Z",
"resource_id": null,
"resource_type": "volume",
"region": {
"name": "New York 1",
"slug": "nyc1",
"sizes": [
... | 641 | Python | .tac | 34 | 12.294118 | 43 | 0.4375 | koalalorenzo/python-digitalocean | 1,252 | 301 | 11 | LGPL-3.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,319 | setup.py | zenodo_zenodo/setup.py | #
# This file is part of Zenodo.
# Copyright (C) 2015-2019 CERN.
#
# Zenodo 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) any later version.
#
# Zenodo ... | 11,949 | Python | .py | 303 | 32.108911 | 78 | 0.625828 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,320 | conf.py | zenodo_zenodo/docs/conf.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2015, 2016 CERN.
#
# Zenodo 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) any l... | 11,033 | Python | .py | 263 | 39.688213 | 79 | 0.711666 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,321 | conftest.py | zenodo_zenodo/tests/unit/conftest.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2015, 2016 CERN.
#
# Zenodo 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) any l... | 47,787 | Python | .py | 1,297 | 28.7633 | 79 | 0.596354 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,322 | test_dependencies.py | zenodo_zenodo/tests/unit/test_dependencies.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016-2018 CERN.
#
# Zenodo 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) any la... | 3,448 | Python | .py | 87 | 30.218391 | 76 | 0.558604 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,323 | helpers.py | zenodo_zenodo/tests/unit/helpers.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 2,586 | Python | .py | 64 | 37 | 76 | 0.735247 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,324 | test_celery.py | zenodo_zenodo/tests/unit/default/test_celery.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2015 CERN.
#
# Zenodo 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) any later v... | 1,323 | Python | .py | 31 | 40.903226 | 76 | 0.767081 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,325 | test_cli.py | zenodo_zenodo/tests/unit/default/test_cli.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2015 CERN.
#
# Zenodo 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) any later v... | 1,265 | Python | .py | 32 | 37.6875 | 76 | 0.758564 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,326 | test_wsgi.py | zenodo_zenodo/tests/unit/default/test_wsgi.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2015 CERN.
#
# Zenodo 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) any later v... | 1,171 | Python | .py | 29 | 38.827586 | 76 | 0.766257 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,327 | test_zenodo.py | zenodo_zenodo/tests/unit/default/test_zenodo.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2015 CERN.
#
# Zenodo 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) any later v... | 1,167 | Python | .py | 29 | 38.689655 | 76 | 0.759259 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,328 | conftest.py | zenodo_zenodo/tests/unit/exporter/conftest.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2018 CERN.
#
# Zenodo 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) any later v... | 2,805 | Python | .py | 77 | 31.987013 | 76 | 0.693757 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,329 | test_exporter_writers.py | zenodo_zenodo/tests/unit/exporter/test_exporter_writers.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2018 CERN.
#
# Zenodo 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) any later v... | 1,712 | Python | .py | 42 | 38.5 | 78 | 0.760385 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,330 | test_exporter_streams.py | zenodo_zenodo/tests/unit/exporter/test_exporter_streams.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2018 CERN.
#
# Zenodo 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) any later v... | 2,886 | Python | .py | 80 | 31.4375 | 76 | 0.684154 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,331 | test_exporter_api.py | zenodo_zenodo/tests/unit/exporter/test_exporter_api.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2018 CERN.
#
# Zenodo 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) any later v... | 1,719 | Python | .py | 38 | 42.894737 | 76 | 0.764038 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,332 | test_deposit_views.py | zenodo_zenodo/tests/unit/deposit/test_deposit_views.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 12,789 | Python | .py | 249 | 46.409639 | 79 | 0.698814 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,333 | test_sips.py | zenodo_zenodo/tests/unit/deposit/test_sips.py | # -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2016 CERN.
#
# Invenio 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) any later... | 4,254 | Python | .py | 89 | 41.921348 | 77 | 0.673332 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,334 | test_deposit_utils.py | zenodo_zenodo/tests/unit/deposit/test_deposit_utils.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 1,781 | Python | .py | 43 | 38.767442 | 76 | 0.721548 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,335 | test_minters.py | zenodo_zenodo/tests/unit/deposit/test_minters.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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 3 of the License, or
# (at your option) any later v... | 5,122 | Python | .py | 128 | 35.773438 | 77 | 0.702273 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,336 | test_tasks.py | zenodo_zenodo/tests/unit/deposit/test_tasks.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 7,648 | Python | .py | 159 | 42.025157 | 79 | 0.707389 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,337 | test_deposit_index.py | zenodo_zenodo/tests/unit/deposit/test_deposit_index.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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 3 of the License, or
# (at your option) any later v... | 9,597 | Python | .py | 260 | 26.342308 | 77 | 0.534307 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,338 | test_api_files.py | zenodo_zenodo/tests/unit/deposit/test_api_files.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 10,027 | Python | .py | 251 | 34.051793 | 79 | 0.654733 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,339 | test_api_metadata.py | zenodo_zenodo/tests/unit/deposit/test_api_metadata.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016, 2019 CERN.
#
# Zenodo 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) any l... | 11,455 | Python | .py | 269 | 30.962825 | 79 | 0.584105 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,340 | test_api_quickstart.py | zenodo_zenodo/tests/unit/deposit/test_api_quickstart.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 4,942 | Python | .py | 116 | 30.887931 | 77 | 0.561721 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,341 | test_extra_buckets_permissions.py | zenodo_zenodo/tests/unit/deposit/test_extra_buckets_permissions.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2019 CERN.
#
# Zenodo 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) any later v... | 4,275 | Python | .py | 119 | 30.680672 | 79 | 0.674559 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,342 | test_api_editflow.py | zenodo_zenodo/tests/unit/deposit/test_api_editflow.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 20,297 | Python | .py | 465 | 37.017204 | 79 | 0.657732 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,343 | test_deposit_api.py | zenodo_zenodo/tests/unit/deposit/test_deposit_api.py | # -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2016 CERN.
#
# Invenio 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) any later... | 7,751 | Python | .py | 182 | 36.983516 | 79 | 0.673708 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,344 | test_api_extra_buckets.py | zenodo_zenodo/tests/unit/deposit/test_api_extra_buckets.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2019 CERN.
#
# Zenodo 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) any later v... | 13,594 | Python | .py | 309 | 36.954693 | 79 | 0.660613 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,345 | test_communities_merging.py | zenodo_zenodo/tests/unit/deposit/test_communities_merging.py | # -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2016 CERN.
#
# Invenio 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) any later... | 19,293 | Python | .py | 413 | 41.082324 | 79 | 0.672248 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,346 | test_api_simpleflow.py | zenodo_zenodo/tests/unit/deposit/test_api_simpleflow.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 16,171 | Python | .py | 401 | 32.9601 | 79 | 0.636555 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,347 | test_errors.py | zenodo_zenodo/tests/unit/deposit/test_errors.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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 3 of the License, or
# (at your option) any later v... | 3,889 | Python | .py | 117 | 27.290598 | 78 | 0.650307 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,348 | test_api_buckets.py | zenodo_zenodo/tests/unit/deposit/test_api_buckets.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 12,661 | Python | .py | 307 | 35.218241 | 79 | 0.660397 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,349 | test_records.py | zenodo_zenodo/tests/unit/auditor/test_records.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 13,436 | Python | .py | 303 | 38.79868 | 79 | 0.622307 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,350 | test_oai.py | zenodo_zenodo/tests/unit/auditor/test_oai.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 5,194 | Python | .py | 128 | 34.976563 | 79 | 0.624777 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,351 | test_api.py | zenodo_zenodo/tests/unit/github/test_api.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 4,518 | Python | .py | 107 | 37.485981 | 77 | 0.690384 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,352 | test_github_cli.py | zenodo_zenodo/tests/unit/github/test_github_cli.py | # -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2016 CERN.
#
# Invenio 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) any later... | 6,722 | Python | .py | 140 | 43.521429 | 76 | 0.683087 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,353 | test_support_views.py | zenodo_zenodo/tests/unit/support/test_support_views.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2017 CERN.
#
# Zenodo 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 3 of the License, or
# (at your option) any later v... | 7,073 | Python | .py | 160 | 31.98125 | 78 | 0.561259 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,354 | test_search_ui_views.py | zenodo_zenodo/tests/unit/search_ui/test_search_ui_views.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 1,253 | Python | .py | 31 | 38.032258 | 76 | 0.733388 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,355 | test_grant_utils.py | zenodo_zenodo/tests/unit/utils/test_grant_utils.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2018 CERN.
#
# Zenodo 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) any later v... | 1,680 | Python | .py | 38 | 41.789474 | 76 | 0.741443 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,356 | test_oai_update.py | zenodo_zenodo/tests/unit/utils/test_oai_update.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 2,641 | Python | .py | 54 | 44.925926 | 76 | 0.686335 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,357 | test_oai_sync.py | zenodo_zenodo/tests/unit/utils/test_oai_sync.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 6,082 | Python | .py | 169 | 28.579882 | 79 | 0.558234 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,358 | conftest.py | zenodo_zenodo/tests/unit/metrics/conftest.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2022 CERN.
#
# Zenodo 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) any later v... | 2,608 | Python | .py | 65 | 30.276923 | 76 | 0.582808 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,359 | test_metrics_views.py | zenodo_zenodo/tests/unit/metrics/test_metrics_views.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2017-2023 CERN.
#
# Zenodo 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) any la... | 2,923 | Python | .py | 60 | 41.15 | 76 | 0.661059 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,360 | test_metrics_utils.py | zenodo_zenodo/tests/unit/metrics/test_metrics_utils.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2017-2023 CERN.
#
# Zenodo 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) any la... | 2,849 | Python | .py | 71 | 32.84507 | 78 | 0.640535 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,361 | test_redirection.py | zenodo_zenodo/tests/unit/redirector/test_redirection.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 5,709 | Python | .py | 114 | 43.157895 | 78 | 0.692806 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,362 | test_openaire.py | zenodo_zenodo/tests/unit/openaire/test_openaire.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2017 CERN.
#
# Zenodo 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) any later v... | 1,673 | Python | .py | 38 | 41.157895 | 76 | 0.72543 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,363 | test_openaire_helpers.py | zenodo_zenodo/tests/unit/openaire/test_openaire_helpers.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2017 CERN.
#
# Zenodo 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) any later v... | 3,687 | Python | .py | 93 | 35.311828 | 77 | 0.676092 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,364 | test_communities_api.py | zenodo_zenodo/tests/unit/communities/test_communities_api.py | # -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2016 CERN.
#
# Invenio 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) any later... | 15,873 | Python | .py | 292 | 47.739726 | 79 | 0.662824 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,365 | test_communities_webhooks.py | zenodo_zenodo/tests/unit/communities/test_communities_webhooks.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2021 CERN.
#
# Zenodo 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) any later v... | 4,094 | Python | .py | 103 | 32.184466 | 79 | 0.63433 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,366 | test_bagit_archiver.py | zenodo_zenodo/tests/unit/sipstore/test_bagit_archiver.py | # -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2017 CERN.
#
# Invenio 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) any later... | 9,943 | Python | .py | 195 | 43.430769 | 79 | 0.645121 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,367 | test_tokens_api.py | zenodo_zenodo/tests/unit/tokens/test_tokens_api.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2020 CERN.
#
# Zenodo 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 3 of the License, or
# (at your option) any later v... | 2,419 | Python | .py | 56 | 38.803571 | 77 | 0.725415 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,368 | test_sitemap_views.py | zenodo_zenodo/tests/unit/sitemap/test_sitemap_views.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2018 CERN.
#
# Zenodo 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) any later v... | 3,850 | Python | .py | 83 | 39.831325 | 78 | 0.662936 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,369 | test_sitemap_generator.py | zenodo_zenodo/tests/unit/sitemap/test_sitemap_generator.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2018 CERN.
#
# Zenodo 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) any later v... | 5,161 | Python | .py | 97 | 45.484536 | 78 | 0.6489 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,370 | test_templates.py | zenodo_zenodo/tests/unit/theme/test_templates.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2015 CERN.
#
# Zenodo 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) any later v... | 1,997 | Python | .py | 53 | 34.283019 | 76 | 0.718055 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,371 | test_frontpage_views.py | zenodo_zenodo/tests/unit/frontpage/test_frontpage_views.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 1,494 | Python | .py | 37 | 37.486486 | 76 | 0.722261 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,372 | test_schemas_schemaorg_jsonld.py | zenodo_zenodo/tests/unit/records/test_schemas_schemaorg_jsonld.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2017 CERN.
#
# Zenodo 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 3 of the License, or
# (at your option) any later v... | 15,128 | Python | .py | 373 | 30.179625 | 78 | 0.559185 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,373 | test_schemas.py | zenodo_zenodo/tests/unit/records/test_schemas.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2015 CERN.
#
# Zenodo 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) any later v... | 3,115 | Python | .py | 75 | 38 | 77 | 0.715608 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,374 | test_schemas_legacyjson.py | zenodo_zenodo/tests/unit/records/test_schemas_legacyjson.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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 3 of the License, or
# (at your option) any later v... | 15,731 | Python | .py | 387 | 33.816537 | 77 | 0.638394 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,375 | test_schemas_json_load.py | zenodo_zenodo/tests/unit/records/test_schemas_json_load.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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 3 of the License, or
# (at your option) any later v... | 8,049 | Python | .py | 196 | 36.071429 | 77 | 0.622236 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,376 | test_schemas_datacite.py | zenodo_zenodo/tests/unit/records/test_schemas_datacite.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016-2018 CERN.
#
# Zenodo 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) any la... | 29,008 | Python | .py | 806 | 25.310174 | 79 | 0.516895 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,377 | test_bibtex_serializer.py | zenodo_zenodo/tests/unit/records/test_bibtex_serializer.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2015, 2016 CERN.
#
# Zenodo 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 3 of the License, or
# (at your option) any l... | 28,645 | Python | .py | 600 | 37.19 | 78 | 0.426982 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,378 | test_schemas_dc.py | zenodo_zenodo/tests/unit/records/test_schemas_dc.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016-2018 CERN.
#
# Zenodo 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) any la... | 10,183 | Python | .py | 237 | 36.780591 | 79 | 0.632387 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,379 | test_records_minters.py | zenodo_zenodo/tests/unit/records/test_records_minters.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2015 CERN.
#
# Zenodo 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) any later v... | 1,450 | Python | .py | 33 | 42.060606 | 76 | 0.758499 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,380 | test_records_relations_serialization.py | zenodo_zenodo/tests/unit/records/test_records_relations_serialization.py | # -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2016 CERN.
#
# Invenio 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) any later... | 6,887 | Python | .py | 191 | 26.581152 | 75 | 0.56118 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,381 | test_schemas_openaire_json.py | zenodo_zenodo/tests/unit/records/test_schemas_openaire_json.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2017 CERN.
#
# Zenodo 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) any later v... | 7,417 | Python | .py | 179 | 35.385475 | 76 | 0.634292 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,382 | test_schemas_legacyjson_load.py | zenodo_zenodo/tests/unit/records/test_schemas_legacyjson_load.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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 3 of the License, or
# (at your option) any later v... | 27,303 | Python | .py | 753 | 29.075697 | 79 | 0.616938 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,383 | test_grant_linking.py | zenodo_zenodo/tests/unit/records/test_grant_linking.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 1,533 | Python | .py | 35 | 41.628571 | 77 | 0.748828 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,384 | test_schemas_json.py | zenodo_zenodo/tests/unit/records/test_schemas_json.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2015 CERN.
#
# Zenodo 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) any later v... | 2,561 | Python | .py | 61 | 37.393443 | 76 | 0.709639 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,385 | test_schemas_marcxml.py | zenodo_zenodo/tests/unit/records/test_schemas_marcxml.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 13,950 | Python | .py | 372 | 26.172043 | 79 | 0.526261 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,386 | test_schemas_dcat.py | zenodo_zenodo/tests/unit/records/test_schemas_dcat.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2019 CERN.
#
# Zenodo 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) any later v... | 1,687 | Python | .py | 38 | 41.789474 | 76 | 0.754258 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,387 | test_schemas_geojson.py | zenodo_zenodo/tests/unit/records/test_schemas_geojson.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2019 CERN.
#
# Zenodo 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) any later v... | 1,634 | Python | .py | 43 | 33.232558 | 76 | 0.683281 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,388 | test_records_tasks.py | zenodo_zenodo/tests/unit/records/test_records_tasks.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2018 CERN.
#
# Zenodo 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) any later v... | 5,013 | Python | .py | 112 | 39.25 | 79 | 0.711708 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,389 | test_schemas_csl.py | zenodo_zenodo/tests/unit/records/test_schemas_csl.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 6,535 | Python | .py | 180 | 29.8 | 76 | 0.600348 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,390 | test_records_utils.py | zenodo_zenodo/tests/unit/records/test_records_utils.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2017 CERN.
#
# Zenodo 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) any later v... | 3,854 | Python | .py | 90 | 36.933333 | 78 | 0.637646 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,391 | test_serializers_json.py | zenodo_zenodo/tests/unit/records/test_serializers_json.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2018 CERN.
#
# Zenodo 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) any later v... | 4,022 | Python | .py | 92 | 36.315217 | 78 | 0.648125 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,392 | test_api_views.py | zenodo_zenodo/tests/unit/records/test_api_views.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2019 CERN.
#
# Zenodo 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 3 of the License, or
# (at your option) any later v... | 6,739 | Python | .py | 149 | 38.436242 | 79 | 0.616788 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,393 | test_permissions.py | zenodo_zenodo/tests/unit/records/test_permissions.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 4,654 | Python | .py | 123 | 31.699187 | 76 | 0.651895 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,394 | test_views.py | zenodo_zenodo/tests/unit/records/test_views.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2015 CERN.
#
# Zenodo 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) any later v... | 13,427 | Python | .py | 302 | 37.195364 | 79 | 0.634889 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,395 | test_models.py | zenodo_zenodo/tests/unit/records/test_models.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2015 CERN.
#
# Zenodo 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) any later v... | 4,629 | Python | .py | 115 | 34.347826 | 79 | 0.672833 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,396 | test_oaipmh.py | zenodo_zenodo/tests/unit/records/test_oaipmh.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2017 CERN.
#
# Zenodo 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) any later v... | 1,366 | Python | .py | 32 | 40.0625 | 76 | 0.731579 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,397 | test_records_templates.py | zenodo_zenodo/tests/unit/records/test_records_templates.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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) any later v... | 2,697 | Python | .py | 57 | 42.157895 | 76 | 0.694709 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,398 | conftest.py | zenodo_zenodo/tests/unit/spam/conftest.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2022 CERN.
#
# Zenodo 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) any later v... | 1,819 | Python | .py | 43 | 38.418605 | 77 | 0.724548 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |
23,399 | test_spam_views.py | zenodo_zenodo/tests/unit/spam/test_spam_views.py | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2022 CERN.
#
# Zenodo 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) any later v... | 4,052 | Python | .py | 90 | 37.777778 | 79 | 0.666835 | zenodo/zenodo | 906 | 241 | 543 | GPL-2.0 | 9/5/2024, 5:13:26 PM (Europe/Amsterdam) |