A headless login / logout script for 10.0.0.55 at BIT. 北京理工大学 10.0.0.55 校园网登录登出的 Python 实现
Full Changelog: https://github.com/BITNP/bitsrun/compare/v3.7.0...v3.7.1
ruff
format by @spencerwooo in https://github.com/BITNP/bitsrun/pull/41
Full Changelog: https://github.com/BITNP/bitsrun/compare/v3.6.0...v3.7.0
bitsrun
is now packaged as a self-contained executable on release. Currently built against Windows/Linux x86_64 and macOS universal targets. Download and execute for environments that does not have internet access.
Full Changelog: https://github.com/BITNP/bitsrun/compare/v3.5.2...v3.6.0
✨ New: bitsrun logout
can logout the current user even if a different username is detected.
.pdm.toml
to pdm.toml
+ .pdm-python
by @YDX-2147483647 in https://github.com/BITNP/bitsrun/pull/38
Full Changelog: https://github.com/BITNP/bitsrun/compare/v3.5.1...v3.5.2
You can call bitsrun status
with flag --json
to specify a raw JSON output.
$ bitsrun status --json
Full Changelog: https://github.com/BITNP/bitsrun/compare/v3.5.0...v3.5.1
Full Changelog: https://github.com/BITNP/bitsrun/compare/v3.4.1...v3.5.0
Note: This is a minor version bump to resolve v3.4.0 on PyPI not recognizing project metadata after we switched package manager to pdm.
You can now use bitsrun status
to check the current login state of your device.
To upgrade:
pipx upgrade bitsrun
ac_id
and ip
by @spencerwooo in https://github.com/BITNP/bitsrun/pull/23
Full Changelog: https://github.com/BITNP/bitsrun/compare/v3.3.1...v3.4.1
This should be superseded by v3.4.1
Fix ambiguous config path discovery.
On Windows, the possible paths are:
C:\ProgramData\bitsrun\bit-user.json
~\AppData\Roaming\bitsrun\bit-user.json
On Linux:
/etc/bitsrun/bit-user.json
/etc/xdg/bitsrun/bit-user.json
~/.config/bitsrun/bit-user.json
~/.config/bit-user.json
On macOS:
/etc/bit-user.json
/Library/Preferences/bitsrun/bit-user.json
$HOME/Library/Preferences/bitsrun/bit-user.json
$HOME/.config/bit-user.json
$HOME/.config/bitsrun/bit-user.json
$HOME/.config/bitsrun/
on macOS by @spencerwooo in https://github.com/BITNP/bitsrun/pull/15
Full Changelog: https://github.com/BITNP/bitsrun/compare/v3.3.0...v3.3.1
To update:
pipx upgrade bitsrun
--silent
, -s
for suppressing outputFull Changelog: https://github.com/BITNP/bitsrun/compare/v3.2.4...v3.3.0