pandaspro
pandas with friendlier dataframe methods and Excel export / formatting helpers.
pip install pandaspro
See CHANGELOG.md for what changed in each version, and df.cpdhelp() for the dataframe shortcuts.
Data assembly: cpdBaseFrame and cpdDatabaseC
The two halves of assembling a project's data:
- cpdBaseFrame — dated system extracts. One folder of files named by date (
SOB_20261001.csv); decorate a class and load a version withX(version="latest"). The data is produced elsewhere and only read here. - cpdDatabaseC — hand-maintained lists. One folder of JSON files named by list
(
modules/clients.json) plus a browser editor; decorate a store class and one class per list. The data is maintained by people in the published page.
cpdDatabaseC
from mylists import MyLists, Clients
MyLists.publish() # creates <folder>/mylists.html and modules/*.json (data is never overwritten)
MyLists.open() # opens the editor in Edge / Chrome; "Open folder" -> pick <folder>
Clients.frame() # rows as a DataFrame
MyLists.list() # every module: id, title, group, live, rows, revision, saved_at
MyLists.check() # one line per module: filled? live? same as its old source?
CountryGroups.import_source() # rows from the old Excel into the module (not live yet)
CountryGroups.compare() # empty frame = module and Excel agree
CountryGroups.set_live() # from now on read_live() returns the module
mylists is the example shipped in pandaspro/cpddatabasec/example/: copy mylists/ into your
project, rename the store, keep or replace the three example lists, add your own. Declaring a
store and a list:
from pandaspro import cpdDatabaseC, cpdField as field
@cpdDatabaseC(name="MyLists", package="myproject", editor="mylists.html")
class MyLists:
@classmethod
def get_path(cls): # or path="..." in the decorator
return os.environ["MYLISTS_DIR"] # per machine, never a hard-coded path in the repo
@MyLists.module("clients", title="Clients", group="Reference", key=["code"])
class Clients:
code = field(required=True, help="Short code, unique")
name = field(required=True)
tier = field(type="select", options=["A", "B", "C"])
Add a list = add a decorated class. Add a field = add a line (publish() refreshes the
definition, rows stay). Change the page = pass editor_source="your.html" (start from a copy of
pandaspro/cpddatabasec/editor.html).
Versions and releases
All work happens on master. A version is a tag on master (v1.3.1); there are no version
branches. The version number lives in one place, pyproject.toml.
- While you work: add a line under Unreleased in
CHANGELOG.mdfor anything a user can notice. - To release:
python release.py 1.3.2(add--dry-runto rehearse). It checks the tree, runs the tests, sets the version, dates the changelog section, commits, tags and pushes. The pushed tag makes GitHub Actions build the package and publish it to PyPI. - Every push to
masterruns the tests on GitHub. - A machine that produces reports should sit on a tag, not on every push:
git fetch --tagsthengit checkout v1.3.2. - Version numbers: last digit for fixes and small additions, middle digit for new features, first digit when existing calls stop working.
Metadata
Release files for pandaspro 1.3.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 | |
|---|---|---|---|---|
| pandaspro-1.3.2.tar.gz | 165.0 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pandaspro-1.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 360.5 kB
Release files / pandaspro-1.3.2.tar.gz
| Download URL | pandaspro-1.3.2.tar.gz |
|---|---|
| Size | 165.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
398be4c7ddb61ff1f0f3b2efd9c63564fa7991e530ffe6420c2723a9acb68982
|
|
BLAKE2b-256 checksum How to use checksums |
1e353f7c3a7e596a626763998611fcb2751f9fa752e66d425e784e9d1e7e84b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 11, 2026.
Transparency logRelease files / pandaspro-1.3.2-py3-none-any.whl
| Download URL | pandaspro-1.3.2-py3-none-any.whl |
|---|---|
| Size | 195.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
22c44cae11e122a50db3c165d5381b2980704514e54ee04446fc52bb2e0d8b6e
|
|
BLAKE2b-256 checksum How to use checksums |
92bf99a05a21457bc2962d8362cad2dfdac9190bb1ab7099741db56741318bde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 11, 2026.
Transparency logSecurity for pandaspro 1.3.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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pandaspro-1.3.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 Oct 11, 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.