New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

samesyslib

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

samesyslib

Common libs used by SameSystem Data Science team.

  • 0.0.42
  • PyPI
  • Socket score

Maintainers
1

Common functions for Data Science

Build Status codecov PyPI PyPI - Downloads GitHub

Python 3.7 Python 3.8 Python 3.9

Common libs used by SameSystem Data Science team.

Example Usage
# /opt/settings/config.yml
database:
  user: 'root'
# ----

from pathlib import Path
from samesyslib.utils import load_config

config_path = Path("/opt/settings/config.yml")
conf = load_config(config_path)

conf['database']['user']

# or 

from samesyslib.db import DB
from samesyslib.db_config import DBConfig


db = DB(DBConfig().get_config())
Install

The latest stable version can always be installed or updated via pip:

pip install samesyslib
Test Coverage
pip install pytest-cov
python -m pytest --cov=samesyslib tests
Updating

After editing the functions, increment package version number in setup.py before pushing to master, so that pypi package can be automatically build. To update installed package:

pip install samesyslib --upgrade
Development Version

The latest development version can be installed directly from GitHub:

pip install git+https://github.com/samesystem-ds/samesyslib.git
License

Code and documentation are available according to the MIT License (see LICENSE).

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc