GithubHelp home page GithubHelp logo

cloudliu01 / flexnet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cosmolei/flexnet

0.0 0.0 0.0 82 KB

Python package for querying FlexNet license servers

Python 91.60% Makefile 0.20% XSLT 0.39% Shell 3.60% C 4.21%

flexnet's Introduction

#Originally branched from https://github.com/ressy/flexnet

#Must be in python2.7 environment. Check https://github.com/ressy/flexnet/issues/2
module load anaconda/5.0.1
source activate flexnet_py27

# if pycrc is not found. check https://github.com/ressy/flexnet/issues/1
git clone https://github.com/ressy/flexnet.git
wget https://pycrc.org/download/pycrc-0.9.tar.gz
tar xzvf pycrc-0.9.tar.gz
PYTHONPATH=pycrc-0.9 python -c 'import flexnet' # no errors, hopefully?

# If StringIO is not found. For Python3 (not needed for Python2.7)
modify flexnet/file.py
Change: import StringIO
To:     from io import StringIO

./test.py
# It is not working at this moment for parsing server reponse though:
# Traceback (most recent call last):
#   File "./test.py", line 9, in <module>
#   c.query_everything()
#   File ".../flexnet_lliu/flexnet/flexnet/client.py", line 330, in query_everything
#   self.query_vendor_details()
#   File ".../flexnet_lliu/flexnet/flexnet/client.py", line 415, in query_vendor_details
#   vendors[vendor_name]["hostname"] = msg["vendor_hostname"]
#   KeyError: 'vendor_hostname'
#

flexnet's People

Contributors

ressy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.