cellsafe
Write and check CSV files so that spreadsheet programs (Excel, LibreOffice Calc, Google Sheets) open them without damaging or misusing the data.
A CSV file has no types. When a spreadsheet opens one it guesses, and the
guesses can run a cell as a formula, turn 00123 into 123, turn MAR1
into a date, cut a 16-digit number down to 15 digits, or show Arabic text as
mojibake. cellsafe is a thin layer over Python's standard csv module that
- neutralises formula-like cells when writing,
- picks an encoding, separator and line ending that suit the program that will open the file,
- detects cells a spreadsheet would silently change and, if you ask it to, protects them,
- audits existing CSV files and reports every such cell with its row and column.
Python 3.10 or later. Standard library only.
Read this first. The rules in this package come from documented and widely reported spreadsheet behaviour. They were not tested against a running copy of Excel, Google Sheets or LibreOffice while it was written. What the test suite proves is what cellsafe writes, byte for byte, and that the original data can always be read back. See What was and was not tested.
No CSV trick is perfect. If the people opening your file must get exact
values with exact types, give them a real .xlsx file with typed cells.
cellsafe does not write .xlsx.
Install
cellsafe is not on PyPI. Install it from the repository:
pip install git+https://github.com/RealAoss/cellsafe
Quick start
>>> import cellsafe
>>> rows = [["id", "name", "total"], ["00123", "=1+1", -5]]
>>> print(cellsafe.dumps(rows), end="")
id,name,total
00123,'=1+1,-5
>>> report = cellsafe.audit("id,name,total\n00123,=1+1,-5\n")
>>> for finding in report.findings:
... print(finding.cell, finding.kind, "-", finding.action)
A2 leading-zero - reported only
B2 formula - prefixed with an apostrophe
Writing a file works like csv.writer:
import cellsafe
with cellsafe.writer("report.csv", target="excel") as w:
w.writerow(["id", "name", "total"])
w.writerows(rows)
The problems
1. Formula injection
A cell that starts with =, +, - or @ is evaluated as a formula. The
OWASP guidance on CSV injection
also lists a leading tab and carriage return. cellsafe looks past leading
whitespace and quote characters as well, and recognises the full-width forms
(U+FF1D, U+FF0B, U+FF0D, U+FF20). The risk kind is formula.
| Value | Written by default |
|---|---|
=SUM(A1:A2) |
'=SUM(A1:A2) |
+1+1 |
'+1+1 |
@SUM(1) |
'@SUM(1) |
-5 |
-5 |
-3.2e4 |
-3.2e4 |
+962 7 9000 0000 |
'+962 7 9000 0000 |
@handle |
'@handle |
>>> cellsafe.sanitize("=SUM(A1:A2)")
"'=SUM(A1:A2)"
>>> cellsafe.sanitize("-5"), cellsafe.sanitize("-3.2e4")
('-5', '-3.2e4')
>>> cellsafe.sanitize("-5", policy="strict")
"'-5"
>>> cellsafe.sanitize("=SUM(A1:A2)", policy="tab")
'\t=SUM(A1:A2)'
Two neutralising strategies are implemented:
- Apostrophe prefix (
formula="quote", the default). This is what OWASP recommends. The cell becomes text. The apostrophe is visible in the opened sheet, which is ugly but tells the reader that the cell was altered. - Tab prefix (
formula="tab"). Invisible in the sheet. It is not the default because OWASP lists a leading tab as a trigger character itself, so by the same reference a tab-prefixed cell is still a suspect cell, and some import paths trim leading whitespace.
OWASP also asks for every field to be wrapped in double quotes with embedded
quotes doubled. The purpose is to stop a value from breaking out of its
cell; the csv module's quoting already guarantees that. Pass
quoting=csv.QUOTE_ALL if you want the quotes on every field anyway.
Numbers. OWASP's rule, taken literally, turns every negative number into
text, and sums over that column then stop working. The default policy
(numbers="keep") leaves a cell alone when it is nothing but a number:
optional sign, ASCII digits, . or , separators, an optional exponent and
an optional %. Such a cell contains no letters, cell references or
operators, so it cannot call a function. The strict policy
(numbers="escape") follows OWASP to the letter. The trade-off is yours:
default keeps numeric columns usable and relies on the argument above;
strict relies on nothing and costs you the numbers.
Phone numbers and handles. +962 7 9000 0000 and @handle are not
plain numbers, and a spreadsheet would try to evaluate them (@handle can
resolve to a named range or, if it looks like @A1, to a cell). Leaving
them alone would let the spreadsheet change them, so they get the prefix.
The value is not lost: it stays readable in the sheet, and
cellsafe.reader or cellsafe.unprotect returns the original.
>>> cellsafe.sanitize("+962 7 9000 0000")
"'+962 7 9000 0000"
>>> cellsafe.unprotect("'+962 7 9000 0000")
'+962 7 9000 0000'
2. Mojibake for non-ASCII text
Excel on Windows has long opened a double-clicked CSV file in the system
ANSI code page unless the file starts with a byte order mark, so UTF-8
Arabic, Hebrew, Cyrillic or accented text turns into garbage: café shows
as café in code page 1252, and שלום as a run of × and punctuation.
| Output | Bytes at the start | When it is the right choice |
|---|---|---|
utf-8-sig, comma (default for target="excel") |
EF BB BF |
The usual choice. Other tools can still read the file, though they should open it as utf-8-sig so the mark does not end up in the first header. |
utf-16 (UTF-16 LE with BOM), tab |
FF FE |
When the readers use Excel in a locale whose list separator is not the comma (see problem 4): tabs do not depend on the locale. Poor choice for anything that is not a spreadsheet: twice the size for ASCII text, and few tools expect it. |
>>> cellsafe.dumpb([["name"], ["שלום"]])[:3]
b'\xef\xbb\xbf'
>>> cellsafe.dumpb([["a", "b"]], encoding="utf-16")
b'\xff\xfea\x00\t\x00b\x00\r\x00\n\x00'
cellsafe.audit reports missing-bom for a UTF-8 file that has non-ASCII
text and no mark (only for the excel target), and encoding-fallback when
a file was not UTF-8 at all.
A byte order mark can only be written when cellsafe does the encoding, that
is, when you pass a path or a binary stream. If you pass a text stream (or
use dumps, which returns a str), the encoding is yours to choose.
3. Silent data damage on open
cellsafe.risks(value) lists what a spreadsheet would do to one cell:
| Kind | Example | What happens |
|---|---|---|
precision-loss |
1234567890123456 |
More than 15 significant digits: the rest become zeros. Card numbers, account numbers, barcodes, long IDs. |
scientific-display |
123456789012 |
Integers of 12 to 15 digits are shown as 1.23457E+11; saving the sheet as CSV writes that form. |
leading-zero |
00123, 0790000000 |
Leading zeros are dropped. Postal codes, phone numbers, IDs. |
plus-sign |
+96279000000 |
The + is dropped. |
date-like |
1-2, 3/4, MAR1, SEPT2 |
Converted to a date; the text is not kept. |
locale-date |
01/02/2024 |
Day/month order depends on the reader's locale. |
exponent |
1E5, 12E3 |
Read as 100000 and 12000. |
boolean |
TRUE, false |
Becomes a boolean, shown in capitals. |
leading-apostrophe |
'hello |
The apostrophe is a text marker in spreadsheets; report-only. |
>>> cellsafe.risks("00123")
[Risk(kind='leading-zero', message='leading zeros are dropped')]
>>> for value in ["1234567890123456", "1-2", "MAR1", "1E5", "TRUE", "2024-01-15", "-5", "hello"]:
... print(value, [risk.kind for risk in cellsafe.risks(value)])
1234567890123456 ['precision-loss']
1-2 ['date-like']
MAR1 ['date-like']
1E5 ['exponent']
TRUE ['boolean']
2024-01-15 []
-5 []
hello []
A complete year-first date such as 2024-01-15 is not reported: turning it
into a date is normally what you want. If you also want 01/02/2024 or
1-Feb converted, put those kinds in the policy's ignore set:
>>> policy = cellsafe.resolve_policy("excel-text", ignore={"date-like", "locale-date"})
>>> cellsafe.sanitize("1-Feb", policy), cellsafe.sanitize("00123", policy)
('1-Feb', '="00123"')
What to do about these cells is a policy decision, and every option has a cost:
data= |
Writes | Good | Bad |
|---|---|---|---|
report (default) |
00123 |
The file stays ordinary CSV. Nothing is hidden: audit and writer.findings tell you what is at risk. |
The spreadsheet will still change the cell. |
formula |
="00123" |
Excel evaluates the formula and shows 00123 as text. |
Every program that does not evaluate formulas on import (pandas, databases, text editors, and spreadsheet imports with formula evaluation off) sees the literal text ="00123". Not usable for values over 255 characters (cellsafe leaves those unprotected and says so). |
tab |
a tab, then 00123 |
Nothing visible in the sheet. | The cell value now starts with a tab: lookups and comparisons against 00123 fail, copy and paste carries the tab along, importers that trim whitespace undo the protection, and audit flags the cell as formula because a leading tab is on OWASP's list. |
zero-width |
U+200B, then 00123 |
Nothing visible in the sheet. | Same as the tab, and harder to notice: an invisible character that survives in whatever the data is pasted into next. |
>>> cellsafe.sanitize("00123", policy="excel-text")
'="00123"'
>>> cellsafe.sanitize("00123", policy="tab")
'\t00123'
>>> cellsafe.sanitize("00123", policy="zero-width")
'\u200b00123'
>>> cellsafe.sanitize("00123")
'00123'
The default is report because all three protections change the bytes that
every non-spreadsheet reader of the file gets. That should be something you
choose, not something that happens to you.
The robust answer is not a CSV trick: write an .xlsx file with the cells
typed as text, or have the users import the CSV through the spreadsheet's
import dialog and set the column types there.
4. Structure
Quoting. cellsafe uses the csv module, so separators, quotes and line
breaks inside a cell are quoted correctly. Rows that contain a line break in
a cell are written with every field quoted.
Line endings. Every record ends the same way: CRLF for the excel,
sheets and libreoffice targets, LF for plain. Line breaks inside a
cell are kept as they are.
The list separator. Excel splits a double-clicked CSV on the Windows regional list separator. In many locales where the comma is the decimal mark that is the semicolon, and a comma-separated file lands entirely in column A. There is no encoding of this in CSV itself. The options:
sep_hint=Truewrites a first linesep=,(or whatever the delimiter is). Excel reads the hint. It is an Excel convention: other programs show it as a data row, and there are reports that Excel ignores the UTF-8 byte order mark when the hint line is present, which brings back problem 2.encoding="utf-16"writes UTF-16 LE with tabs, which does not depend on the list separator.delimiter=";"if you know the readers' locale.
>>> print(cellsafe.dumps([["a;b", 'say "hi"'], ["1", "2"]], delimiter=";", sep_hint=True), end="")
sep=;
"a;b";"say ""hi"""
1;2
Checks. audit reports ragged-row, empty-header,
duplicate-header, mixed-line-endings and sep-directive (below).
>>> report = cellsafe.audit("id,name,name\n1,x\n")
>>> [(f.kind, f.cell or f"row {f.row}") for f in report.findings]
[('duplicate-header', 'C1'), ('ragged-row', 'row 2')]
Data that looks like a sep= line (sep-directive). Excel and
cellsafe.reader take a first line such as sep=; for the separator hint,
not for data, so a first cell holding that text would vanish. When the
writer does not add its own hint line, it quotes a first cell that starts
with sep= (in any letter case, after spaces), under every policy, and
reports it. The value is unchanged and reads back as it was written. Cells
in later rows or columns are left alone. audit reports a first line that
starts with sep= but is not a hint line it accepts (such as SEP=; or
Sep=x,y).
>>> rows = [["sep=;"], ["a;b"]]
>>> data = cellsafe.dumpb(rows)
>>> data
b'\xef\xbb\xbf"sep=;"\r\na;b\r\n'
>>> list(cellsafe.reader(data)) == rows
True
>>> [(f.kind, f.cell, f.value) for f in cellsafe.audit("Sep=x,y\n1,2\n").findings]
[('sep-directive', 'A1', 'Sep=x')]
5. Right-to-left text
Nothing in a CSV file can set the direction of a sheet, a column or a cell. A spreadsheet opens the file left-to-right and the user switches the sheet direction by hand. cellsafe cannot change that and does not pretend to.
Two things it does handle:
- Digits. A number written in Arabic-Indic (
٠١٢٣٤٥٦٧٨٩) or Persian (۰۱۲۳۴۵۶۷۸۹) digits is usually kept as text, so it cannot be summed (non-ascii-digits). Withdigits="ascii"cells that consist only of such a number are rewritten in ASCII digits; digits inside other text are left alone. - Bidi control characters. LRM, RLM, ALM, the embedding and override
characters and the isolates are invisible, change the displayed order of
text and make equal-looking cells unequal (
bidi-control). They are reported.bidi="strip"removes them; they are sometimes needed for mixed right-to-left and left-to-right text to display correctly, which is why stripping is not the default.
>>> [risk.kind for risk in cellsafe.risks("١٢٣")]
['non-ascii-digits']
>>> cellsafe.sanitize("١٢٣", digits="ascii")
'123'
>>> [risk.kind for risk in cellsafe.risks("abc\u202edef")]
['bidi-control']
>>> cellsafe.sanitize("abc\u202edef", bidi="strip")
'abcdef'
Neither rewrite can be undone by cellsafe.reader.
Policies
A policy says what to do about each kind of risk. Pass a name or a
cellsafe.Policy.
| Policy | Formula cells | Plain signed numbers | Data-risk cells | Trade-off |
|---|---|---|---|---|
default |
apostrophe | kept | reported only | Numeric columns keep working; data risks are visible in the report but the spreadsheet will still act on them. |
strict |
apostrophe | apostrophe | reported only | OWASP to the letter; negative numbers become text. |
excel-text |
apostrophe | kept | ="..." |
Best result in Excel; the file is no longer plain CSV for other programs. |
tab |
tab | kept | tab prefix | Nothing visible, but a tab in every protected value and weaker formula protection. |
zero-width |
apostrophe | kept | U+200B prefix | Nothing visible, and an invisible character in every protected value. |
off |
unchanged | kept | reported only | Changes nothing. For auditing only. |
default is the default because it applies the one change that is a
security matter (formulas), with the strategy OWASP documents, and leaves
every other byte of your data as you wrote it.
Fields of cellsafe.Policy, all combinable:
>>> policy = cellsafe.Policy(formula="quote", numbers="keep", data="formula",
... digits="ascii", bidi="strip", ignore={"boolean"})
>>> cellsafe.sanitize("TRUE", policy), cellsafe.sanitize("٠١٢", policy)
('TRUE', '="012"')
>>> cellsafe.resolve_policy("strict", data="tab").numbers
'escape'
Targets
| Target | Encoding | Separator | Line ending | Why |
|---|---|---|---|---|
excel (default) |
UTF-8 with BOM | , |
CRLF | Excel needs the mark to read UTF-8. |
sheets |
UTF-8 | , |
CRLF | Google Sheets imports UTF-8. |
libreoffice |
UTF-8 | , |
CRLF | LibreOffice shows an import dialog where the encoding and separator are chosen. |
plain |
UTF-8 | , |
LF | For programs, not spreadsheets. Formula neutralisation still applies unless the policy is off. |
encoding=, delimiter=, lineterminator= and sep_hint= override the
target. encoding="utf-16" always means UTF-16 little endian with a byte
order mark, and switches the default separator to a tab.
API
cellsafe.writer(file, *, target="excel", policy="default", encoding=None,
delimiter=None, lineterminator=None, sep_hint=False, **csv_options)
cellsafe.DictWriter(file, fieldnames, restval="", extrasaction="raise", **same_options)
cellsafe.dumps(rows, **same_options) -> str # no byte order mark
cellsafe.dumpb(rows, **same_options) -> bytes # encoded, with the mark
cellsafe.reader(file, *, target="excel", policy="default", delimiter=None,
encoding=None, fallback_encoding="cp1252") -> iterator of rows
cellsafe.sanitize(value, policy="default", **policy_fields) -> str
cellsafe.unprotect(text, policy="default", **policy_fields) -> str
cellsafe.risks(value, policy="default", **policy_fields) -> list[Risk]
cellsafe.audit(source, *, target="excel", policy="default", delimiter=None,
fallback_encoding="cp1252", header=True, protected=False) -> Report
cellsafe.resolve_policy(name_or_policy, **policy_fields) -> Policy
fileforwriteris a path, a binary stream or a text stream (open text files withnewline="", as forcsv.writer).writer.findingscollects aFindingfor every risky cell written,writer.changedcounts the cells that were altered. Callclose()or usewith; a stream you passed in is flushed, not closed.- Python numbers are written as
csv.writerwrites them. Afloatorboolis taken to be meant as a number; anintorDecimalis still checked forprecision-lossandscientific-display. audit(source):sourceis a path (os.PathLike, or astrwith no line break in it), CSV text (astrcontaining a line break),bytes, or a readable stream.Reporthasok,findings,counts(),to_dict(),format_text()and the detectedencoding,bom,delimiter,line_endings,rows,columns. AFindinghaskind,message,row,column,cell(such asB3),value,actionandfix(the cell text the policy would write, orNone). Rows are counted as the opened sheet counts them: asep=line is not a row.
>>> report = cellsafe.audit("id,value\n00123,=1+1\n", policy="excel-text")
>>> report.ok
False
>>> for f in report.findings:
... print(f.row, f.column, f.cell, f.kind, repr(f.fix))
2 1 A2 leading-zero '="00123"'
2 2 B2 formula "'=1+1"
>>> report.counts()
{'leading-zero': 1, 'formula': 1}
Reading the data back
Protection is reversible. cellsafe.reader reads a file and removes what
the writer added; cellsafe.unprotect does it for one cell. Both need the
policy the file was written with. The test suite checks this for every
policy, including for values that already start with an apostrophe, a tab,
a zero-width space or =".
>>> import io
>>> rows = [["id", "v"], ["00123", "=1+1"], ["'kept", "-5"]]
>>> text = cellsafe.dumps(rows, policy="excel-text")
>>> print(text, end="")
id,v
"=""00123""",'=1+1
'kept,-5
>>> list(cellsafe.reader(io.StringIO(text, newline=""), policy="excel-text")) == rows
True
Not reversible: digits="ascii", bidi="strip", and the off policy has
nothing to reverse. sanitize is not idempotent: protecting a protected
file again adds a second layer, so tell fix what it is looking at with
--from-policy.
reader reads the whole input into memory, and a str argument is always a
path.
Command line
cellsafe audit FILE [--format text|json] [--target T] [--policy P] [--protected]
[--delimiter CHAR] [--fallback-encoding ENC] [--no-header]
[--ignore KIND]... [--digits ascii] [--bidi strip]
cellsafe fix IN -o OUT [--target T] [--policy P] [--encoding utf-8-sig|utf-8|utf-16]
[--out-delimiter CHAR] [--sep-hint] [--from-policy P] [--force]
[--delimiter CHAR] [--fallback-encoding ENC]
[--ignore KIND]... [--digits ascii] [--bidi strip]
cellsafe explain KIND
cellsafe kinds
auditprints one line per finding and exits with status 1 if there are any, 0 if there are none, 2 on errors.--protectedsays the file was written by cellsafe with the given policy, so cells that are already protected are not reported again.fixwrites a protected copy. It never edits in place: the output must be a different file, and an existing output file is only replaced with--force.explain KINDprints what a kind means and what can be done about it;kindslists all kinds and policies.python -m cellsafeworks the same way.
$ cellsafe audit orders.csv
orders.csv: 3 rows, 3 columns, utf-8, no BOM, delimiter ',', line endings CRLF
file missing-bom non-ASCII text in UTF-8 without a byte order mark; Excel on Windows reads it in the ANSI code page
A2 leading-zero leading zeros are dropped; value '00123' (reported only)
C2 formula starts with '='; value '=1+1' -> "'=1+1" (prefixed with an apostrophe)
3 finding(s) under policy 'default': missing-bom: 1, leading-zero: 1, formula: 1
$ cellsafe fix orders.csv -o orders-safe.csv --policy excel-text
wrote orders-safe.csv: 3 rows, 2 cell(s) changed, encoding utf-8-sig, delimiter ','
Input encoding. cellsafe does not guess encodings. For input it
recognises byte order marks (UTF-8, UTF-16, UTF-32), then tries strict
UTF-8, then uses the fallback encoding you supply (cp1252 unless you say
otherwise) and reports encoding-fallback. If that fails too, it stops
with an error.
Input separator. Taken from a sep= line, else from --delimiter,
else the most frequent of , ; tab | in the first record. That is a
simple count, not a sniffer; name the delimiter when in doubt.
Limits
- Not handled: times (
1:30), fractions written with a space (1 1/2), currency and percent conversion, trailing zeros in decimals (1.10becomes1.1), thousands separators, month names in languages other than English, boolean words other thanTRUE/FALSE. - The date patterns approximate Excel in an English locale. They will flag some text Excel leaves alone and miss some it converts.
exponentonly matches digits,E, digits.1.5E3or1E-5as an identifier is not reported.- Detection is per cell. There is no notion of "this column is an ID
column"; use
ignoreto switch kinds off for a whole file. - The digit rewrite covers Arabic-Indic and Persian digits only.
audit,readerandfixread the whole file into memory.- The
"..."formula wrapper, the tab and the zero-width space are tricks. A spreadsheet update can change how any of them is treated. - No
.xlsxoutput.
What was and was not tested
Tested, by the unittest suite in tests/ (standard library only, no
network): which cells are detected; the exact text and bytes written for
each policy, target and encoding, including the byte order marks; that
csv.reader parses the output back into the same cells; that
cellsafe.reader/unprotect recover the original value for every policy;
the audit report; the command line; and the examples in this README.
Not tested: the behaviour of real Excel, Google Sheets or LibreOffice. No spreadsheet program was opened while this package was written. Whether a given cell is then displayed, converted or evaluated the way this document says rests on the sources below, not on an experiment.
Well established (vendor documentation, OWASP, or long and consistent public record):
- Cells starting with
=,+,-,@are evaluated; the OWASP recommendation is the apostrophe prefix. - Excel keeps 15 significant digits; long integers are shown in scientific notation; leading zeros are dropped.
- Excel converts
1-2,3/4,MAR1,SEPT2to dates and1E5to a number (the cause of the gene-name errors reported in the scientific literature), andTRUE/FALSEto booleans. - Excel on Windows needs a byte order mark to read a double-clicked UTF-8 CSV correctly, and splits on the regional list separator.
="00123"in a CSV cell is shown by Excel as the text00123.- An apostrophe-prefixed CSV cell is not evaluated, and the apostrophe is shown.
Less sure (plausible and commonly reported, but version- or setting-dependent, and not verified here):
- That current Excel builds still need the byte order mark in every case; and how far the automatic data conversion settings in newer builds, where the user has switched conversions off, make some of the data-damage kinds moot.
- That Excel ignores the byte order mark when a
sep=line is present. - Which variants of a first line starting with
sep=(letter case, spaces, more than one character after=) Excel takes for a hint, and that it does not take a quoted first cell such as"sep=;"for one. - That a tab-separated UTF-16 file with a
.csvextension opens in columns in every Excel version. - That a leading tab or zero-width space keeps a cell as text in all three programs; LibreOffice and Google Sheets may trim or handle them differently.
- How Google Sheets and LibreOffice treat
="00123"and a leading apostrophe on import (LibreOffice has an import option that controls formula evaluation). - That the full-width characters trigger formula evaluation outside East Asian editions of Excel. Flagging them is the cautious choice.
- That Arabic-Indic and Persian digits are never parsed as numbers; this may depend on the locale and settings of the spreadsheet.
- The exact set of date-like patterns, which differs between programs, versions and locales.
If you can test any of these against a real program, a report is welcome; see CONTRIBUTING.md.
License
MIT. See LICENSE.
Metadata
Release files for cellsafe 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cellsafe-0.1.2.tar.gz | 60.4 kB | With provenance | Details for cellsafe-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cellsafe-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for cellsafe-0.1.2-py3-none-any.whl |
Total release size: 100.9 kB
Release files / cellsafe-0.1.2.tar.gz
| Download URL | cellsafe-0.1.2.tar.gz |
|---|---|
| Size | 60.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
feea3ea869b68fd2475e7070e042d35d62390e7758fc65fe5a95066e7d44fc4b
|
|
BLAKE2b-256 checksum How to use checksums |
81f25b8a2b1abb2354007e484819282c62167502224c3a28331ee89bba43c856
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / cellsafe-0.1.2-py3-none-any.whl
| Download URL | cellsafe-0.1.2-py3-none-any.whl |
|---|---|
| Size | 40.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
780eb251d48d88ce620e78a1749cf5fc9a079518db4eec71ffc1cf0b3af0cbda
|
|
BLAKE2b-256 checksum How to use checksums |
c1fc8148a0616420ed849e2920b01ff1d36abd2985ee9106dcc4a526030de0c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logSecurity for cellsafe 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cellsafe-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.