PySLAM
CSGO implemenation of SLAM, written in python.
The binaries pyslam and pyslam-ytdl are provided.
pyslam-ytdl will download songs into mp3 format from YouTube to the configured music directory.
Configuration
Configuration location
The configuration file location respects XDG, and will try the following paths, in this order:
$XDG_CONFIG_HOME/slam.yaml$XDG_CONFIG_HOME/slam.yml$XDG_CONFIG_HOME/slam/slam.yaml$XDG_CONFIG_HOME/slam/slam.yml$XDG_CONFIG_HOME/slam/config.yaml$XDG_CONFIG_HOME/slam/config.yml
NOTE:
$XDG_CONFIG_HOMEwill default to$HOME/.configon most systems.- PySLAM uses a lazy match. This means the first file from the above list which exists will be used.
Example configuration
---
# Key which will be bound to play music
# If not specified, will default to mouse3
bindkey: KP_END
# Path in which music will be stored
# If not specified, will default to $XDG_DATA_HOME/slam/music
# NOTE: In older versions, a key named 'paths' which accepted a list was used
# This is now deprecated.
music:
path: /home/alex/Documents/slam
csgo:
# Path to game folder
# This value is mandatory
game: /opt/games/steamapps/common/Counter-Strike Global Offensive
# List of paths to which the pyslam.cfg file will be written
# If unspecified, will write to csgo/cfg folder under the game folder specified above
# i.e. in this config: /opt/games/steamapps/common/Counter-Strike Global Offensive/csgo/cfg
user_profile:
- /opt/games/steamapps/common/Counter-Strike Global Offensive/csgo/cfg
Command-line parameters
The following parameters are present:
| Argument | Short argument | Explanation | Default | Example |
|---|---|---|---|---|
--config |
-c |
Override config path | None |
PySLAM -c /etc/pyslam.yaml |
--printdir |
-D |
Print music directory as configured | False |
PySLAM -D |
Metadata
Release files for PySLAM 1.2.1
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 |
|---|---|---|---|---|
| PySLAM-1.2.1.tar.gz | 28.0 kB | Without provenance | Details for PySLAM-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| PySLAM-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for PySLAM-1.2.1-py3-none-any.whl |
Total release size: 58.4 kB
Release files / PySLAM-1.2.1.tar.gz
| Download URL | PySLAM-1.2.1.tar.gz |
|---|---|
| Size | 28.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa645ada76b68fc6ac62fb31d4ebcb561a7afe0ef23301557f6205341355dfea
|
|
BLAKE2b-256 checksum How to use checksums |
0534d351eb3fc9f77d156429ca1862fd8e64bd590b0c560ee9079986dcd593e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6
|
Release files / PySLAM-1.2.1-py3-none-any.whl
| Download URL | PySLAM-1.2.1-py3-none-any.whl |
|---|---|
| Size | 30.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
005d75bc5b604496460b242991965a03b35ff4e94573c4395ac96008cb5321d7
|
|
BLAKE2b-256 checksum How to use checksums |
a94a1d50b6004b45d8bc5af5a58989a9edaffd322d6af4f5ebdab46f05be9d84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6
|
Security for PySLAM 1.2.1
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.