Skip to main content

ursine - a bearable sip uri library

Build Status


installing

ursine is packaged and available on pypi

pip install ursine

basic usage

from ursine import URI, Header

# build new URIs / Headers
uri = URI.build(scheme='sip', host='10.10.10.10', transport='tcp')
print(uri)  # sip:10.10.10.10;transport=tcp
header = Header.build(display_name='Alice', uri=uri, tag='xyz')
print(header)  # "Alice" <sip:10.10.10.10;transport=tcp>;tag=xyz

# parse existing ones
uri = URI('sips:[::1]:5080')
uri.scheme == 'sips'
uri.host == '[::1]'
uri.transport == 'tcp'

header = Header('"Bob" <sips:[::1]:5080>;tag=abc')
header.display_name == 'Bob'
header.tag == 'abc'
header.uri.scheme == 'sips'

# Header and URI objects are immutable
alice_uri = URI('sip:alice@10.10.10.10')
modified_uri = alice_uri.with_user(None)  # 'sip:10.10.10.10;transport=udp'
modified_uri != alice_uri

Metadata

Release files for ursine 0.3.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 ursine 0.3.1
File Size Uploaded Provenance Actions
ursine-0.3.1.tar.gz 10.7 kB Without provenance Details for ursine-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ursine 0.3.1
File Interpreter ABI Platform Actions
ursine-0.3.1-py2.py3-none-any.whl Python 3, Python 2 none any Details for ursine-0.3.1-py2.py3-none-any.whl

Total release size: 21.3 kB

Release files / ursine-0.3.1.tar.gz

Download URL ursine-0.3.1.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0dcfd0416c40a4f079ce541234c25f642af4e63d9873e2cdb6cfa1e1a7290920
BLAKE2b-256 checksum
How to use checksums
60430f612f493ce4a3c693d6d73107bbedcde4eb649cfc91471cb6423b001f0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ursine-0.3.1-py2.py3-none-any.whl

Download URL ursine-0.3.1-py2.py3-none-any.whl
Size 10.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ec74587a63005226f39ce07eb836f19b90e376d741942af5efa7ce8e5da6b227
BLAKE2b-256 checksum
How to use checksums
520cf5afa945bea94be9ddd27ec8115f59ff2929cbea7b2314b29b88248d76e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ursine 0.3.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.

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