https://github.com/annotation/text-fabric
- HEAD
- refs/heads/add-license-1
- refs/heads/dataspecifiers
- refs/heads/displayrefactor
- refs/heads/displayrefactor2
- refs/heads/fixselftf
- refs/heads/fixtfattr
- refs/heads/gh-pages
- refs/heads/master
- refs/tags/10.2.1z
- refs/tags/4.3.6z
- refs/tags/v10.2.1z
- refs/tags/v3
- refs/tags/v3.1
- refs/tags/v5.5.21z
- refs/tags/v7.3.1z
- refs/tags/v7.6.1z
- refs/tags/v8.3.4z
- refs/tags/v9.1.0z
- v9.5.2
- v9.5.1
- v9.5.0
- v9.4.4
- v9.4.3
- v9.4.2
- v9.4.1
- v9.4.0
- v9.3.2
- v9.3.1
- v9.3.0
- v9.2.5
- v9.2.4
- v9.2.3
- v9.2.2
- v9.2.1
- v9.2.0
- v9.1.9
- v9.1.8
- v9.1.7
- v9.1.6
- v9.1.5
- v9.1.4
- v9.1.3
- v9.1.2
- v9.1.13
- v9.1.12
- v9.1.11
- v9.1.10
- v9.1.1
- v9.1.0
- v9.0.4
- v9.0.3
- v9.0.2
- v9.0.1
- v9.0.0
- v8.5.9
- v8.5.8
- v8.5.7
- v8.5.6
- v8.5.5
- v8.5.4
- v8.5.3
- v8.5.2
- v8.5.14
- v8.5.13
- v8.5.12
- v8.5.11
- v8.5.10
- v8.5.1
- v8.5.0
- v8.4.9
- v8.4.8
- v8.4.7
- v8.4.6
- v8.4.5
- v8.4.4
- v8.4.3
- v8.4.2
- v8.4.14
- v8.4.13
- v8.4.12
- v8.4.11
- v8.4.10
- v8.4.1
- v8.4.0
- v8.3.5
- v8.3.4
- v8.3.3
- v8.3.2
- v8.3.1
- v8.3.0
- v8.2.2
- v8.2.1
- v8.2.0
- v8.1.2
- v8.1.1
- v8.1.0
- v8.0.4
- v8.0.3
- v8.0.2
- v8.0.1
- v8.0.0
- v7.9.2
- v7.9.1
- v7.9.0
- v7.8.8
- v7.8.7
- v7.8.6
- v7.8.5
- v7.8.4
- v7.8.3
- v7.8.2
- v7.8.12
- v7.8.11
- v7.8.10
- v7.8.1
- v7.8.0
- v7.7.9
- v7.7.8
- v7.7.6
- v7.7.5
- v7.7.4
- v7.7.3
- v7.7.2
- v7.7.10
- v7.7.1
- v7.7.0
- v7.6.8
- v7.6.7
- v7.6.6
- v7.6.5
- v7.6.4
- v7.6.3
- v7.6.2
- v7.6.1
- v7.6.0
- v7.5.4
- v7.5.3
- v7.5.2
- v7.5.1
- v7.5.0
- v7.4.9
- v7.4.8
- v7.4.7
- v7.4.6
- v7.4.5
- v7.4.4
- v7.4.3
- v7.4.2
- v7.4.11
- v7.4.10
- v7.4.1
- v7.4.0
- v7.3.9
- v7.3.8
- v7.3.6
- v7.3.5
- v7.3.4
- v7.3.3
- v7.3.2
- v7.3.15
- v7.3.14
- v7.3.13
- v7.3.12
- v7.3.11
- v7.3.10
- v7.3.1
- v7.3.0
- v7.2.3
- v7.2.2
- v7.2.1
- v7.2.0
- v7.11.1
- v7.11.0
- v7.10.2
- v7.10.1
- v7.10.0
- v7.1.1
- v7.1.0
- v7.0.3
- v7.0.2
- v7.0.1
- v7.0.0
- v6.4.6
- v6.4.5
- v6.4.4
- v6.4.3
- v6.4.2
- v6.4.1
- v6.4.0
- v6.3.2
- v6.3.1
- v6.3.0
- v6.2.2
- v6.2.1
- v6.2.0
- v6.1.0
- v6.0.9
- v6.0.8
- v6.0.7
- v6.0.6
- v6.0.5
- v6.0.4
- v6.0.3
- v6.0.2
- v6.0.1
- v6.0.0
- v5.6.4
- v5.6.3
- v5.6.2
- v5.6.1
- v5.6.0
- v5.5.9
- v5.5.8
- v5.5.7
- v5.5.6
- v5.5.5
- v5.5.4
- v5.5.3
- v5.5.25
- v5.5.24
- v5.5.23
- v5.5.22
- v5.5.21
- v5.5.20
- v5.5.2
- v5.5.19
- v5.5.18
- v5.5.17
- v5.5.16
- v5.5.15
- v5.5.14
- v5.5.13
- v5.5.12
- v5.5.11
- v5.5.10
- v5.5.1
- v5.5.0
- v5.4.7
- v5.4.6
- v5.4.5
- v5.4.4
- v5.4.3
- v5.4.2
- v5.4.1
- v5.4.0
- v5.3.3
- v5.3.2
- v5.3.1
- v5.3.0
- v5.2.1
- v5.2.0
- v5.1.0
- v5.0.4
- v5.0.3
- v5.0.2
- v5.0.1
- v5.0.0
- v4.4.3
- v4.4.2
- v4.4.1
- v4.4.0
- v4.3.6
- v4.3.5
- v4.3.4
- v4.3.3
- v4.3.2
- v4.3.1
- v4.3.0
- v4.2.1
- v4.2.0
- v4.1.2
- v4.1.1
- v4.1.0
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v3.4.9
- v3.4.8
- v3.4.7
- v3.4.6
- v3.4.5
- v3.4.4
- v3.4.2
- v3.4.13
- v3.4.12
- v3.4.11
- v3.4.10
- v3.4.1
- v3.4.0
- v3.3.4
- v3.3.3
- v3.3.2
- v3.3.1
- v3.3.0
- v3.2.6
- v3.2.5
- v3.2.4
- v3.2.2
- v3.2.1
- v3.2.0
- v3.1.5
- v3.1.4
- v3.1.3
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.9
- v3.0.8
- v3.0.7
- v3.0.6
- v3.0.5
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.3.9
- v2.3.8
- v2.3.7
- v2.3.6
- v2.3.5
- v2.3.4
- v2.3.3
- v2.3.2
- v2.3.15
- v2.3.14
- v2.3.13
- v2.3.12
- v2.3.11
- v2.3.10
- v2.3.1
- v2.3.0
- v2.2.1
- v2.2.0
- v2.1.3
- v2.1.1
- v2.1.0
- v2.0.0
- v12.5.3
- v12.5.2
- v12.5.1
- v12.5.0
- v12.4.6
- v12.4.5
- v12.4.4
- v12.4.3
- v12.4.2
- v12.4.1
- v12.4.0
- v12.3.7
- v12.3.6
- v12.3.5
- v12.3.4
- v12.3.3
- v12.3.2
- v12.3.1
- v12.3.0
- v12.2.9
- v12.2.8
- v12.2.7
- v12.2.6
- v12.2.5
- v12.2.4
- v12.2.3
- v12.2.2
- v12.2.10
- v12.2.1
- v12.2.0
- v12.1.7
- v12.1.6
- v12.1.5
- v12.1.4
- v12.1.3
- v12.1.2
- v12.1.1
- v12.1.0
- v12.0.7
- v12.0.6
- v12.0.5
- v12.0.4
- v12.0.3
- v12.0.2
- v12.0.1
- v12.0.0
- v11.5.1
- v11.5.0
- v11.4.9
- v11.4.8
- v11.4.7
- v11.4.6
- v11.4.5
- v11.4.4
- v11.4.3
- v11.4.2
- v11.4.16
- v11.4.15
- v11.4.14
- v11.4.13
- v11.4.12
- v11.4.11
- v11.4.10
- v11.4.1
- v11.4.0
- v11.3.1
- v11.3.0
- v11.2.3
- v11.2.2
- v11.2.1
- v11.2.0
- v11.1.4
- v11.1.3
- v11.1.2
- v11.1.1
- v11.1.0
- v11.0.7
- v11.0.6
- v11.0.5
- v11.0.4
- v11.0.3
- v11.0.2
- v11.0.1
- v11.0.0
- v10.2.7
- v10.2.6
- v10.2.5
- v10.2.4
- v10.2.3
- v10.2.2
- v10.2.1
- v10.2.0
- v10.1.0
- v10.0.3
- v10.0.2
- v10.0.1
- v10.0.0
- v1.2.7
- v1.2.6
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.0
- v1.0.1
- v1.0.0
- v0.0.9
- v0.0.8
- v0.0.7
- v0.0.6
- v0.0.5
- v0.0.4
- v0.0.3
- v0.0.2
- v0.0.14
- v0.0.13
- v0.0.12
- v0.0.11
- v0.0.10
Raw File
Take a new snapshot of a software origin
If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.
Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.![swh spinner](/static/img/swh-spinner.gif)
Processing "take a new snapshot" request ...
Permalinks
To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.
Tip revision: ad65814d22664ac4b2e416356f703edf2a798a37 authored by Dirk Roorda on 27 March 2019, 13:34:00 UTC
small fix in excel export
small fix in excel export
Tip revision: ad65814
lib.py
import os
import pickle
import gzip
from .parameters import PICKLE_PROTOCOL, GZIP_LEVEL
from .core.helpers import console
def writeSets(sets, dest):
destPath = os.path.expanduser(dest)
(baseDir, fileName) = os.path.split(destPath)
if not os.path.exists(baseDir):
try:
os.makedirs(baseDir, exist_ok=True)
except Exception:
console(f'Cannot create directory "{baseDir}"', error=True)
return False
with gzip.open(destPath, "wb", compresslevel=GZIP_LEVEL) as f:
pickle.dump(sets, f, protocol=PICKLE_PROTOCOL)
return True
def readSets(source):
sourcePath = os.path.expanduser(source)
if not os.path.exists(sourcePath):
console(f'Sets file "{source}" does not exist.')
return False
with gzip.open(sourcePath, "rb") as f:
sets = pickle.load(f)
return sets