Skip to main content

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_HOME will default to $HOME/.config on 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

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)

Source distribution for PySLAM 1.2.1
File Size Uploaded
PySLAM-1.2.1.tar.gz 28.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PySLAM 1.2.1
File Interpreter ABI Platform
PySLAM-1.2.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page