Library to connect to the screeps API either via REST or websocket.
Example for using the library can be seen at
https://github.com/TooAngel/screeps-cli.
## Rest
- `get_me()` Returns the user object for the logged in user
- `console(command)` Sends the command to the console
## Websocket
Websocket connection for fetching the console log
```
from screeps.screeps import Connection
def sysout(message):
print(message)
conn = Connection(email, password, arguments['--ptr'])
conn.startWebSocket(sysout)
```
## Deploy
`python setup.py sdist upload`
Metadata
Release files for screeps 0.1.5
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 |
|---|---|---|---|---|
| screeps-0.1.5.tar.gz | 2.6 kB | Without provenance | Details for screeps-0.1.5.tar.gz |
Release files / screeps-0.1.5.tar.gz
| Download URL | screeps-0.1.5.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32d93f2848bacc89b1b485a401c11ad715e9526f6d0a6a829d7b6ae411f65e5b
|
|
BLAKE2b-256 checksum How to use checksums |
2b623d26296b32862b368791e6d288f43e2f761dc314105b52d72b4b5c0f9879
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for screeps 0.1.5
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.