File with game records can be loaded to Python collection object, be manipulated by user Python code,
and then be saved back to file. Current very limited version of package only supports Chess game
and only .pgn file meta-data.
Below is an example of package use to save games from .pgn file to SQLite database:
```python
from gamerec.storage.pgnfile.chess import ChessGameCollection as PGNChessGC
from gamerec.storage.sqlite.chess import ChessGameCollection as SQLiteChessGC
PGNFile = sys.argv[1]
SQLFile = sys.argv[2]
pgngc = PGNChessGC()
pgngc.load(PGNFile)
sqlgc = SQLiteChessGC()
sqlgc.data = pgngc.data
sqlgc.coding = "utf_8"
sqlgc.save(SQLFile)
```
Consider installing [normalizePGN](https://pypi.python.org/pypi/normalizePGN) which is an example of
how this package may be used.
For more information see files README.md and Changelog.md included in source-ball or
in typical installation using pip deployed to folders:
- /usr/local/share/doc/gamerec (Linux)
- C:\Python35\doc\gamerec (Windows) or
- <USER>\AppData\Local\Programs\Python\Python35-32\Doc\gamerec
Metadata
Release files for gamerec 0.1.0
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 |
|---|---|---|---|---|
| gamerec-0.1.0.tar.gz | 11.5 kB | Without provenance | Details for gamerec-0.1.0.tar.gz |
Release files / gamerec-0.1.0.tar.gz
| Download URL | gamerec-0.1.0.tar.gz |
|---|---|
| Size | 11.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf6a11a071439face6e6bd2a622280d9f574e953ff1e3e40a8c844162e7076fa
|
|
BLAKE2b-256 checksum How to use checksums |
cf2d955655c132681eaac67c05bb8606fc1863632c54a62d170616b2faf452df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for gamerec 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.