Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
forked fromosmocom/pysim

A python tool to program SIMs / USIMs / ISIMs. Mirror ofhttps://gitea.osmocom.org/sim-card/pysim

License

NotificationsYou must be signed in to change notification settings

bg4akv/pysim

 
 

Repository files navigation

This repository contains Python programs that can be usedto read, program (write) and browse certain fields/parameters on so-called programmableSIM/USIM cards.

Such SIM/USIM cards are special cards, which - unlike those issued byregular commercial operators - come with the kind of keys that allow youto write the files/fields that normally only an operator can program.

This is useful particularly if you are running your own cellularnetwork, and want to issue your own SIM/USIM cards for that network.

Homepage and Manual

Please visit theofficial homepage for usage instructions, manual and examples. The user manual can also be built locally from this source code bycd docs && make html latexpdf for HTML and PDF format, respectively.

Git Repository

You can clone from the official Osmocom git repository using

git clone https://gitea.osmocom.org/sim-card/pysim.git

There is a web interface athttps://gitea.osmocom.org/sim-card/pysim.

Installation

Please install the following dependencies:

  • pyscard
  • pyserial
  • pytlv
  • cmd2 >= 1.3.0 but < 2.0.0
  • jsonpath-ng
  • construct >= 2.9.51
  • bidict
  • gsm0338
  • pyyaml >= 5.1
  • termcolor
  • colorlog

Example for Debian:

sudo apt-get install --no-install-recommends \pcscd libpcsclite-dev \python3 \python3-setuptools \python3-pyscard \python3-pippip3 install --user -r requirements.txt

After installing all dependencies, the pySim applicationspySim-read.py,pySim-prog.py andpySim-shell.py may be started directly from the cloned repository.

Archlinux Package

Archlinux users may install the packagepython-pysim-gitfrom theArch User Repository (AUR).The most convenient way is the use of anAUR Helper,e.g.yay orpacaur.The following example shows the installation withyay.

# Installyay -Sy python-pysim-git# Uninstallsudo pacman -Rs python-pysim-git

Mailing List

There is no separate mailing list for this project. However,discussions related to pysim-prog are happening on theopenbsc@lists.osmocom.org mailing list, please seehttps://lists.osmocom.org/mailman/listinfo/openbsc for subscriptionoptions and the list archive.

Please observe theOsmocom Mailing ListRuleswhen posting.

Contributing

Our coding standards are described athttps://osmocom.org/projects/cellular-infrastructure/wiki/Coding_standards

We are using a gerrit-based patch review process explained athttps://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit

Documentation

The pySim user manual can be built from this very source code by meansof sphinx (with sphinxcontrib-napoleon and sphinx-argparse). See theMakefile in the 'docs' directory.

A pre-rendered HTML user manual of the current pySim 'git master' isavailable fromhttps://downloads.osmocom.org/docs/latest/pysim/ anda downloadable PDF version is published athttps://downloads.osmocom.org/docs/latest/osmopysim-usermanual.pdf.

A slightly dated video presentation about pySim-shell can be found athttps://media.ccc.de/v/osmodevcall-20210409-laforge-pysim-shell.

pySim-shell vs. legacy tools

While you will find a lot of online resources still describing the use ofpySim-prog.py and pySim-read.py, those tools are considered legacy bynow and have by far been superseded by the much more capablepySim-shell. We strongly encourage users to adopt pySim-shell, unlessthey have very specific requirements like batch programming of largequantities of cards, which is about the only remaining use case for thelegacy tools.

About

A python tool to program SIMs / USIMs / ISIMs. Mirror ofhttps://gitea.osmocom.org/sim-card/pysim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python99.1%
  • Shell0.9%

[8]ページ先頭

©2009-2025 Movatter.jp